#7 0x00007f7afcfc1192 in __GI___assert_fail (assertion=0xd8dc28 "join->best_read < double(1.79769313486231570815e+308L)", file=0xd8d2e0 "/data/bzr/maria-10.0-mwl253/sql/sql_select.cc", line=6673, function=0xd904e0 "bool greedy_search(JOIN*, table_map, uint, uint, uint)") at assert.c:103
#8 0x00000000006577c2 in greedy_search (join=0x2c639e0, remaining_tables=7, search_depth=62, prune_level=1, use_cond_selectivity=3) at /data/bzr/maria-10.0-mwl253/sql/sql_select.cc:6673
#9 0x0000000000656d63 in choose_plan (join=0x2c639e0, join_tables=7) at /data/bzr/maria-10.0-mwl253/sql/sql_select.cc:6242
#10 0x0000000000650c6d in make_join_statistics (join=0x2c639e0, tables_list=..., conds=0x2c4f360, keyuse_array=0x2c63d18) at /data/bzr/maria-10.0-mwl253/sql/sql_select.cc:3899
#11 0x0000000000647b0d in JOIN::optimize_inner (this=0x2c639e0) at /data/bzr/maria-10.0-mwl253/sql/sql_select.cc:1306
#12 0x0000000000646ab8 in JOIN::optimize (this=0x2c639e0) at /data/bzr/maria-10.0-mwl253/sql/sql_select.cc:1008
#14 0x000000000067f5b5 in mysql_explain_union (thd=0x2cfa718, unit=0x2cfcd18, result=0x2d310d0) at /data/bzr/maria-10.0-mwl253/sql/sql_select.cc:22819
#15 0x000000000061c1f0 in execute_sqlcom_select (thd=0x2cfa718, all_tables=0x2e482a0) at /data/bzr/maria-10.0-mwl253/sql/sql_parse.cc:4768
#16 0x00000000006149d4 in mysql_execute_command (thd=0x2cfa718) at /data/bzr/maria-10.0-mwl253/sql/sql_parse.cc:2266
#17 0x000000000061ec76 in mysql_parse (thd=0x2cfa718, rawbuf=0x2981560 "EXPLAIN EXTENDED\nSELECT * FROM t1, t2 AS t2a, t2 AS t2b WHERE f1 <= 'a' AND t2a.f2 = f1", length=87, parser_state=0x7f7afc0814f0) at /data/bzr/maria-10.0-mwl253/sql/sql_parse.cc:5920
#18 0x0000000000611cf8 in dispatch_command (command=COM_QUERY, thd=0x2cfa718, packet=0x2cf0dd9 "", packet_length=87) at /data/bzr/maria-10.0-mwl253/sql/sql_parse.cc:1091
#19 0x0000000000610f26 in do_command (thd=0x2cfa718) at /data/bzr/maria-10.0-mwl253/sql/sql_parse.cc:810
#20 0x0000000000729f88 in do_handle_one_connection (thd_arg=0x2cfa718) at /data/bzr/maria-10.0-mwl253/sql/sql_connect.cc:1266
#21 0x0000000000729973 in handle_one_connection (arg=0x2cfa718) at /data/bzr/maria-10.0-mwl253/sql/sql_connect.cc:1181
#22 0x0000000000c59fae in pfs_spawn_thread (arg=0x2d31188) at /data/bzr/maria-10.0-mwl253/storage/perfschema/pfs.cc:1015
#23 0x00007f7afdd91e9a in start_thread (arg=0x7f7afc082700) at pthread_create.c:308
#24 0x00007f7afd085cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
It was fixed in maria-10.0-mdev253 by the following revision, and merged into 10.0-base and 10.0 before 10.0.2 release:
revno: 3527
revision-id: igor@askmonty.org-20130412094746-hduw4v917e28ensq
parent: igor@askmonty.org-20130409172639-trzpqsen35froxpd
committer: Igor Babaev <igor@askmonty.org>
branch nick: maria-10.0-mwl253
timestamp: Fri 2013-04-12 02:47:46 -0700
message:
Fixed bug mdev-4389.
The selectivity of a range degenerated into a point never should be set to 0.
Elena Stepanova
added a comment - It was fixed in maria-10.0-mdev253 by the following revision, and merged into 10.0-base and 10.0 before 10.0.2 release:
revno: 3527
revision-id: igor@askmonty.org-20130412094746-hduw4v917e28ensq
parent: igor@askmonty.org-20130409172639-trzpqsen35froxpd
committer: Igor Babaev <igor@askmonty.org>
branch nick: maria-10.0-mwl253
timestamp: Fri 2013-04-12 02:47:46 -0700
message:
Fixed bug mdev-4389.
The selectivity of a range degenerated into a point never should be set to 0.
People
Igor Babaev (Inactive)
Elena Stepanova
Votes:
0Vote for this issue
Watchers:
1Start watching this issue
Dates
Created:
Updated:
Resolved:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":1310,"ttfb":410.19999980926514,"pageVisibility":"visible","entityId":23610,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"b85bd4c9-512f-46d0-929f-652e741bbc1e","navigationType":0,"readyForUser":1405.6999998092651,"redirectCount":0,"resourceLoadedEnd":1453.0999994277954,"resourceLoadedStart":415.5999994277954,"resourceTiming":[{"duration":369.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":415.5999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":415.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":784.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":369.3999996185303,"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":415.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":415.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":785.2999992370605,"responseStart":0,"secureConnectionStart":0},{"duration":398.6000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":416.0999994277954,"connectEnd":416.0999994277954,"connectStart":416.0999994277954,"domainLookupEnd":416.0999994277954,"domainLookupStart":416.0999994277954,"fetchStart":416.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":416.0999994277954,"responseEnd":814.6999998092651,"responseStart":814.6999998092651,"secureConnectionStart":416.0999994277954},{"duration":462.3999996185303,"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":416.19999980926514,"connectEnd":416.19999980926514,"connectStart":416.19999980926514,"domainLookupEnd":416.19999980926514,"domainLookupStart":416.19999980926514,"fetchStart":416.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":416.19999980926514,"responseEnd":878.5999994277954,"responseStart":878.5999994277954,"secureConnectionStart":416.19999980926514},{"duration":467.19999980926514,"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":416.5,"connectEnd":416.5,"connectStart":416.5,"domainLookupEnd":416.5,"domainLookupStart":416.5,"fetchStart":416.5,"redirectEnd":0,"redirectStart":0,"requestStart":416.5,"responseEnd":883.6999998092651,"responseStart":883.6999998092651,"secureConnectionStart":416.5},{"duration":467.3999996185303,"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":416.69999980926514,"connectEnd":416.69999980926514,"connectStart":416.69999980926514,"domainLookupEnd":416.69999980926514,"domainLookupStart":416.69999980926514,"fetchStart":416.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":416.69999980926514,"responseEnd":884.0999994277954,"responseStart":884.0999994277954,"secureConnectionStart":416.69999980926514},{"duration":467.6000003814697,"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":416.8999996185303,"connectEnd":416.8999996185303,"connectStart":416.8999996185303,"domainLookupEnd":416.8999996185303,"domainLookupStart":416.8999996185303,"fetchStart":416.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":416.8999996185303,"responseEnd":884.5,"responseStart":884.5,"secureConnectionStart":416.8999996185303},{"duration":545,"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":417.0999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":417.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":962.0999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":467.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":417.19999980926514,"connectEnd":417.19999980926514,"connectStart":417.19999980926514,"domainLookupEnd":417.19999980926514,"domainLookupStart":417.19999980926514,"fetchStart":417.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":417.19999980926514,"responseEnd":885,"responseStart":885,"secureConnectionStart":417.19999980926514},{"duration":544.8999996185303,"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":417.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":417.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":962.2999992370605,"responseStart":0,"secureConnectionStart":0},{"duration":468.0999994277954,"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":417.5,"connectEnd":417.5,"connectStart":417.5,"domainLookupEnd":417.5,"domainLookupStart":417.5,"fetchStart":417.5,"redirectEnd":0,"redirectStart":0,"requestStart":417.5,"responseEnd":885.5999994277954,"responseStart":885.5999994277954,"secureConnectionStart":417.5},{"duration":678.8999996185303,"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":423.3999996185303,"connectEnd":423.3999996185303,"connectStart":423.3999996185303,"domainLookupEnd":423.3999996185303,"domainLookupStart":423.3999996185303,"fetchStart":423.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":423.3999996185303,"responseEnd":1102.2999992370605,"responseStart":1102.2999992370605,"secureConnectionStart":423.3999996185303},{"duration":939.8999996185303,"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":423.3999996185303,"connectEnd":423.3999996185303,"connectStart":423.3999996185303,"domainLookupEnd":423.3999996185303,"domainLookupStart":423.3999996185303,"fetchStart":423.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":423.3999996185303,"responseEnd":1363.2999992370605,"responseStart":1363.2999992370605,"secureConnectionStart":423.3999996185303},{"duration":135.9000005722046,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":974.2999992370605,"connectEnd":974.2999992370605,"connectStart":974.2999992370605,"domainLookupEnd":974.2999992370605,"domainLookupStart":974.2999992370605,"fetchStart":974.2999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":974.2999992370605,"responseEnd":1110.1999998092651,"responseStart":1110.0999994277954,"secureConnectionStart":974.2999992370605},{"duration":195.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/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&whisper-enabled=true","startTime":1257.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1257.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1453.0999994277954,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":250,"responseStart":410,"responseEnd":420,"domLoading":414,"domInteractive":1534,"domContentLoadedEventStart":1534,"domContentLoadedEventEnd":1580,"domComplete":2213,"loadEventStart":2213,"loadEventEnd":2213,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1508.7999992370605},{"name":"bigPipe.sidebar-id.end","time":1509.5999994277954},{"name":"bigPipe.activity-panel-pipe-id.start","time":1509.7999992370605},{"name":"bigPipe.activity-panel-pipe-id.end","time":1510.6999998092651},{"name":"activityTabFullyLoaded","time":1597}],"measures":[],"correlationId":"c2e06b3b686741","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":97,"dbReadsTimeInMs":13,"dbConnsTimeInMs":22,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
It was fixed in maria-10.0-mdev253 by the following revision, and merged into 10.0-base and 10.0 before 10.0.2 release:
revno: 3527
revision-id: igor@askmonty.org-20130412094746-hduw4v917e28ensq
parent: igor@askmonty.org-20130409172639-trzpqsen35froxpd
committer: Igor Babaev <igor@askmonty.org>
branch nick: maria-10.0-mwl253
timestamp: Fri 2013-04-12 02:47:46 -0700
message:
Fixed bug mdev-4389.
The selectivity of a range degenerated into a point never should be set to 0.