Repository navigation
det Db2: fail when a burned estate reads an EXEC SQL form the port refuses (Part of #8075) - #8149
Merged
Merged
Conversation
…fuses (Part of #8075) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
This was referenced Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #8075 (blind trial #8073, det Db2 #8060).
Checklist: done [c:e11c3928]
What
#8081 showed the "10 programs, EXEC SQL: other" were compile-listing copies, and #8146 pinned every IBM keyword as modelled or refused by name. This adds the missing guard:
tests/cobol_mainframe/test_sql_burned_forms_8075.pyscans each burned estate (estate4_draw.BURNED_NAMES) and fails if a program reads a verb indet.sql._REFUSED_VERBS(a SET that assigns a host variable runs and is excluded). Q4 gets one line naming it. No engine change, so no golden bless.Facts checked
Verbs read by the burned estates: INCLUDE, DECLARE, SELECT, INSERT, UPDATE, DELETE, OPEN, FETCH, CLOSE, COMMIT, and SET (GenApp
IDENTITY_VAL_LOCAL, assigning). No burned program reads CONNECT, CALL, ALLOCATE, ASSOCIATE, DESCRIBE, dynamic PREPARE/EXECUTE or SET CURRENT. The new test passes on the 6 burned estates; the #8146 test still passes.Class / Sibling gaps
Class: EXEC SQL forms the det Db2 path refuses (register Q4), as read by burned estates. Handled: every verb the burned estates read (above). Guarded here: a burned program that starts reading a refused form fails the new test.
Sibling gaps: the five rows above (frontier scope). Not modelled here: no burned program needs them, and rule 2 forbids writing cases for non-burned estates. Each is modelled, with a fixture proven on real Db2, when the new test first fails.
Lessons for agents
None new.
🤖 Generated with Claude Code