mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
some last minute Windows compile fixes and makefile corrections
This commit is contained in:
@@ -153,8 +153,8 @@ bool mysql_create_frm(THD *thd, my_string file_name,
|
||||
{
|
||||
char buff[2];
|
||||
int2store(buff,create_info->connect_string.length);
|
||||
if (my_write(file, buff, sizeof(buff), MYF(MY_NABP)) ||
|
||||
my_write(file, create_info->connect_string.str,
|
||||
if (my_write(file, (const byte*)buff, sizeof(buff), MYF(MY_NABP)) ||
|
||||
my_write(file, (const byte*)create_info->connect_string.str,
|
||||
create_info->connect_string.length, MYF(MY_NABP)))
|
||||
goto err;
|
||||
}
|
||||
|
Reference in New Issue
Block a user