Skip to content

Coverage test: compile plsql with optimize level 1 #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

javornikolov
Copy link
Collaborator

  • Ensure the test_profiler function is compiled with PLSQL_OPTIMIZE_LEVEL=1
  • Adjust profiler expectations accordingly (with plsql optimize level all non-whitespace/non-comment lines are included).
  • Add a few comments and empty lines to the test plsql function. (So that it covers the scenario with total lines > analized lines)

This resolves an issue with the coverage tests (the were failing with Oracle 12c).

Oracle dbms_profiler coverage information is only relevant when pl/sql is compiled with PLSQL_OPTIMIZE_LEVEL=1.
http://docs.oracle.com/database/121/ARPLS/d_profil.htm#ARPLS039

Oracle dbms_profiler coverage information is only relevant when pl/sql
is compiled with PLSQL_OPTIMIZE_LEVEL=1.

http://docs.oracle.com/database/121/ARPLS/d_profil.htm#ARPLS039
javornikolov added a commit that referenced this pull request Oct 4, 2014
…imize-level-1

Coverage test: compile plsql with optimize level 1
@javornikolov javornikolov merged commit 7da3e61 into master Oct 4, 2014
@javornikolov javornikolov mentioned this pull request Jan 25, 2015
@javornikolov javornikolov deleted the compile-test-profiler-with-plsql-optimize-level-1 branch May 13, 2016 19:53
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.

1 participant