rocksdb/utilities/merge_operators
Andrew Kryczka 234f33a3f9 allow nullptr Slice only as sentinel
Summary:
Allow `Slice` holding nullptr as a sentinel value but not in comparisons. This new restriction eliminates the need for the manual checks in 39ef900551, while still conforming to glibc's `memcmp` API. Thanks siying for the idea. Users may need to migrate, so mentioned it in HISTORY.md.
Closes https://github.com/facebook/rocksdb/pull/2777

Differential Revision: D5686016

Pulled By: ajkr

fbshipit-source-id: 03a2ca3fd9a0ebade9d0d5686c81d59a9534f563
2017-08-23 10:56:06 -07:00
..
string_append Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
max.cc allow nullptr Slice only as sentinel 2017-08-23 10:56:06 -07:00
put.cc Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
uint64add.cc Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00