Repository navigation
sql_statement_data: an EXEC SQL CALL row carries the routine name (Part of #5736) - #6332
Conversation
…rt of #5736) The optional half of #4304: `CALL [schema.]proc` is stored as routine_name (schema.proc), NULL for other verbs and for `CALL :HV`. Restored through the delta scan; a pre-change DB restores none. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #6332 @ 103a186: 1 failed check(s) == full-suite part 2/3 (failure) -- real |
|
No description provided. |
…_text (Part of #5736) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
Part of #5736. Checklist: done [c:6a180fa3]
What
The required half of #4304 is already merged (COBOL #4374, PL/I #6310). This lands its optional half: the routine an
EXEC SQL CALLnames is now a structured field.extract_sql_statementsaddsroutine(schema.proc, quoted names kept) onCALLrows only;sql_statement_data.routine_namestores it; the rehydrator restores it (a pre-change DB restores none).CALL :HVnames no routine and carries no key.Facts checked
EXEC SQL CALL: no burned program consumes the column yet (pinned in a test).statement_text/the table columns, so no re-bless was needed.test_sql_statement_data.py, the two*_exec_sql_call_4304tests,test_db2_repositories.py,test_galaxy_ir.py: 105 passed, 1 skipped.audit_check.py: all clear.Sibling gaps
call_site_data(left from SQL call sites: Db2 CALL leaving the file reaches call_site_data (Part of #5736) #6080): no burned estate needs it.EXEC SQL CALLto a repository SQL routine (a new edge kind): frontier, no burned program needs it.det/sql.pyrefusesCALL: no burned program calls a procedure.Lessons for agents
extract_sql_statementsblanks quoted text inbody; read a quoted name fromstatement.🤖 Generated with Claude Code