mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
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.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
# MDEV-6288: Innodb causes server crash after disk full, then can't ALTER TABLE any more
|
# MDEV-6288: Innodb causes server crash after disk full, then can't ALTER TABLE any more
|
||||||
--source include/have_innodb.inc
|
--source include/have_innodb.inc
|
||||||
|
--source include/not_windows.inc
|
||||||
|
--source include/not_valgrind.inc
|
||||||
|
--source include/not_embedded.inc
|
||||||
|
|
||||||
# DEBUG_SYNC must be compiled in.
|
# DEBUG_SYNC must be compiled in.
|
||||||
--source include/have_debug_sync.inc
|
--source include/have_debug_sync.inc
|
||||||
|
@ -5455,12 +5455,12 @@ consecutive_loop:
|
|||||||
aio_slot->offset, total_len);
|
aio_slot->offset, total_len);
|
||||||
}
|
}
|
||||||
|
|
||||||
DBUG_EXECUTE_IF("ib_os_aio_func_io_failure_28_2",
|
if (aio_slot->type == OS_FILE_WRITE) {
|
||||||
os_has_said_disk_full = FALSE;);
|
DBUG_EXECUTE_IF("ib_os_aio_func_io_failure_28",
|
||||||
DBUG_EXECUTE_IF("ib_os_aio_func_io_failure_28_2",
|
os_has_said_disk_full = FALSE;
|
||||||
ret = 0;);
|
ret = 0;
|
||||||
DBUG_EXECUTE_IF("ib_os_aio_func_io_failure_28_2",
|
|
||||||
errno = 28;);
|
errno = 28;);
|
||||||
|
}
|
||||||
|
|
||||||
srv_set_io_thread_op_info(global_segment, "file i/o done");
|
srv_set_io_thread_op_info(global_segment, "file i/o done");
|
||||||
|
|
||||||
|
@ -5597,12 +5597,10 @@ consecutive_loop:
|
|||||||
aio_slot->offset, total_len);
|
aio_slot->offset, total_len);
|
||||||
}
|
}
|
||||||
|
|
||||||
DBUG_EXECUTE_IF("ib_os_aio_func_io_failure_28_2",
|
if (aio_slot->type == OS_FILE_WRITE) {
|
||||||
os_has_said_disk_full = FALSE;);
|
DBUG_EXECUTE_IF("ib_os_aio_func_io_failure_28_2",
|
||||||
DBUG_EXECUTE_IF("ib_os_aio_func_io_failure_28_2",
|
os_has_said_disk_full = FALSE; ret = 0; errno = 28;);
|
||||||
ret = 0;);
|
}
|
||||||
DBUG_EXECUTE_IF("ib_os_aio_func_io_failure_28_2",
|
|
||||||
errno = 28;);
|
|
||||||
|
|
||||||
srv_set_io_thread_op_info(global_segment, "file i/o done");
|
srv_set_io_thread_op_info(global_segment, "file i/o done");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user