Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-6182

CTRL+C with Connect engine doesn't work

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.0.10, 10.0.14
    • 11.0(EOL)
    • None
    • None

    Description

      Hi,

      CTRL+C doesn't work properly with CONNECT :

      MariaDB [test]> SELECT * FROM url_list_connect LIMIT 10;
      ^CCtrl-C -- query killed. Continuing normally.
      ^CCtrl-C -- query killed. Continuing normally.
      ERROR 2013 (HY000): Lost connection to MySQL server during query
      MariaDB [test]> show processlist;
      ERROR 2006 (HY000): MySQL server has gone away
      No connection. Trying to reconnect...
      Connection id:    350
      Current database: test
       
      +-----+------+-----------------+--------+---------+------+-----------------------------+------------------------------------------------------------------------------------------------------+----------+
      | Id  | User | Host            | db     | Command | Time | State                       | Info                                                                                                 | Progress |
      +-----+------+-----------------+--------+---------+------+-----------------------------+------------------------------------------------------------------------------------------------------+----------+
      | 309 | jira | 127.0.0.1:58647 | jiradb | Sleep   |   39 |                             | NULL                                                                                                 |    0.000 |
      | 346 | root | localhost       | test   | Killed  |   13 | Sending data                | SELECT * FROM url_list_connect LIMIT 10                                                              |    0.000 |
      | 347 | root | localhost       | test   | Query   |   13 | Queried about 14730000 rows | SELECT `id`, `url`, `date`, `id_license_domain`, `id_license`, `dom`, `loadtime`, `gen`, `script`, ` |    0.000 |
      | 350 | root | localhost       | test   | Query   |    0 | init                        | show processlist                                                                                     |    0.000 |
      +-----+------+-----------------+--------+---------+------+-----------------------------+------------------------------------------------------------------------------------------------------+----------+
      4 rows in set (0.00 sec)
       
      MariaDB [test]> kill 347;
      Query OK, 0 rows affected (0.00 sec)
       
      MariaDB [test]> show processlist;
      +-----+------+-----------------+--------+---------+------+-------+------------------+----------+
      | Id  | User | Host            | db     | Command | Time | State | Info             | Progress |
      +-----+------+-----------------+--------+---------+------+-------+------------------+----------+
      | 309 | jira | 127.0.0.1:58647 | jiradb | Sleep   |   55 |       | NULL             |    0.000 |
      | 350 | root | localhost       | test   | Query   |    0 | init  | show processlist |    0.000 |
      +-----+------+-----------------+--------+---------+------+-------+------------------+----------+
      2 rows in set (0.00 sec)

      Thanks and regards,
      Jocelyn Fournier

      Attachments

        Activity

          People

            Unassigned Unassigned
            jocel1 jocelyn fournier
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.