diff options
author | Jan Lindström <jan.lindstrom@skysql.com> | 2014-11-24 15:20:23 +0200 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@skysql.com> | 2014-11-24 15:23:13 +0200 |
commit | 1ac12df0cb064ad7f2ad87804c1d2d80c9cfa6c5 (patch) | |
tree | a7730f92258731f81d7898eb1b20796b5cc155f9 /storage/xtradb/os | |
parent | c0a00a2dcfd71500b7d53e49340d1c4695c3382e (diff) | |
download | mariadb-git-1ac12df0cb064ad7f2ad87804c1d2d80c9cfa6c5.tar.gz |
MDEV-7164: innodb.innodb-alter-table-disk-full fails in buildbot on Windows
Analysis: Test case uses Linux specific error codes.
Fix: Can't run test case with Windows currently because requires
to inject error to system.
Diffstat (limited to 'storage/xtradb/os')
-rw-r--r-- | storage/xtradb/os/os0file.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/storage/xtradb/os/os0file.cc b/storage/xtradb/os/os0file.cc index bb67f2d453c..3b955fc14c7 100644 --- a/storage/xtradb/os/os0file.cc +++ b/storage/xtradb/os/os0file.cc @@ -6022,12 +6022,10 @@ consecutive_loop: aio_slot->page_compression); } - DBUG_EXECUTE_IF("ib_os_aio_func_io_failure_28_2", - os_has_said_disk_full = FALSE;); - DBUG_EXECUTE_IF("ib_os_aio_func_io_failure_28_2", - ret = 0;); - DBUG_EXECUTE_IF("ib_os_aio_func_io_failure_28_2", - errno = 28;); + if (aio_slot->type == OS_FILE_WRITE) { + DBUG_EXECUTE_IF("ib_os_aio_func_io_failure_28_2", + os_has_said_disk_full = FALSE; ret = 0; errno = 28;); + } srv_set_io_thread_op_info(global_segment, "file i/o done"); |