collation: introduce collation fingerprint
Collation fingerprint is a formatted string unique for a set of collation properties. Equal collations with different names have the same fingerprint. This new property is used to build collation fingerprint cache to use in Tarantool internals, where collation name does not matter. Fingerprint cache can never conflict or replace on insertion into it. It means, that, for example, utf8 module being created in this patchset, can fill collation cache with its own collations and it will affect neither users or other modules.
Showing
- src/coll.c 119 additions, 2 deletionssrc/coll.c
- src/coll.h 16 additions, 1 deletionsrc/coll.h
- src/main.cc 3 additions, 0 deletionssrc/main.cc
- test/unit/CMakeLists.txt 1 addition, 1 deletiontest/unit/CMakeLists.txt
- test/unit/coll.cpp 35 additions, 4 deletionstest/unit/coll.cpp
- test/unit/coll.result 5 additions, 0 deletionstest/unit/coll.result
Loading
Please register or sign in to comment