mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Set sql_mode the way queXS expects it
This commit is contained in:
@@ -76,6 +76,9 @@ if (DEBUG == true) $db->debug = true;
|
|||||||
|
|
||||||
$db->Execute("set names 'utf8'");
|
$db->Execute("set names 'utf8'");
|
||||||
|
|
||||||
|
//make sure sql_mode is right
|
||||||
|
$sqlSet = "SET SESSION sql_mode = '';";
|
||||||
|
$db->Execute($sqlSet);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a setting from the database
|
* Get a setting from the database
|
||||||
|
|||||||
Reference in New Issue
Block a user