You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-05 16:15:50 +03:00
MSan added with fixes for libc++
This commit is contained in:
@@ -32,7 +32,7 @@ bool Func_json_contains_path::getBoolVal(Row& row, FunctionParm& fp, bool& isNul
|
||||
if (isNull)
|
||||
return false;
|
||||
|
||||
const string_view js = js_ns.unsafeStringRef();
|
||||
const std::string_view js = js_ns.unsafeStringRef();
|
||||
|
||||
#if MYSQL_VERSION_ID >= 100900
|
||||
int arrayCounters[JSON_DEPTH_LIMIT];
|
||||
@@ -48,7 +48,7 @@ bool Func_json_contains_path::getBoolVal(Row& row, FunctionParm& fp, bool& isNul
|
||||
auto mode_ns = fp[1]->data()->getStrVal(row, isNull);
|
||||
if (isNull)
|
||||
return false;
|
||||
string mode = mode_ns.unsafeStringRef();
|
||||
std::string mode = mode_ns.unsafeStringRef();
|
||||
|
||||
transform(mode.begin(), mode.end(), mode.begin(), ::tolower);
|
||||
if (mode != "one" && mode != "all")
|
||||
|
Reference in New Issue
Block a user