SE_connection_commit_transaction

Commits all pending transactions on this connection.

Usage syntax

LONG SE_connection_commit_transaction (SE_CONNECTION connection);

Parameters
connection The connection handle
Description

SE_connection_commit_transaction commits all modifications made since the last SE_connection_start_transaction call. Once this function returns successfully, SE_connection_rollback_transaction cannot undo modifications.

Returns

SE_SUCCESS
SE_CONNECTION_LOCKED

SE_CONNECTION_IN_USE

SE_DB_IO_ERROR

SE_FAILURE

SE_FILE_IO_ERROR

SE_FUNCTION_SEQUENCE_ERROR

SE_INVALID_PARAM_VALUE

SE_INVALID_STREAM_TYPE

SE_LOG_IO_ERROR

SE_LOG_NOTOPEN

SE_NET_FAILURE

SE_OUT_OF_SVMEM

SE_SDE_NOT_STARTED

SE_TEMP_IO_ERROR

Notes

∙  If the automatic commit threshold is enabled (see the AUTOCOMMIT parameter in the giomgr.defs file), only those modifications made since the last autocommit are explicitly committed by a call to SE_connection_commit_transaction.