mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
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.
This commit is contained in:
parent
d927bc67dc
commit
be3fd511c5
1 changed files with 1 additions and 0 deletions
|
|
@ -659,6 +659,7 @@ fil_node_open_file(
|
||||||
#ifdef UNIV_HOTBACKUP
|
#ifdef UNIV_HOTBACKUP
|
||||||
if (space->id == 0) {
|
if (space->id == 0) {
|
||||||
node->size = (ulint) (size_bytes / UNIV_PAGE_SIZE);
|
node->size = (ulint) (size_bytes / UNIV_PAGE_SIZE);
|
||||||
|
os_file_close(node->handle);
|
||||||
goto add_size;
|
goto add_size;
|
||||||
}
|
}
|
||||||
#endif /* UNIV_HOTBACKUP */
|
#endif /* UNIV_HOTBACKUP */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue