Commit f8923eec authored by Son Nguyen's avatar Son Nguyen Committed by Gerrit Code Review

Merge "Override MySQL's check for accidental large queries" into 1.6_STABLE

parents 9ad29e96 f4e4b44f
...@@ -1482,8 +1482,9 @@ function configure_dbconnection() { ...@@ -1482,8 +1482,9 @@ function configure_dbconnection() {
$db->Execute("SET NAMES 'utf8'"); $db->Execute("SET NAMES 'utf8'");
if (is_mysql()) { if (is_mysql()) {
$db->Execute("SET CHARACTER SET utf8");
$db->Execute("SET SQL_MODE='POSTGRESQL'"); $db->Execute("SET SQL_MODE='POSTGRESQL'");
$db->Execute("SET CHARACTER SET utf8");
$db->Execute("SET SQL_BIG_SELECTS=1");
} }
// more later.. // more later..
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment