box: account for all tuple format field definitions in `cmp` and `hash`
Previously, reusable tuple formats were only used for ephemeral spaces and by `net.box` (which only used 'name' definitions), so non-space tuple format definitions were ignored in tuple format comparison and hash functions, but in scope of #4693 reusable tuple formats will be interchangeable with space formats, so now we need to account for these too. Needed for #4693 NO_CHANGELOG=internal NO_DOC=internal
Showing
- src/box/tuple_constraint.c 7 additions, 0 deletionssrc/box/tuple_constraint.c
- src/box/tuple_constraint.h 8 additions, 0 deletionssrc/box/tuple_constraint.h
- src/box/tuple_constraint_def.c 65 additions, 0 deletionssrc/box/tuple_constraint_def.c
- src/box/tuple_constraint_def.h 8 additions, 0 deletionssrc/box/tuple_constraint_def.h
- src/box/tuple_format.c 52 additions, 11 deletionssrc/box/tuple_format.c
- test/unit/CMakeLists.txt 5 additions, 0 deletionstest/unit/CMakeLists.txt
- test/unit/tuple_format.c 220 additions, 0 deletionstest/unit/tuple_format.c
Loading
Please register or sign in to comment