mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
A fix for the windows build (harmless warning).
This commit is contained in:
parent
c2e0e5af09
commit
b89b192201
1 changed files with 1 additions and 1 deletions
|
@ -1672,7 +1672,7 @@ void st_lex::cleanup_lex_after_parse_error(THD *thd)
|
|||
Sic: we must nullify the member of the main lex, not the
|
||||
current one that will be thrown away
|
||||
*/
|
||||
if (thd->lex->sphead);
|
||||
if (thd->lex->sphead)
|
||||
{
|
||||
delete thd->lex->sphead;
|
||||
thd->lex->sphead= NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue