fixed gh-699 tarantool allows to update a primary key:
1)Memtx now checks primary key during primary index replace, that is cheap 2)Added additional check for engines that could not handle this by themselfs
Showing
- src/box/engine.h 11 additions, 0 deletionssrc/box/engine.h
- src/box/errcode.h 1 addition, 0 deletionssrc/box/errcode.h
- src/box/index.h 1 addition, 1 deletionsrc/box/index.h
- src/box/memtx_engine.h 1 addition, 0 deletionssrc/box/memtx_engine.h
- src/box/request.cc 3 additions, 1 deletionsrc/box/request.cc
- src/box/sophia_engine.h 1 addition, 0 deletionssrc/box/sophia_engine.h
- src/box/space.cc 17 additions, 0 deletionssrc/box/space.cc
- src/box/space.h 11 additions, 0 deletionssrc/box/space.h
- test/big/iterator.result 28 additions, 5 deletionstest/big/iterator.result
- test/big/iterator.test.lua 11 additions, 4 deletionstest/big/iterator.test.lua
- test/big/tree_pk_multipart.result 1 addition, 2 deletionstest/big/tree_pk_multipart.result
- test/box/alter.result 2 additions, 2 deletionstest/box/alter.result
- test/box/alter_limits.result 2 additions, 2 deletionstest/box/alter_limits.result
- test/box/alter_limits.test.lua 1 addition, 1 deletiontest/box/alter_limits.test.lua
- test/box/call.result 4 additions, 1 deletiontest/box/call.result
- test/box/call.test.py 1 addition, 0 deletionstest/box/call.test.py
- test/box/errinj.result 5 additions, 5 deletionstest/box/errinj.result
- test/box/errinj.test.lua 3 additions, 3 deletionstest/box/errinj.test.lua
- test/box/fiber.result 12 additions, 12 deletionstest/box/fiber.result
- test/box/fiber.test.lua 6 additions, 6 deletionstest/box/fiber.test.lua
Loading
Please register or sign in to comment