1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

client/mysqltest.c

merged continued
mysql-test/t/rpl000004.test
    added a test for am empty table
mysql-test/r/rpl000004.result
    New BitKeeper file ``mysql-test/r/rpl000004.result''


client/mysqltest.c:
  merged continued
mysql-test/t/rpl000004.test:
  added a test for am empty table
This commit is contained in:
unknown
2001-01-18 10:43:09 -07:00
parent b86f79e050
commit c862fa3646
3 changed files with 15 additions and 5 deletions

View File

@ -0,0 +1,6 @@
Table Op Msg_type Msg_text
test.t1 check status OK
count(*)
10
count(*)
0

View File

@ -8,17 +8,21 @@ load data infile '../../std_data/words.dat' into table t1;
drop table if exists t2;
create table t2 (word char(20) not null);
load data infile '../../std_data/words.dat' into table t2;
create table t3 (word char(20) not null);
connection slave;
use test;
drop table if exists t1;
load table t1 from master;
drop table if exists t2;
load table t2 from master;
@r/rpl000004.a.result check table t1;
@r/rpl000004.b.result select count(*) from t2;
drop table if exists t3;
load table t3 from master;
check table t1;
select count(*) from t2;
select count(*) from t3;
connection master;
set SQL_LOG_BIN=1;
drop table if exists t1,t2;
drop table if exists t1,t2,t3;
save_master_pos;
connection slave;
sync_with_master;