summaryrefslogtreecommitdiff
path: root/mysql-test/include/ndb_backup_print.inc
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.mysql.com>2007-03-07 13:19:37 +0700
committerunknown <tomas@poseidon.mysql.com>2007-03-07 13:19:37 +0700
commit2d797068f1b7bc65595eba7d1aea12547520d241 (patch)
tree4c32705016a00429662ac649d6cc52b200726bfd /mysql-test/include/ndb_backup_print.inc
parent16fc4db1e123b651937fae21577cb0a8e6557075 (diff)
downloadmariadb-git-2d797068f1b7bc65595eba7d1aea12547520d241.tar.gz
Bug#26899 ndb_restore cannot restore selected tables and databases
Bug#26900 ndb_restore printout option does not give structured data - test cases
Diffstat (limited to 'mysql-test/include/ndb_backup_print.inc')
-rw-r--r--mysql-test/include/ndb_backup_print.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/include/ndb_backup_print.inc b/mysql-test/include/ndb_backup_print.inc
new file mode 100644
index 00000000000..57fb279491c
--- /dev/null
+++ b/mysql-test/include/ndb_backup_print.inc
@@ -0,0 +1,6 @@
+--exec $NDB_TOOLS_DIR/ndb_restore --no-defaults $ndb_restore_opts -b $the_backup_id -n 1 $NDB_BACKUP_DIR/BACKUP/BACKUP-$the_backup_id $ndb_restore_filter > $MYSQLTEST_VARDIR/tmp/tmp.dat
+--exec $NDB_TOOLS_DIR/ndb_restore --no-defaults $ndb_restore_opts -b $the_backup_id -n 2 $NDB_BACKUP_DIR/BACKUP/BACKUP-$the_backup_id $ndb_restore_filter >> $MYSQLTEST_VARDIR/tmp/tmp.dat
+--exec sort $MYSQLTEST_VARDIR/tmp/tmp.dat
+--exec rm -f $MYSQLTEST_VARDIR/tmp/tmp.dat
+--let ndb_restore_opts=
+--let ndb_restore_filter=