Skip to content

Don't treat VARCHAR columns as Guids #1566

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

Merged
merged 2 commits into from
Apr 17, 2025
Merged

Don't treat VARCHAR columns as Guids #1566

merged 2 commits into from
Apr 17, 2025

Conversation

bgrainger
Copy link
Member

No description provided.

Signed-off-by: Bradley Grainger <[email protected]>
This reverts a change in #1546 that was introduced to fix #1528. However, none of the integration tests fail locally when reverting this change, so it's not clear why it was necessary.

Signed-off-by: Bradley Grainger <[email protected]>
@bgrainger bgrainger requested a review from Copilot April 17, 2025 19:07
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

src/MySqlConnector/ColumnReaders/ColumnReader.cs:52

  • Ensure that changing the fallback from 'goto case ColumnType.VarChar' to 'goto case ColumnType.VarString' properly distinguishes between GUID and non-GUID VARCHAR columns, and does not unintentionally merge distinct case behaviors.
goto case ColumnType.VarString;

@bgrainger bgrainger linked an issue Apr 17, 2025 that may be closed by this pull request
@bgrainger bgrainger merged commit b81c038 into master Apr 17, 2025
24 checks passed
@bgrainger bgrainger deleted the bug1565 branch April 17, 2025 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

VARCHAR(36) is read as Guid
1 participant