Problem check version Firebird connect with ZeosLib 8.0.0

The offical for ZeosLib 7.3 Report problems, ask for help, post proposals for the new version of Zeoslib 7.3/v8
Quick Info:
-We made two new drivers: odbc(raw and unicode version) and oledb
-GUID domain/field-defined support for FB
-extended error infos of Firebird
-performance ups are still in queue
In future some more feature will arrive, so stay tuned and don't hassitate to help
Post Reply
huelbert
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 28.07.2022, 02:17

Problem check version Firebird connect with ZeosLib 8.0.0

Post by huelbert »

When I connect to a Firebird 2.5 Windows server, ZeosLib 8.0.0 can check the Firebird version, but when I use the same connection to a Firebird 2.5 Linux Ubuntu server, the error message "function not found" appears.
While debugging, I found that ZeosLib 8.0.0 identifies the Firebird version using the SQL below:

Code: Select all

select rdb$get_context('SYSTEM', 'ENGINE_VERSION') from rdb$database
Is there any property to avoid this problem?
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Problem check version Firebird connect with ZeosLib 8.0.0

Post by marsupilami »

Hello huelbert,

I just checked the release notes. The RDB$GET_CONTEXT function is documented to be available starting with Firebird 2.0. The ENGINE_VERSION context variable is documented to be available since Firebird version 2.1. So the code has to work in principle. Also there is no option to switch off that part of the zeos code.

So I see two possibilities:
  • The firbird installation on Ubuntu is broken in some way. In this case the installation should be repaired.
  • The database on Ubuntu has a legacy ODS version for some reason. You might want to look at http://www.firebirdfaq.org/faq117/ on how to check the ODS version.
With best regards,

Jan
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Problem check version Firebird connect with ZeosLib 8.0.0

Post by marsupilami »

Hello huelbert,

I changed the code in Subversion to not use the SQL anymore. If you want to give it a try, get a copy of the 8.0-patches branch.

With best regards,

Jan
tandon69
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 31.07.2024, 08:01
Contact:

Re: Problem check version Firebird connect with ZeosLib 8.0.0

Post by tandon69 »

thank you so much.
Post Reply