Skip to content
Snippets Groups Projects
Commit 1a6dd597 authored by Erlend Ydse's avatar Erlend Ydse
Browse files

Merge branch '127-fix-explain-analyze-not-being-triggered-by-text-in-query' into 'dev'

Resolve "Fix explain analyze not being triggered by text in query"

Closes #127

See merge request erlenyd/mysql-query-profiler!133
parents 2fe13783 34bb80c1
No related branches found
No related tags found
No related merge requests found
...@@ -162,7 +162,8 @@ export default function QueryRecorder(props: QuerRecorderProps) { ...@@ -162,7 +162,8 @@ export default function QueryRecorder(props: QuerRecorderProps) {
changeQueryRunning, changeQueryRunning,
changeRecordingState, changeRecordingState,
tab.timestep, tab.timestep,
tab.explainAnalyze tab.explainAnalyze ||
tab.inputQuery.toLowerCase().includes('explain analyze')
); );
const t1 = performance.now(); const t1 = performance.now();
if (result?.error) { if (result?.error) {
......
{ {
"name": "mysql-query-profiler", "name": "mysql-query-profiler",
"productName": "MySQL Query Profiler", "productName": "MySQL Query Profiler",
"version": "1.0.0", "version": "1.0.1",
"description": "A profiler for MySQL queries using Electron and React", "description": "A profiler for MySQL queries using Electron and React",
"main": "./main.prod.js", "main": "./main.prod.js",
"author": { "author": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment