diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2017-02-22 09:17:30 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2017-02-22 09:44:21 +0200 |
commit | 6de50b2c7fd3a956ef8e32f5a76a65fd7a10969a (patch) | |
tree | 99946bfb3930b7098c2453eb53050c2707ddd2f9 /extra/perror.c | |
parent | 32591b750fa52047d0b359c3fc02e9cf41631331 (diff) | |
download | mariadb-git-6de50b2c7fd3a956ef8e32f5a76a65fd7a10969a.tar.gz |
MDEV-11520 post-fixes
Remove the unused variable desired_size.
Also, correct the expression for the posix_fallocate() start_offset,
and actually test that it works with a multi-file system tablespace.
Before MDEV-11520, the expression was wrong in both innodb_plugin and
xtradb, in different ways.
The start_offset formula was tested with the following:
./mtr --big-test --mysqld=--innodb-use-fallocate \
--mysqld=--innodb-data-file-path='ibdata1:5M;ibdata2:5M:autoextend' \
--parallel=auto --force --retry=0 --suite=innodb &
ls -lsh mysql-test/var/*/mysqld.1/data/ibdata2
Diffstat (limited to 'extra/perror.c')
0 files changed, 0 insertions, 0 deletions