Type:
Bug
Priority:
Major
Resolution:
Unresolved
Affects Version/s:
10.4(EOL) , 10.5 , 10.6 , 10.7(EOL) , 10.8(EOL) , 10.9(EOL)
In the following test, the first ALTER TABLE unexpectedly fails:
--source include/have_innodb.inc
CREATE TABLE t1 (e enum( 'a' , 'b' , 'c' ) COLLATE utf8mb4_unicode_ci DEFAULT 'a' ) ENGINE=InnoDB;
--error ER_ALTER_OPERATION_NOT_SUPPORTED_REASON
ALTER TABLE t1 MODIFY e ENUM( 'a' , 'b' , 'c' , 'd' ), ALGORITHM=INSTANT;
ALTER TABLE t1 MODIFY e ENUM( 'a' , 'b' , 'c' , 'd' ) COLLATE utf8mb4_unicode_ci, ALGORITHM=INSTANT;
DROP TABLE t1;
I believe that it is wrong to require that the collation matches in this case. Even if there was an index defined on the column, that index should use normal integer sorting rules, and the collation on the textual ENUM symbols that map to the integer symbols should not matter at all.
Transition
Time In Source Status
Execution Times
Open
Confirmed
48s
1
{"report":{"fcp":947,"ttfb":293.9000000357628,"pageVisibility":"visible","entityId":108087,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"a35de0a3-f805-4e68-89cc-972decbbaf4a","navigationType":0,"readyForUser":1021.3000000119209,"redirectCount":0,"resourceLoadedEnd":1047.9000000357628,"resourceLoadedStart":313.2000000476837,"resourceTiming":[{"duration":126,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":313.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":313.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":439.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":126.09999996423721,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":313.4000000357628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":313.4000000357628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":439.5,"responseStart":0,"secureConnectionStart":0},{"duration":135.10000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":313.60000002384186,"connectEnd":313.60000002384186,"connectStart":313.60000002384186,"domainLookupEnd":313.60000002384186,"domainLookupStart":313.60000002384186,"fetchStart":313.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":313.60000002384186,"responseEnd":448.7000000476837,"responseStart":448.7000000476837,"secureConnectionStart":313.60000002384186},{"duration":205,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":313.80000001192093,"connectEnd":313.80000001192093,"connectStart":313.80000001192093,"domainLookupEnd":313.80000001192093,"domainLookupStart":313.80000001192093,"fetchStart":313.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":313.80000001192093,"responseEnd":518.8000000119209,"responseStart":518.8000000119209,"secureConnectionStart":313.80000001192093},{"duration":208.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":313.9000000357628,"connectEnd":313.9000000357628,"connectStart":313.9000000357628,"domainLookupEnd":313.9000000357628,"domainLookupStart":313.9000000357628,"fetchStart":313.9000000357628,"redirectEnd":0,"redirectStart":0,"requestStart":313.9000000357628,"responseEnd":522.4000000357628,"responseStart":522.4000000357628,"secureConnectionStart":313.9000000357628},{"duration":208.69999998807907,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":314.2000000476837,"connectEnd":314.2000000476837,"connectStart":314.2000000476837,"domainLookupEnd":314.2000000476837,"domainLookupStart":314.2000000476837,"fetchStart":314.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":314.2000000476837,"responseEnd":522.9000000357628,"responseStart":522.9000000357628,"secureConnectionStart":314.2000000476837},{"duration":208.80000001192093,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":314.4000000357628,"connectEnd":314.4000000357628,"connectStart":314.4000000357628,"domainLookupEnd":314.4000000357628,"domainLookupStart":314.4000000357628,"fetchStart":314.4000000357628,"redirectEnd":0,"redirectStart":0,"requestStart":314.4000000357628,"responseEnd":523.2000000476837,"responseStart":523.2000000476837,"secureConnectionStart":314.4000000357628},{"duration":274.89999997615814,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":314.60000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":314.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":589.5,"responseStart":0,"secureConnectionStart":0},{"duration":208.80000001192093,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":314.80000001192093,"connectEnd":314.80000001192093,"connectStart":314.80000001192093,"domainLookupEnd":314.80000001192093,"domainLookupStart":314.80000001192093,"fetchStart":314.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":314.80000001192093,"responseEnd":523.6000000238419,"responseStart":523.6000000238419,"secureConnectionStart":314.80000001192093},{"duration":274.60000002384186,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/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":315,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":315,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":589.6000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":209,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/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":315.10000002384186,"connectEnd":315.10000002384186,"connectStart":315.10000002384186,"domainLookupEnd":315.10000002384186,"domainLookupStart":315.10000002384186,"fetchStart":315.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":315.10000002384186,"responseEnd":524.1000000238419,"responseStart":524.1000000238419,"secureConnectionStart":315.10000002384186},{"duration":389,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":316.10000002384186,"connectEnd":316.10000002384186,"connectStart":316.10000002384186,"domainLookupEnd":316.10000002384186,"domainLookupStart":316.10000002384186,"fetchStart":316.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":316.10000002384186,"responseEnd":705.1000000238419,"responseStart":705.1000000238419,"secureConnectionStart":316.10000002384186},{"duration":655.3999999761581,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":316.2000000476837,"connectEnd":316.2000000476837,"connectStart":316.2000000476837,"domainLookupEnd":316.2000000476837,"domainLookupStart":316.2000000476837,"fetchStart":316.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":316.2000000476837,"responseEnd":971.6000000238419,"responseStart":971.6000000238419,"secureConnectionStart":316.2000000476837},{"duration":104.60000002384186,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":600.8000000119209,"connectEnd":600.8000000119209,"connectStart":600.8000000119209,"domainLookupEnd":600.8000000119209,"domainLookupStart":600.8000000119209,"fetchStart":600.8000000119209,"redirectEnd":0,"redirectStart":0,"requestStart":600.8000000119209,"responseEnd":705.4000000357628,"responseStart":705.4000000357628,"secureConnectionStart":600.8000000119209},{"duration":178.30000001192093,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":869.6000000238419,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":869.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1047.9000000357628,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":85,"responseStart":294,"responseEnd":295,"domLoading":297,"domInteractive":1069,"domContentLoadedEventStart":1069,"domContentLoadedEventEnd":1107,"domComplete":1481,"loadEventStart":1481,"loadEventEnd":1481,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1059.1000000238419},{"name":"bigPipe.sidebar-id.end","time":1059.800000011921},{"name":"bigPipe.activity-panel-pipe-id.start","time":1060},{"name":"bigPipe.activity-panel-pipe-id.end","time":1060.6000000238419},{"name":"activityTabFullyLoaded","time":1124.1000000238419}],"measures":[],"correlationId":"3e03f2466e2e15","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":144,"dbReadsTimeInMs":17,"dbConnsTimeInMs":26,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}