--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":757,"ttfb":190.5,"pageVisibility":"visible","entityId":78847,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"9ff8eaa2-f58d-42d5-b006-2f3fa4572423","navigationType":0,"readyForUser":860.4000000953674,"redirectCount":0,"resourceLoadedEnd":930.3000001907349,"resourceLoadedStart":196,"resourceTiming":[{"duration":109.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bsh/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":196,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":196,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":305.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":109.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bsh/820016/12ta74/eb142f92e4bd16bd1ef8b08c1b9d5d56/_/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":196.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":196.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":305.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":168.2999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/c54b129276d75dc2a3460e1d78f37913-CDN/lu2bsh/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":196.40000009536743,"connectEnd":196.40000009536743,"connectStart":196.40000009536743,"domainLookupEnd":196.40000009536743,"domainLookupStart":196.40000009536743,"fetchStart":196.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":196.40000009536743,"responseEnd":364.69999980926514,"responseStart":364.69999980926514,"secureConnectionStart":196.40000009536743},{"duration":253.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/f867843cd2fdb209d4d1d4f760f86346-CDN/lu2bsh/820016/12ta74/eb142f92e4bd16bd1ef8b08c1b9d5d56/_/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":196.5,"connectEnd":196.5,"connectStart":196.5,"domainLookupEnd":196.5,"domainLookupStart":196.5,"fetchStart":196.5,"redirectEnd":0,"redirectStart":0,"requestStart":196.5,"responseEnd":449.90000009536743,"responseStart":449.90000009536743,"secureConnectionStart":196.5},{"duration":256.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/ffdb17665775c5b4d6f097f3974ee359-CDN/lu2bsh/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":196.69999980926514,"connectEnd":196.69999980926514,"connectStart":196.69999980926514,"domainLookupEnd":196.69999980926514,"domainLookupStart":196.69999980926514,"fetchStart":196.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":196.69999980926514,"responseEnd":453.5,"responseStart":453.5,"secureConnectionStart":196.69999980926514},{"duration":257.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":196.80000019073486,"connectEnd":196.80000019073486,"connectStart":196.80000019073486,"domainLookupEnd":196.80000019073486,"domainLookupStart":196.80000019073486,"fetchStart":196.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":196.80000019073486,"responseEnd":453.90000009536743,"responseStart":453.90000009536743,"secureConnectionStart":196.80000019073486},{"duration":257.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":196.80000019073486,"connectEnd":196.80000019073486,"connectStart":196.80000019073486,"domainLookupEnd":196.80000019073486,"domainLookupStart":196.80000019073486,"fetchStart":196.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":196.80000019073486,"responseEnd":454.19999980926514,"responseStart":454.19999980926514,"secureConnectionStart":196.80000019073486},{"duration":257.69999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bsh/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":196.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":196.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":454.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":257.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":197,"connectEnd":197,"connectStart":197,"domainLookupEnd":197,"domainLookupStart":197,"fetchStart":197,"redirectEnd":0,"redirectStart":0,"requestStart":197,"responseEnd":454.69999980926514,"responseStart":454.69999980926514,"secureConnectionStart":197},{"duration":257.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bsh/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":197.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":197.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":455,"responseStart":0,"secureConnectionStart":0},{"duration":258,"initiatorType":"script","name":"https://jira.mariadb.org/s/81b5d7c27af3ebc078cc4a36383678ba-CDN/lu2bsh/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":197.19999980926514,"connectEnd":197.19999980926514,"connectStart":197.19999980926514,"domainLookupEnd":197.19999980926514,"domainLookupStart":197.19999980926514,"fetchStart":197.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":197.19999980926514,"responseEnd":455.19999980926514,"responseStart":455.19999980926514,"secureConnectionStart":197.19999980926514},{"duration":521.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":202.30000019073486,"connectEnd":202.30000019073486,"connectStart":202.30000019073486,"domainLookupEnd":202.30000019073486,"domainLookupStart":202.30000019073486,"fetchStart":202.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":202.30000019073486,"responseEnd":723.6999998092651,"responseStart":723.6999998092651,"secureConnectionStart":202.30000019073486},{"duration":664.2999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":202.40000009536743,"connectEnd":202.40000009536743,"connectStart":202.40000009536743,"domainLookupEnd":202.40000009536743,"domainLookupStart":202.40000009536743,"fetchStart":202.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":202.40000009536743,"responseEnd":866.6999998092651,"responseStart":866.6999998092651,"secureConnectionStart":202.40000009536743},{"duration":205.59999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":518.4000000953674,"connectEnd":518.4000000953674,"connectStart":518.4000000953674,"domainLookupEnd":518.4000000953674,"domainLookupStart":518.4000000953674,"fetchStart":518.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":518.4000000953674,"responseEnd":724,"responseStart":724,"secureConnectionStart":518.4000000953674},{"duration":126.90000009536743,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":750.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":750.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":877.5,"responseStart":0,"secureConnectionStart":0},{"duration":156.10000038146973,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&slack-enabled=true","startTime":774.1999998092651,"connectEnd":774.1999998092651,"connectStart":774.1999998092651,"domainLookupEnd":774.1999998092651,"domainLookupStart":774.1999998092651,"fetchStart":774.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":774.1999998092651,"responseEnd":930.3000001907349,"responseStart":930.3000001907349,"secureConnectionStart":774.1999998092651}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":55,"responseStart":191,"responseEnd":195,"domLoading":194,"domInteractive":960,"domContentLoadedEventStart":960,"domContentLoadedEventEnd":1004,"domComplete":1237,"loadEventStart":1237,"loadEventEnd":1237,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":935.6999998092651},{"name":"bigPipe.sidebar-id.end","time":936.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":936.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":937.5999999046326},{"name":"activityTabFullyLoaded","time":1022.1999998092651}],"measures":[],"correlationId":"b14fcac483a8f9","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":80,"dbReadsTimeInMs":14,"dbConnsTimeInMs":22,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Please review bb-10.4-midenok