Skip to content

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. [CORE5123] #5407

@firebird-automations

Description

@firebird-automations

Submitted by: Nick (nick)

Votes: 2

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions