summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-05-01 10:42:56 +0200
committerAndrey Andreev <narf@devilix.net>2014-05-01 10:42:56 +0200
commit3ac51be662ff0d21c8db2851d2ded5c6b1de25da (patch)
tree468967fc61686879e10ef307bc3e67ae8099c1da
parentaf98835114e3c6a66bf6c7a7799eac26e489a171 (diff)
parenta2129776e35d5c2813e16c57fc9da585a2f880c5 (diff)
Merge pull request #3027 from abdmaster/fix/db_transaction_failure
Added `_trans_failure` property to fix PHP Warning.
-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