summaryrefslogtreecommitdiff
path: root/mysql-test/r/rpl_ndb_circular.result
diff options
context:
space:
mode:
authorunknown <tomas@whalegate.ndb.mysql.com>2007-04-12 16:13:49 +0200
committerunknown <tomas@whalegate.ndb.mysql.com>2007-04-12 16:13:49 +0200
commitf3d010f734631f19b2ffe008086fc973d131b350 (patch)
treed1938f8f41dd5cbfc88c3c10ed0f11b6d582aecc /mysql-test/r/rpl_ndb_circular.result
parente36bbbef804cee6586d9e1d2c7645e196bece730 (diff)
downloadmariadb-git-f3d010f734631f19b2ffe008086fc973d131b350.tar.gz
Bug#17095 circular replication for ndb
- test case - reset server id in injector client/mysqltest.c: save master pos for ndb should look at handled epoch instead of applied sql/rpl_injector.cc: Bug#17095 circular replication for ndb - reset server id in injector mysql-test/r/rpl_ndb_circular.result: New BitKeeper file ``mysql-test/r/rpl_ndb_circular.result'' mysql-test/t/rpl_ndb_circular.test: New BitKeeper file ``mysql-test/t/rpl_ndb_circular.test''
Diffstat (limited to 'mysql-test/r/rpl_ndb_circular.result')
-rw-r--r--mysql-test/r/rpl_ndb_circular.result95
1 files changed, 95 insertions, 0 deletions
diff --git a/mysql-test/r/rpl_ndb_circular.result b/mysql-test/r/rpl_ndb_circular.result
new file mode 100644
index 00000000000..88516b757df
--- /dev/null
+++ b/mysql-test/r/rpl_ndb_circular.result
@@ -0,0 +1,95 @@
+stop slave;
+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;
+start slave;
+RESET MASTER;
+CHANGE MASTER TO master_host="127.0.0.1",master_port=SLAVE_PORT,master_user="root";
+START SLAVE;
+CREATE TABLE t1 (a int key, b int) ENGINE=ndb;
+SHOW TABLES;
+Tables_in_test
+t1
+INSERT INTO t1 VALUES (1,2);
+INSERT INTO t1 VALUES (2,3);
+SELECT * FROM t1 ORDER BY a;
+a b
+1 2
+2 3
+show slave status;;
+Slave_IO_State #
+Master_Host 127.0.0.1
+Master_User root
+Master_Port #
+Connect_Retry 1
+Master_Log_File master-bin.000001
+Read_Master_Log_Pos #
+Relay_Log_File #
+Relay_Log_Pos #
+Relay_Master_Log_File master-bin.000001
+Slave_IO_Running Yes
+Slave_SQL_Running Yes
+Replicate_Do_DB
+Replicate_Ignore_DB
+Replicate_Do_Table
+Replicate_Ignore_Table
+Replicate_Wild_Do_Table
+Replicate_Wild_Ignore_Table
+Last_Errno 0
+Last_Error
+Skip_Counter 0
+Exec_Master_Log_Pos #
+Relay_Log_Space #
+Until_Condition None
+Until_Log_File
+Until_Log_Pos 0
+Master_SSL_Allowed No
+Master_SSL_CA_File
+Master_SSL_CA_Path
+Master_SSL_Cert
+Master_SSL_Cipher
+Master_SSL_Key
+Seconds_Behind_Master #
+Master_SSL_Verify_Server_Cert No
+SELECT * FROM t1 ORDER BY a;
+a b
+1 2
+2 3
+show slave status;;
+Slave_IO_State #
+Master_Host 127.0.0.1
+Master_User root
+Master_Port #
+Connect_Retry 60
+Master_Log_File slave-bin.000001
+Read_Master_Log_Pos #
+Relay_Log_File #
+Relay_Log_Pos #
+Relay_Master_Log_File slave-bin.000001
+Slave_IO_Running Yes
+Slave_SQL_Running Yes
+Replicate_Do_DB
+Replicate_Ignore_DB
+Replicate_Do_Table
+Replicate_Ignore_Table
+Replicate_Wild_Do_Table
+Replicate_Wild_Ignore_Table
+Last_Errno 0
+Last_Error
+Skip_Counter 0
+Exec_Master_Log_Pos #
+Relay_Log_Space #
+Until_Condition None
+Until_Log_File
+Until_Log_Pos 0
+Master_SSL_Allowed No
+Master_SSL_CA_File
+Master_SSL_CA_Path
+Master_SSL_Cert
+Master_SSL_Cipher
+Master_SSL_Key
+Seconds_Behind_Master #
+Master_SSL_Verify_Server_Cert No
+STOP SLAVE;
+DROP TABLE t1;