error: fix ER_CANT_UPDATE_PRIMARY_KEY template
This client error assumes two arguments: space's name and index's name. Since from the context it's clear that primary index is affected, let's drop index name from error message. It's quite handy for space upgrade case, since in such situation we have lack of information concerning space. NO_CHANGELOG=<Minor change> NO_DOC=<No functional changes> (cherry picked from commit 6e76410a)
Showing
- src/box/errcode.h 1 addition, 1 deletionsrc/box/errcode.h
- src/box/memtx_hash.cc 1 addition, 1 deletionsrc/box/memtx_hash.cc
- src/box/memtx_space.c 1 addition, 1 deletionsrc/box/memtx_space.c
- src/box/memtx_tree.cc 0 additions, 1 deletionsrc/box/memtx_tree.cc
- src/box/memtx_tx.c 1 addition, 3 deletionssrc/box/memtx_tx.c
- src/box/session_settings.c 1 addition, 1 deletionsrc/box/session_settings.c
- src/box/space.c 1 addition, 1 deletionsrc/box/space.c
- src/box/vinyl.c 0 additions, 1 deletionsrc/box/vinyl.c
- test/box-py/call.result 1 addition, 2 deletionstest/box-py/call.result
- test/box/alter.result 2 additions, 4 deletionstest/box/alter.result
- test/box/alter_limits.result 1 addition, 2 deletionstest/box/alter_limits.result
- test/box/before_replace.result 1 addition, 2 deletionstest/box/before_replace.result
- test/box/session_settings.result 2 additions, 4 deletionstest/box/session_settings.result
- test/box/tree_pk_multipart.result 1 addition, 2 deletionstest/box/tree_pk_multipart.result
- test/box/update.result 2 additions, 2 deletionstest/box/update.result
- test/sql-tap/intpkey.test.lua 1 addition, 1 deletiontest/sql-tap/intpkey.test.lua
- test/vinyl/on_replace.result 2 additions, 4 deletionstest/vinyl/on_replace.result
- test/vinyl/quota.result 1 addition, 1 deletiontest/vinyl/quota.result
- test/vinyl/savepoint.result 1 addition, 2 deletionstest/vinyl/savepoint.result
Loading
Please register or sign in to comment