SE_log_count

Returns the number of rows referenced in the logfile.

Usage syntax

LONG SE_log_count (SE_CONNECTION connection, SE_LOG log);

Parameters
connection The connection handle
log The file descriptor of an open logfile
Description

SE_log_count returns the number of rows referenced in a logfile.

Returns

Total number of rows referenced in the logfile (> = 0). It returns an error code (if negative) or a count (if positive or 0).

SE_LOG_IO_ERROR
SE_LOG_NOTOPEN

SE_NET_FAILURE

SE_SDE_NOT_STARTED

Notes

• This function does not affect any other logfile operations and can be called while rows are being logged to a logfile.