In MariaDB 11.2.2, SHOW TABLES LIKE '...' can show temporary tables with names that do not match the pattern. (I haven't fully figured out yet whether it always shows all temporary tables regardless of name and pattern, or whether they are sometimes not shown after all. But it seems to show them a lot of the time.)
To reproduce on a fresh install:
CREATE DATABASE db; USE db;
|
CREATE TABLE realtable (a INT); CREATE TEMPORARY TABLE temptable (a INT);
|
SHOW TABLES LIKE 'faketable';
|
Expected result: 0 rows; actual result: 1 row, "temptable".
Can be tested using the official Docker images; an interactive shell can be obtained with commands like the following:
docker run --rm --env MARIADB_ROOT_PASSWORD=root --name=T352695 mariadb:11.2.2
|
docker exec -it T352695 mariadb -uroot -proot
|
For the record, we're tracking this at Wikimedia as T352695, though I don't think there's any information useful for MariaDB devs over there.
MDEV-28334 is the closest-feeling existing issue I'm aware of (but probably not the same).
{"report":{"fcp":780.1000001430511,"ttfb":195.10000014305115,"pageVisibility":"visible","entityId":126842,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"e5b40ece-fe2e-47ba-b2d4-148712fe1dc7","navigationType":0,"readyForUser":893.6000001430511,"redirectCount":0,"resourceLoadedEnd":507.60000014305115,"resourceLoadedStart":202.90000009536743,"resourceTiming":[{"duration":11.599999904632568,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":202.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":202.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":214.5,"responseStart":0,"secureConnectionStart":0},{"duration":19,"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":203.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":203.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":222.20000004768372,"responseStart":0,"secureConnectionStart":0},{"duration":191.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":203.40000009536743,"connectEnd":203.40000009536743,"connectStart":203.40000009536743,"domainLookupEnd":203.40000009536743,"domainLookupStart":203.40000009536743,"fetchStart":203.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":236.79999995231628,"responseEnd":395.2000000476837,"responseStart":255.29999995231628,"secureConnectionStart":203.40000009536743},{"duration":304.2000000476837,"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":203.40000009536743,"connectEnd":203.40000009536743,"connectStart":203.40000009536743,"domainLookupEnd":203.40000009536743,"domainLookupStart":203.40000009536743,"fetchStart":203.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":237.90000009536743,"responseEnd":507.60000014305115,"responseStart":264.2000000476837,"secureConnectionStart":203.40000009536743},{"duration":70.29999995231628,"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":203.5,"connectEnd":203.5,"connectStart":203.5,"domainLookupEnd":203.5,"domainLookupStart":203.5,"fetchStart":203.5,"redirectEnd":0,"redirectStart":0,"requestStart":238.20000004768372,"responseEnd":273.7999999523163,"responseStart":271.90000009536743,"secureConnectionStart":203.5},{"duration":70,"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":203.60000014305115,"connectEnd":203.60000014305115,"connectStart":203.60000014305115,"domainLookupEnd":203.60000014305115,"domainLookupStart":203.60000014305115,"fetchStart":203.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":239.90000009536743,"responseEnd":273.60000014305115,"responseStart":271.2000000476837,"secureConnectionStart":203.60000014305115},{"duration":65.59999990463257,"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":203.70000004768372,"connectEnd":203.70000004768372,"connectStart":203.70000004768372,"domainLookupEnd":203.70000004768372,"domainLookupStart":203.70000004768372,"fetchStart":203.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":240.70000004768372,"responseEnd":269.2999999523163,"responseStart":265.7000000476837,"secureConnectionStart":203.70000004768372},{"duration":35.60000014305115,"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":203.79999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":203.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":239.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":66.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":203.90000009536743,"connectEnd":203.90000009536743,"connectStart":203.90000009536743,"domainLookupEnd":203.90000009536743,"domainLookupStart":203.90000009536743,"fetchStart":203.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":242.5,"responseEnd":270.10000014305115,"responseStart":267.7999999523163,"secureConnectionStart":203.90000009536743},{"duration":36.200000047683716,"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":204,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":204,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":240.20000004768372,"responseStart":0,"secureConnectionStart":0},{"duration":65.5,"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":204.10000014305115,"connectEnd":204.10000014305115,"connectStart":204.10000014305115,"domainLookupEnd":204.10000014305115,"domainLookupStart":204.10000014305115,"fetchStart":204.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":242.79999995231628,"responseEnd":269.60000014305115,"responseStart":266.7999999523163,"secureConnectionStart":204.10000014305115},{"duration":258.2999999523163,"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":207.20000004768372,"connectEnd":207.20000004768372,"connectStart":207.20000004768372,"domainLookupEnd":207.20000004768372,"domainLookupStart":207.20000004768372,"fetchStart":207.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":274.10000014305115,"responseEnd":465.5,"responseStart":459.7000000476837,"secureConnectionStart":207.20000004768372},{"duration":255.20000004768372,"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":212.20000004768372,"connectEnd":212.20000004768372,"connectStart":212.20000004768372,"domainLookupEnd":212.20000004768372,"domainLookupStart":212.20000004768372,"fetchStart":212.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":291.2000000476837,"responseEnd":467.40000009536743,"responseStart":462.7999999523163,"secureConnectionStart":212.20000004768372},{"duration":132,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":542.5,"connectEnd":542.5,"connectStart":542.5,"domainLookupEnd":542.5,"domainLookupStart":542.5,"fetchStart":542.5,"redirectEnd":0,"redirectStart":0,"requestStart":644,"responseEnd":674.5,"responseStart":673.7999999523163,"secureConnectionStart":542.5},{"duration":141.5,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":774,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":774,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":915.5,"responseStart":0,"secureConnectionStart":0},{"duration":164.70000004768372,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":780.4000000953674,"connectEnd":780.4000000953674,"connectStart":780.4000000953674,"domainLookupEnd":780.4000000953674,"domainLookupStart":780.4000000953674,"fetchStart":780.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":916.5,"responseEnd":945.1000001430511,"responseStart":944.5,"secureConnectionStart":780.4000000953674}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":43,"responseStart":195,"responseEnd":212,"domLoading":199,"domInteractive":958,"domContentLoadedEventStart":959,"domContentLoadedEventEnd":1004,"domComplete":1278,"loadEventStart":1278,"loadEventEnd":1278,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":929.5},{"name":"bigPipe.sidebar-id.end","time":930.1000001430511},{"name":"bigPipe.activity-panel-pipe-id.start","time":930.2999999523163},{"name":"bigPipe.activity-panel-pipe-id.end","time":932.5},{"name":"activityTabFullyLoaded","time":1024.4000000953674}],"measures":[],"correlationId":"4f50af86c61ddc","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":85,"dbReadsTimeInMs":11,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
(I left the priority at the default value – no idea if this should actually be Major or not. Component/s is just a best guess too.)