box/error: make numbering of error codes explicit
This makes backport patches with new error codes more clean. Also we can use error codes with high numbers for testing in the next patch. ER_SQL_CANT_RESOLVE_FIELD message is changed as it has non ascii symbol '`' which is prohibited by checkpatch. Part of #9109 NO_CHANGELOG=refactoring NO_DOC=refactoring
Showing
- src/box/errcode.c 6 additions, 4 deletionssrc/box/errcode.c
- src/box/errcode.h 316 additions, 296 deletionssrc/box/errcode.h
- src/box/lua/error.cc 2 additions, 1 deletionsrc/box/lua/error.cc
- test/box/error.result 3 additions, 1 deletiontest/box/error.result
- test/box/error.test.lua 1 addition, 1 deletiontest/box/error.test.lua
- test/sql-tap/autoinc.test.lua 1 addition, 1 deletiontest/sql-tap/autoinc.test.lua
- test/sql-tap/in1.test.lua 1 addition, 1 deletiontest/sql-tap/in1.test.lua
- test/sql-tap/index1.test.lua 2 additions, 2 deletionstest/sql-tap/index1.test.lua
- test/sql-tap/insert3.test.lua 2 additions, 2 deletionstest/sql-tap/insert3.test.lua
- test/sql-tap/limit.test.lua 2 additions, 2 deletionstest/sql-tap/limit.test.lua
- test/sql-tap/select1.test.lua 1 addition, 1 deletiontest/sql-tap/select1.test.lua
- test/sql-tap/select5.test.lua 2 additions, 2 deletionstest/sql-tap/select5.test.lua
- test/sql-tap/tkt3442.test.lua 1 addition, 1 deletiontest/sql-tap/tkt3442.test.lua
- test/sql-tap/update.test.lua 2 additions, 2 deletionstest/sql-tap/update.test.lua
- test/sql-tap/with2.test.lua 1 addition, 1 deletiontest/sql-tap/with2.test.lua
- test/sql/gh-2929-primary-key.result 1 addition, 1 deletiontest/sql/gh-2929-primary-key.result
- test/sql/gh-3888-values-blob-assert.result 2 additions, 2 deletionstest/sql/gh-3888-values-blob-assert.result
- test/sql/icu-upper-lower.result 1 addition, 1 deletiontest/sql/icu-upper-lower.result
- test/sql/misc.result 1 addition, 1 deletiontest/sql/misc.result
- test/unit/error.c 30 additions, 1 deletiontest/unit/error.c
Loading
Please register or sign in to comment