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 getting columns when sql mode is using ansi_quotes #669

Merged
merged 5 commits into from
Aug 3, 2024
Merged

Fix getting columns when sql mode is using ansi_quotes #669

merged 5 commits into from
Aug 3, 2024

Conversation

lode
Copy link
Contributor

@lode lode commented Aug 2, 2024

This fixes #668.

@staabm
Copy link
Owner

staabm commented Aug 2, 2024

Thanks for the PR. Would be great to have a unit test for the actual problem

@lode
Copy link
Contributor Author

lode commented Aug 2, 2024

Thanks for the PR. Would be great to have a unit test for the actual problem

I agree that would be nice!

I tried but couldn't really get this to work. (Various things, didn't have the php extensions installed, tried putting it in Docker, that worked, but about half the existing tests fail, don't fully understand the structure of the existing tests.)

I did add the structure of what I think would be the test.

Do you have some guidelines of how to proceed?

Otherwise, feel free to take my code and make it work if you do have more concrete knowledge about the test setup.

@staabm
Copy link
Owner

staabm commented Aug 3, 2024

I will have a look into a test when time allows, thanks for the fix.

@staabm staabm enabled auto-merge (squash) August 3, 2024 06:28
@staabm staabm merged commit 4962951 into staabm:main Aug 3, 2024
29 checks passed
@lode lode deleted the patch-1 branch August 3, 2024 12:36
@lode lode restored the patch-1 branch August 3, 2024 12:36
@lode lode deleted the patch-1 branch August 3, 2024 12:36
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.

Querying the column information fails when sql mode is set to ANSI_QUOTES
2 participants