summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-09-04 14:13:37 +0200
committerAndrey Andreev <narf@devilix.net>2017-09-04 14:13:37 +0200
commit5e88ea5b2d8c75c896094036ff7c4c3e0254258f (patch)
tree3746b775e3d02078ac7cf477b17aada1a7fedffe /system/database
parentc4e7999ded26a1acbefdf7f9eebb69772860bb23 (diff)
Fix #5246
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB_driver.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 7efb37333..0b13a2f82 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -916,6 +916,7 @@ abstract class CI_DB_driver {
if ($this->_trans_begin())
{
+ $this->_trans_status = TRUE;
$this->_trans_depth++;
return TRUE;
}