Skip to content

Commit dbef567

Browse files
committed
show more clearly that a non-mysql database is used 🫡
1 parent b345ca4 commit dbef567

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

MysqlExplain.tableplusplugin/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "MySQL Visual Explain",
33
"identifier": "com.mysqlexplain",
4-
"version": "2.0",
4+
"version": "2.1",
55
"detail": "This plugin helps with analyzing MySQL queries.",
66
"author": "Tobias Petry",
77
"authorEmail": "[email protected]",

MysqlExplain.tableplusplugin/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MysqlExplain.tableplusplugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "com.explainmysql.tableplusplugin",
4-
"version": "1.0",
4+
"version": "2.1",
55
"description": "This plugin helps you analyzing EXPLAIN plans.",
66
"main": "plugin/index.js",
77
"scripts": {

MysqlExplain.tableplusplugin/plugin/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function handleResults(context, sql, resExplainJson, resExplainTree, resVersion)
2525

2626
global.onRun = function(context) {
2727
if (!['MySQL'].includes(context.driver())) {
28-
context.alert('Error', 'Only MySQL databases are supported.');
28+
context.alert('Error', `Only MySQL databases are supported (${context.driver()} used).`);
2929

3030
return;
3131
}

0 commit comments

Comments
 (0)