1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Address review input

This commit is contained in:
Sergei Petrunia
2021-09-11 19:43:08 +03:00
parent cf8927e9cb
commit 382250c05c
4 changed files with 78 additions and 4 deletions

View File

@@ -113,11 +113,11 @@ public:
double range_selectivity(Field *field, key_range *min_endp,
key_range *max_endp) override;
void set_json_text(ulonglong sz, uchar *json_text_arg)
void set_json_text(ulonglong sz, const char *json_text_arg,
size_t json_text_len)
{
size= (size_t) sz;
json_text.assign((const char*)json_text_arg,
strlen((const char*)json_text_arg));
json_text.assign(json_text_arg, json_text_len);
}
private: