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

Error "no current record for fetch operation" when sorting by a international string [CORE6529] #6756

Closed
firebird-automations opened this issue Apr 1, 2021 · 5 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Gabor Boros (gaborboros)

Simplified test case:

-- string size should be >= InlineSortThreshold
recreate table t (f varchar(5000) character set win1251);
commit;
insert into t select rpad('asd', 1000, '+') from rdb$database;
-- no commit here!
select f from t order by 1;

-- ERROR
-- Statement failed, SQLSTATE = 22000
-- no current record for fetch operation

Commits: 297e7b0 568e870

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Dmitry Yemanov [ dimitr ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

reporter: Dmitry Yemanov [ dimitr ] => Gabor Boros [ gaborboros ]

summary: Error "no current record for fetch operation" when sorting by a long international string => Error "no current record for fetch operation" when sorting by a international string

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

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

resolution: Fixed [ 1 ]

Fix Version: 4.0.0 [ 10931 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: No test => Done successfully

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

2 participants