--source include/have_innodb.inc
|
|
CREATE TABLE t1 (
|
a INT,
|
va INT AS (a) VIRTUAL,
|
b INT,
|
vb INT AS (b) VIRTUAL,
|
c INT,
|
vc INT AS (c) VIRTUAL,
|
d INT,
|
e INT,
|
INDEX(va)
|
) ENGINE=InnoDB WITH SYSTEM VERSIONING;
|
REPLACE INTO t1 () VALUES (),();
|
SET STATEMENT system_versioning_alter_history=KEEP FOR ALTER TABLE t1 DROP e;
|
ALTER TABLE t1 ALGORITHM=INPLACE, DROP SYSTEM VERSIONING;
|
|
# Cleanup
|
DROP TABLE t1;
|
10.4 fe4a4bb0
|
mysqld: /data/src/10.4/storage/innobase/dict/dict0mem.cc:1280: bool dict_index_t::vers_history_row(const rec_t*, const ulint*): Assertion `col.vers_sys_end()' failed.
|
190910 13:41:11 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007f83bca0ff12 in __GI___assert_fail (assertion=0x564ea66151a5 "col.vers_sys_end()", file=0x564ea6614ca0 "/data/src/10.4/storage/innobase/dict/dict0mem.cc", line=1280, function=0x564ea66167e0 <dict_index_t::vers_history_row(unsigned char const*, unsigned long const*)::__PRETTY_FUNCTION__> "bool dict_index_t::vers_history_row(const rec_t*, const ulint*)") at assert.c:101
|
#8 0x0000564ea5f33408 in dict_index_t::vers_history_row (this=0x7f836c0816c8, rec=0x7f83b65bc07e "", offsets=0x7f836c3b1e38) at /data/src/10.4/storage/innobase/dict/dict0mem.cc:1280
|
#9 0x0000564ea5d2c597 in row_merge_read_clustered_index (trx=0x7f83b6879140, table=0x7f83b5ddc830, old_table=0x7f836c07df68, new_table=0x7f836c070748, online=false, index=0x7f836c15d7a8, fts_sort_idx=0x0, psort_info=0x0, files=0x7f836c191720, key_numbers=0x7f836c15d7b8, n_index=2, defaults=0x0, add_v=0x0, col_map=0x7f836c15d840, add_autoinc=18446744073709551615, sequence=..., block=0x7f83ac4f9000 <error: Cannot access memory at address 0x7f83ac4f9000>, skip_pk_sort=true, tmpfd=0x7f83b5ddb970, stage=0x7f836c0e8fe0, pct_cost=33.333333333333336, crypt_block=0x0, eval_table=0x7f83b5ddc830, allow_not_null=false) at /data/src/10.4/storage/innobase/row/row0merge.cc:2308
|
#10 0x0000564ea5d34583 in row_merge_build_indexes (trx=0x7f83b6879140, old_table=0x7f836c07df68, new_table=0x7f836c070748, online=false, indexes=0x7f836c15d7a8, key_numbers=0x7f836c15d7b8, n_indexes=2, table=0x7f83b5ddc830, defaults=0x0, col_map=0x7f836c15d840, add_autoinc=18446744073709551615, sequence=..., skip_pk_sort=true, stage=0x7f836c0e8fe0, add_v=0x0, eval_table=0x7f83b5ddc830, allow_not_null=false) at /data/src/10.4/storage/innobase/row/row0merge.cc:4718
|
#11 0x0000564ea5bdcdbe in ha_innobase::inplace_alter_table (this=0x7f836c1a1f68, altered_table=0x7f83b5ddc830, ha_alter_info=0x7f83b5ddc7a0) at /data/src/10.4/storage/innobase/handler/handler0alter.cc:8381
|
#12 0x0000564ea56d32ed in handler::ha_inplace_alter_table (this=0x7f836c1a1f68, altered_table=0x7f83b5ddc830, ha_alter_info=0x7f83b5ddc7a0) at /data/src/10.4/sql/handler.h:4324
|
#13 0x0000564ea56c7496 in mysql_inplace_alter_table (thd=0x7f836c000b00, table_list=0x7f836c013238, table=0x7f836c1a1100, altered_table=0x7f83b5ddc830, ha_alter_info=0x7f83b5ddc7a0, inplace_supported=HA_ALTER_INPLACE_COPY_LOCK, target_mdl_request=0x7f83b5ddd600, alter_ctx=0x7f83b5dde130) at /data/src/10.4/sql/sql_table.cc:7715
|
#14 0x0000564ea56ce2af in mysql_alter_table (thd=0x7f836c000b00, new_db=0x7f836c0052b8, new_name=0x7f836c0056c0, create_info=0x7f83b5dded10, table_list=0x7f836c013238, alter_info=0x7f83b5ddec50, order_num=0, order=0x0, ignore=false) at /data/src/10.4/sql/sql_table.cc:10092
|
#15 0x0000564ea5766683 in Sql_cmd_alter_table::execute (this=0x7f836c0138f8, thd=0x7f836c000b00) at /data/src/10.4/sql/sql_alter.cc:508
|
#16 0x0000564ea55e4369 in mysql_execute_command (thd=0x7f836c000b00) at /data/src/10.4/sql/sql_parse.cc:6099
|
#17 0x0000564ea55e9ab2 in mysql_parse (thd=0x7f836c000b00, rawbuf=0x7f836c013118 "ALTER TABLE t1 ALGORITHM=INPLACE, DROP SYSTEM VERSIONING", length=56, parser_state=0x7f83b5de0170, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:7909
|
#18 0x0000564ea55d4ab2 in dispatch_command (command=COM_QUERY, thd=0x7f836c000b00, packet=0x7f836c1379d1 "ALTER TABLE t1 ALGORITHM=INPLACE, DROP SYSTEM VERSIONING", packet_length=56, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1843
|
#19 0x0000564ea55d30fc in do_command (thd=0x7f836c000b00) at /data/src/10.4/sql/sql_parse.cc:1360
|
#20 0x0000564ea575ce45 in do_handle_one_connection (connect=0x564ea98e7960) at /data/src/10.4/sql/sql_connect.cc:1412
|
#21 0x0000564ea575cb94 in handle_one_connection (arg=0x564ea98e7960) at /data/src/10.4/sql/sql_connect.cc:1316
|
#22 0x0000564ea6194173 in pfs_spawn_thread (arg=0x564ea98662d0) at /data/src/10.4/storage/perfschema/pfs.cc:1862
|
#23 0x00007f83be5844a4 in start_thread (arg=0x7f83b5de1700) at pthread_create.c:456
|
#24 0x00007f83bcaccd0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
|
Not reproducible on 10.3.
No obvious effect on a non-debug build.
{"report":{"fcp":2901,"ttfb":1791.6999999284744,"pageVisibility":"visible","entityId":78847,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"0480e6fe-379d-437c-846d-719e6ddb2b15","navigationType":0,"readyForUser":2985,"redirectCount":0,"resourceLoadedEnd":3716.600000023842,"resourceLoadedStart":1803.1999999284744,"resourceTiming":[{"duration":506.10000002384186,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":1803.1999999284744,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1803.1999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2309.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":506.1999999284744,"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":1803.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1803.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2309.6999999284744,"responseStart":0,"secureConnectionStart":0},{"duration":515.8000000715256,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":1803.6999999284744,"connectEnd":1803.6999999284744,"connectStart":1803.6999999284744,"domainLookupEnd":1803.6999999284744,"domainLookupStart":1803.6999999284744,"fetchStart":1803.6999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":1803.6999999284744,"responseEnd":2319.5,"responseStart":2319.5,"secureConnectionStart":1803.6999999284744},{"duration":701.7999999523163,"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":1803.8999999761581,"connectEnd":1803.8999999761581,"connectStart":1803.8999999761581,"domainLookupEnd":1803.8999999761581,"domainLookupStart":1803.8999999761581,"fetchStart":1803.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":1803.8999999761581,"responseEnd":2505.6999999284744,"responseStart":2505.6999999284744,"secureConnectionStart":1803.8999999761581},{"duration":707,"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":1804,"connectEnd":1804,"connectStart":1804,"domainLookupEnd":1804,"domainLookupStart":1804,"fetchStart":1804,"redirectEnd":0,"redirectStart":0,"requestStart":1804,"responseEnd":2511,"responseStart":2510.899999976158,"secureConnectionStart":1804},{"duration":707.7000000476837,"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":1804.2999999523163,"connectEnd":1804.2999999523163,"connectStart":1804.2999999523163,"domainLookupEnd":1804.2999999523163,"domainLookupStart":1804.2999999523163,"fetchStart":1804.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1804.2999999523163,"responseEnd":2512,"responseStart":2512,"secureConnectionStart":1804.2999999523163},{"duration":708.6000000238419,"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":1804.5,"connectEnd":1804.5,"connectStart":1804.5,"domainLookupEnd":1804.5,"domainLookupStart":1804.5,"fetchStart":1804.5,"redirectEnd":0,"redirectStart":0,"requestStart":1804.5,"responseEnd":2513.100000023842,"responseStart":2513.100000023842,"secureConnectionStart":1804.5},{"duration":714.8000000715256,"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":1804.6999999284744,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1804.6999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2519.5,"responseStart":0,"secureConnectionStart":0},{"duration":714.6000000238419,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":1804.8999999761581,"connectEnd":1804.8999999761581,"connectStart":1804.8999999761581,"domainLookupEnd":1804.8999999761581,"domainLookupStart":1804.8999999761581,"fetchStart":1804.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":1804.8999999761581,"responseEnd":2519.5,"responseStart":2519.5,"secureConnectionStart":1804.8999999761581},{"duration":718.7999999523163,"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":1805,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1805,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2523.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":717.7999999523163,"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":1805.1000000238419,"connectEnd":1805.1000000238419,"connectStart":1805.1000000238419,"domainLookupEnd":1805.1000000238419,"domainLookupStart":1805.1000000238419,"fetchStart":1805.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":1805.1000000238419,"responseEnd":2522.899999976158,"responseStart":2522.899999976158,"secureConnectionStart":1805.1000000238419},{"duration":1558.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":1806,"connectEnd":1806,"connectStart":1806,"domainLookupEnd":1806,"domainLookupStart":1806,"fetchStart":1806,"redirectEnd":0,"redirectStart":0,"requestStart":1806,"responseEnd":3364.5,"responseStart":3364.5,"secureConnectionStart":1806},{"duration":1910.5,"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":1806.1000000238419,"connectEnd":1806.1000000238419,"connectStart":1806.1000000238419,"domainLookupEnd":1806.1000000238419,"domainLookupStart":1806.1000000238419,"fetchStart":1806.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":1806.1000000238419,"responseEnd":3716.600000023842,"responseStart":3716.600000023842,"secureConnectionStart":1806.1000000238419},{"duration":840.8999999761581,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":2502.5,"connectEnd":2502.5,"connectStart":2502.5,"domainLookupEnd":2502.5,"domainLookupStart":2502.5,"fetchStart":2502.5,"redirectEnd":0,"redirectStart":0,"requestStart":2502.5,"responseEnd":3343.399999976158,"responseStart":3343.399999976158,"secureConnectionStart":2502.5}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":1597,"responseStart":1791,"responseEnd":1797,"domLoading":1800,"domInteractive":3750,"domContentLoadedEventStart":3750,"domContentLoadedEventEnd":3817,"domComplete":6290,"loadEventStart":6290,"loadEventEnd":6291,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":3726.5},{"name":"bigPipe.sidebar-id.end","time":3727.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":3727.600000023842},{"name":"bigPipe.activity-panel-pipe-id.end","time":3729.100000023842},{"name":"activityTabFullyLoaded","time":3836.899999976158}],"measures":[],"correlationId":"a33461283bc313","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":129,"dbReadsTimeInMs":28,"dbConnsTimeInMs":40,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}