fixes MySQL strict mode

Dieser Commit ist enthalten in:
Oldperl 2019-08-19 12:02:54 +00:00
Ursprung b995b2d2a2
Commit 14261dbd9c
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen

Datei anzeigen

@ -71,6 +71,9 @@ class DB_ConLite extends DB_Sql {
// HerrB: Checked and disabled. Kills umlauts, if tables are latin1_general. // HerrB: Checked and disabled. Kills umlauts, if tables are latin1_general.
// try to use the new connection and get the needed encryption // try to use the new connection and get the needed encryption
//$this->query("SET NAMES 'utf8'"); //$this->query("SET NAMES 'utf8'");
// modify mysql strict mode
$this->query('SET SESSION sql_mode = "NO_ENGINE_SUBSTITUTION"');
} }
/** /**