sysview: set format for spaces with sysview engine
The patch sets format for spaces with sysview engine. This is done due to following reasons: 1. Since an SQL view looks into underneath space's format, set it for spaces with sysview engine. Before the patch, spaces with sysview enginge didn't have its own tuples and hence didn't need to have a format. 2. To use sysview engine to deal with SQL views. This will allow to use sysview machinery to query SQL views from Lua land. Closes #4111
Showing
- src/box/index_def.c 22 additions, 0 deletionssrc/box/index_def.c
- src/box/index_def.h 12 additions, 0 deletionssrc/box/index_def.h
- src/box/memtx_space.c 1 addition, 9 deletionssrc/box/memtx_space.c
- src/box/sysview.c 26 additions, 1 deletionsrc/box/sysview.c
- src/box/tuple_format.c 4 additions, 1 deletionsrc/box/tuple_format.c
- test/box/access_sysview.result 3 additions, 2 deletionstest/box/access_sysview.result
- test/box/access_sysview.test.lua 1 addition, 1 deletiontest/box/access_sysview.test.lua
- test/sql/gh-4111-format-in-sysview.result 28 additions, 0 deletionstest/sql/gh-4111-format-in-sysview.result
- test/sql/gh-4111-format-in-sysview.test.lua 13 additions, 0 deletionstest/sql/gh-4111-format-in-sysview.test.lua
- test/wal_off/alter.result 1 addition, 1 deletiontest/wal_off/alter.result
Loading
Please register or sign in to comment