The problem is more easily visible with the debug server (the client is from the release bintar).
MariaDB [test]> create or replace table t1 (a varchar(255));
|
Query OK, 0 rows affected (1.13 sec)
|
MariaDB client
|
mysql Ver 15.1 Distrib 10.1.8-MariaDB, for Linux (x86_64) using readline 5.1
|
|
MariaDB [test]> insert into t1 select seq_1_to_2000000;
|
ERROR 1054 (42S22): Unknown column 'seq_1_to_2000000' in 'field list'
|
MariaDB [test]> insert into t1 select * from seq_1_to_2000000;
|
^CCtrl-C -- sorry, cannot connect to server to kill query, giving up ...
|
Aborted
|
$ /data/releases/mariadb-10.1.8-linux-x86_64/bin/mysql -uroot --protocol=tcp test --local-infile --port=3306
|
Reading table information for completion of table and column names
|
You can turn off this feature to get a quicker startup with -A
|
|
Welcome to the MariaDB monitor. Commands end with ; or \g.
|
Your MariaDB connection id is 4
|
Server version: 10.1.9-MariaDB Source distribution
|
|
Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.
|
|
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
|
MariaDB [test]> insert into t1 select * from seq_1_to_2000000;
|
^CCtrl-C -- sorry, cannot connect to server to kill query, giving up ...
|
Aborted
|
Check that the queries are still there:
$ /data/releases/mariadb-10.1.8-linux-x86_64/bin/mysql -uroot --protocol=tcp test --local-infile --port=3306
|
Reading table information for completion of table and column names
|
You can turn off this feature to get a quicker startup with -A
|
|
Welcome to the MariaDB monitor. Commands end with ; or \g.
|
Your MariaDB connection id is 5
|
Server version: 10.1.9-MariaDB Source distribution
|
|
Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.
|
|
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
|
MariaDB [test]> show processlist;
|
+----+------+-----------------+------+---------+------+--------------+-----------------------------------------------+----------+
|
| Id | User | Host | db | Command | Time | State | Info | Progress |
|
+----+------+-----------------+------+---------+------+--------------+-----------------------------------------------+----------+
|
| 3 | root | localhost:45321 | test | Query | 9 | Sending data | insert into t1 select * from seq_1_to_2000000 | 0.000 |
|
| 4 | root | localhost:45322 | test | Query | 5 | Sending data | insert into t1 select * from seq_1_to_2000000 | 0.000 |
|
| 5 | root | localhost:45323 | test | Query | 0 | init | show processlist | 0.000 |
|
+----+------+-----------------+------+---------+------+--------------+-----------------------------------------------+----------+
|
3 rows in set (0.01 sec)
|
MySQL 5.6 works the same way as MariaDB, but in 5.7 it appears to be fixed:
MySQL 5.7 client
|
/data/releases/mysql-5.7.8-rc-linux-glibc2.5-x86_64/bin/mysql Ver 14.14 Distrib 5.7.8-rc, for linux-glibc2.5 (x86_64) using EditLine wrapper
|
|
mysql> insert into t1 select * from seq_1_to_2000000;
|
^C^C -- query aborted
|
ERROR 1317 (70100): Query execution was interrupted
|
mysql> insert into t1 select * from seq_1_to_2000000;
|
^C^C -- query aborted
|
ERROR 1317 (70100): Query execution was interrupted
|
mysql> show processlist;
|
+----+------+-----------------+------+---------+------+--------------+-----------------------------------------------+----------+
|
| Id | User | Host | db | Command | Time | State | Info | Progress |
|
+----+------+-----------------+------+---------+------+--------------+-----------------------------------------------+----------+
|
| 3 | root | localhost:45321 | test | Query | 32 | Sending data | insert into t1 select * from seq_1_to_2000000 | 0.000 |
|
| 4 | root | localhost:45322 | test | Query | 27 | Sending data | insert into t1 select * from seq_1_to_2000000 | 0.000 |
|
| 6 | root | localhost:45324 | test | Query | 0 | init | show processlist | 0.000 |
|
+----+------+-----------------+------+---------+------+--------------+-----------------------------------------------+----------+
|
3 rows in set (0.00 sec)
|
{"report":{"fcp":844.8999998569489,"ttfb":233,"pageVisibility":"visible","entityId":54228,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"ec9a8c3b-f70b-4be6-92a9-356a34ebd14f","navigationType":0,"readyForUser":926.5999999046326,"redirectCount":0,"resourceLoadedEnd":586.2999999523163,"resourceLoadedStart":241.20000004768372,"resourceTiming":[{"duration":17,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":241.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":241.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":258.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":17.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":241.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":241.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":259.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":206.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":241.79999995231628,"connectEnd":241.79999995231628,"connectStart":241.79999995231628,"domainLookupEnd":241.79999995231628,"domainLookupStart":241.79999995231628,"fetchStart":241.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":268.39999985694885,"responseEnd":448.2999999523163,"responseStart":286.89999985694885,"secureConnectionStart":241.79999995231628},{"duration":343.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":242.5,"connectEnd":242.5,"connectStart":242.5,"domainLookupEnd":242.5,"domainLookupStart":242.5,"fetchStart":242.5,"redirectEnd":0,"redirectStart":0,"requestStart":268.2000000476837,"responseEnd":586.2999999523163,"responseStart":292.39999985694885,"secureConnectionStart":242.5},{"duration":56.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":242.70000004768372,"connectEnd":242.70000004768372,"connectStart":242.70000004768372,"domainLookupEnd":242.70000004768372,"domainLookupStart":242.70000004768372,"fetchStart":242.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":268.89999985694885,"responseEnd":299.39999985694885,"responseStart":294.89999985694885,"secureConnectionStart":242.70000004768372},{"duration":56.700000047683716,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":242.89999985694885,"connectEnd":242.89999985694885,"connectStart":242.89999985694885,"domainLookupEnd":242.89999985694885,"domainLookupStart":242.89999985694885,"fetchStart":242.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":269.5,"responseEnd":299.59999990463257,"responseStart":295.5,"secureConnectionStart":242.89999985694885},{"duration":57.299999952316284,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":243.09999990463257,"connectEnd":243.09999990463257,"connectStart":243.09999990463257,"domainLookupEnd":243.09999990463257,"domainLookupStart":243.09999990463257,"fetchStart":243.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":269.7999999523163,"responseEnd":300.39999985694885,"responseStart":296.2999999523163,"secureConnectionStart":243.09999990463257},{"duration":20.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":243.29999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":243.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":264.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":60.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":243.39999985694885,"connectEnd":243.39999985694885,"connectStart":243.39999985694885,"domainLookupEnd":243.39999985694885,"domainLookupStart":243.39999985694885,"fetchStart":243.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":270,"responseEnd":304.2000000476837,"responseStart":299.7999999523163,"secureConnectionStart":243.39999985694885},{"duration":23.700000047683716,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":243.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":243.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":267.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":60.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":243.70000004768372,"connectEnd":243.70000004768372,"connectStart":243.70000004768372,"domainLookupEnd":243.70000004768372,"domainLookupStart":243.70000004768372,"fetchStart":243.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":270.2999999523163,"responseEnd":303.7999999523163,"responseStart":298.59999990463257,"secureConnectionStart":243.70000004768372},{"duration":320.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":245.59999990463257,"connectEnd":245.59999990463257,"connectStart":245.59999990463257,"domainLookupEnd":245.59999990463257,"domainLookupStart":245.59999990463257,"fetchStart":245.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":307.7999999523163,"responseEnd":566.2999999523163,"responseStart":561.2999999523163,"secureConnectionStart":245.59999990463257},{"duration":321,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":245.70000004768372,"connectEnd":245.70000004768372,"connectStart":245.70000004768372,"domainLookupEnd":245.70000004768372,"domainLookupStart":245.70000004768372,"fetchStart":245.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":318.2000000476837,"responseEnd":566.7000000476837,"responseStart":562.5999999046326,"secureConnectionStart":245.70000004768372},{"duration":185.09999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":590.2999999523163,"connectEnd":590.2999999523163,"connectStart":590.2999999523163,"domainLookupEnd":590.2999999523163,"domainLookupStart":590.2999999523163,"fetchStart":590.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":740.2999999523163,"responseEnd":775.3999998569489,"responseStart":774.2999999523163,"secureConnectionStart":590.2999999523163}],"fetchStart":0,"domainLookupStart":11,"domainLookupEnd":20,"connectStart":20,"connectEnd":38,"secureConnectionStart":28,"requestStart":39,"responseStart":234,"responseEnd":242,"domLoading":237,"domInteractive":988,"domContentLoadedEventStart":988,"domContentLoadedEventEnd":1038,"domComplete":1430,"loadEventStart":1430,"loadEventEnd":1431,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":967.0999999046326},{"name":"bigPipe.sidebar-id.end","time":968.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":968.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.end","time":969.5},{"name":"activityTabFullyLoaded","time":1088.5999999046326}],"measures":[],"correlationId":"928ce0c2479eb9","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":96,"dbReadsTimeInMs":10,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Still reproducible.
I've set it up on perro.
login as usual;
cd mdev9149
. ./run
The script just starts the server and opens MySQL client.
After it's done, execute insert into t1 select * from seq_1_to_2000000; and press Ctrl-C after it starts running.