MDEV-20138 innodb.trx_id_future fails on big-endian
Skip the test on big-endian systems. In MariaDB Server 10.0 and 10.1 (as well as MySQL 5.6), the implementation of innodb_checksum_algorithm=crc32 wrongly assumes little-endian byte order.
This commit is contained in:
parent
eff898f2a0
commit
c738aa240e
@ -7,6 +7,16 @@
|
||||
--source include/have_innodb.inc
|
||||
--source include/not_embedded.inc
|
||||
|
||||
perl;
|
||||
open(OUT, ">$ENV{MYSQLTEST_VARDIR}/log/check.txt") || die;
|
||||
print OUT "--skip innodb_checksum_algorithm=crc32 needs little-endian\n"
|
||||
unless unpack("L","macs")==unpack("N","scam");
|
||||
close(OUT);
|
||||
EOF
|
||||
|
||||
--source $MYSQLTEST_VARDIR/log/check.txt
|
||||
--remove_file $MYSQLTEST_VARDIR/log/check.txt
|
||||
|
||||
let PAGE_SIZE=`select @@innodb_page_size`;
|
||||
|
||||
CREATE TABLE t1(a INT) row_format=redundant engine=innoDB;
|
||||
|
Loading…
x
Reference in New Issue
Block a user