mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
변수명 오타 수정 transationNestedLevel->transactionNestedLevel
This commit is contained in:
parent
7daf31956c
commit
148bf378f3
1 changed files with 9 additions and 9 deletions
|
|
@ -166,7 +166,7 @@ class DB
|
||||||
* leve of transaction
|
* leve of transaction
|
||||||
* @var unknown
|
* @var unknown
|
||||||
*/
|
*/
|
||||||
private $transationNestedLevel = 0;
|
private $transactionNestedLevel = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* returns instance of certain db type
|
* returns instance of certain db type
|
||||||
|
|
@ -1142,10 +1142,10 @@ class DB
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($this->_begin($this->transationNestedLevel))
|
if($this->_begin($this->transactionNestedLevel))
|
||||||
{
|
{
|
||||||
$this->transaction_started = TRUE;
|
$this->transaction_started = TRUE;
|
||||||
$this->transationNestedLevel++;
|
$this->transactionNestedLevel++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1169,11 +1169,11 @@ class DB
|
||||||
{
|
{
|
||||||
return;
|
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;
|
$this->transaction_started = FALSE;
|
||||||
}
|
}
|
||||||
|
|
@ -1201,14 +1201,14 @@ class DB
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if($this->transationNestedLevel == 1 && $this->_commit())
|
if($this->transactionNestedLevel == 1 && $this->_commit())
|
||||||
{
|
{
|
||||||
$this->transaction_started = FALSE;
|
$this->transaction_started = FALSE;
|
||||||
$this->transationNestedLevel = 0;
|
$this->transactionNestedLevel = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$this->transationNestedLevel--;
|
$this->transactionNestedLevel--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue