diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-12-20 15:25:06 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-12-20 15:25:06 +0100 |
commit | 16c26ff619d460228066e25ab2bc314925b85760 (patch) | |
tree | 9c70b4cb5d14d4f9e560288d78dd25f258d7ed92 /system/database/DB_utility.php | |
parent | 72ed4c322652d88bf90ddfe8b8c9a563c51e4660 (diff) | |
parent | bee50e7eebdf0f0aa3072958bb30e3235b3fc4a8 (diff) |
Merge pull request #2087 from AndrewPodner/develop
Resolves issue #2081 : Foreign Key Checks
Diffstat (limited to 'system/database/DB_utility.php')
-rw-r--r-- | system/database/DB_utility.php | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php index c4140aef3..aff3cf8c2 100644 --- a/system/database/DB_utility.php +++ b/system/database/DB_utility.php @@ -320,13 +320,14 @@ abstract class CI_DB_utility { // Set up our default preferences $prefs = array( - 'tables' => array(), - 'ignore' => array(), - 'filename' => '', - 'format' => 'gzip', // gzip, zip, txt - 'add_drop' => TRUE, - 'add_insert' => TRUE, - 'newline' => "\n" + 'tables' => array(), + 'ignore' => array(), + 'filename' => '', + 'format' => 'gzip', // gzip, zip, txt + 'add_drop' => TRUE, + 'add_insert' => TRUE, + 'newline' => "\n", + 'foreign_key_checks' => TRUE ); // Did the user submit any preferences? If so set them.... |