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

MCOL-4696: get rid of boost::iequals

This commit is contained in:
Leonid Fedorov
2024-08-13 13:54:45 +00:00
committed by Leonid Fedorov
parent 4aa281645e
commit 4b411b3968
9 changed files with 62 additions and 43 deletions

View File

@ -124,12 +124,12 @@ void number_int_value(const string& data, cscDataType typeCode,
if (y != string::npos)
throw QueryDataExcept("')' is not matched.", formatErr);
if (boost::iequals(valStr, "true"))
if (datatypes::ASCIIStringCaseInsensetiveEquals(valStr, "true"))
{
intVal = 1;
return;
}
if (boost::iequals(valStr, "false"))
if (datatypes::ASCIIStringCaseInsensetiveEquals(valStr, "false"))
{
intVal = 0;
return;