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 code geneation for sqlc.slice #2431

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

SoMuchForSubtlety
Copy link
Contributor

Fixes #2430

@SoMuchForSubtlety
Copy link
Contributor Author

Generating the prepared statement should probably also be skipped, but this fixes the core issue.

@Jille
Copy link
Contributor

Jille commented Jul 13, 2023

Heh, I ran into the same issue and wrote the exact same PR :D

@andrewmbenton
Copy link
Collaborator

This reveals the issue referenced in #2452 but I suppose it's best to work on that in a separate PR.

@andrewmbenton andrewmbenton added this to the v1.20.0 milestone Jul 26, 2023
@andrewmbenton andrewmbenton merged commit 3a67691 into sqlc-dev:main Jul 26, 2023
6 of 7 checks passed
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.

sqlc.slice() generates broken code when emit_prepared_queries is enabled
3 participants