diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-12-11 17:42:33 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-12-11 17:42:33 +0100 |
commit | 70f6ac10b3130f14205dbcc56c7089c1c139afd3 (patch) | |
tree | 97b37fe1d9348f76ca2ca829e1e928f2b005e6c7 /client/mysql.cc | |
parent | fe38576064068bd2bb5541bd6efda6abb1879dde (diff) | |
download | mariadb-git-70f6ac10b3130f14205dbcc56c7089c1c139afd3.tar.gz |
MDEV-5323 Ctrl-C not working under Ubuntu
don't reset interrupted_query after sending the KILL signal, otherwise
the client won't know it has to stop fetching and printing the data.
Diffstat (limited to 'client/mysql.cc')
-rw-r--r-- | client/mysql.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc index e3885422563..a37392c7fc5 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -1383,7 +1383,6 @@ sig_handler handle_sigint(int sig) mysql_real_query(kill_mysql, kill_buffer, (uint) strlen(kill_buffer)); mysql_close(kill_mysql); tee_fprintf(stdout, "Ctrl-C -- query killed. Continuing normally.\n"); - interrupted_query= 0; if (in_com_source) aborted= 1; // Abort source command return; |