From 04063d8a9cde6076db8edfee5ee5c2d73e4caaf3 Mon Sep 17 00:00:00 2001 From: azivner Date: Tue, 26 Dec 2017 10:21:33 -0500 Subject: [PATCH] sql console reports successful execution (useful when query doesn't produce any result set like in update/delete) --- public/javascripts/dialogs/sql_console.js | 3 +++ views/index.ejs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/public/javascripts/dialogs/sql_console.js b/public/javascripts/dialogs/sql_console.js index 2435328a4..4c2647da3 100644 --- a/public/javascripts/dialogs/sql_console.js +++ b/public/javascripts/dialogs/sql_console.js @@ -28,6 +28,9 @@ const sqlConsole = (function() { showError(result.error); return; } + else { + showMessage("Query was executed successfully."); + } const rows = result.rows; diff --git a/views/index.ejs b/views/index.ejs index 509eea299..f588ba2cf 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -165,7 +165,7 @@ - +