Skip to content

Commit 8dd3448

Browse files
authored
Update DatabaseCatalog.h
1 parent 8633b8f commit 8dd3448

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Interpreters/DatabaseCatalog.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,7 @@ class TableNameHints : public IHints<1, TableNameHints>
4444
if (database)
4545
{
4646
for (auto table_it = database->getTablesIterator(context); table_it->isValid(); table_it->next())
47-
{
48-
const auto & storage_id = table_it->table()->getStorageID();
49-
result.emplace_back(storage_id.getTableName());
50-
}
47+
result.emplace_back(table_it->name());
5148
}
5249
return result;
5350
}

0 commit comments

Comments
 (0)