Type:
Task
Priority:
Minor
Resolution:
Unresolved
Fix Version/s:
None
e.g https://mariadb.com/kb/en/library/connection_id/
used to return MYSQL_LONG_LONG in 10.2 in result set metadata, but
and changed to MYSQL_LONG UNSIGNED in 10.3
We need to track the changes between the versions, so there are not many potentially breaking changes in the future.
as noted in MDEV-16347 , changing types can break client programs
In 10.3, according to Bar, MDEV-12619 caused all functions that used to return 64bit now can return 32bit, and those are over 50, and this breaking change went almost undocumented.
relates to
MDEV-16347
Integer literal is typed as MYSQL_TYPE_LONG
Closed
{"report":{"fcp":898.1999998092651,"ttfb":207.80000019073486,"pageVisibility":"visible","entityId":67896,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"b05493e7-3431-47f5-a039-c3f0136b1e7a","navigationType":0,"readyForUser":966,"redirectCount":0,"resourceLoadedEnd":998.3000001907349,"resourceLoadedStart":214.10000038146973,"resourceTiming":[{"duration":120.09999942779541,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":214.10000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":214.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":334.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":120.39999961853027,"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":214.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":214.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":334.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":176.10000038146973,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":214.5,"connectEnd":214.5,"connectStart":214.5,"domainLookupEnd":214.5,"domainLookupStart":214.5,"fetchStart":214.5,"redirectEnd":0,"redirectStart":0,"requestStart":214.5,"responseEnd":390.6000003814697,"responseStart":390.5,"secureConnectionStart":214.5},{"duration":271.19999980926514,"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":214.80000019073486,"connectEnd":214.80000019073486,"connectStart":214.80000019073486,"domainLookupEnd":214.80000019073486,"domainLookupStart":214.80000019073486,"fetchStart":214.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":214.80000019073486,"responseEnd":486,"responseStart":486,"secureConnectionStart":214.80000019073486},{"duration":275,"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":215,"connectEnd":215,"connectStart":215,"domainLookupEnd":215,"domainLookupStart":215,"fetchStart":215,"redirectEnd":0,"redirectStart":0,"requestStart":215,"responseEnd":490,"responseStart":490,"secureConnectionStart":215},{"duration":275.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":215.30000019073486,"connectEnd":215.30000019073486,"connectStart":215.30000019073486,"domainLookupEnd":215.30000019073486,"domainLookupStart":215.30000019073486,"fetchStart":215.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":215.30000019073486,"responseEnd":490.80000019073486,"responseStart":490.80000019073486,"secureConnectionStart":215.30000019073486},{"duration":275.70000076293945,"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":215.39999961853027,"connectEnd":215.39999961853027,"connectStart":215.39999961853027,"domainLookupEnd":215.39999961853027,"domainLookupStart":215.39999961853027,"fetchStart":215.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":215.39999961853027,"responseEnd":491.1000003814697,"responseStart":491.1000003814697,"secureConnectionStart":215.39999961853027},{"duration":321.19999980926514,"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":215.60000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":215.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":536.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":275.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":215.80000019073486,"connectEnd":215.80000019073486,"connectStart":215.80000019073486,"domainLookupEnd":215.80000019073486,"domainLookupStart":215.80000019073486,"fetchStart":215.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":215.80000019073486,"responseEnd":491.69999980926514,"responseStart":491.69999980926514,"secureConnectionStart":215.80000019073486},{"duration":321,"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":216,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":216,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":537,"responseStart":0,"secureConnectionStart":0},{"duration":276.19999980926514,"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":216.10000038146973,"connectEnd":216.10000038146973,"connectStart":216.10000038146973,"domainLookupEnd":216.10000038146973,"domainLookupStart":216.10000038146973,"fetchStart":216.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":216.10000038146973,"responseEnd":492.30000019073486,"responseStart":492.30000019073486,"secureConnectionStart":216.10000038146973},{"duration":427.69999980926514,"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":217.10000038146973,"connectEnd":217.10000038146973,"connectStart":217.10000038146973,"domainLookupEnd":217.10000038146973,"domainLookupStart":217.10000038146973,"fetchStart":217.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":217.10000038146973,"responseEnd":644.8000001907349,"responseStart":644.8000001907349,"secureConnectionStart":217.10000038146973},{"duration":423.80000019073486,"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":221.89999961853027,"connectEnd":221.89999961853027,"connectStart":221.89999961853027,"domainLookupEnd":221.89999961853027,"domainLookupStart":221.89999961853027,"fetchStart":221.89999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":221.89999961853027,"responseEnd":645.6999998092651,"responseStart":645.6999998092651,"secureConnectionStart":221.89999961853027},{"duration":68.89999961853027,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":548.6000003814697,"connectEnd":548.6000003814697,"connectStart":548.6000003814697,"domainLookupEnd":548.6000003814697,"domainLookupStart":548.6000003814697,"fetchStart":548.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":548.6000003814697,"responseEnd":617.5,"responseStart":617.5,"secureConnectionStart":548.6000003814697},{"duration":100.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":812.1999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":812.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":912.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":175.60000038146973,"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":812.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":812.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":988.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":153.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":813.6000003814697,"connectEnd":813.6000003814697,"connectStart":813.6000003814697,"domainLookupEnd":813.6000003814697,"domainLookupStart":813.6000003814697,"fetchStart":813.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":813.6000003814697,"responseEnd":966.8000001907349,"responseStart":966.8000001907349,"secureConnectionStart":813.6000003814697},{"duration":142.19999980926514,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":891.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":891.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1033.5,"responseStart":0,"secureConnectionStart":0},{"duration":182.79999923706055,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/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.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":814.1000003814697,"connectEnd":814.1000003814697,"connectStart":814.1000003814697,"domainLookupEnd":814.1000003814697,"domainLookupStart":814.1000003814697,"fetchStart":814.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":814.1000003814697,"responseEnd":996.8999996185303,"responseStart":996.8999996185303,"secureConnectionStart":814.1000003814697},{"duration":183.9000005722046,"initiatorType":"script","name":"https://jira.mariadb.org/s/e0bf5781d46ea69fb123572974cf39de-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/js/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.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":814.3999996185303,"connectEnd":814.3999996185303,"connectStart":814.3999996185303,"domainLookupEnd":814.3999996185303,"domainLookupStart":814.3999996185303,"fetchStart":814.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":814.3999996185303,"responseEnd":998.3000001907349,"responseStart":998.3000001907349,"secureConnectionStart":814.3999996185303}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":46,"responseStart":208,"responseEnd":214,"domLoading":211,"domInteractive":1046,"domContentLoadedEventStart":1046,"domContentLoadedEventEnd":1109,"domComplete":1239,"loadEventStart":1239,"loadEventEnd":1240,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1000.1999998092651},{"name":"bigPipe.sidebar-id.end","time":1001.1000003814697},{"name":"bigPipe.activity-panel-pipe-id.start","time":1001.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1006.8000001907349},{"name":"activityTabFullyLoaded","time":1137.8999996185303}],"measures":[],"correlationId":"22cff8ea312288","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":104,"dbReadsTimeInMs":11,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
greenman, note you can run this:
mysql --column-type-info test
against a new and an old server and see the difference.
This is an output from an old server (the new server will display LONG instead of LONGLONG):
[bar@home ~]$ mysql --column-type-info test
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 6
Server version: 10.0.27-MariaDB MariaDB Server
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [test]> SELECT 1;
Field 1: `1`
Catalog: `def`
Database: ``
Table: ``
Org_table: ``
Type: LONGLONG
Collation: binary (63)
Length: 1
Max_length: 1
Decimals: 0
Flags: NOT_NULL BINARY NUM
+---+
| 1 |
+---+
| 1 |
+---+
1 row in set (0.00 sec)