alter: disallow truncation of system spaces
It is unsafe, because system spaces use triggers to keep records in sync with internal objects while space truncation doesn't invoke triggers. Closes #2523
Showing
- src/box/alter.cc 9 additions, 0 deletionssrc/box/alter.cc
- src/box/errcode.h 1 addition, 0 deletionssrc/box/errcode.h
- test/box/misc.result 1 addition, 0 deletionstest/box/misc.result
- test/engine/truncate.result 11 additions, 0 deletionstest/engine/truncate.result
- test/engine/truncate.test.lua 6 additions, 0 deletionstest/engine/truncate.test.lua
Loading
Please register or sign in to comment