Skip to content

SQL panel collapses query with multiple SELECT...FROM wrong #264

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

Merged
merged 1 commit into from
Feb 22, 2012
Merged

SQL panel collapses query with multiple SELECT...FROM wrong #264

merged 1 commit into from
Feb 22, 2012

Conversation

webjunkie
Copy link
Contributor

The regex should not match greedy, otherwise a query with multiple "SELECT... FROM" statements is going to get unreadable. This patch fixes it and works nice with longer, nested SQL statements.

dcramer added a commit that referenced this pull request Feb 22, 2012
SQL panel collapses query with multiple SELECT...FROM wrong
@dcramer dcramer merged commit 3930397 into django-commons:master Feb 22, 2012
ryneeverett pushed a commit to ryneeverett/django-debug-toolbar that referenced this pull request Oct 2, 2016
SQL panel collapses query with multiple SELECT...FROM wrong
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