-
-
Notifications
You must be signed in to change notification settings - Fork 697
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
explain query plan select
is too strict about whitespace
#1588
Milestone
Comments
Relevant code: datasette/datasette/utils/__init__.py Lines 163 to 170 in 8584993
datasette/datasette/utils/__init__.py Lines 195 to 204 in 8584993
|
I think this is the fix: re.compile(r"^explain\s+query\s+plan\s+select\b"), |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
explain query plan select * from facetable
is allowed: https://latest.datasette.io/fixtures?sql=explain+query+plan+select+*+from+facetableBut...
explain query plan select * from facetable
(with two spaces before theselect
) returns a "Statement must be a SELECT" error: https://latest.datasette.io/fixtures?sql=explain+query+plan++select+*+from+facetableThe text was updated successfully, but these errors were encountered: