fix check style error

This commit is contained in:
JackyWoo 2021-11-01 13:26:25 +08:00
parent f24d430773
commit 89f7c7eef6

View File

@ -76,7 +76,7 @@ private:
{
approximate_data_size += key_size;
approximate_data_size += value_size;
if(!snapshot_mode)
if (!snapshot_mode)
{
approximate_data_size += key_size;
approximate_data_size -= old_value_size;
@ -92,14 +92,14 @@ private:
case UPDATE_VALUE:
approximate_data_size += key_size;
approximate_data_size += value_size;
if(!snapshot_mode)
if (!snapshot_mode)
{
approximate_data_size -= key_size;
approximate_data_size -= old_value_size;
}
break;
case ERASE:
if(!snapshot_mode)
if (!snapshot_mode)
{
approximate_data_size -= key_size;
approximate_data_size -= old_value_size;