Skip to content

[BUG] After the query is stopped, it is still executed on the server. #674

@sousagaspar

Description

@sousagaspar
  • OS:Ubuntu 20.04
  • Database Type:MySQL 5.7

When you run SQL statements that take a long time to execute, one can cancel the execution by pressing the "power off" button
image
Although in the UI the execution of the statement was apparently stopped the execution is still alive in the database.
One can check it by executing:

SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST WHERE USER = '<your_username_here>' ORDER BY TIME DESC;

It would make sense that this poweroff button, could retrieve the ID of the statement that is being stopped and kill it, i.e. by executing KILL <ID> where the ID is got from the PROCESSLIST table.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions