1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-07 03:22:57 +03:00

Merge pull request #1697 from drrtuy/MCOL-4470

MCOL-4470 Fix the crash in collation aware JOIN code
This commit is contained in:
Roman Nozdrin
2020-12-29 10:54:23 +03:00
committed by GitHub

View File

@@ -1128,7 +1128,7 @@ void TupleJoiner::updateCPData(const Row& r)
if (r.isCharType(colIdx)) if (r.isCharType(colIdx))
{ {
datatypes::Charset cs(r.getCharset(col)); datatypes::Charset cs(r.getCharset(colIdx));
int64_t val = r.getIntField(colIdx); int64_t val = r.getIntField(colIdx);
if (datatypes::TCharShort::strnncollsp(cs, val, min) < 0 || if (datatypes::TCharShort::strnncollsp(cs, val, min) < 0 ||