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

Regression: ORDER BY via an index + WHERE clause: error "no current record for fetch operation" [CORE4634] #4948

Closed
firebird-automations opened this issue Dec 8, 2014 · 8 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: advpos (advpos)

This is a example database "EMPLOYEE" for the query

SELECT * FROM SALES WHERE
( ORDER_STATUS LIKE '1%' or ORDER_STATUS LIKE '%1%')

ORDER BY ORDER_STATUS

and gives this error

"The cursor identified in the UPDATE or DELETE statement is not positioned on a row.
no current record for fetch operation."

Commits: ab11c27 FirebirdSQL/fbt-repository@f88a07c

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

Confirmed for WI-T3.0.0.31374 Firebird 3.0 Beta 1:
Statement failed, SQLSTATE = 22000
no current record for fetch operation

@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 ] => In Progress [ 3 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: In Progress [ 3 ] => Open [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Version: 3.0 Alpha 2 [ 10560 ]

Fix Version: 3.0 Beta 2 [ 10586 ]

summary: the cursor identified in the update or delete statement is not positioned on a row => ORDER BY via an index + WHERE clause: error "no current record for fetch operation"

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

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

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: Sean Leyne (seanleyne)

summary: ORDER BY via an index + WHERE clause: error "no current record for fetch operation" => Regression: ORDER BY via an index + WHERE clause: error "no current record for fetch operation"

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: Done successfully

Test Details: Confirmed for WI-T3.0.0.31374 Firebird 3.0 Beta 1:
Statement failed, SQLSTATE = 22000
no current record for fetch operation

@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