summaryrefslogtreecommitdiff
path: root/mysql-test/include
diff options
context:
space:
mode:
authorunknown <jmiller@mysql.com>2006-03-09 03:37:25 +0100
committerunknown <jmiller@mysql.com>2006-03-09 03:37:25 +0100
commita3b0720bf0f59d2cc9fce9d5c08bcb6ee1867e73 (patch)
tree5eb049c6e44608b2cc23227cfcdbe0e4f26fc60c /mysql-test/include
parent47653b4837bfda7477ac421fa7dfa4dae4d3a59e (diff)
downloadmariadb-git-a3b0720bf0f59d2cc9fce9d5c08bcb6ee1867e73.tar.gz
New test to satisfy some of the 5.1 CR test plan
mysql-test/t/rpl_ndb_dd_advance.test: New test case to test advance use of Cluster Disk Data and replication mysql-test/include/ndb_restore_slave_eoption.inc: New support file to help test advance use of Cluster Disk Data and replication mysql-test/r/rpl_ndb_dd_advance.result: New result file for test of advance use of Cluster Disk Data and replication
Diffstat (limited to 'mysql-test/include')
-rw-r--r--mysql-test/include/ndb_restore_slave_eoption.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/include/ndb_restore_slave_eoption.inc b/mysql-test/include/ndb_restore_slave_eoption.inc
new file mode 100644
index 00000000000..f1f6cf96881
--- /dev/null
+++ b/mysql-test/include/ndb_restore_slave_eoption.inc
@@ -0,0 +1,11 @@
+######################################################
+# By JBM 2006-03-08 So that the code is not repeated #
+# in test cases and can be reused. #
+######################################################
+
+--exec $NDB_TOOLS_DIR/ndb_restore --no-defaults --ndb-connectstring="localhost:$NDBCLUSTER_PORT_SLAVE" -p 8 -b $the_backup_id -n 1 -m -r --print --print_meta $NDB_BACKUP_DIR/BACKUP/BACKUP-$the_backup_id >> $NDB_TOOLS_OUTPUT
+
+--exec $NDB_TOOLS_DIR/ndb_restore --no-defaults --ndb-connectstring="localhost:$NDBCLUSTER_PORT_SLAVE" -p 8 -b $the_backup_id -n 2 -r -e --print --print_meta $NDB_BACKUP_DIR/BACKUP/BACKUP-$the_backup_id >> $NDB_TOOLS_OUTPUT
+
+
+