diff options
author | heyongqiang <heyongqiang@fb.com> | 2012-09-05 17:44:13 -0700 |
---|---|---|
committer | heyongqiang <heyongqiang@fb.com> | 2012-09-06 17:52:08 -0700 |
commit | 0f43aa474e1a12e2984630b36a8157a59bb5e458 (patch) | |
tree | d27585bf43d0edfc3be72912a93858a6432ddced /port | |
parent | afb5f2210fce1096a7d023ae38103871369538ed (diff) |
put log in a seperate dir
Summary: added a new option db_log_dir, which points the log dir. Inside that dir, in order to make log names unique, the log file name is prefixed with the leveldb data dir absolute path.
Test Plan: db_test
Reviewers: dhruba
Reviewed By: dhruba
Differential Revision: https://reviews.facebook.net/D5205
Diffstat (limited to 'port')
-rw-r--r-- | port/port_posix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/port/port_posix.h b/port/port_posix.h index 4ccd48fe7..b68910a03 100644 --- a/port/port_posix.h +++ b/port/port_posix.h @@ -320,7 +320,7 @@ inline bool BZip2_Compress(const char* input, size_t length, return true; return output; #endif - return NULL; + return false; } inline char* BZip2_Uncompress(const char* input_data, size_t input_length, |