CREATE TABLE t1 (i INT);
|
SELECT COUNT(*) OVER () FROM t1 WHERE 0;
|
10.2 abe6aca8d46a570a4
|
mysqld: /data/src/10.2/sql/sql_select.cc:2782: bool JOIN::create_postjoin_aggr_table(JOIN_TAB*, List<Item>*, ORDER*, bool, bool, bool): Assertion `tab > tab->join->join_tab || !tables_list' failed.
|
170208 0:21:46 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007f128bd21312 in __GI___assert_fail (assertion=0x7f128f293858 "tab > tab->join->join_tab || !tables_list", file=0x7f128f2932e8 "/data/src/10.2/sql/sql_select.cc", line=2782, function=0x7f128f295d40 <JOIN::create_postjoin_aggr_table(st_join_table*, List<Item>*, st_order*, bool, bool, bool)::__PRETTY_FUNCTION__> "bool JOIN::create_postjoin_aggr_table(JOIN_TAB*, List<Item>*, ORDER*, bool, bool, bool)") at assert.c:101
|
#8 0x00007f128e84c6bf in JOIN::create_postjoin_aggr_table (this=0x7f1283064c80, tab=0x7f12830652d0, table_fields=0x7f1283064f90, table_group=0x0, save_sum_fields=false, distinct=false, keep_row_order=false) at /data/src/10.2/sql/sql_select.cc:2782
|
#9 0x00007f128e84aa30 in JOIN::make_aggr_tables_info (this=0x7f1283064c80) at /data/src/10.2/sql/sql_select.cc:2355
|
#10 0x00007f128e849d6d in JOIN::optimize_inner (this=0x7f1283064c80) at /data/src/10.2/sql/sql_select.cc:2137
|
#11 0x00007f128e84639e in JOIN::optimize (this=0x7f1283064c80) at /data/src/10.2/sql/sql_select.cc:1076
|
#12 0x00007f128e84ee98 in mysql_select (thd=0x7f1283016070, tables=0x7f12830644e0, wild_num=0, fields=..., conds=0x7f1283064b08, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7f1283064c60, unit=0x7f1283019b58, select_lex=0x7f128301a288) at /data/src/10.2/sql/sql_select.cc:3588
|
#13 0x00007f128e843de1 in handle_select (thd=0x7f1283016070, lex=0x7f1283019a90, result=0x7f1283064c60, setup_tables_done_option=0) at /data/src/10.2/sql/sql_select.cc:373
|
#14 0x00007f128e8102db in execute_sqlcom_select (thd=0x7f1283016070, all_tables=0x7f12830644e0) at /data/src/10.2/sql/sql_parse.cc:6399
|
#15 0x00007f128e8062f5 in mysql_execute_command (thd=0x7f1283016070) at /data/src/10.2/sql/sql_parse.cc:3429
|
#16 0x00007f128e813cac in mysql_parse (thd=0x7f1283016070, rawbuf=0x7f1283064088 "SELECT COUNT(*) OVER () FROM t1 WHERE 0", length=39, parser_state=0x7f128f927dd0, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:7842
|
#17 0x00007f128e801db7 in dispatch_command (command=COM_QUERY, thd=0x7f1283016070, packet=0x7f1283058071 "SELECT COUNT(*) OVER () FROM t1 WHERE 0", packet_length=39, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:1800
|
#18 0x00007f128e8007af in do_command (thd=0x7f1283016070) at /data/src/10.2/sql/sql_parse.cc:1360
|
#19 0x00007f128e9491e8 in do_handle_one_connection (connect=0x7f128b471410) at /data/src/10.2/sql/sql_connect.cc:1354
|
#20 0x00007f128e948f75 in handle_one_connection (arg=0x7f128b471410) at /data/src/10.2/sql/sql_connect.cc:1260
|
#21 0x00007f128ec8da36 in pfs_spawn_thread (arg=0x7f128b40f9f0) at /data/src/10.2/storage/perfschema/pfs.cc:1862
|
#22 0x00007f128de2e0a4 in start_thread (arg=0x7f128f929300) at pthread_create.c:309
|
#23 0x00007f128bddb87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
|
{"report":{"fcp":882.7999999523163,"ttfb":260.7999999523163,"pageVisibility":"visible","entityId":60156,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"8e149639-256b-4d13-ac55-7a70efb4a26d","navigationType":0,"readyForUser":991.6000000238419,"redirectCount":0,"resourceLoadedEnd":612.7000000476837,"resourceLoadedStart":265.5,"resourceTiming":[{"duration":86.89999997615814,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":265.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":265.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":352.39999997615814,"responseStart":0,"secureConnectionStart":0},{"duration":86.90000009536743,"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":265.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":265.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":352.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":232.60000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":266,"connectEnd":354.89999997615814,"connectStart":354.89999997615814,"domainLookupEnd":354.89999997615814,"domainLookupStart":354.89999997615814,"fetchStart":266,"redirectEnd":0,"redirectStart":0,"requestStart":357.10000002384186,"responseEnd":498.60000002384186,"responseStart":369.7000000476837,"secureConnectionStart":354.89999997615814},{"duration":346.60000002384186,"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":266.10000002384186,"connectEnd":266.10000002384186,"connectStart":266.10000002384186,"domainLookupEnd":266.10000002384186,"domainLookupStart":266.10000002384186,"fetchStart":266.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":359.60000002384186,"responseEnd":612.7000000476837,"responseStart":382.7999999523163,"secureConnectionStart":266.10000002384186},{"duration":114.30000007152557,"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":266.2999999523163,"connectEnd":266.2999999523163,"connectStart":266.2999999523163,"domainLookupEnd":266.2999999523163,"domainLookupStart":266.2999999523163,"fetchStart":266.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":360,"responseEnd":380.60000002384186,"responseStart":379.7999999523163,"secureConnectionStart":266.2999999523163},{"duration":113.20000004768372,"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":266.5,"connectEnd":266.5,"connectStart":266.5,"domainLookupEnd":266.5,"domainLookupStart":266.5,"fetchStart":266.5,"redirectEnd":0,"redirectStart":0,"requestStart":360.2000000476837,"responseEnd":379.7000000476837,"responseStart":378.7999999523163,"secureConnectionStart":266.5},{"duration":115.29999995231628,"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":266.60000002384186,"connectEnd":266.60000002384186,"connectStart":266.60000002384186,"domainLookupEnd":266.60000002384186,"domainLookupStart":266.60000002384186,"fetchStart":266.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":360.2999999523163,"responseEnd":381.89999997615814,"responseStart":380.7999999523163,"secureConnectionStart":266.60000002384186},{"duration":92.60000002384186,"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":266.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":266.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":359.39999997615814,"responseStart":0,"secureConnectionStart":0},{"duration":115.10000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":267,"connectEnd":267,"connectStart":267,"domainLookupEnd":267,"domainLookupStart":267,"fetchStart":267,"redirectEnd":0,"redirectStart":0,"requestStart":360.60000002384186,"responseEnd":382.10000002384186,"responseStart":381.2000000476837,"secureConnectionStart":267},{"duration":90.90000009536743,"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":271.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":271.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":362.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":126.10000002384186,"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":271.60000002384186,"connectEnd":271.60000002384186,"connectStart":271.60000002384186,"domainLookupEnd":271.60000002384186,"domainLookupStart":271.60000002384186,"fetchStart":271.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":363.2000000476837,"responseEnd":397.7000000476837,"responseStart":385.5,"secureConnectionStart":271.60000002384186},{"duration":335.7999999523163,"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":273,"connectEnd":273,"connectStart":273,"domainLookupEnd":273,"domainLookupStart":273,"fetchStart":273,"redirectEnd":0,"redirectStart":0,"requestStart":457.89999997615814,"responseEnd":608.7999999523163,"responseStart":603.8999999761581,"secureConnectionStart":273},{"duration":337.10000002384186,"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":273.10000002384186,"connectEnd":273.10000002384186,"connectStart":273.10000002384186,"domainLookupEnd":273.10000002384186,"domainLookupStart":273.10000002384186,"fetchStart":273.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":568.1000000238419,"responseEnd":610.2000000476837,"responseStart":605.6000000238419,"secureConnectionStart":273.10000002384186},{"duration":170.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":625.3999999761581,"connectEnd":625.3999999761581,"connectStart":625.3999999761581,"domainLookupEnd":625.3999999761581,"domainLookupStart":625.3999999761581,"fetchStart":625.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":756.7999999523163,"responseEnd":795.8999999761581,"responseStart":795.2000000476837,"secureConnectionStart":625.3999999761581}],"fetchStart":0,"domainLookupStart":29,"domainLookupEnd":49,"connectStart":49,"connectEnd":69,"secureConnectionStart":58,"requestStart":70,"responseStart":261,"responseEnd":271,"domLoading":264,"domInteractive":1039,"domContentLoadedEventStart":1039,"domContentLoadedEventEnd":1078,"domComplete":1755,"loadEventStart":1755,"loadEventEnd":1756,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1023.5},{"name":"bigPipe.sidebar-id.end","time":1024.2999999523163},{"name":"bigPipe.activity-panel-pipe-id.start","time":1024.3999999761581},{"name":"bigPipe.activity-panel-pipe-id.end","time":1025.2999999523163},{"name":"activityTabFullyLoaded","time":1091}],"measures":[],"correlationId":"6df970ee3dbdd3","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":95,"dbReadsTimeInMs":13,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
The fix for this bug was pushed into the 10.2 tree.