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

Server does not accept the right plan [CORE4539] #4857

Closed
firebird-automations opened this issue Sep 4, 2014 · 4 comments
Closed

Server does not accept the right plan [CORE4539] #4857

firebird-automations opened this issue Sep 4, 2014 · 4 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @sim1984

Server does not accept the right plan

SQL> set plan on;
SQL> select count(*)
CON> from horse
CON> join color on horse.code_color = color.code_color
CON> where http://horse.name = http://color.name;

PLAN JOIN (COLOR NATURAL, HORSE INDEX (HORSE_IDX_NAME))

   COUNT

============
48

add up plan in the previous query

SQL> select count(*)
CON> from horse
CON> join color on horse.code_color = color.code_color
CON> where http://horse.name = http://color.name
CON> PLAN JOIN (COLOR NATURAL, HORSE INDEX (HORSE_IDX_NAME));
Statement failed, SQLSTATE = 42000
index HORSE_IDX_NAME cannot be used in the specified plan
SQL>

Commits: 7a7fd78 FirebirdSQL/fbt-repository@3b9b015

====== Test Details ======

Confirmed on WI-T3.0.0.31374 Firebird 3.0 Beta 1
Statement failed, SQLSTATE = 42000
index <...> cannot be used in the specified plan

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Regression: 3.0 Beta 1 [ 10332 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Dmitry Yemanov [ dimitr ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Beta 2 [ 10586 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: Done successfully

Test Details: Confirmed on WI-T3.0.0.31374 Firebird 3.0 Beta 1
Statement failed, SQLSTATE = 42000
index <...> cannot be used in the specified plan

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

2 participants