You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
workload/schemachange: allow self deps in tableHasDependencies for DROP TABLE
This change updates tableHasDependencies to optionally include
self-referencing dependencies when skipSelfRef is false. This is
needed for DROP TABLE, where self-dependencies (e.g., from triggers)
are safe to ignore because they are cleaned up as part of the drop.
In contrast, RENAME TABLE must still block on these, since the
dependent reference would not be updated by the rename.
The function now takes a skipSelfRef flag to distinguish these cases,
and excludes only self-dependencies when skipSelfRef is true.
Informs #147514
Epic: None
Release note: none
0 commit comments