변수명 오타 수정 transationNestedLevel->transactionNestedLevel

This commit is contained in:
jdssem 2015-04-04 22:03:27 +09:00
parent 7daf31956c
commit 148bf378f3

View file

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