2003-02-07 15:47:24 +02:00
|
|
|
stop slave;
|
2003-01-25 15:07:51 +02:00
|
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
|
|
reset master;
|
|
|
|
reset slave;
|
|
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
2003-02-07 15:47:24 +02:00
|
|
|
start slave;
|
2003-06-16 15:49:54 +02:00
|
|
|
select master_pos_wait('master-bin.999999',0,2);
|
|
|
|
master_pos_wait('master-bin.999999',0,2)
|
2003-01-25 15:07:51 +02:00
|
|
|
-1
|
2003-10-30 12:57:26 +02:00
|
|
|
explain extended select master_pos_wait('master-bin.999999',0,2);
|
|
|
|
id select_type table type possible_keys key key_len ref rows Extra
|
|
|
|
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL No tables used
|
|
|
|
Warnings:
|
2006-06-27 21:28:32 +04:00
|
|
|
Note 1003 select master_pos_wait(_latin1'master-bin.999999',0,2) AS `master_pos_wait('master-bin.999999',0,2)`
|
2006-10-03 15:33:44 +02:00
|
|
|
select master_pos_wait('master-bin.999999',0);
|
2003-06-16 15:49:54 +02:00
|
|
|
stop slave sql_thread;
|
|
|
|
master_pos_wait('master-bin.999999',0)
|
|
|
|
NULL
|
2008-03-06 14:49:21 +02:00
|
|
|
"*** must be empty ***"
|
|
|
|
show slave status;
|
|
|
|
"*** must be NULL ***"
|
|
|
|
select master_pos_wait('foo', 98);
|
|
|
|
master_pos_wait('foo', 98)
|
|
|
|
NULL
|