SE_log_sort

Sorts the specified log file

Usage syntax

LONG SE_log_sort (SE_CONNECTION connection, const CHAR *logfile);

Parameters
connection The connection handle
logfile The log file name; must be a simple log file name
Description

SE_log_sort sorts the log file in ascending order and removes duplicate row ID references. Row ID references are ordered similar to their storage order because they are sorted by row identifier. As a result, this function can improve efficiency when rows are retrieved via a log file.

Returns

On success, the number of rows remaining in the log file after sorting.

SE_LOG_IO_ERROR
SE_LOG_NOEXIST

SE_NET_FAILURE

SE_OUT_OF_SVMEM

SE_SDE_NOT_STARTED

SE_TEMP_IO_ERROR

Notes

∙  The log file must be closed before calling SE_log_sort.