mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-30412: JSON_OBJECTAGG doesn't escape double quote in key
This commit is contained in:
committed by
Daniel Black
parent
c41c79650a
commit
badf6de171
@@ -4060,7 +4060,7 @@ bool Item_func_json_objectagg::add()
|
||||
result.append(", ");
|
||||
|
||||
result.append("\"");
|
||||
result.append(*key);
|
||||
st_append_escaped(&result,key);
|
||||
result.append("\":");
|
||||
|
||||
buf.length(0);
|
||||
|
Reference in New Issue
Block a user