Issue Details (XML | Word | Printable)

Key: CORE-6092
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Karol Bieniaszewski
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Firebird Core

isql -i should stop after first error

Created: 03/Jul/19 07:02 AM   Updated: 03/Jul/19 07:35 AM
Component/s: ISQL
Affects Version/s: None
Fix Version/s: None

QA Status: No test


 Description  « Hide
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

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Paul Beach added a comment - 03/Jul/19 07:20 AM
As far as I remember we added a

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

to isql to handle this situation.

Karol Bieniaszewski added a comment - 03/Jul/19 07:35 AM
sorry for the report
but this switch should have better name then "bail" i miss it from docs, some like "haltOnErrors"