CREATE TABLE t1 (b1 text NOT NULL);
|
INSERT INTO t1 VALUES ('2'),('1');
|
|
SELECT DISTINCT MIN(b1) OVER () FROM t1;
|
|
10.2 a12b8ac8e9636f8258bcb17a0845b9317d870fd9
|
/git/10.2/sql/handler.h:2838: int handler::ha_rnd_init(bool): Assertion `inited==NONE || (inited==RND && scan)' failed.
|
181112 13:10:13 [ERROR] mysqld got signal 6 ;
|
|
#4 0x00007f4413df1428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
|
#5 0x00007f4413df302a in __GI_abort () at abort.c:89
|
#6 0x00007f4413de9bd7 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x559fc3ca6828 "inited==NONE || (inited==RND && scan)", file=file@entry=0x559fc3ca67b0 " /git/10.2/sql/handler.h", line=line@entry=2838, function=function@entry=0x559fc3caa890 <handler::ha_rnd_init(bool)::__PRETTY_FUNCTION__> "int handler::ha_rnd_init(bool)") at assert.c:92
|
#7 0x00007f4413de9c82 in __GI___assert_fail (assertion=0x559fc3ca6828 "inited==NONE || (inited==RND && scan)", file=0x559fc3ca67b0 " /git/10.2/sql/handler.h", line=2838, function=0x559fc3caa890 <handler::ha_rnd_init(bool)::__PRETTY_FUNCTION__> "int handler::ha_rnd_init(bool)") at assert.c:101
|
#8 0x0000559fc319445d in handler::ha_rnd_init (this=0x7f43b8137aa8, scan=false) at /git/10.2/sql/handler.h:2838
|
#9 0x0000559fc348d451 in handler::ha_rnd_init_with_error (this=0x7f43b8137aa8, scan=false) at /git/10.2/sql/handler.cc:2787
|
#10 0x0000559fc35f7a56 in init_read_record (info=0x7f43b8014a98, thd=0x7f43b8000b00, table=0x7f43b8136658, select=0x0, filesort=0x7f43b808bbf0, use_record_cache=1, print_error=true, disable_rr_cache=false) at /git/10.2/sql/records.cc:275
|
#11 0x0000559fc3281bd8 in join_init_read_record (tab=0x7f43b80149d0) at /git/10.2/sql/sql_select.cc:19681
|
#12 0x0000559fc32943f3 in AGGR_OP::end_send (this=0x7f43b8015680) at /git/10.2/sql/sql_select.cc:26680
|
#13 0x0000559fc327f4f7 in sub_select_postjoin_aggr (join=0x7f43b8013038, join_tab=0x7f43b80149d0, end_of_records=true) at /git/10.2/sql/sql_select.cc:18477
|
#14 0x0000559fc327f81b in sub_select (join=0x7f43b8013038, join_tab=0x7f43b8014620, end_of_records=true) at /git/10.2/sql/sql_select.cc:18713
|
#15 0x0000559fc327f033 in do_select (join=0x7f43b8013038, procedure=0x0) at /git/10.2/sql/sql_select.cc:18308
|
#16 0x0000559fc3259a59 in JOIN::exec_inner (this=0x7f43b8013038) at /git/10.2/sql/sql_select.cc:3621
|
#17 0x0000559fc3258f08 in JOIN::exec (this=0x7f43b8013038) at /git/10.2/sql/sql_select.cc:3416
|
#18 0x0000559fc325a0ca in mysql_select (thd=0x7f43b8000b00, tables=0x7f43b8012928, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748609, result=0x7f43b8013018, unit=0x7f43b80046e0, select_lex=0x7f43b8004e18) at /git/10.2/sql/sql_select.cc:3816
|
#19 0x0000559fc324e388 in handle_select (thd=0x7f43b8000b00, lex=0x7f43b8004618, result=0x7f43b8013018, setup_tables_done_option=0) at /git/10.2/sql/sql_select.cc:376
|
#20 0x0000559fc32199dd in execute_sqlcom_select (thd=0x7f43b8000b00, all_tables=0x7f43b8012928) at /git/10.2/sql/sql_parse.cc:6478
|
#21 0x0000559fc320f659 in mysql_execute_command (thd=0x7f43b8000b00) at /git/10.2/sql/sql_parse.cc:3484
|
#22 0x0000559fc321d869 in mysql_parse (thd=0x7f43b8000b00, rawbuf=0x7f43b8012448 "SELECT DISTINCT MIN(b1) OVER () FROM t1", length=39, parser_state=0x7f440c407080, is_com_multi=false, is_next_command=false) at /git/10.2/sql/sql_parse.cc:8012
|
#23 0x0000559fc320aeca in dispatch_command (command=COM_QUERY, thd=0x7f43b8000b00, packet=0x7f43b8096121 "", packet_length=39, is_com_multi=false, is_next_command=false) at /git/10.2/sql/sql_parse.cc:1824
|
#24 0x0000559fc3209826 in do_command (thd=0x7f43b8000b00) at /git/10.2/sql/sql_parse.cc:1378
|
#25 0x0000559fc335b8d6 in do_handle_one_connection (connect=0x559fc5e27cc0) at /git/10.2/sql/sql_connect.cc:1335
|
#26 0x0000559fc335b656 in handle_one_connection (arg=0x559fc5e27cc0) at /git/10.2/sql/sql_connect.cc:1241
|
#27 0x0000559fc3b8a56a in pfs_spawn_thread (arg=0x559fc5d73360) at /git/10.2/storage/perfschema/pfs.cc:1862
|
#28 0x00007f4414a2e6ba in start_thread (arg=0x7f440c408700) at pthread_create.c:333
|
#29 0x00007f4413ec341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
|
- relates to
-
MDEV-6453
Assertion `inited==NONE || (inited==RND && scan)' failed in handler::ha_rnd_init(bool) with InnoDB, joins, AND/OR conditions
-
-
Closed
{"report":{"fcp":675,"ttfb":152.89999985694885,"pageVisibility":"visible","entityId":70741,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"6db88e28-aeee-4c8f-ba89-29e634b35479","navigationType":0,"readyForUser":739,"redirectCount":0,"resourceLoadedEnd":487.7999999523163,"resourceLoadedStart":159.79999995231628,"resourceTiming":[{"duration":25.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bsh/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":159.79999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":159.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":185.29999995231628,"responseStart":0,"secureConnectionStart":0},{"duration":26.200000047683716,"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":160.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":160.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":186.29999995231628,"responseStart":0,"secureConnectionStart":0},{"duration":65.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/b09d0d077992e4331b5f9ec0d3ec448c-CDN/lu2bsh/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":160.19999980926514,"connectEnd":160.19999980926514,"connectStart":160.19999980926514,"domainLookupEnd":160.19999980926514,"domainLookupStart":160.19999980926514,"fetchStart":160.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":189.79999995231628,"responseEnd":226,"responseStart":204,"secureConnectionStart":160.19999980926514},{"duration":46,"initiatorType":"script","name":"https://jira.mariadb.org/s/6c569cbf8087ab04e40d0bef98627457-CDN/lu2bsh/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":160.39999985694885,"connectEnd":160.39999985694885,"connectStart":160.39999985694885,"domainLookupEnd":160.39999985694885,"domainLookupStart":160.39999985694885,"fetchStart":160.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":191.69999980926514,"responseEnd":206.39999985694885,"responseStart":206,"secureConnectionStart":160.39999985694885},{"duration":76.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/b47ab3df14096803b180217eb8482517-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":160.39999985694885,"connectEnd":160.39999985694885,"connectStart":160.39999985694885,"domainLookupEnd":160.39999985694885,"domainLookupStart":160.39999985694885,"fetchStart":160.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":191.29999995231628,"responseEnd":237.29999995231628,"responseStart":204.39999985694885,"secureConnectionStart":160.39999985694885},{"duration":49.799999952316284,"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":160.5,"connectEnd":160.5,"connectStart":160.5,"domainLookupEnd":160.5,"domainLookupStart":160.5,"fetchStart":160.5,"redirectEnd":0,"redirectStart":0,"requestStart":193,"responseEnd":210.29999995231628,"responseStart":209.69999980926514,"secureConnectionStart":160.5},{"duration":50.299999952316284,"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":160.59999990463257,"connectEnd":160.59999990463257,"connectStart":160.59999990463257,"domainLookupEnd":160.59999990463257,"domainLookupStart":160.59999990463257,"fetchStart":160.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":192.89999985694885,"responseEnd":210.89999985694885,"responseStart":210.5,"secureConnectionStart":160.59999990463257},{"duration":31.200000047683716,"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":160.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":160.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":191.89999985694885,"responseStart":0,"secureConnectionStart":0},{"duration":53.700000047683716,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":160.79999995231628,"connectEnd":160.79999995231628,"connectStart":160.79999995231628,"domainLookupEnd":160.79999995231628,"domainLookupStart":160.79999995231628,"fetchStart":160.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":194.39999985694885,"responseEnd":214.5,"responseStart":213.89999985694885,"secureConnectionStart":160.79999995231628},{"duration":38.90000009536743,"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":160.89999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":160.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":199.79999995231628,"responseStart":0,"secureConnectionStart":0},{"duration":54,"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":161,"connectEnd":199.89999985694885,"connectStart":199.89999985694885,"domainLookupEnd":199.89999985694885,"domainLookupStart":199.89999985694885,"fetchStart":161,"redirectEnd":0,"redirectStart":0,"requestStart":200,"responseEnd":215,"responseStart":212,"secureConnectionStart":199.89999985694885},{"duration":309.2999999523163,"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":171.09999990463257,"connectEnd":171.09999990463257,"connectStart":171.09999990463257,"domainLookupEnd":171.09999990463257,"domainLookupStart":171.09999990463257,"fetchStart":171.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":296.5,"responseEnd":480.39999985694885,"responseStart":478.69999980926514,"secureConnectionStart":171.09999990463257},{"duration":316.2999999523163,"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":171.5,"connectEnd":171.5,"connectStart":171.5,"domainLookupEnd":171.5,"domainLookupStart":171.5,"fetchStart":171.5,"redirectEnd":0,"redirectStart":0,"requestStart":388,"responseEnd":487.7999999523163,"responseStart":485.09999990463257,"secureConnectionStart":171.5},{"duration":180.09999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":437.7999999523163,"connectEnd":437.7999999523163,"connectStart":437.7999999523163,"domainLookupEnd":437.7999999523163,"domainLookupStart":437.7999999523163,"fetchStart":437.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":586.0999999046326,"responseEnd":617.8999998569489,"responseStart":615.7999999523163,"secureConnectionStart":437.7999999523163},{"duration":133.59999990463257,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":648.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":648.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":782.3999998569489,"responseStart":0,"secureConnectionStart":0}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":25,"responseStart":153,"responseEnd":172,"domLoading":156,"domInteractive":795,"domContentLoadedEventStart":795,"domContentLoadedEventEnd":835,"domComplete":1214,"loadEventStart":1214,"loadEventEnd":1214,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":776.1999998092651},{"name":"bigPipe.sidebar-id.end","time":776.8999998569489},{"name":"bigPipe.activity-panel-pipe-id.start","time":777},{"name":"bigPipe.activity-panel-pipe-id.end","time":778},{"name":"activityTabFullyLoaded","time":847.7999999523163}],"measures":[],"correlationId":"f6433e78705125","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":70,"dbReadsTimeInMs":11,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Patch
http://lists.askmonty.org/pipermail/commits/2018-December/013200.html