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

This commit is contained in:
zero 2007-04-12 04:51:47 +00:00
parent cea271683f
commit cd1fbe59f7
2 changed files with 11 additions and 3 deletions

View file

@ -113,18 +113,26 @@
* @brief 트랜잭션 시작
**/
function begin() {
if(!$this->isConnected() || $this->transaction_started) return;
$this->_query("begin");
}
/**
* @brief 롤백
**/
function rollback() {
if(!$this->isConnected() || !$this->transaction_started) return;
$this->_query("rollback");
$this->transaction_started = false;
}
/**
* @brief 커밋
**/
function commit() {
if(!$this->isConnected() || !$this->transaction_started) return;
$this->_query("commit");
$this->transaction_started = false;
}
/**