Skip to content

Commit d2d1a09

Browse files
committed
Update changelog
1 parent 793b823 commit d2d1a09

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

extensions/ql-vscode/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [UNRELEASED]
44

5+
- Add a command _CodeQL: Run Query on Multiple Databases_, which lets users select multiple databases to run a query on. [#898](https://github.com/github/vscode-codeql/pull/898)
6+
57
## 1.5.2 - 13 July 2021
68

79
- Add the _Add Database Source to Workspace_ command to the right-click context menu in the databases view. This lets users re-add a database's source folder to the workspace and browse the source code. [#891](https://github.com/github/vscode-codeql/pull/891)

extensions/ql-vscode/src/extension.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -472,14 +472,14 @@ async function activateWithInstalledDistribution(
472472
): Promise<void> {
473473
if (qs !== undefined) {
474474
// If no databaseItem is specified, use the database currently selected in the Databases UI
475-
const dbItem = databaseItem || await databaseUI.getDatabaseItem(progress, token);
476-
if (dbItem === undefined) {
475+
databaseItem = databaseItem || await databaseUI.getDatabaseItem(progress, token);
476+
if (databaseItem === undefined) {
477477
throw new Error('Can\'t run query without a selected database');
478478
}
479479
const info = await compileAndRunQueryAgainstDatabase(
480480
cliServer,
481481
qs,
482-
dbItem,
482+
databaseItem,
483483
quickEval,
484484
selectedQuery,
485485
progress,

0 commit comments

Comments
 (0)