Skip to content

Commit

Permalink
fixup! Expose BackupEngine::CreateNewBackupWithMetadata in C API
Browse files Browse the repository at this point in the history
  • Loading branch information
agreen17 committed Jan 9, 2024
1 parent 6d142a7 commit 3d96d98
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions db/c.cc
Original file line number Diff line number Diff line change
Expand Up @@ -629,9 +629,8 @@ void rocksdb_backup_engine_create_new_backup_with_metadata(
rocksdb_backup_engine_t* be, rocksdb_t* db, const char* app_metadata,
unsigned char flush_before_backup, char** errptr) {
SaveError(errptr,
be->rep->CreateNewBackupWithMetadata(db->rep,
std::string(app_metadata),
flush_before_backup));
be->rep->CreateNewBackupWithMetadata(
db->rep, std::string(app_metadata), flush_before_backup));
}

void rocksdb_backup_engine_purge_old_backups(rocksdb_backup_engine_t* be,
Expand Down

0 comments on commit 3d96d98

Please sign in to comment.