]> granicus.if.org Git - icinga2/commitdiff
ido-mysql: Don't set the SQL mode to NO_AUTO_VALUE_ON_ZERO
authorEric Lippmann <eric.lippmann@netways.de>
Thu, 17 Nov 2016 11:22:00 +0000 (12:22 +0100)
committerMichael Friedrich <michael.friedrich@icinga.com>
Fri, 18 Nov 2016 10:09:50 +0000 (11:09 +0100)
This mode is obsolete because timestamp columns now default to NULL instead of '0000-00...'.

refs #10502

lib/db_ido_mysql/schema/mysql.sql

index 97c993101e123ccf685340c463d9498f372fabde..c16633a3ed1a8923a3f3703e604b342079d5da3a 100644 (file)
@@ -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
 --