From 198402bf35f0e4525865028b7b7ca3aa881c6557 Mon Sep 17 00:00:00 2001 From: oldperl Date: Mon, 19 Aug 2019 12:02:54 +0000 Subject: [PATCH] fixes MySQL strict mode --- trunk/conlib/local.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/trunk/conlib/local.php b/trunk/conlib/local.php index 0dfa025..b15c158 100644 --- a/trunk/conlib/local.php +++ b/trunk/conlib/local.php @@ -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"'); } /**