We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 021fa35 commit 1c2e945Copy full SHA for 1c2e945
src/views/results/index.ts
@@ -314,6 +314,11 @@ async function runHandler(options?: StatementInfo) {
314
}
315
316
317
+ // If we the API is called with no open, then don't add it to history
318
+ if (statementDetail.open === false) {
319
+ statementDetail.history = false;
320
+ }
321
+
322
if ((statementDetail.qualifier === `statement` || statementDetail.qualifier === `explain`) && statementDetail.history !== false) {
323
vscode.commands.executeCommand(`vscode-db2i.queryHistory.prepend`, statementDetail.content);
324
0 commit comments