Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebird 4 / 5 Compatibility #404

Open
gorepj opened this issue Dec 12, 2024 · 0 comments
Open

Firebird 4 / 5 Compatibility #404

gorepj opened this issue Dec 12, 2024 · 0 comments

Comments

@gorepj
Copy link

gorepj commented Dec 12, 2024

I have a major issue with a legacy Firebird 3 database that I imported into Firebird 5.
I can register the database with Flamerobin.
The following exception occurs when I try to open this database in Flamerobin

Engine Code : 335544343
Engine Message :
invalid request BLR at offset 52
function BIN_AND is not defined
module name or entry point could not be found

This has something to do with the UDFs used within the original firebird 3 database.
SOLUTION
I am a developer using Delphi and I too get the same error from my application when opening this database imported that I imported from Firebird 5. The exception happens when using GetTableNames( method in the Firedac connection object. I have overcome this problem in my developed application by replacing the GetTableNames call with a simple query instead.

"select rdb$relation_name, rdb$description
from rdb$relations
where rdb$view_blr is null
and (rdb$system_flag is null or rdb$system_flag = 0)
order by 1;"

Please investigate and correct/
regards
Peter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant