~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to mysql-test/include/handler.inc

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
517
517
connection flush;
518
518
--echo connection: flush
519
519
--send flush tables;
520
 
connection default;
521
 
--echo connection: default
 
520
connect (waiter,localhost,root,,);
 
521
connection waiter;
 
522
--echo connection: waiter 
522
523
let $wait_condition=
523
524
  select count(*) = 1 from information_schema.processlist
524
525
  where state = "Flushing tables";
525
526
--source include/wait_condition.inc
 
527
connection default;
 
528
--echo connection: default
526
529
handler t2 open;
527
530
handler t2 read first;
528
531
handler t1 read next;
549
552
connection flush;
550
553
--echo connection: flush
551
554
--send rename table t1 to t2;
552
 
connection default;
553
 
--echo connection: default
 
555
connection waiter;
 
556
--echo connection: waiter 
554
557
let $wait_condition=
555
558
  select count(*) = 1 from information_schema.processlist
556
559
  where state = "Waiting for table" and info = "rename table t1 to t2";
557
560
--source include/wait_condition.inc
 
561
connection default;
 
562
--echo connection: default
558
563
handler t2 open;
559
564
handler t2 read first;
560
565
--error ER_NO_SUCH_TABLE