box: include field number into ER_WRONG_SPACE_FORMAT message
Currently, we include the bad field number into the error message manually, using tt_sprintf, which looks cumbersome. For some fields, we don't include it at all (e.g. invalid constraint definition). Let's include it into the error message format instead. Part of #7933 NO_DOC=verbosity NO_CHANGELOG=later
Showing
- src/box/errcode.h 1 addition, 1 deletionsrc/box/errcode.h
- src/box/field_def.c 19 additions, 37 deletionssrc/box/field_def.c
- test/box-luatest/alter_with_compression_test.lua 3 additions, 3 deletionstest/box-luatest/alter_with_compression_test.lua
- test/box-luatest/gh_5940_partial_field_type_test.lua 1 addition, 1 deletiontest/box-luatest/gh_5940_partial_field_type_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-luatest/gh_6436_field_constraint_test.lua 2 additions, 2 deletionstest/engine-luatest/gh_6436_field_constraint_test.lua
- test/engine-luatest/gh_6436_field_foreign_key_test.lua 2 additions, 2 deletionstest/engine-luatest/gh_6436_field_foreign_key_test.lua
- test/engine/ddl.result 2 additions, 2 deletionstest/engine/ddl.result
- test/engine/null.result 3 additions, 3 deletionstest/engine/null.result
Loading
Please register or sign in to comment