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

inner join on string to integer is not working any more since ODS 11.0 [CORE2481] #2894

Closed
firebird-automations opened this issue May 29, 2009 · 5 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Rene Pijnacker (rene.pijnacker_nocore.nl)

In our application we have an table containing

and string column of varchar(5)

this column is joined in the program with integer columns by inner joins

if the ODS of the database is before 11.0 we always get good results for these joins
when making an backup of these databases and restoring it as an ODS 11.0 these joins give unpredicatable results

if we use an cast( as integer) on the varchar(5) column it works ok.
Is it possible to make this as it worked before.

I remeber i had the same problem before when the first beta's of firebird 2 engine where released

I then also submitted an post.
the first response was that this was made to improve the engine and the problem wouldn't be fixed

Later i received an mail that that it would be fixed because it broke many applications using firebird

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

Reproducible test case (or database backup) is required.

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

I have a feeling that it's not about ODS 10 vs ODS 11, but about FB v2.1 vs prior versions. After a few bugfixes that disabled index based joins for incompatible data types, CORE1274 had become visible and it looks very similar to what is reported in this ticket.

@firebird-automations
Copy link
Collaborator Author

Commented by: Rene Pijnacker (rene.pijnacker_nocore.nl)

it works ok with an ods 10 db + fb 2.1

i will recreate the example of 1274 in an ods 10 and then backup and restore it to ods 11
and inform you about the results

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Cannot Reproduce [ 5 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

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

No branches or pull requests

1 participant