~percona-core/percona-xtrabackup/2.1

« back to all changes in this revision

Viewing changes to test/t/xb_export.sh

  • Committer: Alexey Kopytov
  • Date: 2013-08-20 05:49:17 UTC
  • mfrom: (657.2.2 2.1)
  • Revision ID: akopytov@gmail.com-20130820054917-63jqdcwv305ick7t
MergedĀ lp:~akopytov/percona-xtrabackup/bug1213036-2.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
load_dbase_schema incremental_sample
36
36
 
37
37
# Adding some data to database
38
 
vlog "Adding initial rows to database..."
39
 
numrow=100
40
 
count=0
41
 
while [ "$numrow" -gt "$count" ]
42
 
do
43
 
        ${MYSQL} ${MYSQL_ARGS} -e "insert into test values ($count, $numrow);" incremental_sample
44
 
        let "count=count+1"
45
 
done
46
 
vlog "Initial rows added"
 
38
multi_row_insert incremental_sample.test \({1..100},100\)
47
39
 
48
40
checksum_1=`checksum_table incremental_sample test`
49
41
rowsnum_1=`${MYSQL} ${MYSQL_ARGS} -Ns -e "select count(*) from test" incremental_sample`