diff options
author | Sergey Vojtovich <svoj@sun.com> | 2009-11-03 14:24:21 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@sun.com> | 2009-11-03 14:24:21 +0400 |
commit | be3fd511c5fcfa0e891b947e2505d621de04331a (patch) | |
tree | 69ff0f4506c4840e47e27286c521a65b25e81865 | |
parent | d927bc67dce4d944dbe781ba675567e3d34dfee8 (diff) | |
download | mariadb-git-be3fd511c5fcfa0e891b947e2505d621de04331a.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.
-rw-r--r-- | storage/innodb_plugin/fil/fil0fil.c | 1 |
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 */ |