Commit 944c29ce authored by heikki@hundin.mysql.fi's avatar heikki@hundin.mysql.fi

Merge hundin.mysql.fi:/home/heikki/mysql-4.1

into hundin.mysql.fi:/home/heikki/mysql-5.0
parents a0263e86 e30b5f86
...@@ -4157,7 +4157,8 @@ fil_flush_file_spaces( ...@@ -4157,7 +4157,8 @@ fil_flush_file_spaces(
space = UT_LIST_GET_FIRST(system->space_list); space = UT_LIST_GET_FIRST(system->space_list);
while (space) { while (space) {
if (space->purpose == purpose) { if (space->purpose == purpose && !space->is_being_deleted) {
space->n_pending_flushes++; /* prevent dropping of the space->n_pending_flushes++; /* prevent dropping of the
space while we are space while we are
flushing */ flushing */
......
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