You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
fix(dbcon) MCOL-5812 server crash related to stored functions
Using the stored function's return value as an argument for another function was handled incorrectly, leading to a server crash.
This commit is contained in:
committed by
Leonid Fedorov
parent
bd9dfdf38c
commit
42be2cb7e0
@ -364,6 +364,10 @@ void item_check(Item* item, bool* unsupported_feature)
|
||||
|
||||
bool check_user_var(SELECT_LEX* select_lex)
|
||||
{
|
||||
if (!select_lex) {
|
||||
// There are definitely no user vars if select_lex is null
|
||||
return false;
|
||||
}
|
||||
List_iterator_fast<Item> it(select_lex->item_list);
|
||||
Item* item;
|
||||
bool is_user_var_func = false;
|
||||
|
Reference in New Issue
Block a user