2
# Copies clean tables' data and index file to other directory
3
# Tables are $mms_tname1...$mms_tname[$mms_tables]
4
# They are later used as a reference to see if recovery works.
7
# set $mms_tname to a string, and $mms_tables to a number N, the script will
8
# cover tables mysqltest.$mms_tname1,...$mms_tnameN
12
let $mms_table_to_use=$mms_tables;
13
let $mms_purpose=comparison;
18
eval drop database if exists mysqltest_for_$mms_purpose;
20
eval create database mysqltest_for_$mms_purpose;
23
while ($mms_table_to_use)
25
# to serve as a reference, table must be in a clean state
26
eval flush table $mms_tname$mms_table_to_use;
27
-- source include/maria_make_snapshot.inc
28
dec $mms_table_to_use;