Issue Details (XML | Word | Printable)

Key: CORE-4625
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Mark Rotteveel
Votes: 0
Watchers: 1
Operations

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

instclient remove doesn't remove client library if shared DLL count > 1 but reports it has removed it

Created: 29/Nov/14 04:17 PM   Updated: 29/Nov/14 04:17 PM
Component/s: API / Client Library
Affects Version/s: 3.0 Beta 1
Fix Version/s: None

Environment: Windows 8.1 Pro 64 bit


 Description  « Hide
Running instclient r f to remove fbclient.dll from %WINDIR%\System32 (or SysWOW64) doesn't remove fbclient.dll if it has a shared DLL count larger than 1, but it reports it has removed it with the message "The FBCLIENT.DLL has been removed from the System directory."

Steps to reproduce:
> instclient q f

If this reports "Installed FBCLIENT.DLL version : 3.0.0.xxxx (shared DLL count n)" (where n > 1) you're set, otherwise:

Run at least twice using different Firebird 3 versions:
> instclient i f

Now instclient q f should report shared DLL count 2 or higher.

Run:
> instclient r f

Output is "The FBCLIENT.DLL has been removed from the System directory."
However 1) it is still present in %WINDIR%\System32 and 2) instclient q f now reports a shared DLL count 1 lower than previous.

To me the expected behavior would be to report that the file has not been removed because the shared DLL count was larger than 1 and that the shared DLL count has been decremented by 1.

Note that instclient r -f f does remove fbclient.dll if the shared DLL count is larger than 1.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.