CREATE TABLE t1 (a INT) ENGINE=MyISAM;
|
|
CREATE TABLE t2 (pk INT PRIMARY KEY) ENGINE=MyISAM;
|
INSERT INTO t2 VALUES (1),(2);
|
|
CREATE TABLE t3 (pk INT PRIMARY KEY, b TIMESTAMP) ENGINE=MyISAM;
|
|
SELECT ( SELECT b FROM t1 LIMIT 1 ) AS sq FROM t2 LEFT JOIN t3 USING (pk);
|
|
# Cleanup
|
DROP TABLE t1, t2, t3;
|
10.4 2465d3e00
|
mysqld: /data/src/10.4/sql/item.h:1344: virtual bool Item::val_native(THD*, Native*): Assertion `0' failed.
|
190106 2:37:13 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007f6fadfecee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
|
#8 0x000055b4406f7f72 in Item::val_native (this=0x7f6f98079be8, thd=0x7f6f98000b00, to=0x7f6fa817ceb0) at /data/src/10.4/sql/item.h:1344
|
#9 0x000055b440beb4e0 in Item_singlerow_subselect::val_native (this=0x7f6f980168e0, thd=0x7f6f98000b00, to=0x7f6fa817ceb0) at /data/src/10.4/sql/item_subselect.cc:1359
|
#10 0x000055b440a061fc in Timestamp_or_zero_datetime_native_null::Timestamp_or_zero_datetime_native_null (this=0x7f6fa817ceb0, thd=0x7f6f98000b00, item=0x7f6f980168e0, conv=false) at /data/src/10.4/sql/sql_type.cc:8155
|
#11 0x000055b440a09f3d in Timestamp_or_zero_datetime_native_null::Timestamp_or_zero_datetime_native_null (this=0x7f6fa817ceb0, thd=0x7f6f98000b00, item=0x7f6f980168e0) at /data/src/10.4/sql/sql_type.h:2457
|
#12 0x000055b440a00ca7 in Type_handler::Item_send_timestamp (this=0x55b441e1c2b0 <type_handler_timestamp2>, item=0x7f6f980168e0, protocol=0x7f6f980010c0, buf=0x7f6fa817cfc0) at /data/src/10.4/sql/sql_type.cc:6704
|
#13 0x000055b440a0d19c in Type_handler_timestamp_common::Item_send (this=0x55b441e1c2b0 <type_handler_timestamp2>, item=0x7f6f980168e0, protocol=0x7f6f980010c0, buf=0x7f6fa817cfc0) at /data/src/10.4/sql/sql_type.h:5465
|
#14 0x000055b4406f7d4e in Item::send (this=0x7f6f980168e0, protocol=0x7f6f980010c0, buffer=0x7f6fa817cfc0) at /data/src/10.4/sql/item.h:1032
|
#15 0x000055b4406f27cc in Protocol::send_result_set_row (this=0x7f6f980010c0, row_items=0x7f6f980151c0) at /data/src/10.4/sql/protocol.cc:986
|
#16 0x000055b44079cf56 in select_send::send_data (this=0x7f6f98018810, items=...) at /data/src/10.4/sql/sql_class.cc:2948
|
#17 0x000055b44087e152 in end_send (join=0x7f6f98018838, join_tab=0x7f6f9801a7a8, end_of_records=false) at /data/src/10.4/sql/sql_select.cc:20570
|
#18 0x000055b44087b989 in evaluate_join_record (join=0x7f6f98018838, join_tab=0x7f6f9801a3f8, error=0) at /data/src/10.4/sql/sql_select.cc:19610
|
#19 0x000055b44087b269 in sub_select (join=0x7f6f98018838, join_tab=0x7f6f9801a3f8, end_of_records=false) at /data/src/10.4/sql/sql_select.cc:19390
|
#20 0x000055b44087a7a3 in do_select (join=0x7f6f98018838, procedure=0x0) at /data/src/10.4/sql/sql_select.cc:18930
|
#21 0x000055b440853203 in JOIN::exec_inner (this=0x7f6f98018838) at /data/src/10.4/sql/sql_select.cc:4094
|
#22 0x000055b440852644 in JOIN::exec (this=0x7f6f98018838) at /data/src/10.4/sql/sql_select.cc:3888
|
#23 0x000055b440853903 in mysql_select (thd=0x7f6f98000b00, tables=0x7f6f98016b00, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7f6f98018810, unit=0x7f6f980049c0, select_lex=0x7f6f98015090) at /data/src/10.4/sql/sql_select.cc:4293
|
#24 0x000055b44084520f in handle_select (thd=0x7f6f98000b00, lex=0x7f6f980048f8, result=0x7f6f98018810, setup_tables_done_option=0) at /data/src/10.4/sql/sql_select.cc:385
|
#25 0x000055b44080f439 in execute_sqlcom_select (thd=0x7f6f98000b00, all_tables=0x7f6f98016b00) at /data/src/10.4/sql/sql_parse.cc:6567
|
#26 0x000055b440805a34 in mysql_execute_command (thd=0x7f6f98000b00) at /data/src/10.4/sql/sql_parse.cc:3776
|
#27 0x000055b440813244 in mysql_parse (thd=0x7f6f98000b00, rawbuf=0x7f6f98014f98 "SELECT ( SELECT b FROM t1 LIMIT 1 ) AS sq FROM t2 LEFT JOIN t3 USING (pk)", length=73, parser_state=0x7f6fa817e600, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8104
|
#28 0x000055b44080046e in dispatch_command (command=COM_QUERY, thd=0x7f6f98000b00, packet=0x7f6f9800b421 "", packet_length=73, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1851
|
#29 0x000055b4407fee92 in do_command (thd=0x7f6f98000b00) at /data/src/10.4/sql/sql_parse.cc:1396
|
#30 0x000055b44096b0ba in do_handle_one_connection (connect=0x55b4436216b0) at /data/src/10.4/sql/sql_connect.cc:1402
|
#31 0x000055b44096ae3e in handle_one_connection (arg=0x55b4436216b0) at /data/src/10.4/sql/sql_connect.cc:1308
|
#32 0x000055b440e2a164 in pfs_spawn_thread (arg=0x55b443565970) at /data/src/10.4/storage/perfschema/pfs.cc:1862
|
#33 0x00007f6fafaa8494 in start_thread (arg=0x7f6fa817f700) at pthread_create.c:333
|
#34 0x00007f6fae0a993f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
Reproducible with at least MyISAM and Aria.
Not reproducible on 10.3.
No visible effect on a non-debug build.
{"report":{"fcp":797.1000003814697,"ttfb":179.39999961853027,"pageVisibility":"visible","entityId":71681,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"855e739a-1ece-48fc-985d-551de96b95d1","navigationType":0,"readyForUser":895.8000001907349,"redirectCount":0,"resourceLoadedEnd":1072.3999996185303,"resourceLoadedStart":185.89999961853027,"resourceTiming":[{"duration":14.800000190734863,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":185.89999961853027,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":185.89999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":200.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":15,"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":186.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":186.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":201.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":84,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":186.39999961853027,"connectEnd":186.39999961853027,"connectStart":186.39999961853027,"domainLookupEnd":186.39999961853027,"domainLookupStart":186.39999961853027,"fetchStart":186.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":186.39999961853027,"responseEnd":270.3999996185303,"responseStart":270.3999996185303,"secureConnectionStart":186.39999961853027},{"duration":165.19999980926514,"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":186.60000038146973,"connectEnd":186.60000038146973,"connectStart":186.60000038146973,"domainLookupEnd":186.60000038146973,"domainLookupStart":186.60000038146973,"fetchStart":186.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":186.60000038146973,"responseEnd":351.80000019073486,"responseStart":351.80000019073486,"secureConnectionStart":186.60000038146973},{"duration":170.39999961853027,"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":186.80000019073486,"connectEnd":186.80000019073486,"connectStart":186.80000019073486,"domainLookupEnd":186.80000019073486,"domainLookupStart":186.80000019073486,"fetchStart":186.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":186.80000019073486,"responseEnd":357.19999980926514,"responseStart":357.19999980926514,"secureConnectionStart":186.80000019073486},{"duration":171,"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":187.10000038146973,"connectEnd":187.10000038146973,"connectStart":187.10000038146973,"domainLookupEnd":187.10000038146973,"domainLookupStart":187.10000038146973,"fetchStart":187.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":187.10000038146973,"responseEnd":358.1000003814697,"responseStart":358.1000003814697,"secureConnectionStart":187.10000038146973},{"duration":171,"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":187.39999961853027,"connectEnd":187.39999961853027,"connectStart":187.39999961853027,"domainLookupEnd":187.39999961853027,"domainLookupStart":187.39999961853027,"fetchStart":187.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":187.39999961853027,"responseEnd":358.3999996185303,"responseStart":358.3999996185303,"secureConnectionStart":187.39999961853027},{"duration":246.39999961853027,"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":187.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":187.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":433.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":175.9000005722046,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":187.69999980926514,"connectEnd":187.69999980926514,"connectStart":187.69999980926514,"domainLookupEnd":187.69999980926514,"domainLookupStart":187.69999980926514,"fetchStart":187.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":187.69999980926514,"responseEnd":363.6000003814697,"responseStart":363.6000003814697,"secureConnectionStart":187.69999980926514},{"duration":246.69999980926514,"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":187.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":187.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":434.5,"responseStart":0,"secureConnectionStart":0},{"duration":176.5,"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":188,"connectEnd":188,"connectStart":188,"domainLookupEnd":188,"domainLookupStart":188,"fetchStart":188,"redirectEnd":0,"redirectStart":0,"requestStart":188,"responseEnd":364.5,"responseStart":364.5,"secureConnectionStart":188},{"duration":678.5,"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":193.80000019073486,"connectEnd":193.80000019073486,"connectStart":193.80000019073486,"domainLookupEnd":193.80000019073486,"domainLookupStart":193.80000019073486,"fetchStart":193.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":193.80000019073486,"responseEnd":872.3000001907349,"responseStart":872.3000001907349,"secureConnectionStart":193.80000019073486},{"duration":699.1000003814697,"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":201.69999980926514,"connectEnd":201.69999980926514,"connectStart":201.69999980926514,"domainLookupEnd":201.69999980926514,"domainLookupStart":201.69999980926514,"fetchStart":201.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":201.69999980926514,"responseEnd":900.8000001907349,"responseStart":900.8000001907349,"secureConnectionStart":201.69999980926514},{"duration":394.0999994277954,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":478.6000003814697,"connectEnd":478.6000003814697,"connectStart":478.6000003814697,"domainLookupEnd":478.6000003814697,"domainLookupStart":478.6000003814697,"fetchStart":478.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":478.6000003814697,"responseEnd":872.6999998092651,"responseStart":872.6999998092651,"secureConnectionStart":478.6000003814697},{"duration":246.4000005722046,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":789.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":789.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1036.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":116.59999942779541,"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":955.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":955.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1072.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":107.39999961853027,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/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&whisper-enabled=true","startTime":957,"connectEnd":957,"connectStart":957,"domainLookupEnd":957,"domainLookupStart":957,"fetchStart":957,"redirectEnd":0,"redirectStart":0,"requestStart":957,"responseEnd":1064.3999996185303,"responseStart":1064.3999996185303,"secureConnectionStart":957},{"duration":111.59999942779541,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/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&whisper-enabled=true","startTime":957.6000003814697,"connectEnd":957.6000003814697,"connectStart":957.6000003814697,"domainLookupEnd":957.6000003814697,"domainLookupStart":957.6000003814697,"fetchStart":957.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":957.6000003814697,"responseEnd":1069.1999998092651,"responseStart":1069.1999998092651,"secureConnectionStart":957.6000003814697}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":28,"responseStart":179,"responseEnd":201,"domLoading":184,"domInteractive":1082,"domContentLoadedEventStart":1082,"domContentLoadedEventEnd":1141,"domComplete":2328,"loadEventStart":2328,"loadEventEnd":2331,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1057},{"name":"bigPipe.sidebar-id.end","time":1057.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":1057.8999996185303},{"name":"bigPipe.activity-panel-pipe-id.end","time":1061.8999996185303},{"name":"activityTabFullyLoaded","time":1150.1999998092651}],"measures":[],"correlationId":"ce982526f95bf9","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":87,"dbReadsTimeInMs":8,"dbConnsTimeInMs":16,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}