-
Bug
-
-
Blocker
-
Resolution:
Fixed
-
None
-
-
-
The patch for MDEV-27009 changed the maximum collation name size from 32 to 64:
-#define MY_CS_NAME_SIZE 32
|
+#define MY_CS_CHARACTER_SET_NAME_SIZE 32
|
+#define MY_CS_COLLATION_NAME_SIZE 64
|
INFORMATION_SCHEMA tables were fixed accordinly. However, tables mysql.proc and mysql.event were forgotten:
SELECT table_schema, table_name, column_name, column_type
|
FROM information_schema.columns WHERE column_name LIKE '%colla%';
|
+--------------------+---------------------------------------+------------------------+-------------+
|
| table_schema | table_name | column_name | column_type |
|
+--------------------+---------------------------------------+------------------------+-------------+
|
| mysql | proc | collation_connection | char(32) |
|
| mysql | proc | db_collation | char(32) |
|
| mysql | event | collation_connection | char(32) |
|
| mysql | event | db_collation | char(32) |
|
| information_schema | CHARACTER_SETS | DEFAULT_COLLATE_NAME | varchar(64) |
|
| information_schema | COLLATIONS | COLLATION_NAME | varchar(64) |
|
| information_schema | COLLATION_CHARACTER_SET_APPLICABILITY | COLLATION_NAME | varchar(64) |
|
| information_schema | COLLATION_CHARACTER_SET_APPLICABILITY | FULL_COLLATION_NAME | varchar(64) |
|
| information_schema | COLUMNS | COLLATION_NAME | varchar(64) |
|
| information_schema | EVENTS | COLLATION_CONNECTION | varchar(64) |
|
| information_schema | EVENTS | DATABASE_COLLATION | varchar(64) |
|
| information_schema | PARAMETERS | COLLATION_NAME | varchar(64) |
|
| information_schema | ROUTINES | COLLATION_NAME | varchar(64) |
|
| information_schema | ROUTINES | COLLATION_CONNECTION | varchar(64) |
|
| information_schema | ROUTINES | DATABASE_COLLATION | varchar(64) |
|
| information_schema | SCHEMATA | DEFAULT_COLLATION_NAME | varchar(64) |
|
| information_schema | STATISTICS | COLLATION | varchar(1) |
|
| information_schema | TABLES | TABLE_COLLATION | varchar(64) |
|
| information_schema | TRIGGERS | COLLATION_CONNECTION | varchar(64) |
|
| information_schema | TRIGGERS | DATABASE_COLLATION | varchar(64) |
|
| information_schema | VIEWS | COLLATION_CONNECTION | varchar(64) |
|
+--------------------+---------------------------------------+------------------------+-------------+
|
Some new collation names do not fit into 32 characters:
SET NAMES 'utf8mb3' COLLATE 'utf8mb3_uca1400_swedish_nopad_ai_ci';
|
CREATE FUNCTION f1() RETURNS INT RETURN 1;
|
ERROR 1607 (HY000): Cannot create stored routine `f1`. Check warnings
|
+---------+------+--------------------------------------------------------------+
|
| Level | Code | Message |
|
+---------+------+--------------------------------------------------------------+
|
| Warning | 1265 | Data truncated for column 'collation_connection' at row 3226 |
|
| Error | 1607 | Cannot create stored routine `f1`. Check warnings |
|
+---------+------+--------------------------------------------------------------+
|
Definitions for mysql.proc and mysql.event should be updated to use char(64) as the data type for the mentioned columns.
{"report":{"fcp":903.6000003814697,"ttfb":223.39999961853027,"pageVisibility":"visible","entityId":115499,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"43bddd67-01b7-420a-9d17-347e6c9e9af5","navigationType":0,"readyForUser":991.8999996185303,"redirectCount":0,"resourceLoadedEnd":1210.8999996185303,"resourceLoadedStart":229,"resourceTiming":[{"duration":92.60000038146973,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":229,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":229,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":321.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":92.59999942779541,"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":229.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":229.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":321.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":146.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":229.39999961853027,"connectEnd":229.39999961853027,"connectStart":229.39999961853027,"domainLookupEnd":229.39999961853027,"domainLookupStart":229.39999961853027,"fetchStart":229.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":229.39999961853027,"responseEnd":375.8999996185303,"responseStart":375.8999996185303,"secureConnectionStart":229.39999961853027},{"duration":246,"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":229.60000038146973,"connectEnd":229.60000038146973,"connectStart":229.60000038146973,"domainLookupEnd":229.60000038146973,"domainLookupStart":229.60000038146973,"fetchStart":229.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":229.60000038146973,"responseEnd":475.6000003814697,"responseStart":475.6000003814697,"secureConnectionStart":229.60000038146973},{"duration":249.10000038146973,"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":230,"connectEnd":230,"connectStart":230,"domainLookupEnd":230,"domainLookupStart":230,"fetchStart":230,"redirectEnd":0,"redirectStart":0,"requestStart":230,"responseEnd":479.1000003814697,"responseStart":479.1000003814697,"secureConnectionStart":230},{"duration":249.5,"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":230.10000038146973,"connectEnd":230.10000038146973,"connectStart":230.10000038146973,"domainLookupEnd":230.10000038146973,"domainLookupStart":230.10000038146973,"fetchStart":230.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":230.10000038146973,"responseEnd":479.6000003814697,"responseStart":479.6000003814697,"secureConnectionStart":230.10000038146973},{"duration":249.5999994277954,"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":230.30000019073486,"connectEnd":230.30000019073486,"connectStart":230.30000019073486,"domainLookupEnd":230.30000019073486,"domainLookupStart":230.30000019073486,"fetchStart":230.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":230.30000019073486,"responseEnd":479.8999996185303,"responseStart":479.8999996185303,"secureConnectionStart":230.30000019073486},{"duration":288.8999996185303,"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":230.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":230.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":519.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":249.79999923706055,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":230.60000038146973,"connectEnd":230.60000038146973,"connectStart":230.60000038146973,"domainLookupEnd":230.60000038146973,"domainLookupStart":230.60000038146973,"fetchStart":230.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":230.60000038146973,"responseEnd":480.3999996185303,"responseStart":480.3999996185303,"secureConnectionStart":230.60000038146973},{"duration":288.69999980926514,"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":230.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":230.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":519.5,"responseStart":0,"secureConnectionStart":0},{"duration":249.89999961853027,"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":231,"connectEnd":231,"connectStart":231,"domainLookupEnd":231,"domainLookupStart":231,"fetchStart":231,"redirectEnd":0,"redirectStart":0,"requestStart":231,"responseEnd":480.8999996185303,"responseStart":480.8999996185303,"secureConnectionStart":231},{"duration":375.8999996185303,"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":232.10000038146973,"connectEnd":232.10000038146973,"connectStart":232.10000038146973,"domainLookupEnd":232.10000038146973,"domainLookupStart":232.10000038146973,"fetchStart":232.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":232.10000038146973,"responseEnd":608,"responseStart":608,"secureConnectionStart":232.10000038146973},{"duration":964.8000001907349,"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":232.19999980926514,"connectEnd":232.19999980926514,"connectStart":232.19999980926514,"domainLookupEnd":232.19999980926514,"domainLookupStart":232.19999980926514,"fetchStart":232.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":232.19999980926514,"responseEnd":1197,"responseStart":1197,"secureConnectionStart":232.19999980926514},{"duration":76.89999961853027,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":531.8000001907349,"connectEnd":531.8000001907349,"connectStart":531.8000001907349,"domainLookupEnd":531.8000001907349,"domainLookupStart":531.8000001907349,"fetchStart":531.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":531.8000001907349,"responseEnd":608.6999998092651,"responseStart":608.6999998092651,"secureConnectionStart":531.8000001907349},{"duration":408.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/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&whisper-enabled=true","startTime":802.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":802.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1210.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":408.0999994277954,"initiatorType":"link","name":"https://jira.mariadb.org/s/50bc9be5bfead1a25e72c1a9338c94f6-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/css/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":802.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":802.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1210.8999996185303,"responseStart":0,"secureConnectionStart":0}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":39,"responseStart":224,"responseEnd":227,"domLoading":227,"domInteractive":1220,"domContentLoadedEventStart":1220,"domContentLoadedEventEnd":1262,"domComplete":1880,"loadEventStart":1880,"loadEventEnd":1882,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1198.8000001907349},{"name":"bigPipe.sidebar-id.end","time":1199.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":1199.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1202.3000001907349},{"name":"activityTabFullyLoaded","time":1268.6000003814697}],"measures":[],"correlationId":"ac8d2776994a9d","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":118,"dbReadsTimeInMs":15,"dbConnsTimeInMs":26,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}