mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 01:34:17 +01:00
MDEV-22422: Assertion `! is_set()' failed in Diagnostics_area::set_eof_status
Analysis: The error is not returned when the statement can't be used. And so we still go on to search for keywords. Fix: Return the error state.
This commit is contained in:
parent
384f107ae5
commit
5f4d351d7f
1 changed files with 3 additions and 0 deletions
|
@ -741,6 +741,9 @@ static bool mysqld_help_internal(THD *thd, const char *mask)
|
|||
&name, &description, &example);
|
||||
delete select;
|
||||
|
||||
if (thd->is_error())
|
||||
goto error;
|
||||
|
||||
if (count_topics == 0)
|
||||
{
|
||||
int UNINIT_VAR(key_id);
|
||||
|
|
Loading…
Add table
Reference in a new issue