You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cancelling an Explain leaves the previous plan on screen #860
Since #850 (PR #856), cancelling a query clears the previous results so they don't read as the cancelled query's. Cancelling an Explain or Explain Analyze still leaves explainResult and showExplain as they were. The plan on screen then looks like the plan for the statement that was cancelled.
Fix
In cancelActiveQuery (src/stores/resultStore.ts), clear the explain fields too when the run being cancelled is an Explain. Add a case to the cancelActiveQuery tests in resultStore.test.ts.
Activity
fix(explain): clear the plan when an Explain is cancelled