|
cubrid_commit(PECL CUBRID >= 8.3.0) cubrid_commit — Commit a transaction Описание
bool cubrid_commit
( resource $conn_identifier )
The cubrid_commit() function is used to execute commit on the transaction pointed by conn_identifier, currently on progress. Connection to the server is closed after the cubrid_commit() function is called; the connection handle is still valid, however. In CUBRID PHP, an auto-commit mode is disabled by default for transaction management, and you can set it by using cubrid_set_autocommit(), and get its status by using cubrid_get_autocommit(). Before you start a transaction, remember to disable the auto-commit mode. Список параметров
Возвращаемые значенияTRUE, when process is successful. FALSE, when process is unsuccessful. ПримерыПример #1 cubrid_commit() example
<?php Результат выполнения данного примера: P01 Abatis Publishers New York NY USA P02 Core Dump Books San Francisco CA USA P03 Schadenfreude Press Hamburg Germany P04 Tenterhooks Press Berkeley CA USA Смотрите также
|
|