From e56c137edb504cb86c4bb2cc5749603829438378 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Tue, 3 Jun 2014 05:57:30 -0400 Subject: [PATCH] make mysql run in strict mode this might obviate the need for postgresql in the gate, as it will make mysql act more strict. Suggested by Monty during Atlanta summit on test matrix. Change-Id: Ibfcb0959159f3b84fe35a1198d481bff308da0d4 --- lib/databases/mysql | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/databases/mysql b/lib/databases/mysql index ea22d14ac6..0ccfce5454 100644 --- a/lib/databases/mysql +++ b/lib/databases/mysql @@ -88,6 +88,7 @@ function configure_database_mysql { # set default db type to InnoDB sudo bash -c "source $TOP_DIR/functions && \ iniset $MY_CONF mysqld bind-address 0.0.0.0 && \ + iniset $MY_CONF mysqld sql_mode STRICT_ALL_TABLES && \ iniset $MY_CONF mysqld default-storage-engine InnoDB"