can't mix in one process remote connection using fbclient.dll from 2.* (or 3.0) 
with embedded connection using fbclient.dll from 3.0.
-------------------------------------------------------------------------------------------------------------------------------------

                 Key: CORE-5123
                 URL: http://tracker.firebirdsql.org/browse/CORE-5123
             Project: Firebird Core
          Issue Type: Bug
          Components: API / Client Library
    Affects Versions: 3.0 RC2
            Reporter: Nick


- have runned firebird 2.5
- have only fbclient.dll from 2.5 in D:\Firebird\FB25Client
- have only fbclient.dll from 3.0 RC2 in D:\Firebird\FB30Client
- have all files from 3.0 RC2 in D:\Firebird\FB30
- all connections uses charset WIN1251.

code:
begin
  AttachDatabase('D:\Firebird\FB25Client\fbclient.dll', 
'127.0.0.1:D:\Data\FB25.fdb', 'SYSDBA', 'masterkey'); // remote connect to 2.5
  AttachDatabase('D:\Firebird\FB30\fbclient.dll', 'D:\Data\FB30.fdb', 'SYSDBA', 
'masterkey'); // embedded connect to 3.0
end.
Error on second attach:
--------------------------------------------------------------------------------------------
Error loading plugin Engine12
Module D:\Firebird\FB30\plugins/Engine12 exists but can not be loaded
Unsuccessful execution caused by system error that does not preclude successful
execution of subsequent statements
GDS Code: 335545004, SQL Code: -901, Error Code: 684
--------------------------------------------------------------------------------------------

Example with only 3.0 libraries:
begin
  AttachDatabase('D:\Firebird\FB30Client\fbclient.dll', 
'127.0.0.1:D:\Data\FB25.fdb', 'SYSDBA', 'masterkey'); // remote connect to 2.5
  AttachDatabase('D:\Firebird\FB30\fbclient.dll', 'D:\Data\FB30.fdb', 'SYSDBA', 
'masterkey'); // embedded connect to 3.0
end.
Error on second attach:
--------------------------------------------------------------------------------------------
bad parameters on attach or create database
CHARACTER SET WIN1251 is not defined
Connection error
GDS Code: 335544325, SQL Code: -924, Error Code: 5
--------------------------------------------------------------------------------------------


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

        

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to