fixes MySQL strict mode
Dieser Commit ist enthalten in:
Ursprung
b995b2d2a2
Commit
14261dbd9c
|
@ -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"');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Laden…
In neuem Issue referenzieren