summaryrefslogtreecommitdiff
path: root/mysql-test/main/init_connect.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/init_connect.result')
-rw-r--r--mysql-test/main/init_connect.result11
1 files changed, 7 insertions, 4 deletions
diff --git a/mysql-test/main/init_connect.result b/mysql-test/main/init_connect.result
index 1476d846078..876a6a14b4e 100644
--- a/mysql-test/main/init_connect.result
+++ b/mysql-test/main/init_connect.result
@@ -1,23 +1,23 @@
-connect con0,localhost,root,,test;
+connect con0,localhost,root,,;
connection con0;
select hex(@a);
hex(@a)
NULL
-connect con1,localhost,user_1,,test;
+connect con1,localhost,user_1,,"*NO-ONE*";
connection con1;
select hex(@a);
hex(@a)
610063
connection con0;
set global init_connect="set @a=2;set @b=3";
-connect con2,localhost,user_1,,test;
+connect con2,localhost,user_1,,"*NO-ONE*";
connection con2;
select @a, @b;
@a @b
2 3
connection con0;
set GLOBAL init_connect=DEFAULT;
-connect con3,localhost,user_1,,test;
+connect con3,localhost,user_1,,"*NO-ONE*";
connection con3;
select @a;
@a
@@ -25,6 +25,8 @@ NULL
connection con0;
set global init_connect="drop table if exists t1; create table t1(a char(10));\
insert into t1 values ('\0');insert into t1 values('abc')";
+create user 'user_1'@'localhost';
+GRANT DROP,CREATE,SELECT,INSERT ON test.* TO 'user_1'@'localhost';
connect con4,localhost,user_1,,test;
connection con4;
select hex(a) from t1;
@@ -46,6 +48,7 @@ disconnect con2;
disconnect con3;
disconnect con4;
disconnect con5;
+drop user 'user_1'@'localhost';
End of 4.1 tests
create table t1 (x int);
insert into t1 values (3), (5), (7);