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
{{ message }}
Repository navigation
Commit e5cbbad
Browse filesBrowse the repository at this point in the historyBrowse files
fix: walk WITH items of TableStatement in adapter and validator
SelectVisitorAdapter.visit(TableStatement) visited nothing and
SelectValidator only reported tableStatement, so a data-modifying CTE in
front of TABLE was invisible to StatementFeatures and to Validation:
WITH d AS (DELETE FROM t RETURNING a) TABLE d gave mayModifyData() ==
false and passed FeaturesAllowed.SELECT. The adapter now walks the WITH
items, ORDER BY and LIMIT/OFFSET/FETCH of TABLE like its VALUES visit,
and SelectValidator validates the WITH list of TABLE and VALUES.
0 commit comments