mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-26 16:30:56 +00:00
remove boost
Summary: as subject Test Plan: build Reviewers: dhruba Differential Revision: https://reviews.facebook.net/D5469
This commit is contained in:
parent
33323f2111
commit
dcbd6be340
|
@ -19,8 +19,6 @@
|
||||||
#include "scribe/scribe_logger.h"
|
#include "scribe/scribe_logger.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <boost/lexical_cast.hpp>
|
|
||||||
|
|
||||||
namespace leveldb {
|
namespace leveldb {
|
||||||
|
|
||||||
class MemTable;
|
class MemTable;
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
#include "db/db_impl.h"
|
#include "db/db_impl.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <stdio.h>
|
||||||
#include "db/version_set.h"
|
#include "db/version_set.h"
|
||||||
#include "leveldb/db.h"
|
#include "leveldb/db.h"
|
||||||
#include "leveldb/env.h"
|
#include "leveldb/env.h"
|
||||||
|
@ -53,10 +54,9 @@ void DBImpl::LogDBDeployStats() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string version_info;
|
char tmp_ver[100];
|
||||||
version_info += boost::lexical_cast<std::string>(kMajorVersion);
|
sprintf(tmp_ver, "%d.%d", kMajorVersion, kMinorVersion);
|
||||||
version_info += ".";
|
std::string version_info(tmp_ver);
|
||||||
version_info += boost::lexical_cast<std::string>(kMinorVersion);
|
|
||||||
|
|
||||||
uint64_t file_total_size = 0;
|
uint64_t file_total_size = 0;
|
||||||
uint32_t file_total_num = 0;
|
uint32_t file_total_num = 0;
|
||||||
|
|
Loading…
Reference in a new issue