fixes MySQL strict mode

Cette révision appartient à :
Oldperl 2019-08-19 12:02:54 +00:00
Parent b995b2d2a2
révision 14261dbd9c
1 fichiers modifiés avec 3 ajouts et 0 suppressions

Voir le fichier

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