mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
fixed possible bug (call with incorrect parameters)
This commit is contained in:
parent
bd6f8e0b5f
commit
bfcb40ddbc
1 changed files with 2 additions and 2 deletions
|
@ -7268,7 +7268,7 @@ static void select_describe(JOIN *join, bool need_tmp_table, bool need_order,
|
|||
item_list.push_back(new Item_string(message,strlen(message),
|
||||
default_charset_info));
|
||||
if (result->send_data(item_list))
|
||||
result->send_error(0,NullS);
|
||||
join->error= 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -7431,7 +7431,7 @@ static void select_describe(JOIN *join, bool need_tmp_table, bool need_order,
|
|||
// For next iteration
|
||||
used_tables|=table->map;
|
||||
if (result->send_data(item_list))
|
||||
result->send_error(0,NullS);
|
||||
join->error= 1;
|
||||
}
|
||||
}
|
||||
for (SELECT_LEX_UNIT *unit= join->select_lex->first_inner_unit();
|
||||
|
|
Loading…
Reference in a new issue