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:
@@ -14,7 +14,7 @@ using namespace funcexp::helpers;
|
||||
|
||||
namespace
|
||||
{
|
||||
bool checkKeyInList(const string& res, const uchar* key, const int keyLen)
|
||||
bool checkKeyInList(const std::string& res, const uchar* key, const int keyLen)
|
||||
{
|
||||
const uchar* curr = (const uchar*)res.c_str() + 2; /* beginning '["' */
|
||||
const uchar* end = (const uchar*)res.c_str() + res.size() - 1; /* ending '"' */
|
||||
@@ -51,15 +51,15 @@ CalpontSystemCatalog::ColType Func_json_keys::operationType(FunctionParm& fp,
|
||||
return fp[0]->data()->resultType();
|
||||
}
|
||||
|
||||
string Func_json_keys::getStrVal(rowgroup::Row& row, FunctionParm& fp, bool& isNull,
|
||||
execplan::CalpontSystemCatalog::ColType& /*type*/)
|
||||
std::string Func_json_keys::getStrVal(rowgroup::Row& row, FunctionParm& fp, bool& isNull,
|
||||
execplan::CalpontSystemCatalog::ColType& /*type*/)
|
||||
{
|
||||
const auto js = fp[0]->data()->getStrVal(row, isNull);
|
||||
if (isNull)
|
||||
return "";
|
||||
|
||||
IntType keySize = 0;
|
||||
string ret;
|
||||
std::string ret;
|
||||
json_engine_t jsEg;
|
||||
initJSEngine(jsEg, getCharset(fp[0]), js);
|
||||
|
||||
|
Reference in New Issue
Block a user