Skip to content

Commit

Permalink
show more clearly that a non-mysql database is used 🫡
Browse files Browse the repository at this point in the history
  • Loading branch information
tpetry committed Aug 8, 2024
1 parent b345ca4 commit dbef567
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion MysqlExplain.tableplusplugin/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "MySQL Visual Explain",
"identifier": "com.mysqlexplain",
"version": "2.0",
"version": "2.1",
"detail": "This plugin helps with analyzing MySQL queries.",
"author": "Tobias Petry",
"authorEmail": "hello@tpetry.me",
Expand Down
4 changes: 2 additions & 2 deletions MysqlExplain.tableplusplugin/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion MysqlExplain.tableplusplugin/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "com.explainmysql.tableplusplugin",
"version": "1.0",
"version": "2.1",
"description": "This plugin helps you analyzing EXPLAIN plans.",
"main": "plugin/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion MysqlExplain.tableplusplugin/plugin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function handleResults(context, sql, resExplainJson, resExplainTree, resVersion)

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

return;
}
Expand Down

0 comments on commit dbef567

Please sign in to comment.