alter: rebuild some secondary indexes if the primary was changed
Since the secondary indexes order will be able to depend on the order in the primary index, we need to rebuild them if the primary index was changed. Only non-unique tree indexes depend on the primary index, so rebuild only non-unique tree indexes. Add a test. Needed for #2476
Showing
- src/box/alter.cc 34 additions, 4 deletionssrc/box/alter.cc
- src/box/memtx_space.cc 5 additions, 0 deletionssrc/box/memtx_space.cc
- src/errinj.h 1 addition, 0 deletionssrc/errinj.h
- test/box/errinj.result 124 additions, 0 deletionstest/box/errinj.result
- test/box/errinj.test.lua 48 additions, 0 deletionstest/box/errinj.test.lua
Loading
Please register or sign in to comment