Skip to content

Commit

Permalink
Merge pull request getredash#2092 from jasonsmithj/fix/mysql_query_ca…
Browse files Browse the repository at this point in the history
…ncel

Fix doesn't work  mysql query cancel button
  • Loading branch information
arikfr committed Nov 22, 2017
2 parents e7fdbee + 1e12f70 commit 1b7cc37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions redash/query_runner/mysql.py
Expand Up @@ -165,6 +165,7 @@ def run_query(self, query, user):
json_data = None
error = e.args[1]
except KeyboardInterrupt:
cursor.close()
error = "Query cancelled by user."
json_data = None
finally:
Expand Down

0 comments on commit 1b7cc37

Please sign in to comment.