From 148bf378f31686b7da0ca98e4853793c0e7b11bd Mon Sep 17 00:00:00 2001 From: jdssem Date: Sat, 4 Apr 2015 22:03:27 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B3=80=EC=88=98=EB=AA=85=20=EC=98=A4?= =?UTF-8?q?=ED=83=80=20=EC=88=98=EC=A0=95=20transationNestedLevel->transac?= =?UTF-8?q?tionNestedLevel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/db/DB.class.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/classes/db/DB.class.php b/classes/db/DB.class.php index af6f2f01d..bc4789744 100644 --- a/classes/db/DB.class.php +++ b/classes/db/DB.class.php @@ -166,7 +166,7 @@ class DB * leve of transaction * @var unknown */ - private $transationNestedLevel = 0; + private $transactionNestedLevel = 0; /** * returns instance of certain db type @@ -1142,10 +1142,10 @@ class DB return; } - if($this->_begin($this->transationNestedLevel)) + if($this->_begin($this->transactionNestedLevel)) { $this->transaction_started = TRUE; - $this->transationNestedLevel++; + $this->transactionNestedLevel++; } } @@ -1169,11 +1169,11 @@ class DB { return; } - if($this->_rollback($this->transationNestedLevel)) + if($this->_rollback($this->transactionNestedLevel)) { - $this->transationNestedLevel--; + $this->transactionNestedLevel--; - if(!$this->transationNestedLevel) + if(!$this->transactionNestedLevel) { $this->transaction_started = FALSE; } @@ -1201,14 +1201,14 @@ class DB { return; } - if($this->transationNestedLevel == 1 && $this->_commit()) + if($this->transactionNestedLevel == 1 && $this->_commit()) { $this->transaction_started = FALSE; - $this->transationNestedLevel = 0; + $this->transactionNestedLevel = 0; } else { - $this->transationNestedLevel--; + $this->transactionNestedLevel--; } }