Регистрация Войти
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Поиск по сайту
cubrid_set_autocommit
(PECL CUBRID >= 8.4.0)
cubrid_set_autocommit — Set autocommit mode of the connection
Описание
bool cubrid_set_autocommit ( resource $conn_identifier , bool $mode )The cubrid_set_autocommit() function is used to set the CUBRID database auto-commit mode of the current database connection.
In CUBRID PHP, an auto-commit mode is disabled by default for transaction management. When auto-commit mode is truned from off to on, any pending work is automatically committed.
Список параметров
conn_identifier -
Connection identifier.
mode -
Auto-commit mode. The following constants can be used:
- CUBRID_AUTOCOMMIT_FALSE
- CUBRID_AUTOCOMMIT_TRUE
Возвращаемые значения
TRUE, when process is successful.
FALSE, when process is unsuccessful.
Смотрите также
- cubrid_get_autocommit() - Get auto-commit mode of the connection
- cubrid_commit() - Commit a transaction
Описание на ru2.php.net
Описание на php.ru