Skip to content

[release/8.0] Don't try to cast negative enum values to ulong - #32731

Merged
ajcvickers merged 1 commit into
release/8.0from
240105_TimTam
Jan 10, 2024
Merged

ajcvickers merged 1 commit into
release/8.0from
240105_TimTam

Conversation

@ajcvickers

Copy link
Copy Markdown
Contributor

Fixes #32679

Description

Negative enum values are not correctly handled when writing JSON documents

Customer impact

Attempting to persist negative enum values in a JSON document in a relational column will throw.

How found

Customer reported on 8.

Regression

Yes, from 7.

Testing

Tests added.

Risk

Low. Quirked.

@ajcvickers
ajcvickers requested a review from a team January 5, 2024 16:36
@ajcvickers ajcvickers added this to the 8.0.x milestone Jan 5, 2024
@AndriySvyryd AndriySvyryd modified the milestones: 8.0.x, 8.0.2 Jan 10, 2024
@ajcvickers
ajcvickers merged commit 9a64077 into release/8.0 Jan 10, 2024
@ajcvickers
ajcvickers deleted the 240105_TimTam branch January 10, 2024 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants