File tree Expand file tree Collapse file tree 3 files changed +12
-11
lines changed
mysql-test/suite/innodb/t Expand file tree Collapse file tree 3 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 1
1
# MDEV-6288: Innodb causes server crash after disk full, then can't ALTER TABLE any more
2
2
--source include/have_innodb.inc
3
+ --source include/not_windows.inc
4
+ --source include/not_valgrind.inc
5
+ --source include/not_embedded.inc
3
6
4
7
# DEBUG_SYNC must be compiled in.
5
8
--source include/have_debug_sync.inc
Original file line number Diff line number Diff line change @@ -5929,12 +5929,12 @@ os_aio_simulated_handle(
5929
5929
aio_slot->page_compression );
5930
5930
}
5931
5931
5932
- DBUG_EXECUTE_IF (" ib_os_aio_func_io_failure_28_2" ,
5933
- os_has_said_disk_full = FALSE ;);
5934
- DBUG_EXECUTE_IF (" ib_os_aio_func_io_failure_28_2" ,
5935
- ret = 0 ;);
5936
- DBUG_EXECUTE_IF (" ib_os_aio_func_io_failure_28_2" ,
5932
+ if (aio_slot->type == OS_FILE_WRITE) {
5933
+ DBUG_EXECUTE_IF (" ib_os_aio_func_io_failure_28" ,
5934
+ os_has_said_disk_full = FALSE ;
5935
+ ret = 0 ;
5937
5936
errno = 28 ;);
5937
+ }
5938
5938
5939
5939
srv_set_io_thread_op_info (global_segment, " file i/o done" );
5940
5940
Original file line number Diff line number Diff line change @@ -6022,12 +6022,10 @@ os_aio_simulated_handle(
6022
6022
aio_slot->page_compression );
6023
6023
}
6024
6024
6025
- DBUG_EXECUTE_IF (" ib_os_aio_func_io_failure_28_2" ,
6026
- os_has_said_disk_full = FALSE ;);
6027
- DBUG_EXECUTE_IF (" ib_os_aio_func_io_failure_28_2" ,
6028
- ret = 0 ;);
6029
- DBUG_EXECUTE_IF (" ib_os_aio_func_io_failure_28_2" ,
6030
- errno = 28 ;);
6025
+ if (aio_slot->type == OS_FILE_WRITE) {
6026
+ DBUG_EXECUTE_IF (" ib_os_aio_func_io_failure_28_2" ,
6027
+ os_has_said_disk_full = FALSE ; ret = 0 ; errno = 28 ;);
6028
+ }
6031
6029
6032
6030
srv_set_io_thread_op_info (global_segment, " file i/o done" );
6033
6031
You can’t perform that action at this time.
0 commit comments