| SE_table_remove_rowlocks |
Removes row locks from a DBMS table.
LONG SE_table_remove_rowlocks
(SE_CONNECTION connection,
const CHAR *table,
LONG num_locks,
LONG *row_ID,
LONG state_ID,
LONG *failed_rowID);
| connection | The connection handle |
| table | The name of the table |
| num_locks | The number of locks |
| row_ID | The array of row IDs to lock |
| state_ID | The state ID to use. Set to SE_NULL_STATE_ID if the table isn't multiversioned |
| failed_rowID | The first row that couldn't be unlocked. Zero if the operation succeeded |
SE_table_remove_rowlocks deletes one or more row locks from a DBMS table. If a row doesn't exist in the specified state or is locked by another user, the operation will fail. This function automatically executes a commit.
SE_SUCCESS
SE_INVALID_CONNECTION
SE_INVALID_PARAM_VALUE
SE_INVALID_POINTER
SE_NET_FAILURE
SE_SDE_NOT_STARTED