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":611.2000000476837,"ttfb":156.60000014305115,"pageVisibility":"visible","entityId":60156,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"0765e4ff-2a71-4383-86f2-f9da6913b39e","navigationType":0,"readyForUser":735,"redirectCount":0,"resourceLoadedEnd":586.3000001907349,"resourceLoadedStart":161.90000009536743,"resourceTiming":[{"duration":7.599999904632568,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":161.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":161.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":169.5,"responseStart":0,"secureConnectionStart":0},{"duration":7.599999904632568,"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":162.10000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":162.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":169.70000004768372,"responseStart":0,"secureConnectionStart":0},{"duration":63.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":162.20000004768372,"connectEnd":162.20000004768372,"connectStart":162.20000004768372,"domainLookupEnd":162.20000004768372,"domainLookupStart":162.20000004768372,"fetchStart":162.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":162.20000004768372,"responseEnd":225.80000019073486,"responseStart":225.80000019073486,"secureConnectionStart":162.20000004768372},{"duration":151.40000009536743,"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":162.40000009536743,"connectEnd":162.40000009536743,"connectStart":162.40000009536743,"domainLookupEnd":162.40000009536743,"domainLookupStart":162.40000009536743,"fetchStart":162.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":162.40000009536743,"responseEnd":313.80000019073486,"responseStart":313.80000019073486,"secureConnectionStart":162.40000009536743},{"duration":148.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":162.40000009536743,"connectEnd":162.40000009536743,"connectStart":162.40000009536743,"domainLookupEnd":162.40000009536743,"domainLookupStart":162.40000009536743,"fetchStart":162.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":162.40000009536743,"responseEnd":310.5,"responseStart":310.5,"secureConnectionStart":162.40000009536743},{"duration":151.59999990463257,"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":162.60000014305115,"connectEnd":162.60000014305115,"connectStart":162.60000014305115,"domainLookupEnd":162.60000014305115,"domainLookupStart":162.60000014305115,"fetchStart":162.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":162.60000014305115,"responseEnd":314.2000000476837,"responseStart":314.2000000476837,"secureConnectionStart":162.60000014305115},{"duration":152,"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":162.60000014305115,"connectEnd":162.60000014305115,"connectStart":162.60000014305115,"domainLookupEnd":162.60000014305115,"domainLookupStart":162.60000014305115,"fetchStart":162.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":162.60000014305115,"responseEnd":314.60000014305115,"responseStart":314.60000014305115,"secureConnectionStart":162.60000014305115},{"duration":152.40000009536743,"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":162.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":162.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":315.10000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":152.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":162.80000019073486,"connectEnd":162.80000019073486,"connectStart":162.80000019073486,"domainLookupEnd":162.80000019073486,"domainLookupStart":162.80000019073486,"fetchStart":162.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":162.80000019073486,"responseEnd":315,"responseStart":315,"secureConnectionStart":162.80000019073486},{"duration":152.40000009536743,"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":163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":315.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":152.5,"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":163.10000014305115,"connectEnd":163.10000014305115,"connectStart":163.10000014305115,"domainLookupEnd":163.10000014305115,"domainLookupStart":163.10000014305115,"fetchStart":163.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":163.10000014305115,"responseEnd":315.60000014305115,"responseStart":315.60000014305115,"secureConnectionStart":163.10000014305115},{"duration":409.39999985694885,"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":163.60000014305115,"connectEnd":163.60000014305115,"connectStart":163.60000014305115,"domainLookupEnd":163.60000014305115,"domainLookupStart":163.60000014305115,"fetchStart":163.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":163.60000014305115,"responseEnd":573,"responseStart":573,"secureConnectionStart":163.60000014305115},{"duration":422.5,"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":163.80000019073486,"connectEnd":163.80000019073486,"connectStart":163.80000019073486,"domainLookupEnd":163.80000019073486,"domainLookupStart":163.80000019073486,"fetchStart":163.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":163.80000019073486,"responseEnd":586.3000001907349,"responseStart":586.3000001907349,"secureConnectionStart":163.80000019073486},{"duration":196.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":376.80000019073486,"connectEnd":376.80000019073486,"connectStart":376.80000019073486,"domainLookupEnd":376.80000019073486,"domainLookupStart":376.80000019073486,"fetchStart":376.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":376.80000019073486,"responseEnd":573.3000001907349,"responseStart":573.3000001907349,"secureConnectionStart":376.80000019073486},{"duration":1.9000000953674316,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":604.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":604.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":606.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":159.60000014305115,"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":675.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":675.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":835.3000001907349,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":30,"responseStart":157,"responseEnd":158,"domLoading":160,"domInteractive":783,"domContentLoadedEventStart":783,"domContentLoadedEventEnd":825,"domComplete":962,"loadEventStart":962,"loadEventEnd":962,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":767.3000001907349},{"name":"bigPipe.sidebar-id.end","time":768},{"name":"bigPipe.activity-panel-pipe-id.start","time":768.1000001430511},{"name":"bigPipe.activity-panel-pipe-id.end","time":768.9000000953674},{"name":"activityTabFullyLoaded","time":835.7000000476837}],"measures":[],"correlationId":"61adbf59849d01","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":67,"dbReadsTimeInMs":10,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
The fix for this bug was pushed into the 10.2 tree.