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

[Backport 1.19] fix: List functions handle invalid zero position #973

Merged
merged 2 commits into from
Jan 21, 2025

Conversation

saig0
Copy link
Member

@saig0 saig0 commented Jan 21, 2025

Description

Backport of #970 to 1.19.

relates to #957
original author: @saig0

saig0 added 2 commits January 21, 2025 11:32
Add a test case to verify that list function with a zero position returns null.

(cherry picked from commit 237431e)
List functions should return null if the position is zero. A position must be positive or negative but not zero.

(cherry picked from commit 6bf385f)
@saig0 saig0 merged commit c598bcd into 1.19 Jan 21, 2025
4 checks passed
@saig0 saig0 deleted the backport-970-to-1.19 branch January 21, 2025 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant