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
Merge pull request #606 from mariadb-corporation/MCOL-1776
MCOL-1776 Fix MCOL-1403 regression
This commit is contained in:
@@ -4929,7 +4929,6 @@ void gp_walk(const Item* item, void* arg)
|
|||||||
|
|
||||||
if (isp)
|
if (isp)
|
||||||
{
|
{
|
||||||
// @bug 3669. trim trailing spaces for the compare value
|
|
||||||
if (isp->result_type() == STRING_RESULT)
|
if (isp->result_type() == STRING_RESULT)
|
||||||
{
|
{
|
||||||
String val, *str = isp->val_str(&val);
|
String val, *str = isp->val_str(&val);
|
||||||
@@ -4940,11 +4939,6 @@ void gp_walk(const Item* item, void* arg)
|
|||||||
cval.assign(str->ptr(), str->length());
|
cval.assign(str->ptr(), str->length());
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t spos = cval.find_last_not_of(" ");
|
|
||||||
|
|
||||||
if (spos != string::npos)
|
|
||||||
cval = cval.substr(0, spos + 1);
|
|
||||||
|
|
||||||
gwip->rcWorkStack.push(new ConstantColumn(cval));
|
gwip->rcWorkStack.push(new ConstantColumn(cval));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user