mirror of https://github.com/Icinga/icinga2.git
parent
16742f83ba
commit
4dbc07e2bc
|
@ -361,6 +361,8 @@ void IdoMysqlConnection::Reconnect(void)
|
|||
/* set session time zone to utc */
|
||||
Query("SET SESSION TIME_ZONE='+00:00'");
|
||||
|
||||
Query("SET SESSION SQL_MODE='NO_AUTO_VALUE_ON_ZERO'");
|
||||
|
||||
Query("BEGIN");
|
||||
|
||||
/* update programstatus table */
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
-- Please check http://docs.icinga.org for upgrading information!
|
||||
-- -----------------------------------------
|
||||
|
||||
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
|
||||
|
||||
-- -----------------------------------------
|
||||
-- #10069 IDO: check_source should not be a TEXT field
|
||||
-- -----------------------------------------
|
||||
|
|
Loading…
Reference in New Issue