From 0b9046a0303c2a3a6416d220bc9553df58710830 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 17 Nov 2016 12:22:00 +0100 Subject: [PATCH] ido-mysql: Don't set the SQL mode to NO_AUTO_VALUE_ON_ZERO This mode is obsolete because timestamp columns now default to NULL instead of '0000-00...'. refs #10502 --- lib/db_ido_mysql/schema/mysql.sql | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/db_ido_mysql/schema/mysql.sql b/lib/db_ido_mysql/schema/mysql.sql index 97c993101..c16633a3e 100644 --- a/lib/db_ido_mysql/schema/mysql.sql +++ b/lib/db_ido_mysql/schema/mysql.sql @@ -6,15 +6,11 @@ -- -- -- -------------------------------------------------------- -SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; - - /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; - -- -- Database: icinga -- -- 2.40.0