1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Windows build fixups with the latest source

This commit is contained in:
venu@myvenu.com
2003-06-03 18:45:07 -07:00
parent e436736d29
commit 27469ec8b9
8 changed files with 16 additions and 18 deletions

View File

@@ -188,7 +188,7 @@ int mysql_insert(THD *thd,TABLE_LIST *table_list,
if (duplic == DUP_UPDATE && !table->insert_values)
{
/* it should be allocated before Item::fix_fields() */
table->insert_values=alloc_root(&table->mem_root, table->rec_buff_length);
table->insert_values=(byte *)alloc_root(&table->mem_root, table->rec_buff_length);
if (!table->insert_values)
goto abort;
}