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":1014.3999999761581,"ttfb":203.89999997615814,"pageVisibility":"visible","entityId":70741,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"b2182fce-0880-4c71-8667-439f57af2220","navigationType":0,"readyForUser":1094.5,"redirectCount":0,"resourceLoadedEnd":971.5,"resourceLoadedStart":209.0999999642372,"resourceTiming":[{"duration":296.19999998807907,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":209.0999999642372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":209.0999999642372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":505.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":296.2000000476837,"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":209.29999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":209.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":505.5,"responseStart":0,"secureConnectionStart":0},{"duration":305,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":209.5,"connectEnd":209.5,"connectStart":209.5,"domainLookupEnd":209.5,"domainLookupStart":209.5,"fetchStart":209.5,"redirectEnd":0,"redirectStart":0,"requestStart":209.5,"responseEnd":514.5,"responseStart":514.5,"secureConnectionStart":209.5},{"duration":347.80000001192093,"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":209.69999998807907,"connectEnd":209.69999998807907,"connectStart":209.69999998807907,"domainLookupEnd":209.69999998807907,"domainLookupStart":209.69999998807907,"fetchStart":209.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":209.69999998807907,"responseEnd":557.5,"responseStart":557.5,"secureConnectionStart":209.69999998807907},{"duration":351.4000000357628,"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":209.79999995231628,"connectEnd":209.79999995231628,"connectStart":209.79999995231628,"domainLookupEnd":209.79999995231628,"domainLookupStart":209.79999995231628,"fetchStart":209.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":209.79999995231628,"responseEnd":561.1999999880791,"responseStart":561.1999999880791,"secureConnectionStart":209.79999995231628},{"duration":351.5999999642372,"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":210,"connectEnd":210,"connectStart":210,"domainLookupEnd":210,"domainLookupStart":210,"fetchStart":210,"redirectEnd":0,"redirectStart":0,"requestStart":210,"responseEnd":561.5999999642372,"responseStart":561.5999999642372,"secureConnectionStart":210},{"duration":351.80000001192093,"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":210.29999995231628,"connectEnd":210.29999995231628,"connectStart":210.29999995231628,"domainLookupEnd":210.29999995231628,"domainLookupStart":210.29999995231628,"fetchStart":210.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":210.29999995231628,"responseEnd":562.0999999642372,"responseStart":562.0999999642372,"secureConnectionStart":210.29999995231628},{"duration":443.69999998807907,"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":210.39999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":210.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":654.0999999642372,"responseStart":0,"secureConnectionStart":0},{"duration":352,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":210.5,"connectEnd":210.5,"connectStart":210.5,"domainLookupEnd":210.5,"domainLookupStart":210.5,"fetchStart":210.5,"redirectEnd":0,"redirectStart":0,"requestStart":210.5,"responseEnd":562.5,"responseStart":562.5,"secureConnectionStart":210.5},{"duration":443.5,"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":210.69999998807907,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":210.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":654.1999999880791,"responseStart":0,"secureConnectionStart":0},{"duration":352.19999998807907,"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":210.89999997615814,"connectEnd":210.89999997615814,"connectStart":210.89999997615814,"domainLookupEnd":210.89999997615814,"domainLookupStart":210.89999997615814,"fetchStart":210.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":210.89999997615814,"responseEnd":563.0999999642372,"responseStart":563.0999999642372,"secureConnectionStart":210.89999997615814},{"duration":610.1000000238419,"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":216.39999997615814,"connectEnd":216.39999997615814,"connectStart":216.39999997615814,"domainLookupEnd":216.39999997615814,"domainLookupStart":216.39999997615814,"fetchStart":216.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":216.39999997615814,"responseEnd":826.5,"responseStart":826.5,"secureConnectionStart":216.39999997615814},{"duration":722,"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":216.5,"connectEnd":216.5,"connectStart":216.5,"domainLookupEnd":216.5,"domainLookupStart":216.5,"fetchStart":216.5,"redirectEnd":0,"redirectStart":0,"requestStart":216.5,"responseEnd":938.5,"responseStart":938.5,"secureConnectionStart":216.5},{"duration":162.80000001192093,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":665.1999999880791,"connectEnd":665.1999999880791,"connectStart":665.1999999880791,"domainLookupEnd":665.1999999880791,"domainLookupStart":665.1999999880791,"fetchStart":665.1999999880791,"redirectEnd":0,"redirectStart":0,"requestStart":665.1999999880791,"responseEnd":828,"responseStart":828,"secureConnectionStart":665.1999999880791},{"duration":52.60000002384186,"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":918.8999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":918.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":971.5,"responseStart":0,"secureConnectionStart":0},{"duration":254.60000002384186,"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":919.7999999523163,"connectEnd":919.7999999523163,"connectStart":919.7999999523163,"domainLookupEnd":919.7999999523163,"domainLookupStart":919.7999999523163,"fetchStart":919.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":919.7999999523163,"responseEnd":1174.3999999761581,"responseStart":1174.3999999761581,"secureConnectionStart":919.7999999523163},{"duration":258.60000002384186,"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":920.0999999642372,"connectEnd":920.0999999642372,"connectStart":920.0999999642372,"domainLookupEnd":920.0999999642372,"domainLookupStart":920.0999999642372,"fetchStart":920.0999999642372,"redirectEnd":0,"redirectStart":0,"requestStart":920.0999999642372,"responseEnd":1178.699999988079,"responseStart":1178.699999988079,"secureConnectionStart":920.0999999642372},{"duration":175.9000000357628,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1028.0999999642372,"connectEnd":1028.0999999642372,"connectStart":1028.0999999642372,"domainLookupEnd":1028.0999999642372,"domainLookupStart":1028.0999999642372,"fetchStart":1028.0999999642372,"redirectEnd":0,"redirectStart":0,"requestStart":1028.0999999642372,"responseEnd":1204,"responseStart":1203.8999999761581,"secureConnectionStart":1028.0999999642372}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":53,"responseStart":204,"responseEnd":211,"domLoading":207,"domInteractive":1149,"domContentLoadedEventStart":1149,"domContentLoadedEventEnd":1195,"domComplete":2249,"loadEventStart":2249,"loadEventEnd":2250,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1130.3999999761581},{"name":"bigPipe.sidebar-id.end","time":1131.0999999642372},{"name":"bigPipe.activity-panel-pipe-id.start","time":1131.199999988079},{"name":"bigPipe.activity-panel-pipe-id.end","time":1134},{"name":"activityTabFullyLoaded","time":1208.199999988079}],"measures":[],"correlationId":"3d4fc1e5bfbed2","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":88,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}