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
Disable handlers for set_user_var and get_user_var functions in the SELECT clause
This commit is contained in:
@ -8702,8 +8702,8 @@ int getGroupPlan(gp_walk_info& gwi, SELECT_LEX& select_lex, SCSEP& csep, cal_gro
|
||||
if ((gwi.subQuery /*|| select_lex.group_list.elements != 0 */ ||
|
||||
!csep->unionVec().empty() || isUnion) &&
|
||||
!hasNonSupportItem && (after_size - before_size) == 0 &&
|
||||
!(parseInfo & AGG_BIT) && !(parseInfo & SUB_BIT) &&
|
||||
string(ifp->func_name()) != "set_user_var")
|
||||
!(parseInfo & AGG_BIT) && !(parseInfo & SUB_BIT)
|
||||
)
|
||||
{
|
||||
String val, *str = ifp->val_str(&val);
|
||||
string valStr;
|
||||
|
Reference in New Issue
Block a user