summaryrefslogtreecommitdiffstats
path: root/system/database/DB.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2013-12-10 10:32:32 +0100
committerAndrey Andreev <narf@devilix.net>2013-12-10 10:32:32 +0100
commitf8f14f3da263338bb4723012229f6c373a1764c6 (patch)
tree726317466f897850581bbb543ea63f46e627da2e /system/database/DB.php
parent3ca060a00e5039aa00d4180ded52b1af49939114 (diff)
Fix a bug where DB() tried to set the MySQL-specific 'sql_mode' on all drivers
Supersedes PR #2756
Diffstat (limited to 'system/database/DB.php')
-rw-r--r--system/database/DB.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/system/database/DB.php b/system/database/DB.php
index 8742800c8..96da87c6d 100644
--- a/system/database/DB.php
+++ b/system/database/DB.php
@@ -206,11 +206,6 @@ function &DB($params = '', $query_builder_override = NULL)
$DB->initialize();
}
- if ( ! empty($params['stricton']))
- {
- $DB->query('SET SESSION sql_mode="STRICT_ALL_TABLES"');
- }
-
return $DB;
}