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-automations opened this issue Jul 3, 2019 · 2 comments
Open

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

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

Comments

@firebird-automations
Copy link
Collaborator

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-automations
Copy link
Collaborator Author

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-automations
Copy link
Collaborator Author

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
Development

No branches or pull requests

1 participant