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

FB crashes when using row_number()over( PARTITION BY x) in ORDER by clause [CORE4422] #4744

Closed
firebird-issue-importer opened this issue May 8, 2014 · 6 comments

Comments

@firebird-issue-importer
Copy link

firebird-issue-importer commented May 8, 2014

Submitted by: @pavel-zotov

Attachments:
gdb-fb-crash-when-select-with-order_by-row_number-over-with-PARTITION-clause.zip

The following statement:

select 1
from rdb$database
order by row_number()over( PARTITION BY 1)

-- leads FB to crash.
(Statement failed, SQLSTATE = 08006
Error reading data from the connection.)

Stacktrtace is attached.

Commits: b936bea FirebirdSQL/fbt-repository@55131a1

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 8, 2014

Modified by: @pavel-zotov

Attachment: gdb-fb-crash-when-select-with-order_by-row_number-over-with-PARTITION-clause.zip [ 12511 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 12, 2014

Modified by: @dyemanov

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Beta 1 [ 10332 ]

assignee: Dmitry Yemanov [ dimitr ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 12, 2014

Commented by: @dyemanov

Pavel, please test the bugfix with your real example.

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 12, 2014

Commented by: @pavel-zotov

I've checked on ~10 examples, including those which uses user-defined collations. It seems to me that now all OK.

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 30, 2015

Modified by: @pavel-zotov

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

QA Status: Done successfully

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Sep 23, 2015

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

2 participants