mirror of
https://github.com/MariaDB/server.git
synced 2026-04-30 12:15:32 +02:00
Portability fixes
libmysql/libmysql.c: Cleanup & portability fixes
This commit is contained in:
parent
ef2e750842
commit
7dc2f1a69e
21 changed files with 103 additions and 105 deletions
|
|
@ -2913,7 +2913,7 @@ static bool create_total_list(THD *thd, LEX *lex, TABLE_LIST **result)
|
|||
{
|
||||
/* Add not used table to the total table list */
|
||||
aux->lock_type= lex->lock_option;
|
||||
if (!(cursor = (TABLE_LIST *) thd->memdup((byte*) aux,
|
||||
if (!(cursor = (TABLE_LIST *) thd->memdup((char*) aux,
|
||||
sizeof(*aux))))
|
||||
{
|
||||
send_error(&thd->net,0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue