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
1. For BETWEEN/IN functions in the SELECT clause, build a function column
2. CASE function should return false when it evaluates to NULL (e.g. due to absense of ELSE clause) 3. Set the operation type of IN function to varchar if all parameters are char/varchar/text
This commit is contained in:
@ -485,7 +485,7 @@ bool Func_simple_case::getBoolVal(Row& row,
|
||||
uint64_t i = simple_case_cmp(row, parm, isNull, operationColType);
|
||||
|
||||
if (isNull)
|
||||
return joblist::BIGINTNULL;
|
||||
return false;
|
||||
|
||||
ParseTree* lop = parm[i]->left();
|
||||
ParseTree* rop = parm[i]->right();
|
||||
@ -651,7 +651,7 @@ bool Func_searched_case::getBoolVal(Row& row,
|
||||
uint64_t i = searched_case_cmp(row, parm, isNull);
|
||||
|
||||
if (isNull)
|
||||
return joblist::BIGINTNULL;
|
||||
return false;
|
||||
|
||||
ParseTree* lop = parm[i]->left();
|
||||
ParseTree* rop = parm[i]->right();
|
||||
|
Reference in New Issue
Block a user