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

INPUT file not properly closed [CORE4578] #4894

Closed
firebird-issue-importer opened this issue Oct 15, 2014 · 7 comments
Closed

INPUT file not properly closed [CORE4578] #4894

firebird-issue-importer opened this issue Oct 15, 2014 · 7 comments

Comments

@firebird-issue-importer

Submitted by: @pcisar

Attachments:
test_case.zip

This is regression from previous versions.

File used as input for isql commands can't be deleted before isql session ends.

Users executing isql scripts that use temporary command input files (typically created as isql output stored in file) can't delete those in the same script.

Commits: 7af2095 4adbed7 FirebirdSQL/fbt-repository@76a99f0 FirebirdSQL/fbt-repository@96495c7

====== Test Details ======

Test currently implemented only for Windows ('SHELL DEL ...' command is used).

Confirmed bug in ISQL 3.0.0.31374 (Beta1 release): script S that has been performed by "IN S;" command
is NOT deleted by "shell del ..." and can be used again in subsequent "IN S;" command.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 15, 2014

Commented by: @pcisar

Simple test case.

Included delete_if_exists.exe will not return an error if the file doesn't
exist.. it has built-in retries, and if the named file cannot be deleted for some
reason, it will retry, with 2 second intervals, until the file is either deleted or it times out, which, in this case is a
total of 10 attempts.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 15, 2014

Modified by: @pcisar

Attachment: test_case.zip [ 12600 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 15, 2014

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 16, 2014

Modified by: @AlexPeshkoff

Version: 3.0 Beta 1 [ 10332 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 16, 2014

Modified by: @AlexPeshkoff

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Beta 2 [ 10586 ]

Fix Version: 2.5.4 [ 10585 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Sep 23, 2015

Modified by: @pcisar

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 20, 2015

Modified by: @pavel-zotov

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

QA Status: Done successfully

Test Details: Test currently implemented only for Windows ('SHELL DEL ...' command is used).

Confirmed bug in ISQL 3.0.0.31374 (Beta1 release): script S that has been performed by "IN S;" command
is NOT deleted by "shell del ..." and can be used again in subsequent "IN S;" command.

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