CREATE TABLE t1(a INT);
CREATE TABLE m1(a INT) ENGINE = MERGE UNION (q1, q2);
CREATE TRIGGER trg1 BEFORE DELETE ON t1
FOR EACH ROW
INSERT INTO m1 VALUES (1);
--error ER_WRONG_MRG_TABLE
DELETE FROM t1;
Found while merging MDEV-4879 - Merge test cases for new CREATE TEMPORARY TABLE privilege model. When this bug is fixed, uncomment appropriate lines in merge.test.
The most likely reason is that revision dmitry.lenev@oracle.com-20110722123110-g3bzpbh90dje1ryk wasn't properly merged. This revision is targeted for mysql-5.5, mysql-5.6 has different fix.
- relates to
-
MDEV-4879
Merge test cases for new CREATE TEMPORARY TABLE privilege model
-
-
Closed
{"report":{"fcp":882.2999997138977,"ttfb":160,"pageVisibility":"visible","entityId":25731,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"7ec79f01-2152-4153-b052-c23f51810d22","navigationType":0,"readyForUser":945.6999998092651,"redirectCount":0,"resourceLoadedEnd":1484.3999996185303,"resourceLoadedStart":167.89999961853027,"resourceTiming":[{"duration":208.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":167.89999961853027,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":167.89999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":376.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":208.40000009536743,"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":168.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":168.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":376.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":249.7000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":168.2999997138977,"connectEnd":168.2999997138977,"connectStart":168.2999997138977,"domainLookupEnd":168.2999997138977,"domainLookupStart":168.2999997138977,"fetchStart":168.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":168.2999997138977,"responseEnd":418,"responseStart":418,"secureConnectionStart":168.2999997138977},{"duration":334,"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":168.5,"connectEnd":168.5,"connectStart":168.5,"domainLookupEnd":168.5,"domainLookupStart":168.5,"fetchStart":168.5,"redirectEnd":0,"redirectStart":0,"requestStart":168.5,"responseEnd":502.5,"responseStart":502.5,"secureConnectionStart":168.5},{"duration":337.90000009536743,"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":168.7999997138977,"connectEnd":168.7999997138977,"connectStart":168.7999997138977,"domainLookupEnd":168.7999997138977,"domainLookupStart":168.7999997138977,"fetchStart":168.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":168.7999997138977,"responseEnd":506.69999980926514,"responseStart":506.69999980926514,"secureConnectionStart":168.7999997138977},{"duration":338.2999997138977,"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":169,"connectEnd":169,"connectStart":169,"domainLookupEnd":169,"domainLookupStart":169,"fetchStart":169,"redirectEnd":0,"redirectStart":0,"requestStart":169,"responseEnd":507.2999997138977,"responseStart":507.2999997138977,"secureConnectionStart":169},{"duration":338.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":169.09999990463257,"connectEnd":169.09999990463257,"connectStart":169.09999990463257,"domainLookupEnd":169.09999990463257,"domainLookupStart":169.09999990463257,"fetchStart":169.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":169.09999990463257,"responseEnd":507.7999997138977,"responseStart":507.7999997138977,"secureConnectionStart":169.09999990463257},{"duration":394.59999990463257,"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":169.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":169.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":563.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":338.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":169.5,"connectEnd":169.5,"connectStart":169.5,"domainLookupEnd":169.5,"domainLookupStart":169.5,"fetchStart":169.5,"redirectEnd":0,"redirectStart":0,"requestStart":169.5,"responseEnd":508.3999996185303,"responseStart":508.3999996185303,"secureConnectionStart":169.5},{"duration":394.40000009536743,"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":169.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":169.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":564,"responseStart":0,"secureConnectionStart":0},{"duration":340.59999990463257,"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":169.7999997138977,"connectEnd":169.7999997138977,"connectStart":169.7999997138977,"domainLookupEnd":169.7999997138977,"domainLookupStart":169.7999997138977,"fetchStart":169.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":169.7999997138977,"responseEnd":510.3999996185303,"responseStart":510.3999996185303,"secureConnectionStart":169.7999997138977},{"duration":773.5,"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":170.69999980926514,"connectEnd":170.69999980926514,"connectStart":170.69999980926514,"domainLookupEnd":170.69999980926514,"domainLookupStart":170.69999980926514,"fetchStart":170.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":170.69999980926514,"responseEnd":944.1999998092651,"responseStart":944.1999998092651,"secureConnectionStart":170.69999980926514},{"duration":1313.5999999046326,"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":170.7999997138977,"connectEnd":170.7999997138977,"connectStart":170.7999997138977,"domainLookupEnd":170.7999997138977,"domainLookupStart":170.7999997138977,"fetchStart":170.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":170.7999997138977,"responseEnd":1484.3999996185303,"responseStart":1484.3999996185303,"secureConnectionStart":170.7999997138977},{"duration":370,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":576.1999998092651,"connectEnd":576.1999998092651,"connectStart":576.1999998092651,"domainLookupEnd":576.1999998092651,"domainLookupStart":576.1999998092651,"fetchStart":576.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":576.1999998092651,"responseEnd":946.1999998092651,"responseStart":946.1999998092651,"secureConnectionStart":576.1999998092651},{"duration":672.1999998092651,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":873.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":873.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1545.6999998092651,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":18,"responseStart":160,"responseEnd":162,"domLoading":164,"domInteractive":1505,"domContentLoadedEventStart":1505,"domContentLoadedEventEnd":1546,"domComplete":2138,"loadEventStart":2138,"loadEventEnd":2139,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1489.5999999046326},{"name":"bigPipe.sidebar-id.end","time":1490.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1490.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":1491.3999996185303},{"name":"activityTabFullyLoaded","time":1574.6999998092651}],"measures":[],"correlationId":"61f7d4999d18d","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":91,"dbReadsTimeInMs":11,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Fixed in 10.0.5, revision-id: svoj@mariadb.org-20131014083631-lp0xil6k01t59s6q