~akopytov/percona-xtrabackup/bug722638-1.6

« back to all changes in this revision

Viewing changes to test/t/xb_incremental_compressed.sh

  • Committer: Alexey Kopytov
  • Date: 2011-09-16 07:02:15 UTC
  • mfrom: (280.1.3 bug722638-1.6)
  • Revision ID: akopytov@gmail.com-20110916070215-1dcbwia6plm7snsg
AutomergeĀ fromĀ 1.6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
  vlog "Changes done"
104
104
 
105
105
  # Saving the checksum of original table
106
 
  checksum_a=`${MYSQL} ${MYSQL_ARGS} -Ns -e "checksum table test;" \
107
 
incremental_sample | awk '{print $2}'`
 
106
  checksum_a=`checksum_table incremental_sample test`
108
107
 
109
108
  vlog "Table checksum is $checksum_a"
110
109
 
148
147
  run_mysqld ${mysqld_additional_args}
149
148
 
150
149
  vlog "Cheking checksums"
151
 
  checksum_b=`${MYSQL} ${MYSQL_ARGS} -Ns -e "checksum table test;" \
152
 
incremental_sample | awk '{print $2}'`
 
150
  checksum_b=`checksum_table incremental_sample test`
153
151
 
154
152
  if [ $checksum_a -ne $checksum_b  ]
155
153
      then