Browse Source

Merge pull request #822 from jl0x61:bugFix

PiperOrigin-RevId: 321372819
main
Chris Mumford 4 years ago
parent
commit
1454924aac
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      doc/index.md

+ 1
- 1
doc/index.md View File

@ -478,7 +478,7 @@ leveldb::Range ranges[2];
ranges[0] = leveldb::Range("a", "c"); ranges[0] = leveldb::Range("a", "c");
ranges[1] = leveldb::Range("x", "z"); ranges[1] = leveldb::Range("x", "z");
uint64_t sizes[2]; uint64_t sizes[2];
leveldb::Status s = db->GetApproximateSizes(ranges, 2, sizes);
db->GetApproximateSizes(ranges, 2, sizes);
``` ```
The preceding call will set `sizes[0]` to the approximate number of bytes of The preceding call will set `sizes[0]` to the approximate number of bytes of

Loading…
Cancel
Save