1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Bug #17805 Cluster_replication database should be renamed to just cluster

This commit is contained in:
tomas@poseidon.ndb.mysql.com
2006-03-01 13:31:21 +01:00
parent 70718ac25a
commit df6bb1994b
32 changed files with 160 additions and 160 deletions

View File

@@ -19,7 +19,7 @@ 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 cluster_replication.binlog_index;
select @max_epoch:=max(epoch)-1 from cluster.binlog_index;
delete from t1;
alter table t1 add (b int);
@@ -38,12 +38,12 @@ 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 cluster_replication.binlog_index where epoch > @max_epoch and inserts > 5;
select deletes from cluster_replication.binlog_index where epoch > @max_epoch and deletes > 5;
select inserts from cluster.binlog_index where epoch > @max_epoch and inserts > 5;
select deletes from cluster.binlog_index where epoch > @max_epoch and deletes > 5;
select inserts,updates,deletes from
cluster_replication.binlog_index where epoch > @max_epoch and updates > 0;
cluster.binlog_index where epoch > @max_epoch and updates > 0;
select schemaops from
cluster_replication.binlog_index where epoch > @max_epoch and schemaops > 0;
cluster.binlog_index where epoch > @max_epoch and schemaops > 0;
#
# check that purge clears the binlog_index
@@ -51,7 +51,7 @@ select schemaops from
flush logs;
--sleep 1
purge master logs before now();
select count(*) from cluster_replication.binlog_index;
select count(*) from cluster.binlog_index;
#
# several tables in different databases
@@ -66,11 +66,11 @@ use test;
insert into mysqltest.t1 values (2,1),(2,2);
save_master_pos;
--replace_column 1 #
select @max_epoch:=max(epoch)-1 from cluster_replication.binlog_index;
select @max_epoch:=max(epoch)-1 from cluster.binlog_index;
drop table t1;
drop database mysqltest;
select inserts,updates,deletes from
cluster_replication.binlog_index where epoch > @max_epoch and inserts > 0;
cluster.binlog_index where epoch > @max_epoch and inserts > 0;
select schemaops from
cluster_replication.binlog_index where epoch > @max_epoch and schemaops > 0;
cluster.binlog_index where epoch > @max_epoch and schemaops > 0;