Skip to content

Commit 4db6d01

Browse files
committed
Parameters passed into SQL executor
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
1 parent d560e83 commit 4db6d01

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/views/results/resultSetPanelProvider.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ export class ResultSetPanelProvider implements WebviewViewProvider {
9090

9191
default:
9292
if (message.query) {
93-
9493
if (this.currentQuery) {
9594
// If we get a request for a new query, then we need to close the old one
9695
if (this.currentQuery.getId() !== message.queryId) {
@@ -102,10 +101,7 @@ export class ResultSetPanelProvider implements WebviewViewProvider {
102101

103102
try {
104103
if (this.currentQuery === undefined) {
105-
// We will need to revisit this if we ever allow multiple result tabs like ACS does
106-
// Query.cleanup();
107-
108-
this.currentQuery = await JobManager.getPagingStatement(message.query, { isClCommand: message.isCL, isTerseResults: true });
104+
this.currentQuery = await JobManager.getPagingStatement(message.query, { parameters: message.parameters, isClCommand: message.isCL, isTerseResults: true });
109105
}
110106

111107
if (this.currentQuery.getState() !== "RUN_DONE") {

0 commit comments

Comments
 (0)