SE_log_count

Returns the number of rows referenced in the log file

Usage syntax

LONG SE_log_count (SE_CONNECTION connection, SE_LOG log);

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

SE_log_count returns the number of rows referenced in a log file.

Returns

Total number of rows referenced in the log file (> = 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 log file operations and can be called while rows are being logged to a log file.