Commit 92eec337 authored by Michael Widenius's avatar Michael Widenius

Fixed timing issue in test suite

parent 2c35f004
--slow-query-log-file=percona_slow_query_log-long_query_time.log --long-query-time=2 --slow-query-log-file=percona_slow_query_log-long_query_time.log --long-query-time=3
\ No newline at end of file
SELECT sleep(1); SELECT sleep(1);
sleep(1) sleep(1)
0 0
SELECT sleep(3); SELECT sleep(6);
sleep(3) sleep(6)
0 0
SELECT sleep(5); SELECT sleep(10);
sleep(5) sleep(10)
0 0
set long_query_time=4; set long_query_time=8;
SELECT sleep(1); SELECT sleep(1);
sleep(1) sleep(1)
0 0
SELECT sleep(3); SELECT sleep(6);
sleep(3) sleep(6)
0 0
SELECT sleep(5); SELECT sleep(12);
sleep(5) sleep(12)
0 0
set long_query_time=2;
cat MYSQLD_DATADIR/percona_slow_query_log-long_query_time.log | grep -c Query_time cat MYSQLD_DATADIR/percona_slow_query_log-long_query_time.log | grep -c Query_time
3 3
source include/have_innodb.inc; source include/have_innodb.inc;
SELECT sleep(1); SELECT sleep(1);
SELECT sleep(3); SELECT sleep(6);
SELECT sleep(5); SELECT sleep(10);
set long_query_time=4; set long_query_time=8;
SELECT sleep(1); SELECT sleep(1);
SELECT sleep(3); SELECT sleep(6);
SELECT sleep(5); SELECT sleep(12);
set long_query_time=2;
let $MYSQLD_DATADIR= `select @@datadir`; let $MYSQLD_DATADIR= `select @@datadir`;
let $cmd = cat $MYSQLD_DATADIR/percona_slow_query_log-long_query_time.log | grep -c Query_time; let $cmd = cat $MYSQLD_DATADIR/percona_slow_query_log-long_query_time.log | grep -c Query_time;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment