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

Fix handling of TINYINT(1) UNSIGNED when tinyInt1isBit is set #308

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

jchrys
Copy link
Collaborator

@jchrys jchrys commented Feb 19, 2025

Motivation:
When the tinyInt1isBit flag is set, attempting to convert TINYINT(1) UNSIGNED to a boolean results in immediate rejection.

Modifications:
Prevent conversion of TINYINT(1) UNSIGNED to boolean when tinyInt1isBit is enabled.

Result:
TINYINT(1) UNSIGNED is handled correctly without unnecessary conversion attempts.

@jchrys jchrys added this to the 1.4.0 milestone Feb 19, 2025
@jchrys jchrys force-pushed the fix-unsigned-tinyint branch 2 times, most recently from 167617d to 4e4d824 Compare February 19, 2025 19:00
@jchrys jchrys added the enhancement New feature or request label Feb 19, 2025
@jchrys jchrys force-pushed the fix-unsigned-tinyint branch 2 times, most recently from 742f717 to dba54af Compare February 20, 2025 10:32
Motivation:
When the `tinyInt1isBit` flag is set, attempting to convert `TINYINT(1)
UNSIGNED` to a boolean results in immediate rejection.

Modifications:
Prevent conversion of `TINYINT(1) UNSIGNED` to boolean when
`tinyInt1isBit` is enabled.

Result:
`TINYINT(1) UNSIGNED` is handled correctly without unnecessary
conversion attempts.
@jchrys jchrys force-pushed the fix-unsigned-tinyint branch from dba54af to 24ec2d6 Compare February 20, 2025 10:35
@jchrys jchrys merged commit 33b258a into trunk Feb 20, 2025
28 checks passed
@jchrys jchrys deleted the fix-unsigned-tinyint branch February 20, 2025 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant