alter: raise ER_WRONG_SPACE_FORMAT instead of ER_CREATE/ALTER_SPACE
This is needed to factor out the function that decodes space format so that it can be used for online space upgrade. It's not a big deal, because we already use ER_WRONG_SPACE_OPTIONS if space options specified on space creation/alter are wrong so using ER_WRONG_SPACE_FORMAT would only be consistent. NO_DOC=minor change in error message NO_CHANGELOG=minor change in error message
Showing
- src/box/alter.cc 18 additions, 29 deletionssrc/box/alter.cc
- test/box-luatest/alter_with_compression_test.lua 3 additions, 3 deletionstest/box-luatest/alter_with_compression_test.lua
- test/box/alter.result 1 addition, 1 deletiontest/box/alter.result
- test/box/ddl_collation_types.result 4 additions, 4 deletionstest/box/ddl_collation_types.result
- test/engine/ddl.result 2 additions, 2 deletionstest/engine/ddl.result
- test/engine/null.result 4 additions, 4 deletionstest/engine/null.result
Loading
Please register or sign in to comment