-
Bug
-
-
Minor
-
Resolution:
Fixed
-
None
-
None
-
None
-
Not repeatable in maria-5.3. Happens regardless of in_to_exists or materialization switch.
backtrace:
#5 0x08338787 in select_describe (join=0xae63add0, need_tmp_table=true, need_order=false, distinct=false, message=0x0) at sql_select.cc:19432
#6 0x0830f836 in JOIN::exec (this=0xae63add0) at sql_select.cc:2049
#7 0x08311b44 in mysql_select (thd=0x9c59da0, rref_pointer_array=0xae613c84, tables=0xae614098, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0,
group=0x0, having=0x0, proc_param=0x0, select_options=2147764741, result=0xae614618, unit=0xae613d20, select_lex=0xae613b80) at sql_select.cc:2749
#8 0x0833a64f in mysql_explain_union (thd=0x9c59da0, unit=0xae613d20, result=0xae614618) at sql_select.cc:19926
#9 0x0833a352 in select_describe (join=0xae635b48, need_tmp_table=false, need_order=false, distinct=false, message=0x0) at sql_select.cc:19886
#10 0x0830f836 in JOIN::exec (this=0xae635b48) at sql_select.cc:2049
#11 0x08311b44 in mysql_select (thd=0x9c59da0, rref_pointer_array=0xae613474, tables=0xae613970, wild_num=0, fields=..., conds=0xae6142a8, og_num=0,
order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147764740, result=0xae614618, unit=0xae613510, select_lex=0xae613370)
at sql_select.cc:2749
#12 0x0833a64f in mysql_explain_union (thd=0x9c59da0, unit=0xae613510, result=0xae614618) at sql_select.cc:19926
#13 0x0833a352 in select_describe (join=0xae62d888, need_tmp_table=false, need_order=false, distinct=false,
message=0x88c3560 "Impossible WHERE noticed after reading const tables") at sql_select.cc:19886
#14 0x083214a7 in return_zero_rows (join=0xae62d888, result=0xae614618, tables=0xae6130b0, fields=..., send_row=false, select_options=2147764740,
info=0x88c3560 "Impossible WHERE noticed after reading const tables", having=0x0) at sql_select.cc:9130
#15 0x0830f45a in JOIN::exec (this=0xae62d888) at sql_select.cc:1990
#16 0x08311b44 in mysql_select (thd=0x9c59da0, rref_pointer_array=0x9c5b840, tables=0xae6130b0, wild_num=1, fields=..., conds=0xae614498, og_num=0,
order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147764740, result=0xae614618, unit=0x9c5b4a0, select_lex=0x9c5b73c)
at sql_select.cc:2749
#17 0x0833a64f in mysql_explain_union (thd=0x9c59da0, unit=0x9c5b4a0, result=0xae614618) at sql_select.cc:19926
#18 0x082a70f6 in execute_sqlcom_select (thd=0x9c59da0, all_tables=0xae6130b0) at sql_parse.cc:5073
#19 0x0829e0be in mysql_execute_command (thd=0x9c59da0) at sql_parse.cc:2239
#20 0x082a9817 in mysql_parse (thd=0x9c59da0,
rawbuf=0xae612eb0 "EXPLAIN SELECT * FROM t2\nWHERE t2.f1 = (\nSELECT MAX( f3 ) FROM t3\nWHERE EXISTS (\nSELECT DISTINCT f11\nFROM t1\n)\n)", length=112,
found_semicolon=0xae9e1228) at sql_parse.cc:6094
#21 0x0829bd47 in dispatch_command (command=COM_QUERY, thd=0x9c59da0, packet=0x9cb49b1 "", packet_length=112) at sql_parse.cc:1215
#22 0x0829b1a5 in do_command (thd=0x9c59da0) at sql_parse.cc:904
#23 0x08298258 in handle_one_connection (arg=0x9c59da0) at sql_connect.cc:1154
#24 0x00821919 in start_thread () from /lib/libpthread.so.0
#25 0x0076acce in clone () from /lib/libc.so.6
test case:
CREATE TABLE t1 ( f11 int) ;
INSERT INTO t1 VALUES (1),(1);
CREATE TABLE t2 ( f1 int NOT NULL) ;
INSERT INTO t2 VALUES (20);
CREATE TABLE t3 (f3 int) ;
INSERT INTO t3 VALUES (2),(2);
EXPLAIN SELECT * FROM t2
WHERE t2.f1 = (
SELECT MAX( f3 ) FROM t3
WHERE EXISTS (
SELECT DISTINCT f11
FROM t1
)
);
bzr version-info:
revision-id: <email address hidden>
date: 2011-05-05 15:24:28 +0300
build-date: 2011-05-06 13:14:23 +0300
revno: 2982
branch-nick: maria-5.3-mwl89
{"report":{"fcp":773.5,"ttfb":162.29999995231628,"pageVisibility":"visible","entityId":20720,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"9f8b7ede-da20-4a6b-84d2-00cc36d67bd3","navigationType":0,"readyForUser":822.5,"redirectCount":0,"resourceLoadedEnd":728.7999999523163,"resourceLoadedStart":167.29999995231628,"resourceTiming":[{"duration":141.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":308.5,"responseStart":0,"secureConnectionStart":0},{"duration":140.89999985694885,"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.60000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":167.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":308.5,"responseStart":0,"secureConnectionStart":0},{"duration":149.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":167.70000004768372,"connectEnd":167.70000004768372,"connectStart":167.70000004768372,"domainLookupEnd":167.70000004768372,"domainLookupStart":167.70000004768372,"fetchStart":167.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":167.70000004768372,"responseEnd":317.5,"responseStart":317.5,"secureConnectionStart":167.70000004768372},{"duration":220.09999990463257,"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.70000004768372,"connectEnd":167.70000004768372,"connectStart":167.70000004768372,"domainLookupEnd":167.70000004768372,"domainLookupStart":167.70000004768372,"fetchStart":167.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":167.70000004768372,"responseEnd":387.7999999523163,"responseStart":387.7999999523163,"secureConnectionStart":167.70000004768372},{"duration":223.79999995231628,"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.90000009536743,"connectEnd":167.90000009536743,"connectStart":167.90000009536743,"domainLookupEnd":167.90000009536743,"domainLookupStart":167.90000009536743,"fetchStart":167.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":167.90000009536743,"responseEnd":391.7000000476837,"responseStart":391.60000014305115,"secureConnectionStart":167.90000009536743},{"duration":224.29999995231628,"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.90000009536743,"connectEnd":167.90000009536743,"connectStart":167.90000009536743,"domainLookupEnd":167.90000009536743,"domainLookupStart":167.90000009536743,"fetchStart":167.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":167.90000009536743,"responseEnd":392.2000000476837,"responseStart":392.2000000476837,"secureConnectionStart":167.90000009536743},{"duration":224.39999985694885,"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":168.10000014305115,"connectEnd":168.10000014305115,"connectStart":168.10000014305115,"domainLookupEnd":168.10000014305115,"domainLookupStart":168.10000014305115,"fetchStart":168.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":168.10000014305115,"responseEnd":392.5,"responseStart":392.5,"secureConnectionStart":168.10000014305115},{"duration":224.79999995231628,"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.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":168.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":393,"responseStart":0,"secureConnectionStart":0},{"duration":224.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":168.29999995231628,"connectEnd":168.29999995231628,"connectStart":168.29999995231628,"domainLookupEnd":168.29999995231628,"domainLookupStart":168.29999995231628,"fetchStart":168.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":168.29999995231628,"responseEnd":392.90000009536743,"responseStart":392.90000009536743,"secureConnectionStart":168.29999995231628},{"duration":224.89999985694885,"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.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":168.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":393.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":225,"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.5,"connectEnd":168.5,"connectStart":168.5,"domainLookupEnd":168.5,"domainLookupStart":168.5,"fetchStart":168.5,"redirectEnd":0,"redirectStart":0,"requestStart":168.5,"responseEnd":393.5,"responseStart":393.5,"secureConnectionStart":168.5},{"duration":559.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":169.10000014305115,"connectEnd":169.10000014305115,"connectStart":169.10000014305115,"domainLookupEnd":169.10000014305115,"domainLookupStart":169.10000014305115,"fetchStart":169.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":169.10000014305115,"responseEnd":728.4000000953674,"responseStart":728.2999999523163,"secureConnectionStart":169.10000014305115},{"duration":559.5999999046326,"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.20000004768372,"connectEnd":169.20000004768372,"connectStart":169.20000004768372,"domainLookupEnd":169.20000004768372,"domainLookupStart":169.20000004768372,"fetchStart":169.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":169.20000004768372,"responseEnd":728.7999999523163,"responseStart":728.7999999523163,"secureConnectionStart":169.20000004768372},{"duration":132.29999995231628,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":530.4000000953674,"connectEnd":530.4000000953674,"connectStart":530.4000000953674,"domainLookupEnd":530.4000000953674,"domainLookupStart":530.4000000953674,"fetchStart":530.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":530.4000000953674,"responseEnd":662.7000000476837,"responseStart":662.7000000476837,"secureConnectionStart":530.4000000953674},{"duration":175.89999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/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","startTime":721.6000001430511,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":721.6000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":897.5,"responseStart":0,"secureConnectionStart":0},{"duration":175.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/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","startTime":722.4000000953674,"connectEnd":722.4000000953674,"connectStart":722.4000000953674,"domainLookupEnd":722.4000000953674,"domainLookupStart":722.4000000953674,"fetchStart":722.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":722.4000000953674,"responseEnd":898,"responseStart":898,"secureConnectionStart":722.4000000953674},{"duration":181.10000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/f51ef5507eea4c158f257c66c93b2a3f-CDN/lu2bu7/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","startTime":722.7999999523163,"connectEnd":722.7999999523163,"connectStart":722.7999999523163,"domainLookupEnd":722.7999999523163,"domainLookupStart":722.7999999523163,"fetchStart":722.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":722.7999999523163,"responseEnd":903.9000000953674,"responseStart":903.9000000953674,"secureConnectionStart":722.7999999523163},{"duration":153,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":751.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":751.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":904.7999999523163,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":9,"responseStart":162,"responseEnd":164,"domLoading":165,"domInteractive":876,"domContentLoadedEventStart":876,"domContentLoadedEventEnd":907,"domComplete":1826,"loadEventStart":1826,"loadEventEnd":1828,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":859.6000001430511},{"name":"bigPipe.sidebar-id.end","time":860.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":860.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.end","time":863},{"name":"activityTabFullyLoaded","time":916.9000000953674}],"measures":[],"correlationId":"c06408c2cc042d","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":94,"dbReadsTimeInMs":13,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}