fbsvcmgr info_svr_db_info does not see active attachments and databases in use 
(CLASSIC only)
---------------------------------------------------------------------------------------------

                 Key: CORE-5413
                 URL: http://tracker.firebirdsql.org/browse/CORE-5413
             Project: Firebird Core
          Issue Type: Bug
          Components: SVCMGR
    Affects Versions: 3.0.1, 2.5.6
            Reporter: Pavel Zotov


1) ensure that FB 2.5 instance works as Classic:
REG.EXE query 
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FirebirdServerfb25cs | 
findstr /i /c:"ImagePath"

Output:
----------
ImagePath   REG_EXPAND_SZ   C:\MIX\firebird\fb25Cs\bin\fb_inet_server.exe -s 
FB25Cs

(OK, there is no '-m' switch' ==> this is Classic)

2) connect to any database using this FB instance and stay in ISQL prompt:

C:\MIX\firebird\fb25Cs>C:\MIX\firebird\fb25Cs\bin\isql localhost/3249:e25 -z
ISQL Version: WI-V2.5.7.27027 Firebird 2.5
Server version:
WI-V2.5.7.27027 Firebird 2.5
WI-V2.5.7.27027 Firebird 2.5/tcp (csprog)/P12
WI-V2.5.7.27027 Firebird 2.5/tcp (csprog)/P12
Database:  localhost/3249:e25
SQL>

3) try to get number of active databases and attachments:

C:\MIX\firebird\fb25Cs>C:\MIX\firebird\fb25Cs\bin\fbsvcmgr 
localhost:service_mgr info_svr_db_info -z
Firebird services manager version WI-V2.5.7.27027 Firebird 2.5
Databases:
   Number of attachments: 0 <<< ???
   Number of databases: 0   <<< ???

The same on  FB 3.0.x & 4.0.



-- 
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

        

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to