mirror of
https://github.com/MariaDB/server.git
synced 2026-05-11 17:40:11 +02:00
MDEV-11858 json_merge() concatenates instead of merging.
Fix json_merge implementation.
This commit is contained in:
parent
3ae038b732
commit
25aaecb240
5 changed files with 236 additions and 71 deletions
|
|
@ -1197,13 +1197,6 @@ int json_skip_to_level(json_engine_t *j, int level)
|
|||
|
||||
int json_skip_key(json_engine_t *j)
|
||||
{
|
||||
if (j->state == JST_KEY)
|
||||
{
|
||||
while (json_read_keyname_chr(j) == 0);
|
||||
if (j->s.error)
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (json_read_value(j))
|
||||
return 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue