diff options
author | Andrey Andreev <narf@devilix.net> | 2015-09-14 13:03:39 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-09-14 13:03:39 +0200 |
commit | c08f27b471816493900702229eb105b0ec117706 (patch) | |
tree | 53fad63af99ebd2d8526c0b218c04d1eaff6c28d /system | |
parent | 24ff6dbcf88a9095785c1cb8fdba213843756595 (diff) |
Fix #4032
Diffstat (limited to 'system')
-rw-r--r-- | system/database/DB_driver.php | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index fe0cd7d32..cc94edc16 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -791,10 +791,13 @@ abstract class CI_DB_driver { /** * Enable/disable Transaction Strict Mode + * * When strict mode is enabled, if you are running multiple groups of - * transactions, if one group fails all groups will be rolled back. - * If strict mode is disabled, each group is treated autonomously, meaning - * a failure of one group will not affect any others + * transactions, if one group fails all subsequent groups will be + * rolled back. + * + * If strict mode is disabled, each group is treated autonomously, + * meaning a failure of one group will not affect any others * * @param bool $mode = TRUE * @return void @@ -861,8 +864,8 @@ abstract class CI_DB_driver { $this->trans_rollback(); // If we are NOT running in strict mode, we will reset - // the _trans_status flag so that subsequent groups of transactions - // will be permitted. + // the _trans_status flag so that subsequent groups of + // transactions will be permitted. if ($this->trans_strict === FALSE) { $this->_trans_status = TRUE; |