lib: introduce a new JSON_TOKEN_ANY json token
Introduced a new JSON_TOKEN_ANY json token that makes possible to perform anonymous lookup in marked tree nodes. This feature is required to implement multikey indexes. Since the token entered into the parser becomes available to user, additional server-side check is introduced so that an error occurs when trying to create a multikey index. Needed for #1257
Showing
- src/box/tuple_format.c 5 additions, 0 deletionssrc/box/tuple_format.c
- src/lib/json/json.c 13 additions, 3 deletionssrc/lib/json/json.c
- src/lib/json/json.h 32 additions, 4 deletionssrc/lib/json/json.h
- test/engine/json.result 13 additions, 0 deletionstest/engine/json.result
- test/engine/json.test.lua 7 additions, 0 deletionstest/engine/json.test.lua
- test/unit/json.c 59 additions, 6 deletionstest/unit/json.c
- test/unit/json.result 12 additions, 4 deletionstest/unit/json.result
Loading
Please register or sign in to comment