Type:
Bug
Priority:
Critical
Resolution:
Fixed
Affects Version/s:
N/A
CREATE OR REPLACE TABLE t (a INT );
INSERT INTO t VALUES (1),(2);
SELECT CAST (a AS DECIMAL (2,2)) AS f FROM t;
get diagnostics condition 2 @n = row_number, @m = message_text;
select @n, @m;
bb-10.7-row_number cb9002bee
+ ------+--------------------------------------------+
| @n | @m |
+ ------+--------------------------------------------+
| 2 | Out of range value for column 'f' at row 1 |
+ ------+--------------------------------------------+
1 row in set (0.000 sec)
MariaDB [test]> show warnings;
+ ---------+------+--------------------------------------------+
| Level | Code | Message |
+ ---------+------+--------------------------------------------+
| Warning | 1264 | Out of range value for column 'f' at row 1 |
| Warning | 1264 | Out of range value for column 'f' at row 1 |
+ ---------+------+--------------------------------------------+
2 rows in set (0.000 sec)
So, ROW_NUMBER looks correct and the error messages don't, but there was a requirement that the error message and the value of ROW_NUMBER must correlate, so probably the message should be fixed. Also, it is suspicious that it differs, if the same counter is supposed to be used.
is caused by
MDEV-10075
Provide index of error causing error in array INSERT
Closed
{"report":{"fcp":1158.5999994277954,"ttfb":250.0999994277954,"pageVisibility":"visible","entityId":103958,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"bf1a695d-04e2-42db-a23a-9fadd8440345","navigationType":0,"readyForUser":1252.5,"redirectCount":0,"resourceLoadedEnd":1100,"resourceLoadedStart":255.5,"resourceTiming":[{"duration":366.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":255.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":255.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":622,"responseStart":0,"secureConnectionStart":0},{"duration":366.5,"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":255.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":255.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":622.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":376.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":256,"connectEnd":256,"connectStart":256,"domainLookupEnd":256,"domainLookupStart":256,"fetchStart":256,"redirectEnd":0,"redirectStart":0,"requestStart":256,"responseEnd":632.8000001907349,"responseStart":632.8000001907349,"secureConnectionStart":256},{"duration":468.6000003814697,"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":256.0999994277954,"connectEnd":256.0999994277954,"connectStart":256.0999994277954,"domainLookupEnd":256.0999994277954,"domainLookupStart":256.0999994277954,"fetchStart":256.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":256.0999994277954,"responseEnd":724.6999998092651,"responseStart":724.6999998092651,"secureConnectionStart":256.0999994277954},{"duration":472.69999980926514,"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":256.30000019073486,"connectEnd":256.30000019073486,"connectStart":256.30000019073486,"domainLookupEnd":256.30000019073486,"domainLookupStart":256.30000019073486,"fetchStart":256.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":256.30000019073486,"responseEnd":729,"responseStart":729,"secureConnectionStart":256.30000019073486},{"duration":473,"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":256.5,"connectEnd":256.5,"connectStart":256.5,"domainLookupEnd":256.5,"domainLookupStart":256.5,"fetchStart":256.5,"redirectEnd":0,"redirectStart":0,"requestStart":256.5,"responseEnd":729.5,"responseStart":729.5,"secureConnectionStart":256.5},{"duration":473.19999980926514,"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":256.69999980926514,"connectEnd":256.69999980926514,"connectStart":256.69999980926514,"domainLookupEnd":256.69999980926514,"domainLookupStart":256.69999980926514,"fetchStart":256.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":256.69999980926514,"responseEnd":729.8999996185303,"responseStart":729.8999996185303,"secureConnectionStart":256.69999980926514},{"duration":541.5,"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":256.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":256.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":798.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":473.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":257.0999994277954,"connectEnd":257.0999994277954,"connectStart":257.0999994277954,"domainLookupEnd":257.0999994277954,"domainLookupStart":257.0999994277954,"fetchStart":257.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":257.0999994277954,"responseEnd":730.3999996185303,"responseStart":730.3999996185303,"secureConnectionStart":257.0999994277954},{"duration":541.2999992370605,"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":257.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":257.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":798.5999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":473.5,"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":257.3999996185303,"connectEnd":257.3999996185303,"connectStart":257.3999996185303,"domainLookupEnd":257.3999996185303,"domainLookupStart":257.3999996185303,"fetchStart":257.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":257.3999996185303,"responseEnd":730.8999996185303,"responseStart":730.8999996185303,"secureConnectionStart":257.3999996185303},{"duration":603.0999994277954,"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":264.80000019073486,"connectEnd":264.80000019073486,"connectStart":264.80000019073486,"domainLookupEnd":264.80000019073486,"domainLookupStart":264.80000019073486,"fetchStart":264.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":264.80000019073486,"responseEnd":867.8999996185303,"responseStart":867.8999996185303,"secureConnectionStart":264.80000019073486},{"duration":835.1999998092651,"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":264.80000019073486,"connectEnd":264.80000019073486,"connectStart":264.80000019073486,"domainLookupEnd":264.80000019073486,"domainLookupStart":264.80000019073486,"fetchStart":264.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":264.80000019073486,"responseEnd":1100,"responseStart":1100,"secureConnectionStart":264.80000019073486},{"duration":81.79999923706055,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":811.3000001907349,"connectEnd":811.3000001907349,"connectStart":811.3000001907349,"domainLookupEnd":811.3000001907349,"domainLookupStart":811.3000001907349,"fetchStart":811.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":811.3000001907349,"responseEnd":893.0999994277954,"responseStart":893.0999994277954,"secureConnectionStart":811.3000001907349}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":93,"responseStart":250,"responseEnd":259,"domLoading":253,"domInteractive":1316,"domContentLoadedEventStart":1316,"domContentLoadedEventEnd":1370,"domComplete":2906,"loadEventStart":2906,"loadEventEnd":2909,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1294.5999994277954},{"name":"bigPipe.sidebar-id.end","time":1295.5999994277954},{"name":"bigPipe.activity-panel-pipe-id.start","time":1295.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1299.3000001907349},{"name":"activityTabFullyLoaded","time":1378.8999996185303}],"measures":[],"correlationId":"34e4ba7ac8359f","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":92,"dbReadsTimeInMs":8,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}