Skip to content

Commit

Permalink
Make content_flags_ to be available for public API
Browse files Browse the repository at this point in the history
  • Loading branch information
toktarev committed Apr 16, 2019
1 parent 98bf022 commit feb5490
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/rocksdb/write_batch.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ class WriteBatch : public WriteBatchBase {
// Otherwise returns Status::OK().
Status PopSavePoint() override;

void setContentFlag(uint32_t theContentFlag) {
content_flags_.store(theContentFlag,std::memory_order_seq_cst);
}

// Support for iterating over the contents of a batch.
class Handler {
public:
Expand Down

0 comments on commit feb5490

Please sign in to comment.