Hi,
customer is getting the following error when he comments the DECLARE CONTINUE, while it works if the DECLARE is uncommented:
'Illegal parameter data types row and bigint for operation '+' '
|
The following procedure was created by the customer to test the ITERATE clause but it's identical to the one used in prod
delimiter //
|
CREATE DEFINER='root'@'%' PROCEDURE 'forIterateBug'()
|
MODIFIES SQL DATA
|
BEGIN
|
DECLARE 'loopDone' TINYINT DEFAULT FALSE;
|
|
FOR '_unused' IN (SELECT "") DO
|
'innerLoop': LOOP
|
IF 'loopDone' THEN
|
LEAVE 'innerLoop';
|
END IF;
|
|
SET 'loopDone' = TRUE;
|
BEGIN
|
#DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
|
ITERATE 'innerLoop';
|
END;
|
END LOOP;
|
END FOR;
|
END
|
//
|
{"report":{"fcp":871.7999999523163,"ttfb":144.79999995231628,"pageVisibility":"visible","entityId":123371,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"102951c0-f00b-44ad-8243-0b04aa3e24f9","navigationType":0,"readyForUser":936.5,"redirectCount":0,"resourceLoadedEnd":575.9000000953674,"resourceLoadedStart":149.40000009536743,"resourceTiming":[{"duration":264.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":149.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":149.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":413.5,"responseStart":0,"secureConnectionStart":0},{"duration":263.7999999523163,"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":149.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":149.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":413.5,"responseStart":0,"secureConnectionStart":0},{"duration":272.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":149.79999995231628,"connectEnd":149.79999995231628,"connectStart":149.79999995231628,"domainLookupEnd":149.79999995231628,"domainLookupStart":149.79999995231628,"fetchStart":149.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":149.79999995231628,"responseEnd":422.2999999523163,"responseStart":422.2999999523163,"secureConnectionStart":149.79999995231628},{"duration":315.39999985694885,"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":149.90000009536743,"connectEnd":149.90000009536743,"connectStart":149.90000009536743,"domainLookupEnd":149.90000009536743,"domainLookupStart":149.90000009536743,"fetchStart":149.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":149.90000009536743,"responseEnd":465.2999999523163,"responseStart":465.2999999523163,"secureConnectionStart":149.90000009536743},{"duration":318.7000000476837,"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":150,"connectEnd":150,"connectStart":150,"domainLookupEnd":150,"domainLookupStart":150,"fetchStart":150,"redirectEnd":0,"redirectStart":0,"requestStart":150,"responseEnd":468.7000000476837,"responseStart":468.7000000476837,"secureConnectionStart":150},{"duration":319.2000000476837,"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":150,"connectEnd":150,"connectStart":150,"domainLookupEnd":150,"domainLookupStart":150,"fetchStart":150,"redirectEnd":0,"redirectStart":0,"requestStart":150,"responseEnd":469.2000000476837,"responseStart":469.2000000476837,"secureConnectionStart":150},{"duration":319.7999999523163,"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":150.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":150.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":470,"responseStart":0,"secureConnectionStart":0},{"duration":319.39999985694885,"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":150.20000004768372,"connectEnd":150.20000004768372,"connectStart":150.20000004768372,"domainLookupEnd":150.20000004768372,"domainLookupStart":150.20000004768372,"fetchStart":150.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":150.20000004768372,"responseEnd":469.59999990463257,"responseStart":469.59999990463257,"secureConnectionStart":150.20000004768372},{"duration":319.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":150.29999995231628,"connectEnd":150.29999995231628,"connectStart":150.29999995231628,"domainLookupEnd":150.29999995231628,"domainLookupStart":150.29999995231628,"fetchStart":150.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":150.29999995231628,"responseEnd":469.90000009536743,"responseStart":469.90000009536743,"secureConnectionStart":150.29999995231628},{"duration":320,"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":150.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":150.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":470.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":319.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":150.59999990463257,"connectEnd":150.59999990463257,"connectStart":150.59999990463257,"domainLookupEnd":150.59999990463257,"domainLookupStart":150.59999990463257,"fetchStart":150.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":150.59999990463257,"responseEnd":470.5,"responseStart":470.5,"secureConnectionStart":150.59999990463257},{"duration":413.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":156.29999995231628,"connectEnd":156.29999995231628,"connectStart":156.29999995231628,"domainLookupEnd":156.29999995231628,"domainLookupStart":156.29999995231628,"fetchStart":156.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":156.29999995231628,"responseEnd":570,"responseStart":570,"secureConnectionStart":156.29999995231628},{"duration":419.60000014305115,"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":156.29999995231628,"connectEnd":156.29999995231628,"connectStart":156.29999995231628,"domainLookupEnd":156.29999995231628,"domainLookupStart":156.29999995231628,"fetchStart":156.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":156.29999995231628,"responseEnd":575.9000000953674,"responseStart":575.9000000953674,"secureConnectionStart":156.29999995231628}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":8,"responseStart":145,"responseEnd":151,"domLoading":147,"domInteractive":991,"domContentLoadedEventStart":991,"domContentLoadedEventEnd":1031,"domComplete":1709,"loadEventStart":1709,"loadEventEnd":1711,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":974.0999999046326},{"name":"bigPipe.sidebar-id.end","time":974.7999999523163},{"name":"bigPipe.activity-panel-pipe-id.start","time":974.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":977.2999999523163},{"name":"activityTabFullyLoaded","time":1038.7000000476837}],"measures":[],"correlationId":"9737185ae9d4ed","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":77,"dbReadsTimeInMs":14,"dbConnsTimeInMs":22,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}