mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-16 17:59:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1640 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ef531f5eed
commit
3a01cf8eac
9 changed files with 29 additions and 36 deletions
|
|
@ -131,8 +131,8 @@
|
|||
/**
|
||||
* @brief 커밋
|
||||
**/
|
||||
function commit() {
|
||||
if(!$this->isConnected() || !$this->transaction_started) return;
|
||||
function commit($force = false) {
|
||||
if(!$force && (!$this->isConnected() || !$this->transaction_started)) return;
|
||||
$this->_query("commit");
|
||||
$this->transaction_started = false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -105,7 +105,8 @@
|
|||
/**
|
||||
* @brief 커밋
|
||||
**/
|
||||
function commit() {
|
||||
function commit($force = false) {
|
||||
if(!$force && (!$this->isConnected() || !$this->transaction_started)) return;
|
||||
if(!$this->is_connected || !$this->transaction_started) return;
|
||||
$this->_query("COMMIT;");
|
||||
$this->transaction_started = false;
|
||||
|
|
|
|||
|
|
@ -113,8 +113,8 @@
|
|||
/**
|
||||
* @brief 커밋
|
||||
**/
|
||||
function commit() {
|
||||
if(!$this->isConnected() || !$this->transaction_started) return;
|
||||
function commit($force = false) {
|
||||
if(!$force && (!$this->isConnected() || !$this->transaction_started)) return;
|
||||
$this->handler->commit();
|
||||
$this->transaction_started = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue