Commit 24f171b4 authored by Geoff Cant's avatar Geoff Cant Committed by Geoff Cant
Browse files

When setting up a mysql db connection, set the SQL_MODE to postgres compatible.

parent 285244d0
......@@ -1289,6 +1289,10 @@ function configure_dbconnection() {
$db->Execute("SET NAMES 'utf8'");
if ( is_mysql() ) {
$db->Execute("SET SQL_MODE='POSTGRESQL'");
// 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