Ensure all messages are retained in the Query Tool from long running queries. Fixes #4730

pull/27/head
Aditya Toshniwal 2019-10-25 12:38:46 +01:00 committed by Dave Page
parent 6d7ff9444a
commit 1f6a0a87f6
3 changed files with 4 additions and 3 deletions

View File

@ -21,5 +21,6 @@ Bug fixes
| `Issue #3789 <https://redmine.postgresql.org/issues/3789>`_ - Ensure context menus never get hidden below the menu bar.
| `Issue #3913 <https://redmine.postgresql.org/issues/3913>`_ - Ensure the correct "running at" agent is shown when a pgAgent job is executing.
| `Issue #4459 <https://redmine.postgresql.org/issues/4459>`_ - Don't quote bigints when copying them from the Query Tool results grid.
| `Issue #4730 <https://redmine.postgresql.org/issues/4730>`_ - Ensure all messages are retained in the Query Tool from long running queries.
| `Issue #4845 <https://redmine.postgresql.org/issues/4845>`_ - Fixed potential error in the properties dialog for the Code tab.
| `Issue #4850 <https://redmine.postgresql.org/issues/4850>`_ - Fixed an issue where Datetimepicker control opens when clicking on the label.

View File

@ -40,7 +40,7 @@ export function callRenderAfterPoll(sqlEditor, alertify, res) {
res.result += '\n\n' + msg;
else
res.result = msg;
sqlEditor.update_msg_history(true, res.result, true);
sqlEditor.update_msg_history(true, res.result, false);
sqlEditor.reset_data_store();
if (isNotificationEnabled(sqlEditor)) {
alertify.success(msg, sqlEditor.info_notifier_timeout);

View File

@ -82,7 +82,7 @@ describe('#callRenderAfterPoll', () => {
expect(sqlEditorSpy.update_msg_history).toHaveBeenCalledWith(
true,
'Some result\n\nQuery returned successfully in 0 msec.',
true
false
);
});
@ -173,7 +173,7 @@ describe('#callRenderAfterPoll', () => {
expect(sqlEditorSpy.update_msg_history).toHaveBeenCalledWith(
true,
'Some result\n\nQuery returned successfully in 0 msec.',
true
false
);
});