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

Incorrect error code in GFIX [CORE1548] #1965

Closed
firebird-issue-importer opened this issue Oct 28, 2007 · 6 comments
Closed

Incorrect error code in GFIX [CORE1548] #1965

firebird-issue-importer opened this issue Oct 28, 2007 · 6 comments

Comments

@firebird-issue-importer

Submitted by: fabianobonin (fabianobonin)

gfix is not returning an error code when the file is not a valid
database. Is it as designed? gbak is returning error code 1

[root@server1 firebird]#⁠ echo 1 > test.fdb
[root@server1 firebird]#⁠ gfix -v -full test.fdb
file /share/firebird/test.fdb is not a valid database
[root@server1 firebird]#⁠ echo $?
0
[root@server1 firebird]#⁠

[root@server1 firebird]#⁠ gbak -b test.fdb test.fbk
gbak: ERROR:file /share/firebird/test.fdb is not a valid database
gbak:Exiting before completion due to errors
[root@server1 firebird]#⁠ echo $?
1
[root@server1 firebird]#⁠

Commits: 8711bd9

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 29, 2007

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 29, 2007

Commented by: @AlexPeshkoff

fixed error handling in utility

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 29, 2007

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.1 RC1 [ 10201 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 26, 2007

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 28, 2008

Modified by: @pcisar

Workflow: jira [ 13356 ] => Firebird [ 15471 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 19, 2016

Modified by: @pavel-zotov

QA Status: No test

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