Fix tuple hash computation for scalar and nullable string fields
Fix tuple_hash_field() to handle the following cases properly: - Nullable string field (crash in vinyl on dump). - Scalar field with collation enabled (crash in memtx hash index). Add corresponding test cases.
Showing
- src/box/tuple_hash.cc 7 additions, 11 deletionssrc/box/tuple_hash.cc
- test/box/hash.result 57 additions, 0 deletionstest/box/hash.result
- test/box/hash.test.lua 21 additions, 0 deletionstest/box/hash.test.lua
- test/engine/null.result 4 additions, 0 deletionstest/engine/null.result
- test/engine/null.test.lua 3 additions, 0 deletionstest/engine/null.test.lua
Loading
Please register or sign in to comment