1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

MCOL-1799 Fix length() with BLOB

In 10.3 it gets renamed to octet_length()
This commit is contained in:
Andrew Hutchings
2018-11-02 14:26:42 +00:00
parent 1e800153ef
commit 1ec68bf485

View File

@ -286,6 +286,7 @@ void ExpressionStep::addColumn(ReturnedColumn* rc, JobInfo& jobInfo)
scs = &(fc->simpleColumnList());
wcs = &(fc->windowfunctionColumnList());
fVarBinOK = ((strcmp(fc->functionName().c_str(), "hex") == 0) ||
(strcmp(fc->functionName().c_str(), "octet_length") == 0) ||
(strcmp(fc->functionName().c_str(), "length") == 0));
}