From d4cb91350061b0e6f1f731beec95209149d2f694 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Sun, 22 Mar 2020 17:00:29 +0000 Subject: [PATCH] #11 - Add initial query with custom 'sql_mode' --- tests/mysql.suite.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/mysql.suite.yml b/tests/mysql.suite.yml index 02f2cd4..d689c39 100644 --- a/tests/mysql.suite.yml +++ b/tests/mysql.suite.yml @@ -14,5 +14,6 @@ modules: initial_queries: - "SET NAMES utf8;" - "CREATE DATABASE IF NOT EXISTS `%MYSQL_TEST_DB_DATABASE%`" + - "SET sql_mode='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'" - "USE `%MYSQL_TEST_DB_DATABASE%`" step_decorators: ~