Type:
Technical task
Priority:
Major
Resolution:
Fixed
Affects Version/s:
None
Sprint:
10.2.2-3, 10.2.2-1, 10.2.2-2, 10.2.2-4, 10.1.18
Normally, a stored procedure call is done using this syntax:
CALL p1(10);
CALL p2;
CALL test.p1(10);
CALL test.p2;
However, when we want to call a stored procedure from another routine or an anonymous block, the keyword CALL is optional. We'll fix the parser to understand this syntax.
Example:
SET sql_mode=ORACLE;
DELIMITER /
CREATE OR REPLACE PROCEDURE p1(a INT ) AS
BEGIN
NULL ;
END ;
/
CREATE OR REPLACE PROCEDURE p2 AS
BEGIN
NULL ;
END ;
/
BEGIN
p1(10);
p2;
test.p1(10);
test.p2(10);
END ;
/
Transition
Time In Source Status
Execution Times
Open
In Progress
1h 44m
1
In Progress
Closed
46s
1
{"report":{"fcp":2454.199999809265,"ttfb":469.30000019073486,"pageVisibility":"visible","entityId":60303,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"b5dc909e-ed36-48c4-8413-6d331cd49899","navigationType":0,"readyForUser":2579,"redirectCount":0,"resourceLoadedEnd":2162.300000190735,"resourceLoadedStart":565.6999998092651,"resourceTiming":[{"duration":296,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":565.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":565.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":861.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":296,"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":566,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":566,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":862,"responseStart":0,"secureConnectionStart":0},{"duration":1126.6999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":566.1999998092651,"connectEnd":566.1999998092651,"connectStart":566.1999998092651,"domainLookupEnd":566.1999998092651,"domainLookupStart":566.1999998092651,"fetchStart":566.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":865.5999994277954,"responseEnd":1692.8999996185303,"responseStart":899.5999994277954,"secureConnectionStart":566.1999998092651},{"duration":1490.0999994277954,"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":566.3000001907349,"connectEnd":566.3000001907349,"connectStart":566.3000001907349,"domainLookupEnd":566.3000001907349,"domainLookupStart":566.3000001907349,"fetchStart":566.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":878.8999996185303,"responseEnd":2056.3999996185303,"responseStart":970.8999996185303,"secureConnectionStart":566.3000001907349},{"duration":499.19999980926514,"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":566.5,"connectEnd":566.5,"connectStart":566.5,"domainLookupEnd":566.5,"domainLookupStart":566.5,"fetchStart":566.5,"redirectEnd":0,"redirectStart":0,"requestStart":889.3999996185303,"responseEnd":1065.6999998092651,"responseStart":982.0999994277954,"secureConnectionStart":566.5},{"duration":501.20000076293945,"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":566.5999994277954,"connectEnd":566.5999994277954,"connectStart":566.5999994277954,"domainLookupEnd":566.5999994277954,"domainLookupStart":566.5999994277954,"fetchStart":566.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":889.5999994277954,"responseEnd":1067.8000001907349,"responseStart":1022,"secureConnectionStart":566.5999994277954},{"duration":499.69999980926514,"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":566.8999996185303,"connectEnd":566.8999996185303,"connectStart":566.8999996185303,"domainLookupEnd":566.8999996185303,"domainLookupStart":566.8999996185303,"fetchStart":566.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":889.8000001907349,"responseEnd":1066.5999994277954,"responseStart":1021.3000001907349,"secureConnectionStart":566.8999996185303},{"duration":295.80000019073486,"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":567.0999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":567.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":862.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":554.3000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":567.1999998092651,"connectEnd":567.1999998092651,"connectStart":567.1999998092651,"domainLookupEnd":567.1999998092651,"domainLookupStart":567.1999998092651,"fetchStart":567.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":898.0999994277954,"responseEnd":1121.5,"responseStart":1093.6999998092651,"secureConnectionStart":567.1999998092651},{"duration":296.4000005722046,"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":567.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":567.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":863.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":562.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":567.5999994277954,"connectEnd":567.5999994277954,"connectStart":567.5999994277954,"domainLookupEnd":567.5999994277954,"domainLookupStart":567.5999994277954,"fetchStart":567.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":898.8000001907349,"responseEnd":1130.0999994277954,"responseStart":1068.5999994277954,"secureConnectionStart":567.5999994277954},{"duration":1591.8000001907349,"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":568.1999998092651,"connectEnd":568.1999998092651,"connectStart":568.1999998092651,"domainLookupEnd":568.1999998092651,"domainLookupStart":568.1999998092651,"fetchStart":568.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1122.3999996185303,"responseEnd":2160,"responseStart":2140.5,"secureConnectionStart":568.1999998092651},{"duration":1463.1000003814697,"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":699.1999998092651,"connectEnd":699.1999998092651,"connectStart":699.1999998092651,"domainLookupEnd":699.1999998092651,"domainLookupStart":699.1999998092651,"fetchStart":699.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1246.5,"responseEnd":2162.300000190735,"responseStart":2154.0999994277954,"secureConnectionStart":699.1999998092651},{"duration":270,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1893.6999998092651,"connectEnd":1893.6999998092651,"connectStart":1893.6999998092651,"domainLookupEnd":1893.6999998092651,"domainLookupStart":1893.6999998092651,"fetchStart":1893.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":2057.800000190735,"responseEnd":2163.699999809265,"responseStart":2157.3999996185303,"secureConnectionStart":1893.6999998092651}],"fetchStart":0,"domainLookupStart":43,"domainLookupEnd":56,"connectStart":56,"connectEnd":89,"secureConnectionStart":65,"requestStart":90,"responseStart":470,"responseEnd":731,"domLoading":524,"domInteractive":2704,"domContentLoadedEventStart":2704,"domContentLoadedEventEnd":2795,"domComplete":3836,"loadEventStart":3836,"loadEventEnd":3838,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2659.0999994277954},{"name":"bigPipe.sidebar-id.end","time":2660.0999994277954},{"name":"bigPipe.activity-panel-pipe-id.start","time":2660.199999809265},{"name":"bigPipe.activity-panel-pipe-id.end","time":2663.0999994277954},{"name":"activityTabFullyLoaded","time":2808.5}],"measures":[],"correlationId":"dd34b9ca380d84","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":114,"dbReadsTimeInMs":22,"dbConnsTimeInMs":37,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}