Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/sql/tablemetadatacache/table_metadata_updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ DELETE FROM system.table_metadata
WHERE table_id IN (
SELECT table_id
FROM system.table_metadata
WHERE table_id NOT IN (
SELECT id FROM system.namespace
WHERE NOT EXISTS (
SELECT 1 FROM system.namespace WHERE id = table_id
)
LIMIT $1
)
Expand Down