SE_stream_restore_rows_from_lineage_by_rowid

Restores a set of rows

Usage syntax

LONG SE_stream_restore_rows_from_lineage_by_rowid (SE_STREAM stream, const CHAR *table, LONG *row_id_list, LONG row_id_count);

Parameters
stream The stream handle
table_name The table
row_id_list The unique ids of the rows to restore
row_id_count The number of row ids in the row id list
Description

This function restores a set of rows in a multiversioned table to the values they held at the most recent state in the lineage of the current version. This function differs from SE_stream_restore_rows in that it does not stop at the state where the currently set version was created. It will continue working up the lineage until the row is found.

Returns

SE_SUCCESS
SE_CONNECTION_LOCKED

SE_CONNECTION_IN_USE

SE_DB_IO_ERROR

SE_FAILURE

SE_INVALID_PARAM_VALUE

SE_INVALID_POINTER

SE_INVALID_STREAM

SE_NET_FAILURE

SE_NO_PERMISSIONS
 
SE_SDE_NOT_STARTED

SE_STREAM_IN_PROGRESS

SE_TABLE_NOREGISTERED