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

                 Key: CORE-4625
                 URL: http://tracker.firebirdsql.org/browse/CORE-4625
             Project: Firebird Core
          Issue Type: Bug
          Components: API / Client Library
    Affects Versions: 3.0 Beta 1
         Environment: Windows 8.1 Pro 64 bit
            Reporter: Mark Rotteveel


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to