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

MCOL-4871 Bar's patch to do proper extent elimination for short CHAR

This commit is contained in:
Roman Nozdrin
2021-12-17 12:40:37 +00:00
parent 753fc26dda
commit 7b5845a4aa
2 changed files with 45 additions and 4 deletions

View File

@ -90,7 +90,7 @@ static int generate_result(BRM::OID_t oid, BRM::DBRM* emp, TABLE* table, THD* th
else
{
table->field[4]->set_notnull();
table->field[4]->store(iter->partition.cprange.loVal);
table->field[4]->store((longlong) iter->partition.cprange.loVal, false);
}
if (iter->partition.cprange.hiVal <= (std::numeric_limits<int64_t>::min() + 1))
@ -100,7 +100,7 @@ static int generate_result(BRM::OID_t oid, BRM::DBRM* emp, TABLE* table, THD* th
else
{
table->field[5]->set_notnull();
table->field[5]->store(iter->partition.cprange.hiVal);
table->field[5]->store((longlong) iter->partition.cprange.hiVal, false);
}
}
else