MDEV-5721 is not fixed properly. This test case still fails:
CREATE TABLE t1 (i INT, state VARCHAR(995)) ENGINE=MyISAM;
|
INSERT INTO t1 VALUES (2,'Louisiana'),(9,'Maine');
|
|
CREATE TABLE t2 (state VARCHAR(995), j INT) ENGINE=MyISAM;
|
INSERT INTO t2 VALUES ('Louisiana',9),('Alaska',5);
|
INSERT INTO t2 SELECT t2.* FROM t2 JOIN t2 AS t3 JOIN t2 AS t4 JOIN t2 AS t5;
|
|
SET @@max_heap_table_size= 16384;
|
set @@optimizer_switch='derived_merge=OFF';
|
|
SELECT * FROM t1 AS t1_1 LEFT JOIN ( t1 AS t1_2 INNER JOIN (SELECT * FROM t2) v2 ON t1_2.i = j ) ON t1_1.state = v2.state;
|
|
DROP TABLE t1, t2;
|
Due to differences in:
1. key length computation: key_length() in check_tmp_key vs pack_length() in create_internal_tmp_table
2. key length comparing:
"key_len <= MI_MAX_KEY_LENGTH" in check_tmp_table
vs
"keyinfo->key_length >= table->file->max_key_length()" in create_internal_tmp_table
{"report":{"fcp":897.6999999284744,"ttfb":133.89999997615814,"pageVisibility":"visible","entityId":45700,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"b2af002e-3496-46b1-ad0b-da9355c3e26e","navigationType":0,"readyForUser":952.5999999046326,"redirectCount":0,"resourceLoadedEnd":1283.5,"resourceLoadedStart":167.29999995231628,"resourceTiming":[{"duration":133.20000004768372,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":167.29999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":167.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":300.5,"responseStart":0,"secureConnectionStart":0},{"duration":301.6999999284744,"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":167.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":167.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":469.1999999284744,"responseStart":0,"secureConnectionStart":0},{"duration":310.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":167.59999990463257,"connectEnd":167.59999990463257,"connectStart":167.59999990463257,"domainLookupEnd":167.59999990463257,"domainLookupStart":167.59999990463257,"fetchStart":167.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":167.59999990463257,"responseEnd":478.09999990463257,"responseStart":478,"secureConnectionStart":167.59999990463257},{"duration":338.60000002384186,"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":167.69999992847443,"connectEnd":167.69999992847443,"connectStart":167.69999992847443,"domainLookupEnd":167.69999992847443,"domainLookupStart":167.69999992847443,"fetchStart":167.69999992847443,"redirectEnd":0,"redirectStart":0,"requestStart":167.69999992847443,"responseEnd":506.2999999523163,"responseStart":506.2999999523163,"secureConnectionStart":167.69999992847443},{"duration":334.8000000715256,"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":167.69999992847443,"connectEnd":167.69999992847443,"connectStart":167.69999992847443,"domainLookupEnd":167.69999992847443,"domainLookupStart":167.69999992847443,"fetchStart":167.69999992847443,"redirectEnd":0,"redirectStart":0,"requestStart":167.69999992847443,"responseEnd":502.5,"responseStart":502.5,"secureConnectionStart":167.69999992847443},{"duration":339.10000002384186,"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":167.79999995231628,"connectEnd":167.79999995231628,"connectStart":167.79999995231628,"domainLookupEnd":167.79999995231628,"domainLookupStart":167.79999995231628,"fetchStart":167.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":167.79999995231628,"responseEnd":506.89999997615814,"responseStart":506.89999997615814,"secureConnectionStart":167.79999995231628},{"duration":339.2999999523163,"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":167.89999997615814,"connectEnd":167.89999997615814,"connectStart":167.89999997615814,"domainLookupEnd":167.89999997615814,"domainLookupStart":167.89999997615814,"fetchStart":167.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":167.89999997615814,"responseEnd":507.1999999284744,"responseStart":507.1999999284744,"secureConnectionStart":167.89999997615814},{"duration":339.89999997615814,"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":168,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":168,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":507.89999997615814,"responseStart":0,"secureConnectionStart":0},{"duration":339.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":168.19999992847443,"connectEnd":168.19999992847443,"connectStart":168.19999992847443,"domainLookupEnd":168.19999992847443,"domainLookupStart":168.19999992847443,"fetchStart":168.19999992847443,"redirectEnd":0,"redirectStart":0,"requestStart":168.19999992847443,"responseEnd":507.6999999284744,"responseStart":507.6999999284744,"secureConnectionStart":168.19999992847443},{"duration":339.6999999284744,"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":168.39999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":168.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":508.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":339.7999999523163,"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":168.39999997615814,"connectEnd":168.39999997615814,"connectStart":168.39999997615814,"domainLookupEnd":168.39999997615814,"domainLookupStart":168.39999997615814,"fetchStart":168.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":168.39999997615814,"responseEnd":508.1999999284744,"responseStart":508.1999999284744,"secureConnectionStart":168.39999997615814},{"duration":667.9000000953674,"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":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":837,"responseStart":837,"secureConnectionStart":169.09999990463257},{"duration":1114.3000000715256,"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":169.19999992847443,"connectEnd":169.19999992847443,"connectStart":169.19999992847443,"domainLookupEnd":169.19999992847443,"domainLookupStart":169.19999992847443,"fetchStart":169.19999992847443,"redirectEnd":0,"redirectStart":0,"requestStart":169.19999992847443,"responseEnd":1283.5,"responseStart":1283.5,"secureConnectionStart":169.19999992847443},{"duration":462.6999999284744,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":707.3999999761581,"connectEnd":707.3999999761581,"connectStart":707.3999999761581,"domainLookupEnd":707.3999999761581,"domainLookupStart":707.3999999761581,"fetchStart":707.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":707.3999999761581,"responseEnd":1170.0999999046326,"responseStart":1170,"secureConnectionStart":707.3999999761581}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":15,"responseStart":134,"responseEnd":137,"domLoading":165,"domInteractive":1298,"domContentLoadedEventStart":1298,"domContentLoadedEventEnd":1330,"domComplete":1901,"loadEventStart":1901,"loadEventEnd":1902,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1287.1999999284744},{"name":"bigPipe.sidebar-id.end","time":1288},{"name":"bigPipe.activity-panel-pipe-id.start","time":1288.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":1290.2999999523163},{"name":"activityTabFullyLoaded","time":1338.2999999523163}],"measures":[],"correlationId":"14faf6a3ddd96b","effectiveType":"4g","downlink":9.9,"rtt":0,"serverDuration":68,"dbReadsTimeInMs":12,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}