You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +03:00
MCOL-4823 WHERE char_col<varchar_col returns a wrong result of a large table (#2060)
SCommand StrFilterCmd::duplicate() missed these two lines: filterCmd->leftColType = leftColType; filterCmd->rightColType = rightColType; which exist in the parent's FilterCommand::duplicate(). Rewriting the code to avoid duplication by using more inherited methods/constructors. This reduces the probability of similar bugs in the future.
This commit is contained in:
@@ -117,12 +117,8 @@ protected:
|
||||
boost::uuids::uuid queryUuid;
|
||||
boost::uuids::uuid stepUuid;
|
||||
|
||||
void duplicate(Command*);
|
||||
|
||||
private:
|
||||
Command();
|
||||
Command(const Command&);
|
||||
|
||||
Command(const Command &rhs) = default;
|
||||
Command & operator=(const Command & rhs) = default;
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user