log_dir refactoring; fixes for various bugs
Move function limit test to wal/ suite, to test without a write ahead log. Implement cascading revoke of privilegs on drop of space or function. Implement a check for existing privileges on delete from _space or _priv. Add a test case for cascading drop of space, which invokes revoke of privileges. Fixes gh-289 ox.schema.user.drop() with cascade doesn't work (a typo in schema.lua in the for loop) Addresses gh-263 Proposal for box.cfg false/true values and gh-277 background mode is broken (cfggeti works correctly with boolean values now). Fix a bug with missing initialization of function access map (sometimes some users could gain access to a function simply because the respective bit in the access map was not cleared at initialization). Delete a duplicated stat test. Add an error code for unknown iterator type, ER_ITERATOR_TYPE.
Showing
- src/box/access.h 13 additions, 0 deletionssrc/box/access.h
- src/box/alter.cc 13 additions, 1 deletionsrc/box/alter.cc
- src/box/log_io.cc 17 additions, 1 deletionsrc/box/log_io.cc
- src/box/log_io.h 7 additions, 1 deletionsrc/box/log_io.h
- src/box/lua/schema.lua 18 additions, 2 deletionssrc/box/lua/schema.lua
- src/box/recovery.cc 6 additions, 21 deletionssrc/box/recovery.cc
- src/cfg.cc 5 additions, 1 deletionsrc/cfg.cc
- src/errcode.h 2 additions, 0 deletionssrc/errcode.h
- test/big/lua.result 1 addition, 1 deletiontest/big/lua.result
- test/box/access.result 54 additions, 3 deletionstest/box/access.result
- test/box/access.test.lua 24 additions, 1 deletiontest/box/access.test.lua
- test/box/admin.result 0 additions, 48 deletionstest/box/admin.result
- test/box/admin.test.lua 0 additions, 2 deletionstest/box/admin.test.lua
- test/box/auth_access.result 0 additions, 51 deletionstest/box/auth_access.result
- test/box/auth_access.test.lua 0 additions, 27 deletionstest/box/auth_access.test.lua
- test/box/misc.result 3 additions, 1 deletiontest/box/misc.result
- test/unit/log_dir.cc 3 additions, 6 deletionstest/unit/log_dir.cc
- test/wal/func_max.result 59 additions, 0 deletionstest/wal/func_max.result
- test/wal/func_max.test.lua 31 additions, 0 deletionstest/wal/func_max.test.lua
Loading
Please register or sign in to comment