summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
authorAhmedul Haque Abid <a_h_abid@hotmail.com>2014-04-30 21:57:53 +0200
committerAhmedul Haque Abid <a_h_abid@hotmail.com>2014-04-30 21:57:53 +0200
commita2129776e35d5c2813e16c57fc9da585a2f880c5 (patch)
tree269d712032b5b657f313c3d47f6d31d5c1bc83be /system/database/DB_driver.php
parente0839c3f2aba473f5cb7e81d30ebbb4e0d4d16a5 (diff)
Added `_trans_failure` property to fix PHP Warning.
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r--system/database/DB_driver.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 7a0914123..12ab5bb2a 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -261,6 +261,15 @@ abstract class CI_DB_driver {
protected $_trans_status = TRUE;
/**
+ * Transaction failure flag
+ *
+ * Used with transactions to determine if a transaction has failed.
+ *
+ * @var bool
+ */
+ protected $_trans_failure = FALSE;
+
+ /**
* Cache On flag
*
* @var bool