Skip to content

Commit 41a4407

Browse files
committed
Updated version to v.0.2.1
1 parent 423c895 commit 41a4407

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/include/rocks/RocksDBWrapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ namespace RocksServer {
6060
bool commit(rocksdb::WriteBatch &batch)
6161
{
6262
_status = _db->Write(rocksdb::WriteOptions(), &batch);
63-
return (bool)(_status.ok());
63+
return _status.ok();
6464
}
6565

6666
/**

src/include/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define ROCKSSERVER_VERSION "v.0.2.0"
1+
#define ROCKSSERVER_VERSION "v.0.2.1"

src/rocks/RocksDBWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ namespace RocksServer {
108108
bool RocksDBWrapper::commit(Batch &batch)
109109
{
110110
_status = _db->Write(rocksdb::WriteOptions(), &batch.batch);
111-
return (bool)(_status.ok());
111+
return _status.ok();
112112
}
113113

114114
}

0 commit comments

Comments
 (0)