Enable Cassandra merge operator to be called with a single merge operand

Summary:
Updating Cassandra merge operator to make use of a single merge operand when needed. Single merge operand support has been introduced in #2721.
Closes https://github.com/facebook/rocksdb/pull/2753

Differential Revision: D5652867

Pulled By: sagar0

fbshipit-source-id: b9fbd3196d3ebd0b752626dbf9bec9aa53e3e26a
main
Sagar Vemuri 7 years ago committed by Facebook Github Bot
parent 9a44b4c32c
commit 8f2598ac9d
  1. 2
      utilities/cassandra/merge_operator.h

@ -26,6 +26,8 @@ public:
Logger* logger) const override;
virtual const char* Name() const override;
virtual bool AllowSingleOperand() const override { return true; }
};
} // namespace cassandra
} // namespace rocksdb

Loading…
Cancel
Save