Type:
Task
Priority:
Major
Resolution:
Fixed
This task will implement a new frm segment EXTRA2_FIELD_DATA_TYPE_INFO.
Pluggable data types will write their exact data type information in this segment: the data type name and all attributes.
In the standard data type sergment, pluggable data types will still write basic things (like normal fields do) such as:
The MYSQL_TYPE_XXX replacement type code
Decimals
Length
Collation ID
Flags
For example, INET6 will later write this information in the standard segment:
Type code = MYSQL_TYPE_STRING
Field length = 16
Collation ID = 63 (my_charset_bin)
and additionally write "inet6" into the new segment EXTRA2_FIELD_DATA_TYPE_INFO.
Only extended data types will write to EXTRA2_FIELD_DATA_TYPE_INFO.
If a table does not have any columns with extended types, EXTRA2_FIELD_DATA_TYPE_INFO won't be written.
Let's use this format for every field:
1. fieldnr, in net_write_length() format
2. data type info length, in net_write_length() format
3. data type info string, according to 2
We don't have extended data types yet, so this task will make sure the new functionality works using some DBUG_EXECUTE_IFs:
to force some built-in data types write EXTRA2_FIELD_DATA_TYPE_INFO
to print information about EXTRA2_FIELD_DATA_TYPE_INFO as warnings
This will guarantee that the full cycle is tested:
writing EXTRA2_FIELD_DATA_TYPE_INFO in build_frm_image()
parsing EXTRA2_FIELD_DATA_TYPE_INFO in TABLE_SHARE::init_from_binary_frm_image()
There are no comments yet on this issue.
{"report":{"fcp":1151.6000000238419,"ttfb":463.60000002384186,"pageVisibility":"visible","entityId":77472,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"5a6540ee-8e59-4bee-be8c-56e3881ed32b","navigationType":0,"readyForUser":1222.7000000476837,"redirectCount":0,"resourceLoadedEnd":1390,"resourceLoadedStart":468.7000000476837,"resourceTiming":[{"duration":148,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":468.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":468.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":616.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":148.10000002384186,"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":469,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":469,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":617.1000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":172.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":469.2000000476837,"connectEnd":469.2000000476837,"connectStart":469.2000000476837,"domainLookupEnd":469.2000000476837,"domainLookupStart":469.2000000476837,"fetchStart":469.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":469.2000000476837,"responseEnd":642,"responseStart":642,"secureConnectionStart":469.2000000476837},{"duration":223.19999992847443,"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":469.3000000715256,"connectEnd":469.3000000715256,"connectStart":469.3000000715256,"domainLookupEnd":469.3000000715256,"domainLookupStart":469.3000000715256,"fetchStart":469.3000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":469.3000000715256,"responseEnd":692.5,"responseStart":692.5,"secureConnectionStart":469.3000000715256},{"duration":226.39999997615814,"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":469.60000002384186,"connectEnd":469.60000002384186,"connectStart":469.60000002384186,"domainLookupEnd":469.60000002384186,"domainLookupStart":469.60000002384186,"fetchStart":469.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":469.60000002384186,"responseEnd":696,"responseStart":696,"secureConnectionStart":469.60000002384186},{"duration":226.70000004768372,"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":469.7000000476837,"connectEnd":469.7000000476837,"connectStart":469.7000000476837,"domainLookupEnd":469.7000000476837,"domainLookupStart":469.7000000476837,"fetchStart":469.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":469.7000000476837,"responseEnd":696.4000000953674,"responseStart":696.4000000953674,"secureConnectionStart":469.7000000476837},{"duration":226.89999997615814,"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":469.90000009536743,"connectEnd":469.90000009536743,"connectStart":469.90000009536743,"domainLookupEnd":469.90000009536743,"domainLookupStart":469.90000009536743,"fetchStart":469.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":469.90000009536743,"responseEnd":696.8000000715256,"responseStart":696.8000000715256,"secureConnectionStart":469.90000009536743},{"duration":315.2000000476837,"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":470.10000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":470.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":785.3000000715256,"responseStart":0,"secureConnectionStart":0},{"duration":227.10000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":470.2000000476837,"connectEnd":470.2000000476837,"connectStart":470.2000000476837,"domainLookupEnd":470.2000000476837,"domainLookupStart":470.2000000476837,"fetchStart":470.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":470.2000000476837,"responseEnd":697.3000000715256,"responseStart":697.3000000715256,"secureConnectionStart":470.2000000476837},{"duration":315,"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":470.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":470.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":785.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":227.30000007152557,"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":470.5,"connectEnd":470.5,"connectStart":470.5,"domainLookupEnd":470.5,"domainLookupStart":470.5,"fetchStart":470.5,"redirectEnd":0,"redirectStart":0,"requestStart":470.5,"responseEnd":697.8000000715256,"responseStart":697.8000000715256,"secureConnectionStart":470.5},{"duration":464.7000000476837,"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":471.5,"connectEnd":471.5,"connectStart":471.5,"domainLookupEnd":471.5,"domainLookupStart":471.5,"fetchStart":471.5,"redirectEnd":0,"redirectStart":0,"requestStart":471.5,"responseEnd":936.2000000476837,"responseStart":936.2000000476837,"secureConnectionStart":471.5},{"duration":918.2999999523163,"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":471.7000000476837,"connectEnd":471.7000000476837,"connectStart":471.7000000476837,"domainLookupEnd":471.7000000476837,"domainLookupStart":471.7000000476837,"fetchStart":471.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":471.7000000476837,"responseEnd":1390,"responseStart":1390,"secureConnectionStart":471.7000000476837},{"duration":137.89999997615814,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":798.8000000715256,"connectEnd":798.8000000715256,"connectStart":798.8000000715256,"domainLookupEnd":798.8000000715256,"domainLookupStart":798.8000000715256,"fetchStart":798.8000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":798.8000000715256,"responseEnd":936.7000000476837,"responseStart":936.7000000476837,"secureConnectionStart":798.8000000715256}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":285,"responseStart":463,"responseEnd":466,"domLoading":466,"domInteractive":1405,"domContentLoadedEventStart":1405,"domContentLoadedEventEnd":1443,"domComplete":1944,"loadEventStart":1944,"loadEventEnd":1944,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1392.1000000238419},{"name":"bigPipe.sidebar-id.end","time":1393},{"name":"bigPipe.activity-panel-pipe-id.start","time":1393.1000000238419},{"name":"bigPipe.activity-panel-pipe-id.end","time":1393.6000000238419},{"name":"activityTabFullyLoaded","time":1448.7000000476837}],"measures":[],"correlationId":"8f63b72312f9b","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":121,"dbReadsTimeInMs":12,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}