Skip to content

Commit

Permalink
Updated version to v.0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
valmat committed Apr 10, 2016
1 parent 423c895 commit 41a4407
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/include/rocks/RocksDBWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ namespace RocksServer {
bool commit(rocksdb::WriteBatch &batch)
{
_status = _db->Write(rocksdb::WriteOptions(), &batch);
return (bool)(_status.ok());
return _status.ok();
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/include/version.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define ROCKSSERVER_VERSION "v.0.2.0"
#define ROCKSSERVER_VERSION "v.0.2.1"
2 changes: 1 addition & 1 deletion src/rocks/RocksDBWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ namespace RocksServer {
bool RocksDBWrapper::commit(Batch &batch)
{
_status = _db->Write(rocksdb::WriteOptions(), &batch.batch);
return (bool)(_status.ok());
return _status.ok();
}

}

0 comments on commit 41a4407

Please sign in to comment.