summaryrefslogtreecommitdiff
path: root/innobase/fil
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2005-01-22 04:49:35 +0200
committerunknown <heikki@hundin.mysql.fi>2005-01-22 04:49:35 +0200
commit966086abdff7ef9d5de64c345a666fd44ff4e9b2 (patch)
tree8cbf1b66f4dcd855ec9fa65fb88f5d2f61666688 /innobase/fil
parentfcd09022662a2d1f7c393fac3a8d4938edeb98f4 (diff)
parentc695ccd27e753fe9ed67dc28443de7639203a4bc (diff)
downloadmariadb-git-966086abdff7ef9d5de64c345a666fd44ff4e9b2.tar.gz
Merge hundin.mysql.fi:/home/heikki/mysql-4.1
into hundin.mysql.fi:/home/heikki/mysql-5.0 innobase/fil/fil0fil.c: Auto merged
Diffstat (limited to 'innobase/fil')
-rw-r--r--innobase/fil/fil0fil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/innobase/fil/fil0fil.c b/innobase/fil/fil0fil.c
index c4eddecd5cc..9b2f7ffe575 100644
--- a/innobase/fil/fil0fil.c
+++ b/innobase/fil/fil0fil.c
@@ -4157,7 +4157,8 @@ fil_flush_file_spaces(
space = UT_LIST_GET_FIRST(system->space_list);
while (space) {
- if (space->purpose == purpose) {
+ if (space->purpose == purpose && !space->is_being_deleted) {
+
space->n_pending_flushes++; /* prevent dropping of the
space while we are
flushing */