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
"SQL Error: Error mapping failed" with Delphi 6 Application and DBX [CORE1513] #1929
Comments
Modified by: Maycon Ferraca (ferraca)Attachment: app.zip [ 10621 ] |
Modified by: Maycon Ferraca (ferraca)description: For to reproduce this error is necessary: Ps.: The files there are the on attachment. => For to reproduce this error is necessary: Ps.: The files there are the on attachment. |
Modified by: @pcisarWorkflow: jira [ 13286 ] => Firebird [ 14001 ] |
Commented by: Daniele Allegretti (mktsrl) I have found this problem with Delphi6, DBExpress and Firebird 2.1.0.17798 Engine. I think this beacause if I use fbclient.dll of versione 2.0.4 (with engine 2.1.0) Delphi works correctly, instead if i use fbclient of 2.1.0 (with engine 2.1.0) pop-up the error "Error mapping failed" on first "SELECT" query. Also with Embedded version 2.1.0 (fbembed.dll version 2.1.0.17798 renamed as GDS32.DLL) Delphi 6 works correcly. Buon lavoro |
Commented by: Daniele Allegretti (mktsrl) Another information about this bug: I upload a little project (with compiled exe) that generate 100% this error. Thanks |
Commented by: Daniele Allegretti (mktsrl) Another information about this bug (WITH FILE UPLOADED): I upload a little project (with compiled exe) that generate 100% this error. Thanks [ Show » ] Daniele Allegretti - [21/May/08 03:54 AM ] Another information about this bug: the problem there is only with remote (TCP) database connection and not with local connection. For example this connection do error Database := 127.0.0.1:C:\DEMO.FDB and this no Database := C:\DEMO.FDB I upload a little project (with compiled exe) that generate 100% this error. Thanks |
Modified by: Daniele Allegretti (mktsrl)Attachment: BugFirebird21.zip [ 10900 ] |
Commented by: @dyemanov Actually, the issue is inside Borland's DBX driver for InterBase. It's not very much compatible with Firebird. First of all, it uses some internal (metadata) queries in the syntax FB dislikes, thus causing an error. Second, it seems to handle the API errors improperly and this is exactly the difference between FB v2.0 and v2.1. If you'd try e.g. the Upscene DBX driver for Firebird, you'd notice that all test cases work correctly with both FB v2.0 and v2.1. As for the Borland's driver, the only suggestion I have is to turn off the "Get Metadata" property of TSQLDataSet. |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Submitted by: Maycon Ferraca (ferraca)
Attachments:
BugFirebird21.zip
app.zip
Votes: 1
For to reproduce this error is necessary:
1) Run "create db.sql"
2) Run "project1.exe" (or its source) and click on "connection doesn't work" and after click on "run query 1". Any other click sequence works.
Ps.: The files there are the on attachment.
The text was updated successfully, but these errors were encountered: