diff options
author | Andrew Podner <a.podner@me.com> | 2012-12-19 20:15:41 +0100 |
---|---|---|
committer | Andrew Podner <a.podner@me.com> | 2012-12-19 20:15:41 +0100 |
commit | 79494dde1c53b671f279e5c5fab2ae03a9ff0353 (patch) | |
tree | e38cac2f093958b2e75cbda38429ca34bc2a38e5 /system/database/DB_utility.php | |
parent | a9162502512e5eca4fa257689e7a250be900968f (diff) |
Resolves issue #2081 : provides an option to include statements to disable and re-enable foreign key checks in a MySQL database backup output statement.
Diffstat (limited to 'system/database/DB_utility.php')
-rw-r--r-- | system/database/DB_utility.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php index c4140aef3..3ed75967e 100644 --- a/system/database/DB_utility.php +++ b/system/database/DB_utility.php @@ -326,7 +326,8 @@ abstract class CI_DB_utility { 'format' => 'gzip', // gzip, zip, txt 'add_drop' => TRUE, 'add_insert' => TRUE, - 'newline' => "\n" + 'newline' => "\n", + 'fk_checks' => TRUE ); // Did the user submit any preferences? If so set them.... |