Commit 98ef0b2b authored by ingo@mysql.com's avatar ingo@mysql.com

Test bug: Memory leak in archive handler.

Added a call to close the meta file after a repair.
parent 1b02e188
......@@ -810,6 +810,7 @@ int ha_archive::repair(THD* thd, HA_CHECK_OPT* check_opt)
goto error;
}
(void)write_meta_file(meta_file, rows_recorded, TRUE);
my_close(meta_file,MYF(0));
rc= 0;
}
......
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