mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-17001 JSON_MERGE returns nullwhen merging empty array.
Don't add the comma if nothing appended to the array.
This commit is contained in:
@ -1197,10 +1197,6 @@ int json_skip_to_level(json_engine_t *j, int level)
|
||||
}
|
||||
|
||||
|
||||
#define json_skip_level(json_engine) \
|
||||
json_skip_to_level((json_engine), (json_engine)->stack_p)
|
||||
|
||||
|
||||
/*
|
||||
works as json_skip_level() but also counts items on the current
|
||||
level skipped.
|
||||
|
Reference in New Issue
Block a user