From: Eric Lippmann Date: Thu, 17 Nov 2016 11:22:00 +0000 (+0100) Subject: ido-mysql: Don't set the SQL mode to NO_AUTO_VALUE_ON_ZERO X-Git-Tag: v2.6.0~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b9046a0303c2a3a6416d220bc9553df58710830;p=icinga2 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 --- 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 --