Issue Details (XML | Word | Printable)

Key: CORE-4578
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Pavel Cisar
Votes: 0
Watchers: 0
Operations

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

INPUT file not properly closed

Created: 15/Oct/14 09:55 AM   Updated: 20/Dec/15 11:14 AM
Component/s: ISQL
Affects Version/s: 2.5.3, 3.0 Beta 1
Fix Version/s: 2.5.4, 3.0 Beta 2

File Attachments: 1. Zip Archive test_case.zip (53 kB)

Environment: Windows XP

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.


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

 All   Comments   Change History   Subversion Commits      Sort Order: Descending order - Click to sort in ascending order
Pavel Cisar added a comment - 15/Oct/14 09:58 AM
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.