We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae5308f commit aa8e4caCopy full SHA for aa8e4ca
1 file changed
src/information_schema.rs
@@ -498,7 +498,7 @@ impl TableInfoTable {
498
// Aggregate file statistics
499
for file in &all_files {
500
let key = (file.schema_name.clone(), file.table_name.clone());
501
- let entry = table_stats.entry(key).or_insert_with(TableStats::default);
+ let entry = table_stats.entry(key).or_default();
502
entry.file_count += 1;
503
entry.file_size += file.file.file.file_size_bytes;
504
if file.file.delete_file.is_some() {
0 commit comments