From a13652b5e94c3c17cafa908465d1dd7a4a90f12b Mon Sep 17 00:00:00 2001 From: Joey3000 Date: Sun, 1 Nov 2015 00:55:46 +0100 Subject: Make sql_mode compatibile with MySQL 4.1 See https://github.com/piwik/piwik/issues/9088 --- core/Db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/Db.php b/core/Db.php index 12798d2ff5..f7eae8c8b2 100644 --- a/core/Db.php +++ b/core/Db.php @@ -33,7 +33,7 @@ use Piwik\Db\Adapter; */ class Db { - const SQL_MODE = 'ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_ZERO_DATE,NO_ZERO_IN_DATE'; + const SQL_MODE = 'NO_AUTO_VALUE_ON_ZERO'; private static $connection = null; -- cgit v1.2.3