summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
Diffstat (limited to 'system/database')
-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