mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Fixed reentrantness bugs in select (lex->result) and select_dumpvar, and added cool
prime number test example.
This commit is contained in:
@ -191,7 +191,8 @@ int handle_select(THD *thd, LEX *lex, select_result *result)
|
||||
send_error(thd, 0, NullS);
|
||||
res= 1;
|
||||
}
|
||||
delete result;
|
||||
if (result != lex->result)
|
||||
delete result;
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user