Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix uninstall scripts #1221

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
merged 1 commit into from
Aug 8, 2022
Merged

Fix uninstall scripts #1221

merged 1 commit into from
Aug 8, 2022

Conversation

jgebal
Copy link
Member

@jgebal jgebal commented Jul 28, 2022

Fixing problem with uninstall script buffer overflow on DBMS_OUTPUT.
Resolves: #1220

Fixing problem with uninstall script buffer overflow on DBMS_OUTPUT.
Reolves: #1220
@jgebal jgebal added this to the 3.1.13 milestone Jul 28, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jul 28, 2022

Unit Test Results

       1 files         2 suites   4m 31s ⏱️
1 025 tests 1 020 ✔️ 4 💤 0  1 🔥
1 028 runs  1 019 ✔️ 8 💤 0  1 🔥

For more details on these errors, see this check.

Results for commit 4f944a6.

♻️ This comment has been updated with latest results.

@kukimik
Copy link
Contributor

kukimik commented Jul 28, 2022

Note that with serveroutput turned off, failure to drop a synonym is likely to get unnoticed. See the error handling in uninstall_synonyms.sql:

, - the exceptions are silenced.


By the way, also this i := i + 1; should be put after execute immediate succeeds. Maybe it can also be fixed here. Mentioning any failures in the summaries ( dbms_output.put_line(i||' synonyms dropped');) could also be helpful.

@jgebal
Copy link
Member Author

jgebal commented Jul 29, 2022

Note that with serveroutput turned off,...

It won't as the output is enabled as unlimited inthis script.
https://github.com/utPLSQL/utPLSQL/blob/develop/source/uninstall.sql#L17
https://github.com/utPLSQL/utPLSQL/blob/develop/source/define_ut3_owner_param.sql#L17

@jgebal jgebal merged commit bffce59 into develop Aug 8, 2022
@jgebal jgebal deleted the jgebal-patch-1 branch August 15, 2022 10:51
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.

Uninstall script: buffer overflow error
2 participants