Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cancel Query Button Doesn't Stop Query Execution #16939

Closed
sivan-koren opened this issue Jan 20, 2021 · 1 comment
Closed

Cancel Query Button Doesn't Stop Query Execution #16939

sivan-koren opened this issue Jan 20, 2021 · 1 comment

Comments

@sivan-koren
Copy link

sivan-koren commented Jan 20, 2021

  • MSSQL Extension Version: 1.10.0
  • VSCode Version: 1.52.1
  • OS Version: Windows 10 20H2 (build 19042.746)

Steps to Reproduce:

  1. Start a query.
  2. Click the Cancel Query button.

A message appears to state that no query is running. However, a query is in fact running.

@sivan-koren sivan-koren changed the title Cancel Query Button Does Nothing Cancel Query Button Doesn't Stop Query Execution Jan 20, 2021
@abist abist added the Bug label Jan 20, 2021
@kburtram kburtram added this to the Backlog milestone Aug 27, 2021
@smartguest
Copy link
Contributor

Running an infinite query:

declare @i int
while (1=1)
set @i = 1

shows that it can be cancelled easily without any issue, this is probably related to the new version of STS that was added since this bug was filed. This was fixed by microsoft/sqltoolsservice#1246

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants