mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
Bug#13997024 SEGV IN SYNC_ARRAY_CELL_PRINT PRINTING OUT LONG SEMAPHORE WAIT DATA
Backport fix from mysql-5.6.
This commit is contained in:
parent
0319ba84b9
commit
d77f5c79e5
2 changed files with 8 additions and 0 deletions
|
@ -936,6 +936,8 @@ sync_array_print_long_waits(
|
|||
return(FALSE);
|
||||
}
|
||||
|
||||
sync_array_enter(sync_primary_wait_array);
|
||||
|
||||
for (i = 0; i < sync_primary_wait_array->n_cells; i++) {
|
||||
|
||||
double diff;
|
||||
|
@ -970,6 +972,8 @@ sync_array_print_long_waits(
|
|||
}
|
||||
}
|
||||
|
||||
sync_array_exit(sync_primary_wait_array);
|
||||
|
||||
if (noticed) {
|
||||
fprintf(stderr,
|
||||
"InnoDB: ###### Starts InnoDB Monitor"
|
||||
|
|
|
@ -932,6 +932,8 @@ sync_array_print_long_waits(
|
|||
return(FALSE);
|
||||
}
|
||||
|
||||
sync_array_enter(sync_primary_wait_array);
|
||||
|
||||
for (i = 0; i < sync_primary_wait_array->n_cells; i++) {
|
||||
|
||||
double diff;
|
||||
|
@ -966,6 +968,8 @@ sync_array_print_long_waits(
|
|||
}
|
||||
}
|
||||
|
||||
sync_array_exit(sync_primary_wait_array);
|
||||
|
||||
if (noticed) {
|
||||
fprintf(stderr,
|
||||
"InnoDB: ###### Starts InnoDB Monitor"
|
||||
|
|
Loading…
Add table
Reference in a new issue