| SE_log_sort |
Sorts the specified logfile.
LONG SE_log_sort (SE_CONNECTION connection, const CHAR *logfile);
| connection | The connection handle |
| logfile | The logfile name. Must be a simple logfile name. |
SE_log_sort sorts the logfile 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 logfile.
On success, the number of rows remaining in the logfile after sorting.
SE_LOG_IO_ERROR
SE_LOG_NOEXIST
SE_NET_FAILURE
SE_OUT_OF_SVMEM
SE_SDE_NOT_STARTED
SE_TEMP_IO_ERROR
• The logfile must be closed before calling SE_log_sort .