From 131f7ddf63fed5327ad6f8d14aa3889f887c511d Mon Sep 17 00:00:00 2001 From: Zhipeng Jia Date: Fri, 18 Dec 2015 17:02:36 +0800 Subject: [PATCH] fix typo: sr to picking_sr --- db/compaction_picker.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/compaction_picker.cc b/db/compaction_picker.cc index 69c88fb67..a41056d8d 100644 --- a/db/compaction_picker.cc +++ b/db/compaction_picker.cc @@ -1712,7 +1712,7 @@ Compaction* UniversalCompactionPicker::PickCompactionUniversalSizeAmp( } } char file_num_buf[256]; - sr->DumpSizeInfo(file_num_buf, sizeof(file_num_buf), loop); + picking_sr.DumpSizeInfo(file_num_buf, sizeof(file_num_buf), loop); LogToBuffer(log_buffer, "[%s] Universal: size amp picking %s", cf_name.c_str(), file_num_buf); }