mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-25 22:44:05 +00:00
Fix write_callback_test compile error
Summary: Rename shadow variable name db_impl. Fixing #3227 Closes https://github.com/facebook/rocksdb/pull/3235 Differential Revision: D6504051 Pulled By: yiwu-arbug fbshipit-source-id: 186c9378dabb11f8d6db56f45c95cc3b029fcb88
This commit is contained in:
parent
7f04af32a5
commit
a7d32776f0
|
@ -294,7 +294,8 @@ TEST_F(WriteCallbackTest, WriteWithCallbackTest) {
|
||||||
if (seq_per_batch && two_queues) {
|
if (seq_per_batch && two_queues) {
|
||||||
class PublishSeqCallback : public PreReleaseCallback {
|
class PublishSeqCallback : public PreReleaseCallback {
|
||||||
public:
|
public:
|
||||||
PublishSeqCallback(DBImpl* db_impl) : db_impl_(db_impl) {}
|
PublishSeqCallback(DBImpl* db_impl_in)
|
||||||
|
: db_impl_(db_impl_in) {}
|
||||||
virtual Status Callback(SequenceNumber last_seq) {
|
virtual Status Callback(SequenceNumber last_seq) {
|
||||||
db_impl_->SetLastPublishedSequence(last_seq);
|
db_impl_->SetLastPublishedSequence(last_seq);
|
||||||
return Status::OK();
|
return Status::OK();
|
||||||
|
|
Loading…
Reference in a new issue