From 5810866b69ab1ef14b26305fa45943686377da2b Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 17 Sep 2001 00:32:45 +0300 Subject: Portability fixes client/Makefile.am: Cleanup sql/Makefile.am: Cleanup sql/share/dutch/errmsg.txt: Added missing error messages sql/share/ukrainian/errmsg.txt: Added missing error messages sql/sql_handler.cc: Portability fix tools/Makefile.am: Portability fix --- sql/sql_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_handler.cc') diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc index 98cc523dc9b..668c5f07839 100644 --- a/sql/sql_handler.cc +++ b/sql/sql_handler.cc @@ -159,7 +159,7 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables, item->save_in_field(key_part->field); key_len+=key_part->store_length; } - if (!(key=sql_calloc(ALIGN_SIZE(key_len)))) + if (!(key= (byte*) sql_calloc(ALIGN_SIZE(key_len)))) { send_error(&thd->net,ER_OUTOFMEMORY); goto err; -- cgit v1.2.1