Commit cf51357
Avoid orphaning the outer session in the Oracle 9.2 nested describe
The "using Oracle 9.2" nested describe inside "Function with table
indexed by binary integer parameter" called plsql.connect! in its
before(:all) before checking the database version and skipping on
18c or higher. That call replaced the outer describe's connection
with a fresh session; when skip fired the nested after(:all) was
suppressed, but the outer after(:all) still ran on the new session.
Its drop_session_ruby_temporary_tables therefore filtered by the
new session_id and never touched the outer session's
ruby_<outer_sid>_<package_id>_* tables, while the outer session
itself was now leaked. Once that orphan session held its temporary
tables in use, any later attempt to drop_all_ruby_temporary_tables
hit ORA-14452.
Drop the redundant plsql.connect! and check the version using the
outer describe's existing connection.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 9e311cf commit cf51357
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1506 | 1506 | | |
1507 | 1507 | | |
1508 | 1508 | | |
1509 | | - | |
1510 | | - | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
1511 | 1512 | | |
1512 | 1513 | | |
1513 | 1514 | | |
| |||
0 commit comments