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
MCOL-4871 Bar's patch to do proper extent elimination for short CHAR
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user