Index: branches/unlabeled/unlabeled-1.15.4/core/kernel/db/db_connection.php =================================================================== diff -u -r7816 -r7874 --- branches/unlabeled/unlabeled-1.15.4/core/kernel/db/db_connection.php (.../db_connection.php) (revision 7816) +++ branches/unlabeled/unlabeled-1.15.4/core/kernel/db/db_connection.php (.../db_connection.php) (revision 7874) @@ -178,10 +178,6 @@ $func = $this->getMetaFunction('connect'); $this->connectionID = $func($host, $user, $pass, $force_new) or trigger_error("Database connection failed, please check your connection settings", E_USER_ERROR); if ($this->connectionID) { - if (defined('DBG_SQL_MODE')) { - $this->Query('SET sql_mode = \''.DBG_SQL_MODE.'\''); - } - $this->setDB($db); $this->showError(); }