From b26361c6476ec8ae4081da877b8d5b3f54c4f6e3 Mon Sep 17 00:00:00 2001 From: xiedeyantu Date: Mon, 17 Oct 2022 23:02:39 +0800 Subject: [PATCH] fix test --- src/Storages/System/StorageSystemDetachedParts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Storages/System/StorageSystemDetachedParts.cpp b/src/Storages/System/StorageSystemDetachedParts.cpp index 1bc55c922c1..53526a02459 100644 --- a/src/Storages/System/StorageSystemDetachedParts.cpp +++ b/src/Storages/System/StorageSystemDetachedParts.cpp @@ -59,7 +59,7 @@ Pipe StorageSystemDetachedParts::read( new_columns[i++]->insert(p.valid_name ? p.partition_id : Field()); new_columns[i++]->insert(p.dir_name); - size_t bytes_on_disk = 0; + UInt64 bytes_on_disk = 0; try { /// Files of detached part may be not exist, and then set file size is 0.