~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl_ndb/r/rpl_ndb_apply_status.result

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
stop slave;
 
2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 
3
reset master;
 
4
reset slave;
 
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 
6
start slave;
 
7
*** on slave there should be zero rows ***
 
8
select count(*) from mysql.ndb_apply_status;
 
9
count(*)
 
10
0
 
11
create table t1 (a int key, b int) engine ndb;
 
12
insert into t1 values (1,1);
 
13
*** on master it should be empty ***
 
14
select * from mysql.ndb_apply_status;
 
15
server_id       epoch   log_name        start_pos       end_pos
 
16
*** on slave there should be one row ***
 
17
select count(*) from mysql.ndb_apply_status;
 
18
count(*)
 
19
1
 
20
drop table t1;