1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-4470 Fix the crash in collation aware JOIN code

This commit is contained in:
Roman Nozdrin
2020-12-24 14:28:09 +00:00
parent c399249b1e
commit 13e160ec2b

View File

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