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

isql -i should stop after first error [CORE6092] #6342

Open
firebird-issue-importer opened this issue Jul 3, 2019 · 2 comments
Open

isql -i should stop after first error [CORE6092] #6342

firebird-issue-importer opened this issue Jul 3, 2019 · 2 comments

Comments

@firebird-issue-importer
Copy link

@firebird-issue-importer firebird-issue-importer commented Jul 3, 2019

Submitted by: @livius2

currently when we run

isql -i

and we provide script file name then if inside script is an error
isql only report it and ignore and it go to the next script
this can be catastrophic in case when next script is dependend on previous one
which is near to always true

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jul 3, 2019

Commented by: @paulbeach

As far as I remember we added a

-b(ail) bail on errrors (set bail on)

to isql to handle this situation.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jul 3, 2019

Commented by: @livius2

sorry for the report
but this switch should have better name then "bail" i miss it from docs, some like "haltOnErrors"

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
1 participant