2
0
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:
Adam Zammit
2020-05-11 08:39:52 +10:00
parent 083ecf61a8
commit 3e29076086

View File

@@ -76,6 +76,9 @@ if (DEBUG == true) $db->debug = true;
$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