mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-6720 - enable connection log in mysqltest by default
This commit is contained in:
@ -6,6 +6,8 @@ set GLOBAL query_cache_size=1355776;
|
||||
create user mysqltest1@localhost;
|
||||
grant SELECT on test.* to mysqltest1@localhost;
|
||||
create table t1 (a int);
|
||||
connect con1,localhost,mysqltest1,,;
|
||||
connection con1;
|
||||
# This explain put here to be sure that init connection query
|
||||
# has 'Impossible WHERE'.
|
||||
explain extended select * from test.t1 where 0;
|
||||
@ -13,6 +15,8 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL Impossible WHERE
|
||||
Warnings:
|
||||
Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where 0
|
||||
connection default;
|
||||
disconnect con1;
|
||||
revoke all privileges, grant option from mysqltest1@localhost;
|
||||
drop user mysqltest1@localhost;
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user