Note: The problem appeared in 10.4 tree with the first MDEV-371 revision, even though there are no BLOBs in the scenario.
--source include/have_innodb.inc
|
|
CREATE TABLE t1 (a INT, UNIQUE ind USING HASH (a)) ENGINE=InnoDB;
|
ALTER TABLE t1 CHANGE COLUMN IF EXISTS b a INT;
|
|
# Cleanup
|
DROP TABLE t1;
|
2019-03-03 1:59:12 9 [ERROR] InnoDB: No matching column for `DB_ROW_HASH_1` in index `ind` of table `test`.`t1`
|
190303 1:59:12 [ERROR] mysqld got signal 11 ;
|
|
#3 <signal handler called>
|
#4 0x0000563fefefc41e in ha_innobase::commit_inplace_alter_table (this=0x7fbb6414fd98, altered_table=0x7fbb641539e0, ha_alter_info=0x7fbbbc09a900, commit=true) at /data/src/10.4/storage/innobase/handler/handler0alter.cc:11131
|
#5 0x0000563fefb77e9a in handler::ha_commit_inplace_alter_table (this=0x7fbb6414fd98, altered_table=0x7fbb641539e0, ha_alter_info=0x7fbbbc09a900, commit=true) at /data/src/10.4/sql/handler.cc:4677
|
#6 0x0000563fef90e63b in mysql_inplace_alter_table (thd=0x7fbb64000b00, table_list=0x7fbb640155b0, table=0x7fbb6400c960, altered_table=0x7fbb641539e0, ha_alter_info=0x7fbbbc09a900, inplace_supported=HA_ALTER_INPLACE_INSTANT, target_mdl_request=0x7fbbbc09ab30, alter_ctx=0x7fbbbc09b0e0) at /data/src/10.4/sql/sql_table.cc:7695
|
#7 0x0000563fef914caf in mysql_alter_table (thd=0x7fbb64000b00, new_db=0x7fbb64005290, new_name=0x7fbb64005690, create_info=0x7fbbbc09bcd0, table_list=0x7fbb640155b0, alter_info=0x7fbbbc09bc10, order_num=0, order=0x0, ignore=false) at /data/src/10.4/sql/sql_table.cc:9922
|
#8 0x0000563fef9a30ee in Sql_cmd_alter_table::execute (this=0x7fbb64015d88, thd=0x7fbb64000b00) at /data/src/10.4/sql/sql_alter.cc:499
|
#9 0x0000563fef83448e in mysql_execute_command (thd=0x7fbb64000b00) at /data/src/10.4/sql/sql_parse.cc:6346
|
#10 0x0000563fef839636 in mysql_parse (thd=0x7fbb64000b00, rawbuf=0x7fbb640154a8 "ALTER TABLE t1 CHANGE COLUMN IF EXISTS b a INT", length=46, parser_state=0x7fbbbc09d180, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8157
|
#11 0x0000563fef824d24 in dispatch_command (command=COM_QUERY, thd=0x7fbb64000b00, packet=0x7fbb64139fd1 "ALTER TABLE t1 CHANGE COLUMN IF EXISTS b a INT", packet_length=46, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1829
|
#12 0x0000563fef8234f8 in do_command (thd=0x7fbb64000b00) at /data/src/10.4/sql/sql_parse.cc:1358
|
#13 0x0000563fef99d003 in do_handle_one_connection (connect=0x563ff30a4d10) at /data/src/10.4/sql/sql_connect.cc:1399
|
#14 0x0000563fef99cd74 in handle_one_connection (arg=0x563ff30a4d10) at /data/src/10.4/sql/sql_connect.cc:1302
|
#15 0x0000563fefe93d17 in pfs_spawn_thread (arg=0x563ff30eab80) at /data/src/10.4/storage/perfschema/pfs.cc:1862
|
#16 0x00007fbbc33f9494 in start_thread (arg=0x7fbbbc09e700) at pthread_create.c:333
|
#17 0x00007fbbc17df93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
- is caused by
-
MDEV-371
Unique indexes for blobs
-
-
Closed
{"report":{"fcp":1060.5,"ttfb":291.5,"pageVisibility":"visible","entityId":72935,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"55df3970-80c5-4f8d-adb7-6c76d6e559f2","navigationType":0,"readyForUser":1133.5,"redirectCount":0,"resourceLoadedEnd":1629.300000011921,"resourceLoadedStart":297.5,"resourceTiming":[{"duration":308.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":297.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":297.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":606,"responseStart":0,"secureConnectionStart":0},{"duration":308.59999999403954,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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","startTime":297.80000001192093,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":297.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":606.4000000059605,"responseStart":0,"secureConnectionStart":0},{"duration":317.40000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":297.90000000596046,"connectEnd":297.90000000596046,"connectStart":297.90000000596046,"domainLookupEnd":297.90000000596046,"domainLookupStart":297.90000000596046,"fetchStart":297.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":297.90000000596046,"responseEnd":615.3000000119209,"responseStart":615.3000000119209,"secureConnectionStart":297.90000000596046},{"duration":357,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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","startTime":298.1000000089407,"connectEnd":298.1000000089407,"connectStart":298.1000000089407,"domainLookupEnd":298.1000000089407,"domainLookupStart":298.1000000089407,"fetchStart":298.1000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":298.1000000089407,"responseEnd":655.1000000089407,"responseStart":655.1000000089407,"secureConnectionStart":298.1000000089407},{"duration":360.79999999701977,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":298.20000000298023,"connectEnd":298.20000000298023,"connectStart":298.20000000298023,"domainLookupEnd":298.20000000298023,"domainLookupStart":298.20000000298023,"fetchStart":298.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":298.20000000298023,"responseEnd":659,"responseStart":659,"secureConnectionStart":298.20000000298023},{"duration":361,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":298.5,"connectEnd":298.5,"connectStart":298.5,"domainLookupEnd":298.5,"domainLookupStart":298.5,"fetchStart":298.5,"redirectEnd":0,"redirectStart":0,"requestStart":298.5,"responseEnd":659.5,"responseStart":659.5,"secureConnectionStart":298.5},{"duration":361.70000000298023,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":298.70000000298023,"connectEnd":298.70000000298023,"connectStart":298.70000000298023,"domainLookupEnd":298.70000000298023,"domainLookupStart":298.70000000298023,"fetchStart":298.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":298.70000000298023,"responseEnd":660.4000000059605,"responseStart":660.4000000059605,"secureConnectionStart":298.70000000298023},{"duration":456.79999999701977,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":298.80000001192093,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":298.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":755.6000000089407,"responseStart":0,"secureConnectionStart":0},{"duration":362.1000000089407,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":299,"connectEnd":299,"connectStart":299,"domainLookupEnd":299,"domainLookupStart":299,"fetchStart":299,"redirectEnd":0,"redirectStart":0,"requestStart":299,"responseEnd":661.1000000089407,"responseStart":661.1000000089407,"secureConnectionStart":299},{"duration":456.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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":299.20000000298023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":299.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":755.7000000029802,"responseStart":0,"secureConnectionStart":0},{"duration":362.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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":299.30000001192093,"connectEnd":299.30000001192093,"connectStart":299.30000001192093,"domainLookupEnd":299.30000001192093,"domainLookupStart":299.30000001192093,"fetchStart":299.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":299.30000001192093,"responseEnd":661.8000000119209,"responseStart":661.8000000119209,"secureConnectionStart":299.30000001192093},{"duration":757.8999999910593,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":300.1000000089407,"connectEnd":300.1000000089407,"connectStart":300.1000000089407,"domainLookupEnd":300.1000000089407,"domainLookupStart":300.1000000089407,"fetchStart":300.1000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":300.1000000089407,"responseEnd":1058,"responseStart":1058,"secureConnectionStart":300.1000000089407},{"duration":1329,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":300.30000001192093,"connectEnd":300.30000001192093,"connectStart":300.30000001192093,"domainLookupEnd":300.30000001192093,"domainLookupStart":300.30000001192093,"fetchStart":300.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":300.30000001192093,"responseEnd":1629.300000011921,"responseStart":1629.300000011921,"secureConnectionStart":300.30000001192093},{"duration":302.80000001192093,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":767,"connectEnd":767,"connectStart":767,"domainLookupEnd":767,"domainLookupStart":767,"fetchStart":767,"redirectEnd":0,"redirectStart":0,"requestStart":767,"responseEnd":1069.800000011921,"responseStart":1069.800000011921,"secureConnectionStart":767},{"duration":636.1000000089407,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1053.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1053.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1689.6000000089407,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":128,"responseStart":292,"responseEnd":294,"domLoading":295,"domInteractive":1650,"domContentLoadedEventStart":1650,"domContentLoadedEventEnd":1687,"domComplete":2828,"loadEventStart":2828,"loadEventEnd":2830,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1634.9000000059605},{"name":"bigPipe.sidebar-id.end","time":1635.800000011921},{"name":"bigPipe.activity-panel-pipe-id.start","time":1635.9000000059605},{"name":"bigPipe.activity-panel-pipe-id.end","time":1638.1000000089407},{"name":"activityTabFullyLoaded","time":1693}],"measures":[],"correlationId":"ad4050d1372403","effectiveType":"4g","downlink":9.9,"rtt":0,"serverDuration":92,"dbReadsTimeInMs":10,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}