Skip to content

Conversation

@bpom
Copy link
Contributor

@bpom bpom commented Jul 7, 2021

#187
Finally, I have worked out a way to support Oracle 18c and higher. These changes were tested against Oracle 19.9 non-PDB Database and Oracle 12.1. The Oracle metadata catalogs have changed in many ways, so I have separated the implementation in new functions.

Since Oracle 19c has some strange bug with wrong database metadata entries with the test packages in the procedure specs, I have made some declaration changes which are downwards compatible. These wrong metadata entries do not show up in our application which has around 700k lines of PL/SQL code with thousands of type declarations but it seems to be a problem of the dense type declarations and type combinations used in the spec. I have not found any known Oracle issues for that but could reliably reproduce it.

For the maintainability of the code I would still favour dropping support for legacy Oracle and Ruby-Versions which are out-of-support for a number of years now.

@yahonda
Copy link
Collaborator

yahonda commented Jul 8, 2021

Thanks for opening a pull request. Let me review them.

@yahonda yahonda self-assigned this Jul 8, 2021
@yahonda yahonda self-requested a review July 8, 2021 08:34
@yahonda yahonda removed their assignment Jul 8, 2021
@yahonda yahonda merged commit 4c33681 into rsim:master Jul 29, 2021
@yahonda yahonda removed their request for review July 29, 2021 10:00
koic added a commit to koic/ruby-plsql that referenced this pull request Dec 2, 2021
Follow up to rsim#196.

This PR suppresses the following `assigned but unused variable` warning.

```console
==> Running specs with ruby version 3.1.0
/home/travis/.rvm/gems/ruby-head/bundler/gems/ruby-plsql-b7f469a72bd7/lib/plsql/procedure.rb:234:
warning: assigned but unused variable - object_name
==> Effective ActiveRecord version 7.0.0.alpha2
```

https://app.travis-ci.com/github/rsim/oracle-enhanced/jobs/550436965
koic added a commit to koic/ruby-plsql that referenced this pull request Dec 3, 2021
Follow up to rsim#196.

This PR suppresses the following `assigned but unused variable` warning.

```console
==> Running specs with ruby version 3.1.0
/home/travis/.rvm/gems/ruby-head/bundler/gems/ruby-plsql-b7f469a72bd7/lib/plsql/procedure.rb:234:
warning: assigned but unused variable - object_name
==> Effective ActiveRecord version 7.0.0.alpha2
```

https://app.travis-ci.com/github/rsim/oracle-enhanced/jobs/550436965
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants