space: create the primary key index first.
Always first create the primary key index in a space. Put the primary key key def first in the array of key_defs, passed into tuple_format_new(). This is necessary for gh-1796.
Showing
- src/box/engine.h 1 addition, 1 deletionsrc/box/engine.h
- src/box/memtx_engine.cc 1 addition, 1 deletionsrc/box/memtx_engine.cc
- src/box/memtx_engine.h 1 addition, 1 deletionsrc/box/memtx_engine.h
- src/box/space.cc 28 additions, 4 deletionssrc/box/space.cc
- src/box/sysview_engine.cc 1 addition, 1 deletionsrc/box/sysview_engine.cc
- src/box/sysview_engine.h 1 addition, 1 deletionsrc/box/sysview_engine.h
- src/box/vinyl_engine.cc 1 addition, 1 deletionsrc/box/vinyl_engine.cc
- src/box/vinyl_engine.h 1 addition, 1 deletionsrc/box/vinyl_engine.h
Loading
Please register or sign in to comment