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:
@ -3,7 +3,7 @@ update performance_schema.setup_instruments set enabled='YES';
|
||||
create user pfsuser@localhost;
|
||||
grant SELECT, UPDATE, LOCK TABLES on performance_schema.* to pfsuser@localhost;
|
||||
flush privileges;
|
||||
connect (con1, localhost, pfsuser, , test);
|
||||
connect con1, localhost, pfsuser, , test;
|
||||
lock tables performance_schema.setup_instruments read;
|
||||
select * from performance_schema.setup_instruments;
|
||||
unlock tables;
|
||||
@ -29,9 +29,11 @@ where event_name like "wait/synch/cond/sql/MDL_context::COND_wait_status";
|
||||
event_name short_source timer_end timer_wait operation
|
||||
wait/synch/cond/sql/MDL_context::COND_wait_status mdl.cc: SET SET timed_wait
|
||||
unlock tables;
|
||||
connection con1;
|
||||
update performance_schema.setup_instruments set enabled='NO';
|
||||
update performance_schema.setup_instruments set enabled='YES';
|
||||
unlock tables;
|
||||
disconnect con1;
|
||||
connection default;
|
||||
drop user pfsuser@localhost;
|
||||
flush privileges;
|
||||
|
Reference in New Issue
Block a user