Skip to content
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

SQL*Plus: SHOW and SET should allow multiple commands on same line #2210

Closed
pjchester opened this issue Nov 21, 2018 · 2 comments
Closed

SQL*Plus: SHOW and SET should allow multiple commands on same line #2210

pjchester opened this issue Nov 21, 2018 · 2 comments

Comments

@pjchester
Copy link

@pjchester pjchester commented Nov 21, 2018

Which version and edition of Flyway are you using?

flyway-5.2.1 Enterprise

Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)

command-line

Which database are you using (type & version)?

Oracle 12.1

Which operating system are you using?

Windows 10

What did you do?

sqlplus script with the initial line: set define off verify off feedback off

command: flyway -enterprise migrate

What did you expect to see?

That set define off would be processed and the &var placeholders ignored

What did you see instead?

The multiple set options on the same line means set define off is not processed. As a result the &placeholders are attempted to be evaluated and script fails.

The script is an auto generated export of an Oracle Apex application, so editing the file is not encouraged.

In addition, the set verify and set feedback commands are ignored.

@axelfontaine
Copy link
Contributor

@axelfontaine axelfontaine commented Nov 22, 2018

Thanks for the report. As part of the fix for this issue we're adding support for

  • PROMPT without arguments
  • SET without arguments
  • SET with multiple arguments
  • SET FEEDBACK
  • SET VERIFY
  • SHOW without arguments
  • SHOW with multiple arguments
  • SHOW DEFINE
  • SHOW ESCAPE
  • SHOW FEEDBACK
  • SHOW NULL
  • SHOW VERIFY
@axelfontaine axelfontaine changed the title SQLPlus Multiple set commands on same line SQL*Plus: SHOW and SET should allow multiple commands on same line Nov 23, 2018
axelfontaine added a commit to flyway/flywaydb.org that referenced this issue Nov 23, 2018
axelfontaine added a commit that referenced this issue Nov 23, 2018
@axelfontaine
Copy link
Contributor

@axelfontaine axelfontaine commented Nov 23, 2018

This has now been implemented and will be released in the next few days as part of 5.2.2.

dohrayme pushed a commit to dohrayme/flyway that referenced this issue Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants