Browse code

Merge "mysql: set default sql_mode to TRADITIONAL"

Jenkins authored on 2017/02/24 09:59:06
Showing 1 changed files
... ...
@@ -94,7 +94,7 @@ function configure_database_mysql {
94 94
     # Change bind-address from localhost (127.0.0.1) to any (::) and
95 95
     # set default db type to InnoDB
96 96
     iniset -sudo $my_conf mysqld bind-address "$SERVICE_LISTEN_ADDRESS"
97
-    iniset -sudo $my_conf mysqld sql_mode STRICT_ALL_TABLES
97
+    iniset -sudo $my_conf mysqld sql_mode TRADITIONAL
98 98
     iniset -sudo $my_conf mysqld default-storage-engine InnoDB
99 99
     iniset -sudo $my_conf mysqld max_connections 1024
100 100
     iniset -sudo $my_conf mysqld query_cache_type OFF