Type:
Bug
Priority:
Major
Resolution:
Fixed
Affects Version/s:
5.1.67 , 5.2.14 , 5.3.12 , 5.5(EOL) , 10.0(EOL) , 10.1(EOL)
If we create a temporary table with the same name within a store procedure, and try to drop some columns in two different sessions running at the same moment, error " Unknown column" may pop.
Although this is documented in
https://mariadb.com/kb/en/mariadb/documentation/sql-commands/data-definition/create/create-table/
"Temporary table names are specific to your session. They may conflict with other temporary tables from other sessions or shadow names of non-temporary tables."
But this is different behavior with Mysql
http://dev.mysql.com/doc/refman/5.5/en/create-table.html
This means that two different sessions can use the same temporary table name without conflicting with each other or with an existing non-TEMPORARY table of the same name. (The existing table is hidden until the temporary table is dropped.)
This is stopper if using Mariadb as a drop in replacement for Mysql, as this require rewrite all SPs with alter temporary statement.
relates to
MDEV-5816
MySQL WL#4179 - Stored programs: validation of stored program statements
Closed
links to
Transition
Time In Source Status
Execution Times
Open
In Progress
4d 18h 55m
1
In Progress
Closed
2d 19h 42m
1
{"report":{"fcp":1851.1999998092651,"ttfb":637.3999996185303,"pageVisibility":"visible","entityId":49511,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"b8047a82-a6ba-422d-bec0-d9317ee01de1","navigationType":0,"readyForUser":1975.3999996185303,"redirectCount":0,"resourceLoadedEnd":2174.699999809265,"resourceLoadedStart":645.6999998092651,"resourceTiming":[{"duration":565.4000005722046,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":645.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":645.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1211.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":570.8000001907349,"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":646,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":646,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1216.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":638.1000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":646.1999998092651,"connectEnd":646.1999998092651,"connectStart":646.1999998092651,"domainLookupEnd":646.1999998092651,"domainLookupStart":646.1999998092651,"fetchStart":646.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":646.1999998092651,"responseEnd":1284.3000001907349,"responseStart":1284.3000001907349,"secureConnectionStart":646.1999998092651},{"duration":789.9000005722046,"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":646.3999996185303,"connectEnd":646.3999996185303,"connectStart":646.3999996185303,"domainLookupEnd":646.3999996185303,"domainLookupStart":646.3999996185303,"fetchStart":646.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":646.3999996185303,"responseEnd":1436.3000001907349,"responseStart":1436.3000001907349,"secureConnectionStart":646.3999996185303},{"duration":794.3999996185303,"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":646.5,"connectEnd":646.5,"connectStart":646.5,"domainLookupEnd":646.5,"domainLookupStart":646.5,"fetchStart":646.5,"redirectEnd":0,"redirectStart":0,"requestStart":646.5,"responseEnd":1440.8999996185303,"responseStart":1440.8999996185303,"secureConnectionStart":646.5},{"duration":794.8000001907349,"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":646.6999998092651,"connectEnd":646.6999998092651,"connectStart":646.6999998092651,"domainLookupEnd":646.6999998092651,"domainLookupStart":646.6999998092651,"fetchStart":646.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":646.6999998092651,"responseEnd":1441.5,"responseStart":1441.5,"secureConnectionStart":646.6999998092651},{"duration":795.6000003814697,"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":646.8999996185303,"connectEnd":646.8999996185303,"connectStart":646.8999996185303,"domainLookupEnd":646.8999996185303,"domainLookupStart":646.8999996185303,"fetchStart":646.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":646.8999996185303,"responseEnd":1442.5,"responseStart":1442.5,"secureConnectionStart":646.8999996185303},{"duration":791.4000005722046,"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":652.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":652.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1444.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":790.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":653.1000003814697,"connectEnd":653.1000003814697,"connectStart":653.1000003814697,"domainLookupEnd":653.1000003814697,"domainLookupStart":653.1000003814697,"fetchStart":653.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":653.1000003814697,"responseEnd":1443.5,"responseStart":1443.5,"secureConnectionStart":653.1000003814697},{"duration":791.1999998092651,"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":653.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":653.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1444.5,"responseStart":0,"secureConnectionStart":0},{"duration":790.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":654,"connectEnd":654,"connectStart":654,"domainLookupEnd":654,"domainLookupStart":654,"fetchStart":654,"redirectEnd":0,"redirectStart":0,"requestStart":654,"responseEnd":1444.5,"responseStart":1444.5,"secureConnectionStart":654},{"duration":983.3999996185303,"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":662.8000001907349,"connectEnd":662.8000001907349,"connectStart":662.8000001907349,"domainLookupEnd":662.8000001907349,"domainLookupStart":662.8000001907349,"fetchStart":662.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":662.8000001907349,"responseEnd":1646.1999998092651,"responseStart":1646.1999998092651,"secureConnectionStart":662.8000001907349},{"duration":1506.4000005722046,"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":662.8999996185303,"connectEnd":662.8999996185303,"connectStart":662.8999996185303,"domainLookupEnd":662.8999996185303,"domainLookupStart":662.8999996185303,"fetchStart":662.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":662.8999996185303,"responseEnd":2169.300000190735,"responseStart":2169.300000190735,"secureConnectionStart":662.8999996185303},{"duration":169.19999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1478.1999998092651,"connectEnd":1478.1999998092651,"connectStart":1478.1999998092651,"domainLookupEnd":1478.1999998092651,"domainLookupStart":1478.1999998092651,"fetchStart":1478.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1478.1999998092651,"responseEnd":1647.3999996185303,"responseStart":1647.3999996185303,"secureConnectionStart":1478.1999998092651},{"duration":407.80000019073486,"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":1762.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1762.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2170.300000190735,"responseStart":0,"secureConnectionStart":0},{"duration":409.5,"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":1763,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1763,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2172.5,"responseStart":0,"secureConnectionStart":0},{"duration":406.69999980926514,"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":1764,"connectEnd":1764,"connectStart":1764,"domainLookupEnd":1764,"domainLookupStart":1764,"fetchStart":1764,"redirectEnd":0,"redirectStart":0,"requestStart":1764,"responseEnd":2170.699999809265,"responseStart":2170.699999809265,"secureConnectionStart":1764},{"duration":408.80000019073486,"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":1764.3999996185303,"connectEnd":1764.3999996185303,"connectStart":1764.3999996185303,"domainLookupEnd":1764.3999996185303,"domainLookupStart":1764.3999996185303,"fetchStart":1764.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1764.3999996185303,"responseEnd":2173.199999809265,"responseStart":2173.199999809265,"secureConnectionStart":1764.3999996185303},{"duration":409.8999996185303,"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":1764.8000001907349,"connectEnd":1764.8000001907349,"connectStart":1764.8000001907349,"domainLookupEnd":1764.8000001907349,"domainLookupStart":1764.8000001907349,"fetchStart":1764.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1764.8000001907349,"responseEnd":2174.699999809265,"responseStart":2174.699999809265,"secureConnectionStart":1764.8000001907349},{"duration":471.19999980926514,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1820.6000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1820.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2291.800000190735,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":461,"responseStart":638,"responseEnd":640,"domLoading":644,"domInteractive":2294,"domContentLoadedEventStart":2294,"domContentLoadedEventEnd":2416,"domComplete":2723,"loadEventStart":2723,"loadEventEnd":2723,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2176.8999996185303},{"name":"bigPipe.sidebar-id.end","time":2178.1000003814697},{"name":"bigPipe.activity-panel-pipe-id.start","time":2178.300000190735},{"name":"bigPipe.activity-panel-pipe-id.end","time":2179.300000190735},{"name":"activityTabFullyLoaded","time":2499.699999809265}],"measures":[],"correlationId":"c517140875d6fc","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":100,"dbReadsTimeInMs":19,"dbConnsTimeInMs":28,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}