Skip to content

Commit

Permalink
Fix totalBytes()
Browse files Browse the repository at this point in the history
  • Loading branch information
davenger committed Oct 15, 2023
1 parent bbd67d2 commit 395a549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Storages/StorageSet.cpp
Expand Up @@ -210,7 +210,7 @@ std::optional<UInt64> StorageSet::totalBytes(const Settings &) const
std::lock_guard lock(mutex);
current_set = set;
}
return current_set->getTotalRowCount();
return current_set->getTotalByteCount();
}

void StorageSet::truncate(const ASTPtr &, const StorageMetadataPtr & metadata_snapshot, ContextPtr, TableExclusiveLockHolder &)
Expand Down

0 comments on commit 395a549

Please sign in to comment.