mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Added missing (char*) casts in bzero calls.
(Needed for platforms with the traditional bzero prototype.) Fixes BUG#460.
This commit is contained in:
@ -152,7 +152,7 @@ LEX *lex_start(THD *thd, uchar *buf,uint length)
|
||||
lex->ignore_space=test(thd->sql_mode & MODE_IGNORE_SPACE);
|
||||
lex->slave_thd_opt=0;
|
||||
lex->sql_command=SQLCOM_END;
|
||||
bzero(&lex->mi,sizeof(lex->mi));
|
||||
bzero((char *)&lex->mi,sizeof(lex->mi));
|
||||
return lex;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user