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

v2.0.4 - Fixing issue with incorrect query results when querying only some columns of a primary key table #154

Merged
merged 3 commits into from
Jun 15, 2024

Conversation

mithrandyr
Copy link
Owner

@mithrandyr mithrandyr commented Jun 15, 2024

This will fix issue #146

DataTable.Load(dataReader) for MySql and SQLite will incorporate the primary key (if one exists) into the DataTable when loading the dataReader. This will cause issues if you are only selecting a portion of the primary key columns. Code has been changed to not leverage DataTable.Load() as a result. Issue is fixed.

@mithrandyr mithrandyr self-assigned this Jun 15, 2024
@mithrandyr mithrandyr merged commit cbe0f53 into master Jun 15, 2024
@mithrandyr mithrandyr deleted the MySqlFix branch June 15, 2024 03: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