mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@979 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2a9f617e1b
commit
959560097b
6 changed files with 128 additions and 19 deletions
|
|
@ -93,7 +93,7 @@
|
|||
* @brief 롤백
|
||||
**/
|
||||
function rollback() {
|
||||
if(!$this->is_connected || $this->transaction_started) return;
|
||||
if(!$this->is_connected || !$this->transaction_started) return;
|
||||
$this->handler->rollBack();
|
||||
$this->transaction_started = false;
|
||||
}
|
||||
|
|
@ -102,7 +102,7 @@
|
|||
* @brief 커밋
|
||||
**/
|
||||
function commit() {
|
||||
if(!$this->is_connected || $this->transaction_started) return;
|
||||
if(!$this->is_connected || !$this->transaction_started) return;
|
||||
$this->handler->commit();
|
||||
$this->transaction_started = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue