vinyl: enable collations
Collations were disabled in vinyl by commmit 2097908f ("Fix collation test on some platforms and disable collation in vinyl"), because a key_def referencing a collation could not be loaded from vylog on recovery (collation objects are created after vylog is recovered). Now, it isn't a problem anymore, because the decoding procedure, key_def_decode_parts(), deals with struct key_part_def, which references a collation by id and hence doesn't need a collation object to be created. So we can enable collations in vinyl. This patch partially reverts the aforementioned commit (it can't do full revert, because that commit also fixed some tests along the way). Closes #2822
Showing
- src/box/vinyl_space.c 0 additions, 5 deletionssrc/box/vinyl_space.c
- test/engine/tree.result 42 additions, 0 deletionstest/engine/tree.result
- test/engine/tree.test.lua 17 additions, 0 deletionstest/engine/tree.test.lua
- test/vinyl/misc.result 0 additions, 12 deletionstest/vinyl/misc.result
- test/vinyl/misc.test.lua 0 additions, 5 deletionstest/vinyl/misc.test.lua
Please register or sign in to comment