box: expose box.schema before box.cfg
box.schema has a number of constants, e.g. IDs of system spaces, which may be useful for the user. Let's allow to access box.schema before box.cfg is called. It is used in checking names, as we need to know, which snapshot spaces to scan. Needed for #8978 NO_DOC=minor change
Showing
- changelogs/unreleased/box-schema-before-cfg.md 3 additions, 0 deletionschangelogs/unreleased/box-schema-before-cfg.md
- src/box/lua/call.c 5 additions, 0 deletionssrc/box/lua/call.c
- src/box/lua/load_cfg.lua 1 addition, 0 deletionssrc/box/lua/load_cfg.lua
- src/box/lua/schema.lua 4 additions, 0 deletionssrc/box/lua/schema.lua
- src/box/lua/upgrade.lua 2 additions, 0 deletionssrc/box/lua/upgrade.lua
- src/lua/utils.lua 7 additions, 0 deletionssrc/lua/utils.lua
- test/box-luatest/box_schema_before_box_cfg_test.lua 72 additions, 0 deletionstest/box-luatest/box_schema_before_box_cfg_test.lua
Loading
Please register or sign in to comment