Merge pull request #3027 from abdmaster/fix/db_transaction_failure
Added `_trans_failure` property to fix PHP Warning.
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 7a09141..12ab5bb 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -261,6 +261,15 @@
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