summaryrefslogtreecommitdiff
path: root/mysql-test/t/ndb_binlog_basic.test
diff options
context:
space:
mode:
authorunknown <mskold/marty@mysql.com/linux.site>2006-12-01 15:49:07 +0100
committerunknown <mskold/marty@mysql.com/linux.site>2006-12-01 15:49:07 +0100
commit85b58cb43bf3170d817864e2a019779c20320245 (patch)
tree810e744e14531cb4121b6b03ee9a470cdb3a9f26 /mysql-test/t/ndb_binlog_basic.test
parentbae9fc077ca178a63f7d97e4b161c35a3e63b85d (diff)
downloadmariadb-git-85b58cb43bf3170d817864e2a019779c20320245.tar.gz
Changed mysql.apply_status, mysql.binlog_index, and mysql.schema to mysql.ndb_apply_status, mysql.ndb_binlog_index, and mysql.ndb_schema
Diffstat (limited to 'mysql-test/t/ndb_binlog_basic.test')
-rw-r--r--mysql-test/t/ndb_binlog_basic.test18
1 files changed, 9 insertions, 9 deletions
diff --git a/mysql-test/t/ndb_binlog_basic.test b/mysql-test/t/ndb_binlog_basic.test
index c2a36423445..e4642dc3230 100644
--- a/mysql-test/t/ndb_binlog_basic.test
+++ b/mysql-test/t/ndb_binlog_basic.test
@@ -12,14 +12,14 @@ use test;
#
# basic insert, update, delete test, alter, rename, drop
-# check that binlog_index gets the right info
+# check that ndb_binlog_index gets the right info
#
create table t1 (a int primary key) engine=ndb;
insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
save_master_pos;
--replace_column 1 #
-select @max_epoch:=max(epoch)-1 from mysql.binlog_index;
+select @max_epoch:=max(epoch)-1 from mysql.ndb_binlog_index;
delete from t1;
alter table t1 add (b int);
@@ -38,18 +38,18 @@ drop table t2;
# (save_master_pos waits for last gcp to complete, ensuring that we have
# the expected data in the binlog)
save_master_pos;
-select inserts from mysql.binlog_index where epoch > @max_epoch and inserts > 5;
-select deletes from mysql.binlog_index where epoch > @max_epoch and deletes > 5;
+select inserts from mysql.ndb_binlog_index where epoch > @max_epoch and inserts > 5;
+select deletes from mysql.ndb_binlog_index where epoch > @max_epoch and deletes > 5;
select inserts,updates,deletes from
- mysql.binlog_index where epoch > @max_epoch and updates > 0;
+ mysql.ndb_binlog_index where epoch > @max_epoch and updates > 0;
#
-# check that purge clears the binlog_index
+# check that purge clears the ndb_binlog_index
#
flush logs;
--sleep 1
purge master logs before now();
-select count(*) from mysql.binlog_index;
+select count(*) from mysql.ndb_binlog_index;
#
# several tables in different databases
@@ -64,9 +64,9 @@ use test;
insert into mysqltest.t1 values (2,1),(2,2);
save_master_pos;
--replace_column 1 #
-select @max_epoch:=max(epoch)-1 from mysql.binlog_index;
+select @max_epoch:=max(epoch)-1 from mysql.ndb_binlog_index;
drop table t1;
drop database mysqltest;
select inserts,updates,deletes from
- mysql.binlog_index where epoch > @max_epoch and inserts > 0;
+ mysql.ndb_binlog_index where epoch > @max_epoch and inserts > 0;