~percona-core/percona-xtrabackup/2.0

« back to all changes in this revision

Viewing changes to test/t/bug1247586.sh

  • Committer: Alexey Kopytov
  • Date: 2013-11-11 15:14:07 UTC
  • mfrom: (587.1.1 2.0)
  • Revision ID: akopytov@gmail.com-20131111151407-69gsoz1l4svworux
MergedĀ lp:~akopytov/percona-xtrabackup/innodb_checksum_algorithm-2.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
##########################################################################
 
2
# Bug #1247586: xtrabackup_56 defaults to innodb_checksum_algorithm=crc32
 
3
##########################################################################
 
4
 
 
5
if [ ${MYSQL_VERSION:0:3} != "5.6" ]
 
6
then
 
7
    echo "Requires a 5.6 server" > $SKIPPED_REASON
 
8
    exit $SKIPPED_EXIT_CODE
 
9
fi
 
10
 
 
11
if ! xtrabackup --help 2>&1 |
 
12
       egrep '^innodb-checksum-algorithm[[:space:]]+innodb$'
 
13
then
 
14
    die "XtraBackup is using an incorrect default value for \
 
15
--innodb-checksum-algorithm"
 
16
fi