SET sql_mode='';
|
CREATE TABLE t(c INT);
|
HANDLER t OPEN h;
|
INSERT INTO t VALUES();
|
SET GLOBAL userstat=1;
|
HANDLER h READ FIRST;
|
CREATE TABLE t(c INT);
|
Leads to:
11.6.1 05fe3f1c186a221c4455b4d83a9d59f09f2dfadb (Optimized)
|
Core was generated by `/test/MD130824-mariadb-11.6.1-linux-x86_64-opt/bin/mariadbd --no-defaults --max'.
|
Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 0x0000561ee6e5c3a2 in handler::update_global_table_stats (this=this@entry=0x1462e4022140) at /test/11.6_opt/sql/handler.cc:6109
|
|
warning: 6109 /test/11.6_opt/sql/handler.cc: No such file or directory
|
[Current thread is 1 (LWP 318661)]
|
(gdb) bt
|
#0 0x0000561ee6e5c3a2 in handler::update_global_table_stats (this=this@entry=0x1462e4022140) at /test/11.6_opt/sql/handler.cc:6109
|
#1 0x0000561ee6b3d632 in close_thread_table (thd=0x1462e4000c68, table_ptr=0x14633ff474e8) at /test/11.6_opt/sql/sql_base.cc:1016
|
#2 0x0000561ee6b75448 in mysql_ha_close_table (handler=0x1462e40236e0)at /test/11.6_opt/sql/sql_handler.cc:221
|
#3 0x0000561ee6b7729a in mysql_ha_rm_tables (thd=thd@entry=0x1462e4000c68, tables=<optimized out>) at /test/11.6_opt/sql/sql_handler.cc:1119
|
#4 0x0000561ee6bb9c8f in mysql_execute_command (thd=thd@entry=0x1462e4000c68, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false)at /test/11.6_opt/sql/sql_parse.cc:3807
|
#5 0x0000561ee6bbec56 in mysql_parse (thd=0x1462e4000c68, rawbuf=<optimized out>, length=<optimized out>, parser_state=<optimized out>) at /test/11.6_opt/sql/sql_parse.cc:7869
|
#6 0x0000561ee6bc0e75 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x1462e4000c68, packet=packet@entry=0x1462e4008869 "CREATE TABLE t(c INT)", packet_length=packet_length@entry=21, blocking=blocking@entry=true)at /test/11.6_opt/sql/sql_parse.cc:1991
|
#7 0x0000561ee6bc3443 in do_command (thd=0x1462e4000c68, blocking=blocking@entry=true) at /test/11.6_opt/sql/sql_parse.cc:1405
|
#8 0x0000561ee6cf446f in do_handle_one_connection (connect=<optimized out>, connect@entry=0x561ee9667618, put_in_cache=put_in_cache@entry=true)at /test/11.6_opt/sql/sql_connect.cc:1448
|
#9 0x0000561ee6cf47cd in handle_one_connection (arg=arg@entry=0x561ee9667618)at /test/11.6_opt/sql/sql_connect.cc:1350
|
#10 0x0000561ee70c1d2d in pfs_spawn_thread (arg=0x561ee968db98)at /test/11.6_opt/storage/perfschema/pfs.cc:2198
|
#11 0x000014634509ca94 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#12 0x0000146345129c3c in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
11.6.1 05fe3f1c186a221c4455b4d83a9d59f09f2dfadb (Debug)
|
Core was generated by `/test/MD130824-mariadb-11.6.1-linux-x86_64-dbg/bin/mariadbd --defaults-group-su'.
|
Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 0x0000563d5656b464 in handler::update_global_table_stats (this=this@entry=0x14e3b0205680) at /test/11.6_dbg/sql/handler.cc:6109
|
|
warning: 6109 /test/11.6_dbg/sql/handler.cc: No such file or directory
|
[Current thread is 1 (LWP 4061382)]
|
(gdb) bt
|
#0 0x0000563d5656b464 in handler::update_global_table_stats (this=this@entry=0x14e3b0205680) at /test/11.6_dbg/sql/handler.cc:6109
|
#1 0x0000563d561b2bb7 in close_thread_table (thd=thd@entry=0x14e3b0000d58, table_ptr=table_ptr@entry=0x14e3d013db50)at /test/11.6_dbg/sql/sql_base.cc:1016
|
#2 0x0000563d561f41f2 in mysql_ha_close_table (handler=handler@entry=0x14e3b003b0d0)at /test/11.6_dbg/sql/sql_handler.cc:221
|
#3 0x0000563d561f6e69 in mysql_ha_rm_tables (thd=thd@entry=0x14e3b0000d58, tables=<optimized out>) at /test/11.6_dbg/sql/sql_handler.cc:1119
|
#4 0x0000563d562407d7 in mysql_execute_command (thd=thd@entry=0x14e3b0000d58, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false)at /test/11.6_dbg/sql/sql_parse.cc:3807
|
#5 0x0000563d562470df in mysql_parse (thd=thd@entry=0x14e3b0000d58, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x14e3d013e250)at /test/11.6_dbg/sql/sql_parse.cc:7869
|
#6 0x0000563d56249466 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14e3b0000d58, packet=packet@entry=0x14e3b01004e9 "CREATE TABLE t(c INT)", packet_length=packet_length@entry=21, blocking=blocking@entry=true)at /test/11.6_dbg/sql/sql_class.h:256
|
#7 0x0000563d5624b88e in do_command (thd=0x14e3b0000d58, blocking=blocking@entry=true) at /test/11.6_dbg/sql/sql_parse.cc:1405
|
#8 0x0000563d563bcead in do_handle_one_connection (connect=<optimized out>, connect@entry=0x563d592d8508, put_in_cache=put_in_cache@entry=true)at /test/11.6_dbg/sql/sql_connect.cc:1448
|
#9 0x0000563d563bd1ae in handle_one_connection (arg=arg@entry=0x563d592d8508)at /test/11.6_dbg/sql/sql_connect.cc:1350
|
#10 0x0000563d56820039 in pfs_spawn_thread (arg=0x563d59257ff8)at /test/11.6_dbg/storage/perfschema/pfs.cc:2198
|
#11 0x000014e3d5e9ca94 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#12 0x000014e3d5f29c3c in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
Git bisecting found this commit:
commit ecc7961140968b3a9d464b65786bb3a3ca92bb42
|
Author: Monty <monty@mariadb.org>
|
Date: Thu Jul 11 14:52:23 2024 +0300
|
|
MDEV-34571 Add page accessed and pages read from disk to table_stats
|
|
Trivial batch, using the handler statistics already collected for
|
the slow query log.
|
|
The reason for the changes in test cases was mainly to change to use
|
select TABLE_SCHEMA ... from information_schema.table_statistics instead
|
of 'show table_statistics' to avoid future changes to test results
|
if we add more columns to table_statistics.
|
Testcase is both CLI and MTR compatible.
- is caused by
-
MDEV-34571
Add page accessed and pages read from disk to table_stats
-
-
Closed
{"report":{"fcp":1401.3999996185303,"ttfb":310.5,"pageVisibility":"visible","entityId":130387,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"c00b2f54-c6e7-49b5-8ccc-fa01436ccda6","navigationType":0,"readyForUser":1490.1999998092651,"redirectCount":0,"resourceLoadedEnd":1666.6999998092651,"resourceLoadedStart":316.3999996185303,"resourceTiming":[{"duration":588.6000003814697,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":316.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":316.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":905,"responseStart":0,"secureConnectionStart":0},{"duration":588.6999998092651,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":316.6000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":316.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":905.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":602.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":316.8999996185303,"connectEnd":316.8999996185303,"connectStart":316.8999996185303,"domainLookupEnd":316.8999996185303,"domainLookupStart":316.8999996185303,"fetchStart":316.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":316.8999996185303,"responseEnd":919.3999996185303,"responseStart":919.3999996185303,"secureConnectionStart":316.8999996185303},{"duration":676.3000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":317,"connectEnd":317,"connectStart":317,"domainLookupEnd":317,"domainLookupStart":317,"fetchStart":317,"redirectEnd":0,"redirectStart":0,"requestStart":317,"responseEnd":993.3000001907349,"responseStart":993.3000001907349,"secureConnectionStart":317},{"duration":679.9000005722046,"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":317.19999980926514,"connectEnd":317.19999980926514,"connectStart":317.19999980926514,"domainLookupEnd":317.19999980926514,"domainLookupStart":317.19999980926514,"fetchStart":317.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":317.19999980926514,"responseEnd":997.1000003814697,"responseStart":997.1000003814697,"secureConnectionStart":317.19999980926514},{"duration":680.1000003814697,"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":317.5,"connectEnd":317.5,"connectStart":317.5,"domainLookupEnd":317.5,"domainLookupStart":317.5,"fetchStart":317.5,"redirectEnd":0,"redirectStart":0,"requestStart":317.5,"responseEnd":997.6000003814697,"responseStart":997.6000003814697,"secureConnectionStart":317.5},{"duration":680.3999996185303,"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":317.6000003814697,"connectEnd":317.6000003814697,"connectStart":317.6000003814697,"domainLookupEnd":317.6000003814697,"domainLookupStart":317.6000003814697,"fetchStart":317.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":317.6000003814697,"responseEnd":998,"responseStart":998,"secureConnectionStart":317.6000003814697},{"duration":746.8999996185303,"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":317.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":317.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1064.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":680.6000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":317.8999996185303,"connectEnd":317.8999996185303,"connectStart":317.8999996185303,"domainLookupEnd":317.8999996185303,"domainLookupStart":317.8999996185303,"fetchStart":317.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":317.8999996185303,"responseEnd":998.5,"responseStart":998.5,"secureConnectionStart":317.8999996185303},{"duration":746.7999992370605,"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":318.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":318.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1064.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":680.8000001907349,"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":318.3999996185303,"connectEnd":318.3999996185303,"connectStart":318.3999996185303,"domainLookupEnd":318.3999996185303,"domainLookupStart":318.3999996185303,"fetchStart":318.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":318.3999996185303,"responseEnd":999.1999998092651,"responseStart":999.1999998092651,"secureConnectionStart":318.3999996185303},{"duration":841.1999998092651,"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":319.30000019073486,"connectEnd":319.30000019073486,"connectStart":319.30000019073486,"domainLookupEnd":319.30000019073486,"domainLookupStart":319.30000019073486,"fetchStart":319.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":319.30000019073486,"responseEnd":1160.5,"responseStart":1160.5,"secureConnectionStart":319.30000019073486},{"duration":1302.3000001907349,"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":331.80000019073486,"connectEnd":331.80000019073486,"connectStart":331.80000019073486,"domainLookupEnd":331.80000019073486,"domainLookupStart":331.80000019073486,"fetchStart":331.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":331.80000019073486,"responseEnd":1634.1000003814697,"responseStart":1634.1000003814697,"secureConnectionStart":331.80000019073486},{"duration":94.20000076293945,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1077.3999996185303,"connectEnd":1077.3999996185303,"connectStart":1077.3999996185303,"domainLookupEnd":1077.3999996185303,"domainLookupStart":1077.3999996185303,"fetchStart":1077.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1077.3999996185303,"responseEnd":1171.6000003814697,"responseStart":1171.6000003814697,"secureConnectionStart":1077.3999996185303},{"duration":312.30000019073486,"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","startTime":1354.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1354.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1666.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":295.19999980926514,"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","startTime":1355.5,"connectEnd":1355.5,"connectStart":1355.5,"domainLookupEnd":1355.5,"domainLookupStart":1355.5,"fetchStart":1355.5,"redirectEnd":0,"redirectStart":0,"requestStart":1355.5,"responseEnd":1650.6999998092651,"responseStart":1650.6999998092651,"secureConnectionStart":1355.5},{"duration":302.20000076293945,"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","startTime":1355.8999996185303,"connectEnd":1355.8999996185303,"connectStart":1355.8999996185303,"domainLookupEnd":1355.8999996185303,"domainLookupStart":1355.8999996185303,"fetchStart":1355.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1355.8999996185303,"responseEnd":1658.1000003814697,"responseStart":1658.1000003814697,"secureConnectionStart":1355.8999996185303},{"duration":280.5999994277954,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1395.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1395.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1675.6999998092651,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":79,"responseStart":310,"responseEnd":333,"domLoading":314,"domInteractive":1681,"domContentLoadedEventStart":1681,"domContentLoadedEventEnd":1740,"domComplete":2109,"loadEventStart":2109,"loadEventEnd":2109,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1636.1000003814697},{"name":"bigPipe.sidebar-id.end","time":1637},{"name":"bigPipe.activity-panel-pipe-id.start","time":1637.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1642.6999998092651},{"name":"activityTabFullyLoaded","time":1763.6000003814697}],"measures":[],"correlationId":"eed3799e3028","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":140,"dbReadsTimeInMs":12,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Additional testcase
Leading to slightly different stack (frame #3 differs):
11.6.1 05fe3f1c186a221c4455b4d83a9d59f09f2dfadb (Debug)
Core was generated by `/test/MD130824-mariadb-11.6.1-linux-x86_64-dbg/bin/mariadbd --no-defaults --max'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000055b006c90464 in handler::update_global_table_stats (this=this@entry=0x14b47402ab40) at /test/11.6_dbg/sql/handler.cc:6109
warning: 6109 /test/11.6_dbg/sql/handler.cc: No such file or directory
[Current thread is 1 (LWP 2355582)]
(gdb) bt
#0 0x000055b006c90464 in handler::update_global_table_stats (this=this@entry=0x14b47402ab40) at /test/11.6_dbg/sql/handler.cc:6109
#1 0x000055b0068d7bb7 in close_thread_table (thd=thd@entry=0x14b474000d58, table_ptr=table_ptr@entry=0x14b4d4b00b50)at /test/11.6_dbg/sql/sql_base.cc:1016
#2 0x000055b0069191f2 in mysql_ha_close_table (handler=handler@entry=0x14b47402d550)at /test/11.6_dbg/sql/sql_handler.cc:221
#3 0x000055b00691a054 in mysql_ha_close (thd=thd@entry=0x14b474000d58, tables=tables@entry=0x14b47401ac20)at /test/11.6_dbg/sql/sql_handler.cc:533
#4 0x000055b006969ce3 in mysql_execute_command (thd=thd@entry=0x14b474000d58, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false)at /test/11.6_dbg/sql/sql_parse.cc:5432
#5 0x000055b00696c0df in mysql_parse (thd=thd@entry=0x14b474000d58, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x14b4d4b01250)at /test/11.6_dbg/sql/sql_parse.cc:7869
#6 0x000055b00696e466 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14b474000d58, packet=packet@entry=0x14b47400b329 "HANDLER t close", packet_length=packet_length@entry=15, blocking=blocking@entry=true)at /test/11.6_dbg/sql/sql_class.h:256
#7 0x000055b00697088e in do_command (thd=0x14b474000d58, blocking=blocking@entry=true) at /test/11.6_dbg/sql/sql_parse.cc:1405
#8 0x000055b006ae1ead in do_handle_one_connection (connect=<optimized out>, connect@entry=0x55b00b41f208, put_in_cache=put_in_cache@entry=true)at /test/11.6_dbg/sql/sql_connect.cc:1448
#9 0x000055b006ae21ae in handle_one_connection (arg=arg@entry=0x55b00b41f208)at /test/11.6_dbg/sql/sql_connect.cc:1350
#10 0x000055b006f45039 in pfs_spawn_thread (arg=0x55b00b3f37a8)at /test/11.6_dbg/storage/perfschema/pfs.cc:2198
#11 0x000014b4d7a9ca94 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
#12 0x000014b4d7b29c3c in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Testcase is both CLI and MTR compatible.