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

server: allow explain queries without bind parameters #1256

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

glommer
Copy link
Contributor

@glommer glommer commented Mar 24, 2024

In SQLite, it is invalid to pass a query with a ? or named parameter without a bind variable, unless you are just trying to explain the command.

We always fail those queries, but we shouldn't.

In SQLite, it is invalid to pass a query with a ? or named parameter
without a bind variable, unless you are just trying to explain the
command.

We always fail those queries, but we shouldn't.
@LucioFranco LucioFranco changed the title allow explain queries without bind parameters server: allow explain queries without bind parameters Mar 25, 2024
@LucioFranco LucioFranco added this pull request to the merge queue Mar 25, 2024
Merged via the queue into main with commit bce6a96 Mar 25, 2024
16 checks passed
@LucioFranco LucioFranco deleted the glauber/explain branch March 25, 2024 19:58
shopifyski pushed a commit to Shopify/libsql that referenced this pull request Mar 29, 2024
…1256)

allow explain queries without bind parameters

In SQLite, it is invalid to pass a query with a ? or named parameter
without a bind variable, unless you are just trying to explain the
command.

We always fail those queries, but we shouldn't.
shopifyski pushed a commit to Shopify/libsql that referenced this pull request Mar 29, 2024
…1256)

allow explain queries without bind parameters

In SQLite, it is invalid to pass a query with a ? or named parameter
without a bind variable, unless you are just trying to explain the
command.

We always fail those queries, but we shouldn't.
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.

2 participants