mirror of
https://github.com/MariaDB/server.git
synced 2026-04-26 10:15:29 +02:00
Merge from dev tree.
This commit is contained in:
commit
9b1b1d507e
2 changed files with 7 additions and 2 deletions
|
|
@ -249,6 +249,11 @@ sql_create_definition_file(const LEX_STRING *dir, const LEX_STRING *file_name,
|
|||
if (end_io_cache(&file))
|
||||
goto err_w_file;
|
||||
|
||||
if (opt_sync_frm) {
|
||||
if (my_sync(handler, MYF(MY_WME)))
|
||||
goto err_w_file;
|
||||
}
|
||||
|
||||
if (my_close(handler, MYF(MY_WME)))
|
||||
{
|
||||
DBUG_RETURN(TRUE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue