Merge from dev tree.
This commit is contained in:
commit
0ba397e0b2
@ -249,6 +249,11 @@ sql_create_definition_file(const LEX_STRING *dir, const LEX_STRING *file_name,
|
|||||||
if (end_io_cache(&file))
|
if (end_io_cache(&file))
|
||||||
goto err_w_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)))
|
if (my_close(handler, MYF(MY_WME)))
|
||||||
{
|
{
|
||||||
DBUG_RETURN(TRUE);
|
DBUG_RETURN(TRUE);
|
||||||
|
@ -63,8 +63,8 @@ static bool make_empty_rec(THD *thd, int file, enum db_type table_type,
|
|||||||
db_file Handler to use. May be zero, in which case we use
|
db_file Handler to use. May be zero, in which case we use
|
||||||
create_info->db_type
|
create_info->db_type
|
||||||
RETURN
|
RETURN
|
||||||
0 ok
|
false ok
|
||||||
1 error
|
true error
|
||||||
*/
|
*/
|
||||||
|
|
||||||
bool mysql_create_frm(THD *thd, my_string file_name,
|
bool mysql_create_frm(THD *thd, my_string file_name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user