summaryrefslogtreecommitdiff
path: root/mysql-test/t/grant4.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/grant4.test')
-rw-r--r--mysql-test/t/grant4.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/grant4.test b/mysql-test/t/grant4.test
index 36c44fe997a..a3578c9b85a 100644
--- a/mysql-test/t/grant4.test
+++ b/mysql-test/t/grant4.test
@@ -4,6 +4,8 @@
--disable_warnings
drop database if exists mysqltest_db1;
--enable_warnings
+set GLOBAL sql_mode="";
+set LOCAL sql_mode="";
create database mysqltest_db1;
use mysqltest_db1;
create table t_column_priv_only (a int, b int);
@@ -232,3 +234,6 @@ create user foo2 identified via mysql_native_password using '2222222222222222';
create user foo3 identified via mysql_old_password using '00';
--error ER_PASSWD_LENGTH
create user foo4 identified via mysql_old_password using '11111111111111111111111111111111111111111';
+
+
+set GLOBAL sql_mode=default;