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-automations opened this issue May 8, 2014 · 6 comments

Comments

@firebird-automations
Copy link
Collaborator

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-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Beta 1 [ 10332 ]

assignee: Dmitry Yemanov [ dimitr ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

Pavel, please test the bugfix with your real example.

@firebird-automations
Copy link
Collaborator Author

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-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: Done successfully

@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

2 participants