Revert "box: zap key_part_def struct"
This reverts commit ea3a2b5f. Once we finally implement json path indexes, more fields that are calculated at run time will have to be added to struct key_part, like path hash or field offset. So this was actually a mistake to remove key_part_def struct, as it will grow more and more different from key_part. Conceptually having separate key_part_def and key_part is consistent with other structures, e.g. tuple_field and field_def. That said, let's bring key_part_def back. Sorry for the noise.
Showing
- src/box/alter.cc 9 additions, 9 deletionssrc/box/alter.cc
- src/box/key_def.c 40 additions, 38 deletionssrc/box/key_def.c
- src/box/key_def.h 20 additions, 18 deletionssrc/box/key_def.h
- src/box/vy_log.c 10 additions, 10 deletionssrc/box/vy_log.c
- src/box/vy_log.h 3 additions, 3 deletionssrc/box/vy_log.h
Loading
Please register or sign in to comment