2
# Test of init_connect variable
5
connect (con0,localhost,root,,);
8
connect (con1,localhost,user_1,,);
12
set global init_connect="set @a=2;set @b=3";
13
connect (con2,localhost,user_1,,);
17
set GLOBAL init_connect=DEFAULT;
18
connect (con3,localhost,user_1,,);
22
set global init_connect="drop table if exists t1; create table t1(a char(10));\
23
insert into t1 values ('\0');insert into t1 values('abc')";
24
connect (con4,localhost,user_1,,);
26
select hex(a) from t1;
28
set GLOBAL init_connect="adsfsdfsdfs";
29
connect (con5,localhost,user_1,,);
42
--echo End of 4.1 tests