-
Bug
-
-
Minor
-
Resolution:
Fixed
-
10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL)
-
-
-
--source include/have_partition.inc
|
|
CREATE TABLE t1 (a INT) PARTITION BY HASH(a);
|
CREATE TABLE t2 (a INT);
|
CREATE VIEW v AS SELECT * FROM t1;
|
ALTER TABLE v EXCHANGE PARTITION p0 WITH TABLE t2;
|
|
# Cleanup
|
DROP VIEW v;
|
DROP TABLE t1, t2;
|
10.3 3e564d46
|
mysqltest: At line 6: query 'ALTER TABLE v EXCHANGE PARTITION p0 WITH TABLE t2' failed: 1177: Can't open table
|
An error is of course expected, but in other similar situations it would be
mysqltest: At line 6: query 'ALTER TABLE v PARTITION BY HASH(a)' failed: 1347: 'test.v' is not of type 'BASE TABLE'
|
ER_CHECK_NO_SUCH_TABLE "Can't open table" is misleading as it hints at table corruption.
Also reproducible on MySQL 5.7, 8.0.
{"report":{"fcp":948.8000001907349,"ttfb":351.5,"pageVisibility":"visible","entityId":111070,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"07c66657-6398-4395-b812-f5155cfb333d","navigationType":0,"readyForUser":1014.2000002861023,"redirectCount":0,"resourceLoadedEnd":768.0999999046326,"resourceLoadedStart":356.80000019073486,"resourceTiming":[{"duration":82.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bsh/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":356.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":356.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":439,"responseStart":0,"secureConnectionStart":0},{"duration":82.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bsh/820016/12ta74/eb142f92e4bd16bd1ef8b08c1b9d5d56/_/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":357.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":357.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":439.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":149.2999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/c54b129276d75dc2a3460e1d78f37913-CDN/lu2bsh/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":357.2000002861023,"connectEnd":357.2000002861023,"connectStart":357.2000002861023,"domainLookupEnd":357.2000002861023,"domainLookupStart":357.2000002861023,"fetchStart":357.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":442.90000009536743,"responseEnd":506.5,"responseStart":472.80000019073486,"secureConnectionStart":357.2000002861023},{"duration":166.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/f867843cd2fdb209d4d1d4f760f86346-CDN/lu2bsh/820016/12ta74/eb142f92e4bd16bd1ef8b08c1b9d5d56/_/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":357.30000019073486,"connectEnd":357.30000019073486,"connectStart":357.30000019073486,"domainLookupEnd":357.30000019073486,"domainLookupStart":357.30000019073486,"fetchStart":357.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":443.5,"responseEnd":523.4000000953674,"responseStart":472.2000002861023,"secureConnectionStart":357.30000019073486},{"duration":117.2000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/ffdb17665775c5b4d6f097f3974ee359-CDN/lu2bsh/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":357.5,"connectEnd":357.5,"connectStart":357.5,"domainLookupEnd":357.5,"domainLookupStart":357.5,"fetchStart":357.5,"redirectEnd":0,"redirectStart":0,"requestStart":443.80000019073486,"responseEnd":474.7000002861023,"responseStart":474,"secureConnectionStart":357.5},{"duration":117.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":357.59999990463257,"connectEnd":357.59999990463257,"connectStart":357.59999990463257,"domainLookupEnd":357.59999990463257,"domainLookupStart":357.59999990463257,"fetchStart":357.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":446.59999990463257,"responseEnd":475.40000009536743,"responseStart":474.7000002861023,"secureConnectionStart":357.59999990463257},{"duration":118.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":357.59999990463257,"connectEnd":357.59999990463257,"connectStart":357.59999990463257,"domainLookupEnd":357.59999990463257,"domainLookupStart":357.59999990463257,"fetchStart":357.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":444.90000009536743,"responseEnd":475.90000009536743,"responseStart":475.40000009536743,"secureConnectionStart":357.59999990463257},{"duration":87.2999997138977,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bsh/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":357.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":357.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":445.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":88.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bsh/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":358,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":358,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":446.80000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":162.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":358,"connectEnd":358,"connectStart":358,"domainLookupEnd":358,"domainLookupStart":358,"fetchStart":358,"redirectEnd":0,"redirectStart":0,"requestStart":448.59999990463257,"responseEnd":520.5,"responseStart":519.7000002861023,"secureConnectionStart":358},{"duration":120.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/81b5d7c27af3ebc078cc4a36383678ba-CDN/lu2bsh/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":358.2000002861023,"connectEnd":358.2000002861023,"connectStart":358.2000002861023,"domainLookupEnd":358.2000002861023,"domainLookupStart":358.2000002861023,"fetchStart":358.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":450,"responseEnd":478.80000019073486,"responseStart":476,"secureConnectionStart":358.2000002861023},{"duration":399.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":368.7000002861023,"connectEnd":368.7000002861023,"connectStart":368.7000002861023,"domainLookupEnd":368.7000002861023,"domainLookupStart":368.7000002861023,"fetchStart":368.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":591.9000000953674,"responseEnd":768.0999999046326,"responseStart":760.7000002861023,"secureConnectionStart":368.7000002861023},{"duration":398,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":369.80000019073486,"connectEnd":369.80000019073486,"connectStart":369.80000019073486,"domainLookupEnd":369.80000019073486,"domainLookupStart":369.80000019073486,"fetchStart":369.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":719.5999999046326,"responseEnd":767.8000001907349,"responseStart":759.9000000953674,"secureConnectionStart":369.80000019073486},{"duration":207.69999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":701.7000002861023,"connectEnd":701.7000002861023,"connectStart":701.7000002861023,"domainLookupEnd":701.7000002861023,"domainLookupStart":701.7000002861023,"fetchStart":701.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":875.3000001907349,"responseEnd":909.4000000953674,"responseStart":908.5,"secureConnectionStart":701.7000002861023}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":214,"responseStart":351,"responseEnd":369,"domLoading":355,"domInteractive":1065,"domContentLoadedEventStart":1066,"domContentLoadedEventEnd":1106,"domComplete":1988,"loadEventStart":1988,"loadEventEnd":1989,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1047.4000000953674},{"name":"bigPipe.sidebar-id.end","time":1048.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1048.2000002861023},{"name":"bigPipe.activity-panel-pipe-id.end","time":1049.2000002861023},{"name":"activityTabFullyLoaded","time":1119.0999999046326}],"measures":[],"correlationId":"d95cd6fee24c88","effectiveType":"4g","downlink":9,"rtt":0,"serverDuration":75,"dbReadsTimeInMs":14,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}