1
0
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:
Gagan Goel
2019-08-30 00:06:30 -04:00
parent a2a1ab30a2
commit e2084493f3
2 changed files with 96 additions and 2 deletions

View File

@ -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;