Skip to content

Commit 2bc73cb

Browse files
committed
Fix missing column definer in system.tables
1 parent 13a388c commit 2bc73cb

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

src/Storages/System/StorageSystemTables.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,10 @@ class TablesBlockSource : public ISource
820820
res_columns[res_index++]->insert(dependents_databases);
821821
if (columns_mask[src_index++])
822822
res_columns[res_index++]->insert(dependents_tables);
823-
823+
}
824+
else
825+
{
826+
src_index += 4;
824827
}
825828

826829
if (columns_mask[src_index++])
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- https://github.com/ClickHouse/ClickHouse/issues/85973#issuecomment-3228974538
2+
SELECT count() != 0 FROM (Select definer FROM `system`.`tables`);

0 commit comments

Comments
 (0)