git-svn-id: http://xe-core.googlecode.com/svn/trunk@979 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-05 06:05:05 +00:00
parent 2a9f617e1b
commit 959560097b
6 changed files with 128 additions and 19 deletions

View file

@ -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;
}