mirror of
https://github.com/google/leveldb.git
synced 2025-04-15 13:20:37 +08:00
Merge 61d13751b8
into ac691084fd
This commit is contained in:
commit
0d518a0fa6
@ -509,7 +509,7 @@ int main(int argc, char** argv) {
|
||||
FLAGS_page_size = n;
|
||||
} else if (sscanf(argv[i], "--compression=%d%c", &n, &junk) == 1 &&
|
||||
(n == 0 || n == 1)) {
|
||||
FLAGS_compression = (n == 1) ? true : false;
|
||||
FLAGS_compression = (n == 1);
|
||||
} else if (strncmp(argv[i], "--db=", 5) == 0) {
|
||||
FLAGS_db = argv[i] + 5;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user