Commit 1d31a365 authored by Sunny Bains's avatar Sunny Bains

Merge from mysql-5.1 to mysql-5.5.

parents 7527d79a d77f5c79
...@@ -945,6 +945,8 @@ sync_array_print_long_waits( ...@@ -945,6 +945,8 @@ sync_array_print_long_waits(
# define SYNC_ARRAY_TIMEOUT 240 # define SYNC_ARRAY_TIMEOUT 240
#endif #endif
sync_array_enter(sync_primary_wait_array);
for (i = 0; i < sync_primary_wait_array->n_cells; i++) { for (i = 0; i < sync_primary_wait_array->n_cells; i++) {
double diff; double diff;
...@@ -979,6 +981,8 @@ sync_array_print_long_waits( ...@@ -979,6 +981,8 @@ sync_array_print_long_waits(
} }
} }
sync_array_exit(sync_primary_wait_array);
if (noticed) { if (noticed) {
fprintf(stderr, fprintf(stderr,
"InnoDB: ###### Starts InnoDB Monitor" "InnoDB: ###### Starts InnoDB Monitor"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment