From b26dc9562801d935ceb1f4410fbb709851840c99 Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Fri, 20 Dec 2013 10:01:12 -0800 Subject: [PATCH] Initialize sequence number in BatchResult - issue #39 --- include/rocksdb/transaction_log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rocksdb/transaction_log.h b/include/rocksdb/transaction_log.h index abf072574..41a3250d8 100644 --- a/include/rocksdb/transaction_log.h +++ b/include/rocksdb/transaction_log.h @@ -56,7 +56,7 @@ class LogFile { }; struct BatchResult { - SequenceNumber sequence = SequenceNumber(); + SequenceNumber sequence = 0; std::unique_ptr writeBatchPtr; };