rename table mysql.table_stats to test.table_stats;
|
flush tables;
|
create table t1 (a int);
|
rename table t1 to t2, t3 to t4;
|
drop table t1;
|
rename table test.table_stats to mysql.table_stats;
|
rename table mysql.table_stats to test.table_stats;
|
create table mysql.table_stats (a int);
|
flush tables;
|
create table t1 (a int);
|
rename table t1 to t2, t3 to t4;
|
drop table t1, mysql.table_stats;
|
rename table test.table_stats to mysql.table_stats;
|
First test case, debug server
|
mysqld: /data/src/10.1/sql/protocol.cc:523: void Protocol::end_statement(): Assertion `0' failed.
|
160725 21:30:51 [ERROR] mysqld got signal 6 ;
|
|
#6 0x00007f33f1eba266 in __assert_fail_base (fmt=0x7f33f1ff3238 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f33f4fb7df0 "0", file=file@entry=0x7f33f4fb7e70 "/data/src/10.1/sql/protocol.cc", line=line@entry=523, function=function@entry=0x7f33f4fb8860 <Protocol::end_statement()::__PRETTY_FUNCTION__> "void Protocol::end_statement()") at assert.c:92
|
#7 0x00007f33f1eba312 in __GI___assert_fail (assertion=0x7f33f4fb7df0 "0", file=0x7f33f4fb7e70 "/data/src/10.1/sql/protocol.cc", line=523, function=0x7f33f4fb8860 <Protocol::end_statement()::__PRETTY_FUNCTION__> "void Protocol::end_statement()") at assert.c:101
|
#8 0x00007f33f46088ce in Protocol::end_statement (this=0x7f33ce356600) at /data/src/10.1/sql/protocol.cc:523
|
#9 0x00007f33f46bdab4 in dispatch_command (command=COM_QUERY, thd=0x7f33ce356070, packet=0x7f33ce2bb071 "rename table t1 to t2, t3 to t4", packet_length=31) at /data/src/10.1/sql/sql_parse.cc:1939
|
#10 0x00007f33f46bb21b in do_command (thd=0x7f33ce356070) at /data/src/10.1/sql/sql_parse.cc:1107
|
#11 0x00007f33f47f0e45 in do_handle_one_connection (thd_arg=0x7f33ce356070) at /data/src/10.1/sql/sql_connect.cc:1350
|
#12 0x00007f33f47f0ba9 in handle_one_connection (arg=0x7f33ce356070) at /data/src/10.1/sql/sql_connect.cc:1262
|
#13 0x00007f33f3dbc0a4 in start_thread (arg=0x7f33f55f2b00) at pthread_create.c:309
|
#14 0x00007f33f1f7487d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
|
Second test case, debug server
|
#3 <signal handler called>
|
#4 0x00007fd9a9703b5a in Stat_table::common_init_stat_table (this=0x7fd9aa589240) at /data/src/10.1/sql/sql_statistics.cc:318
|
#5 0x00007fd9a9703d76 in Stat_table::Stat_table (this=0x7fd9aa589240, stat=0x7fd9a6758c70, db=0x7fd9aa58a930, tab=0x7fd9aa58a940) at /data/src/10.1/sql/sql_statistics.cc:391
|
#6 0x00007fd9a9704292 in Table_stat::Table_stat (this=0x7fd9aa589240, stat=0x7fd9a6758c70, db=0x7fd9aa58a930, tab=0x7fd9aa58a940) at /data/src/10.1/sql/sql_statistics.cc:656
|
#7 0x00007fd9a97020eb in rename_table_in_stat_tables (thd=0x7fd983356070, db=0x7fd9aa58a930, tab=0x7fd9aa58a940, new_db=0x7fd9aa58a960, new_tab=0x7fd9aa58a950) at /data/src/10.1/sql/sql_statistics.cc:3441
|
#8 0x00007fd9a9684425 in do_rename (thd=0x7fd983356070, ren_table=0x7fd97a0221a0, new_db=0x7fd97a022d90 "test", new_table_name=0x7fd97a022168 "t2", new_table_alias=0x7fd97a022798 "t2", skip_error=false) at /data/src/10.1/sql/sql_rename.cc:279
|
#9 0x00007fd9a968462c in rename_tables (thd=0x7fd983356070, table_list=0x7fd97a0221a0, skip_error=false) at /data/src/10.1/sql/sql_rename.cc:354
|
#10 0x00007fd9a9683fcc in mysql_rename_tables (thd=0x7fd983356070, table_list=0x7fd97a0221a0, silent=false) at /data/src/10.1/sql/sql_rename.cc:153
|
#11 0x00007fd9a965bf2f in mysql_execute_command (thd=0x7fd983356070) at /data/src/10.1/sql/sql_parse.cc:3613
|
#12 0x00007fd9a9667aba in mysql_parse (thd=0x7fd983356070, rawbuf=0x7fd97a022088 "rename table t1 to t2, t3 to t4", length=31, parser_state=0x7fd9aa58b630) at /data/src/10.1/sql/sql_parse.cc:7314
|
#13 0x00007fd9a96564e4 in dispatch_command (command=COM_QUERY, thd=0x7fd983356070, packet=0x7fd9832bb071 "rename table t1 to t2, t3 to t4", packet_length=31) at /data/src/10.1/sql/sql_parse.cc:1486
|
#14 0x00007fd9a965521b in do_command (thd=0x7fd983356070) at /data/src/10.1/sql/sql_parse.cc:1107
|
#15 0x00007fd9a978ae45 in do_handle_one_connection (thd_arg=0x7fd983356070) at /data/src/10.1/sql/sql_connect.cc:1350
|
#16 0x00007fd9a978aba9 in handle_one_connection (arg=0x7fd983356070) at /data/src/10.1/sql/sql_connect.cc:1262
|
#17 0x00007fd9a8d560a4 in start_thread (arg=0x7fd9aa58cb00) at pthread_create.c:309
|
#18 0x00007fd9a6f0e87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
|
{"report":{"fcp":882.6000001430511,"ttfb":133,"pageVisibility":"visible","entityId":57484,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"982840ee-1c00-4080-ac48-2e073a651bb8","navigationType":0,"readyForUser":950.6000001430511,"redirectCount":0,"resourceLoadedEnd":689.7000000476837,"resourceLoadedStart":138.40000009536743,"resourceTiming":[{"duration":294.89999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":138.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":138.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":433.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":294.69999980926514,"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":138.60000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":138.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":433.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":304.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":138.70000004768372,"connectEnd":138.70000004768372,"connectStart":138.70000004768372,"domainLookupEnd":138.70000004768372,"domainLookupStart":138.70000004768372,"fetchStart":138.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":138.70000004768372,"responseEnd":443.2000000476837,"responseStart":443.2000000476837,"secureConnectionStart":138.70000004768372},{"duration":329.2000000476837,"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":138.90000009536743,"connectEnd":138.90000009536743,"connectStart":138.90000009536743,"domainLookupEnd":138.90000009536743,"domainLookupStart":138.90000009536743,"fetchStart":138.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":138.90000009536743,"responseEnd":468.10000014305115,"responseStart":468.10000014305115,"secureConnectionStart":138.90000009536743},{"duration":332.69999980926514,"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":139.10000014305115,"connectEnd":139.10000014305115,"connectStart":139.10000014305115,"domainLookupEnd":139.10000014305115,"domainLookupStart":139.10000014305115,"fetchStart":139.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":139.10000014305115,"responseEnd":471.7999999523163,"responseStart":471.7999999523163,"secureConnectionStart":139.10000014305115},{"duration":332.90000009536743,"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":139.29999995231628,"connectEnd":139.29999995231628,"connectStart":139.29999995231628,"domainLookupEnd":139.29999995231628,"domainLookupStart":139.29999995231628,"fetchStart":139.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":139.29999995231628,"responseEnd":472.2000000476837,"responseStart":472.2000000476837,"secureConnectionStart":139.29999995231628},{"duration":333.2000000476837,"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":139.29999995231628,"connectEnd":139.29999995231628,"connectStart":139.29999995231628,"domainLookupEnd":139.29999995231628,"domainLookupStart":139.29999995231628,"fetchStart":139.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":139.29999995231628,"responseEnd":472.5,"responseStart":472.5,"secureConnectionStart":139.29999995231628},{"duration":334.2999999523163,"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":139.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":139.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":473.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":333.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":139.5,"connectEnd":139.5,"connectStart":139.5,"domainLookupEnd":139.5,"domainLookupStart":139.5,"fetchStart":139.5,"redirectEnd":0,"redirectStart":0,"requestStart":139.5,"responseEnd":472.90000009536743,"responseStart":472.90000009536743,"secureConnectionStart":139.5},{"duration":334.59999990463257,"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":139.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":139.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":474.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":333.7000000476837,"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":139.79999995231628,"connectEnd":139.79999995231628,"connectStart":139.79999995231628,"domainLookupEnd":139.79999995231628,"domainLookupStart":139.79999995231628,"fetchStart":139.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":139.79999995231628,"responseEnd":473.5,"responseStart":473.5,"secureConnectionStart":139.79999995231628},{"duration":383,"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":145.10000014305115,"connectEnd":145.10000014305115,"connectStart":145.10000014305115,"domainLookupEnd":145.10000014305115,"domainLookupStart":145.10000014305115,"fetchStart":145.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":145.10000014305115,"responseEnd":528.1000001430511,"responseStart":528.1000001430511,"secureConnectionStart":145.10000014305115},{"duration":544.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":145.20000004768372,"connectEnd":145.20000004768372,"connectStart":145.20000004768372,"domainLookupEnd":145.20000004768372,"domainLookupStart":145.20000004768372,"fetchStart":145.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":145.20000004768372,"responseEnd":689.7000000476837,"responseStart":689.7000000476837,"secureConnectionStart":145.20000004768372},{"duration":418.2000000476837,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":681.2000000476837,"connectEnd":681.2000000476837,"connectStart":681.2000000476837,"domainLookupEnd":681.2000000476837,"domainLookupStart":681.2000000476837,"fetchStart":681.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":681.2000000476837,"responseEnd":1099.4000000953674,"responseStart":1099.4000000953674,"secureConnectionStart":681.2000000476837}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":11,"responseStart":133,"responseEnd":139,"domLoading":136,"domInteractive":1046,"domContentLoadedEventStart":1046,"domContentLoadedEventEnd":1088,"domComplete":1822,"loadEventStart":1822,"loadEventEnd":1824,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1025.4000000953674},{"name":"bigPipe.sidebar-id.end","time":1026.2999999523163},{"name":"bigPipe.activity-panel-pipe-id.start","time":1026.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":1029.1000001430511},{"name":"activityTabFullyLoaded","time":1100}],"measures":[],"correlationId":"4d86c02b80d075","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":65,"dbReadsTimeInMs":9,"dbConnsTimeInMs":15,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}