Query: ingres_autocommit
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
INGRES_AUTOCOMMIT(3) 1 INGRES_AUTOCOMMIT(3) ingres_autocommit - Switch autocommit on or offSYNOPSISbool ingres_autocommit (resource $link)DESCRIPTIONingres_autocommit(3) is called before opening a transaction (before the first call to ingres_query(3) or just after a call to ingres_roll- back(3) or ingres_commit(3)) to switch the autocommit mode of the server on or off (when the script begins the autocommit mode is off). When autocommit mode is on, every query is automatically committed by the server, as if ingres_commit(3) was called after every call to ingres_query(3). To see if autocommit is enabled use, ingres_autocommit_state(3). By default Ingres will rollback any uncommitted transactions at the end of a request. Use this function or ingres_commit(3) to ensure your data is committed to the database.PARAMETERSo $link - The connection link identifierRETURN VALUESReturns TRUE on success or FALSE on failure.SEE ALSOingres_autocommit_state(3), ingres_query(3), ingres_rollback(3), ingres_commit(3). PHP Documentation Group INGRES_AUTOCOMMIT(3)