-
Task
-
-
Major
-
Resolution:
Fixed
-
-
-
Let's split numeric type handlers into separate signed and unsigned variants. This is needed:
- for better error messages, e.g. bigint unsigned vs just bigint in this example:
MariaDB [test]> select @@max_allowed_packet+ROW(1,1);
|
ERROR 4078 (HY000): Illegal parameter data types bigint unsigned and row for operation '+'
|
- for function collection plugins, to define function prototypes easier.
- for data type conversion plugins, a signed and unsigned int types have a different internal representation
Let's add new classes handling unsigned data types (deriving from their signed counterparts):
- Type_handler_utiny
- Type_handler_ushort
- Type_handler_uint24
- Type_handler_ulong
- Type_handler_ulonglong
Add new global variables:
- type_handler_utiny
- type_handler_ushort
- type_handler_uint24
- type_handler_ulong
- type_handler_ulonglong
Rename the old variables to:
- type_handler_stiny
- type_handler_sshort
- type_handler_sint24
- type_handler_slong
- type_handler_slonglong
(i.e. add the 's' prefix on the type name)
- blocks
-
MDEV-4912
Data type plugin API version 1
-
-
Closed
{"report":{"fcp":936.2000000476837,"ttfb":156.5,"pageVisibility":"visible","entityId":78246,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"714663aa-8722-428a-b3bb-37ddb3005b20","navigationType":0,"readyForUser":986.7999999523163,"redirectCount":0,"resourceLoadedEnd":1232.0999999046326,"resourceLoadedStart":161.70000004768372,"resourceTiming":[{"duration":312.7999999523163,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":161.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":161.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":474.5,"responseStart":0,"secureConnectionStart":0},{"duration":312.60000014305115,"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":161.89999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":161.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":474.5,"responseStart":0,"secureConnectionStart":0},{"duration":322.39999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":162,"connectEnd":162,"connectStart":162,"domainLookupEnd":162,"domainLookupStart":162,"fetchStart":162,"redirectEnd":0,"redirectStart":0,"requestStart":162,"responseEnd":484.39999985694885,"responseStart":484.39999985694885,"secureConnectionStart":162},{"duration":347.2999999523163,"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":162.09999990463257,"connectEnd":162.09999990463257,"connectStart":162.09999990463257,"domainLookupEnd":162.09999990463257,"domainLookupStart":162.09999990463257,"fetchStart":162.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":162.09999990463257,"responseEnd":509.39999985694885,"responseStart":509.39999985694885,"secureConnectionStart":162.09999990463257},{"duration":350.7999999523163,"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":162.20000004768372,"connectEnd":162.20000004768372,"connectStart":162.20000004768372,"domainLookupEnd":162.20000004768372,"domainLookupStart":162.20000004768372,"fetchStart":162.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":162.20000004768372,"responseEnd":513,"responseStart":513,"secureConnectionStart":162.20000004768372},{"duration":351.09999990463257,"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":162.29999995231628,"connectEnd":162.29999995231628,"connectStart":162.29999995231628,"domainLookupEnd":162.29999995231628,"domainLookupStart":162.29999995231628,"fetchStart":162.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":162.29999995231628,"responseEnd":513.3999998569489,"responseStart":513.3999998569489,"secureConnectionStart":162.29999995231628},{"duration":351.40000009536743,"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":162.39999985694885,"connectEnd":162.39999985694885,"connectStart":162.39999985694885,"domainLookupEnd":162.39999985694885,"domainLookupStart":162.39999985694885,"fetchStart":162.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":162.39999985694885,"responseEnd":513.7999999523163,"responseStart":513.7999999523163,"secureConnectionStart":162.39999985694885},{"duration":351.59999990463257,"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":162.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":162.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":514.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":351.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":162.59999990463257,"connectEnd":162.59999990463257,"connectStart":162.59999990463257,"domainLookupEnd":162.59999990463257,"domainLookupStart":162.59999990463257,"fetchStart":162.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":162.59999990463257,"responseEnd":514.2000000476837,"responseStart":514.2000000476837,"secureConnectionStart":162.59999990463257},{"duration":352,"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":162.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":162.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":514.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":351.90000009536743,"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":162.89999985694885,"connectEnd":162.89999985694885,"connectStart":162.89999985694885,"domainLookupEnd":162.89999985694885,"domainLookupStart":162.89999985694885,"fetchStart":162.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":162.89999985694885,"responseEnd":514.7999999523163,"responseStart":514.7999999523163,"secureConnectionStart":162.89999985694885},{"duration":489.2999999523163,"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":163.59999990463257,"connectEnd":163.59999990463257,"connectStart":163.59999990463257,"domainLookupEnd":163.59999990463257,"domainLookupStart":163.59999990463257,"fetchStart":163.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":163.59999990463257,"responseEnd":652.8999998569489,"responseStart":652.8999998569489,"secureConnectionStart":163.59999990463257},{"duration":1068.5,"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":163.59999990463257,"connectEnd":163.59999990463257,"connectStart":163.59999990463257,"domainLookupEnd":163.59999990463257,"domainLookupStart":163.59999990463257,"fetchStart":163.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":163.59999990463257,"responseEnd":1232.0999999046326,"responseStart":1232.0999999046326,"secureConnectionStart":163.59999990463257},{"duration":433.2000000476837,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":710.5999999046326,"connectEnd":710.5999999046326,"connectStart":710.5999999046326,"domainLookupEnd":710.5999999046326,"domainLookupStart":710.5999999046326,"fetchStart":710.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":710.5999999046326,"responseEnd":1143.7999999523163,"responseStart":1143.7999999523163,"secureConnectionStart":710.5999999046326}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":35,"responseStart":156,"responseEnd":159,"domLoading":159,"domInteractive":1252,"domContentLoadedEventStart":1252,"domContentLoadedEventEnd":1286,"domComplete":2026,"loadEventStart":2026,"loadEventEnd":2028,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1234.0999999046326},{"name":"bigPipe.sidebar-id.end","time":1235.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1235.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.end","time":1237.5999999046326},{"name":"activityTabFullyLoaded","time":1291.5999999046326}],"measures":[],"correlationId":"cb8af5b977b9f4","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":69,"dbReadsTimeInMs":12,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}