summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@sun.com>2009-11-03 14:24:21 +0400
committerSergey Vojtovich <svoj@sun.com>2009-11-03 14:24:21 +0400
commit6171c4b97ab527be39ae33d4959f278c75b45f74 (patch)
tree69ff0f4506c4840e47e27286c521a65b25e81865 /storage
parent43291b246f8579789771956f6e6977912ae1a2c0 (diff)
downloadmariadb-git-6171c4b97ab527be39ae33d4959f278c75b45f74.tar.gz
Applying InnoDB plugin snashot
Detailed revision comments: r6108 | calvin | 2009-10-29 07:58:04 +0200 (Thu, 29 Oct 2009) | 5 lines branches/zip: close file handle when building with UNIV_HOTBACKUP The change does not affect regular InnoDB engine. Confirmed by Marko.
Diffstat (limited to 'storage')
-rw-r--r--storage/innodb_plugin/fil/fil0fil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/innodb_plugin/fil/fil0fil.c b/storage/innodb_plugin/fil/fil0fil.c
index 3342d25763c..ba6f2f8666f 100644
--- a/storage/innodb_plugin/fil/fil0fil.c
+++ b/storage/innodb_plugin/fil/fil0fil.c
@@ -659,6 +659,7 @@ fil_node_open_file(
#ifdef UNIV_HOTBACKUP
if (space->id == 0) {
node->size = (ulint) (size_bytes / UNIV_PAGE_SIZE);
+ os_file_close(node->handle);
goto add_size;
}
#endif /* UNIV_HOTBACKUP */