Skip to content

Commit

Permalink
Merge pull request XRPLF#271 from nbougalis/cleanups
Browse files Browse the repository at this point in the history
Cleanups
  • Loading branch information
igorcanadi committed Sep 5, 2014
2 parents 45a5e3e + 0cd0ec4 commit 6d31441
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions db/version_edit.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,13 @@ class VersionEdit {
// Add the specified file at the specified number.
// REQUIRES: This version has not been saved (see VersionSet::SaveTo)
// REQUIRES: "smallest" and "largest" are smallest and largest keys in file
void AddFile(int level, uint64_t file, uint64_t file_size,
uint64_t file_path_id, const InternalKey& smallest,
void AddFile(int level, uint64_t file, uint64_t file_path_id,
uint64_t file_size, const InternalKey& smallest,
const InternalKey& largest, const SequenceNumber& smallest_seqno,
const SequenceNumber& largest_seqno) {
assert(smallest_seqno <= largest_seqno);
FileMetaData f;
f.fd = FileDescriptor(file, file_size, file_path_id);
f.fd = FileDescriptor(file, file_path_id, file_size);
f.smallest = smallest;
f.largest = largest;
f.smallest_seqno = smallest_seqno;
Expand Down
1 change: 1 addition & 0 deletions utilities/document/document_db.cc
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,7 @@ class DocumentDBImpl : public DocumentDB {
CreateColumnFamily(ColumnFamilyOptions(rocksdb_options_),
InternalSecondaryIndexName(index.name), &cf_handle);
if (!s.ok()) {
delete index_obj;
return s;
}

Expand Down

0 comments on commit 6d31441

Please sign in to comment.