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

Better explain display on timeout #137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1305,6 +1305,10 @@ static private void explainQuery(final String queryStr,

}

// Flush parts that can be done without waiting for query to finish.
// Also open <pre> tag so if the exception happens we're getting nice backtrace.
w.write("<pre>");
w.flush();
try {

/*
Expand Down Expand Up @@ -1338,7 +1342,9 @@ static private void explainQuery(final String queryStr,
// Fall through and paint the query stats table(s).

}


w.write("</pre>");
w.flush();

current.node("h2", "Query Evaluation Statistics");

Expand Down