(no version information, might be only in CVS)
db2_autocommit --
Returns or sets the AUTOCOMMIT state for a database connection
Описание
mixed
db2_autocommit ( resource connection [, bool value] )
Sets or gets the AUTOCOMMIT behavior of the specified connection resource.
Возвращаемые значения
When db2_autocommit() receives only the
connection parameter, it returns the current state
of AUTOCOMMIT for the requested connection as an integer value. A value of
0 indicates that AUTOCOMMIT is off, while a value of 1 indicates that
AUTOCOMMIT is on.
When db2_autocommit() receives both the
connection parameter and
autocommit parameter, it attempts to set the
AUTOCOMMIT state of the requested connection to the corresponding state.
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.