--source include/have_innodb.inc
|
|
CREATE OR REPLACE TABLE t1 (b CHAR(8) GENERATED ALWAYS AS ('') VIRTUAL) ENGINE=InnoDB;
|
INSERT INTO t1 () VALUES ();
|
ALTER TABLE t1 ADD `row_start` BIGINT UNSIGNED AS ROW START, ADD `row_end` BIGINT UNSIGNED AS ROW END, ADD PERIOD FOR SYSTEM_TIME(`row_start`,`row_end`), WITH SYSTEM VERSIONING;
|
|
# Cleanup
|
DROP TABLE t1;
|
10.3 d30f17af
|
mysqld: /data/src/10.3/storage/innobase/handler/ha_innodb.cc:3641: ulonglong innodb_prepare_commit_versioned(THD*, ulonglong*): Assertion `t->first->versioned_by_id()' failed.
|
190309 1:14:30 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007f780fb75ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
|
#8 0x000055c58597fb7c in innodb_prepare_commit_versioned (thd=0x7f77c0000b00, trx_id=0x7f7808eb8020) at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:3641
|
#9 0x000055c58544415b in mysql_inplace_alter_table (thd=0x7f77c0000b00, table_list=0x7f77c0014f08, table=0x7f77c00a60d0, altered_table=0x7f77c006db90, ha_alter_info=0x7f7808eb88b0, inplace_supported=HA_ALTER_INPLACE_COPY_LOCK, target_mdl_request=0x7f7808eb8ae0, alter_ctx=0x7f7808eb9090) at /data/src/10.3/sql/sql_table.cc:7578
|
#10 0x000055c58544a35e in mysql_alter_table (thd=0x7f77c0000b00, new_db=0x7f77c00051d0, new_name=0x7f77c0005590, create_info=0x7f7808eb9c80, table_list=0x7f77c0014f08, alter_info=0x7f7808eb9bc0, order_num=0, order=0x0, ignore=false) at /data/src/10.3/sql/sql_table.cc:9758
|
#11 0x000055c5854d252b in Sql_cmd_alter_table::execute (this=0x7f77c0015818, thd=0x7f77c0000b00) at /data/src/10.3/sql/sql_alter.cc:497
|
#12 0x000055c585373678 in mysql_execute_command (thd=0x7f77c0000b00) at /data/src/10.3/sql/sql_parse.cc:6335
|
#13 0x000055c58537873a in mysql_parse (thd=0x7f77c0000b00, rawbuf=0x7f77c0014cf8 "ALTER TABLE t1 ADD `row_start` BIGINT UNSIGNED AS ROW START, ADD `row_end` BIGINT UNSIGNED AS ROW END, ADD PERIOD FOR SYSTEM_TIME(`row_start`,`row_end`), WITH SYSTEM VERSIONING", length=176, parser_state=0x7f7808ebb5f0, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:8142
|
#14 0x000055c585365825 in dispatch_command (command=COM_QUERY, thd=0x7f77c0000b00, packet=0x7f77c01622e1 "ALTER TABLE t1 ADD `row_start` BIGINT UNSIGNED AS ROW START, ADD `row_end` BIGINT UNSIGNED AS ROW END, ADD PERIOD FOR SYSTEM_TIME(`row_start`,`row_end`), WITH SYSTEM VERSIONING", packet_length=176, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1854
|
#15 0x000055c58536420f in do_command (thd=0x7f77c0000b00) at /data/src/10.3/sql/sql_parse.cc:1396
|
#16 0x000055c5854ccab5 in do_handle_one_connection (connect=0x55c58869b110) at /data/src/10.3/sql/sql_connect.cc:1403
|
#17 0x000055c5854cc839 in handle_one_connection (arg=0x55c58869b110) at /data/src/10.3/sql/sql_connect.cc:1309
|
#18 0x000055c585968fdb in pfs_spawn_thread (arg=0x55c5885e0400) at /data/src/10.3/storage/perfschema/pfs.cc:1862
|
#19 0x00007f781184c494 in start_thread (arg=0x7f7808ebc700) at pthread_create.c:333
|
#20 0x00007f780fc3293f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
No obvious effect on a non-debug build.
{"report":{"fcp":650.4000000953674,"ttfb":180,"pageVisibility":"visible","entityId":73055,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"1c3eeef5-e0fa-4a56-beac-ac99c841eb6b","navigationType":0,"readyForUser":726.8000001907349,"redirectCount":0,"resourceLoadedEnd":689.4000000953674,"resourceLoadedStart":185.90000009536743,"resourceTiming":[{"duration":6.900000095367432,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":185.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":185.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":192.80000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":6.8999998569488525,"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":186.10000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":186.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":193,"responseStart":0,"secureConnectionStart":0},{"duration":60.799999952316284,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":186.30000019073486,"connectEnd":186.30000019073486,"connectStart":186.30000019073486,"domainLookupEnd":186.30000019073486,"domainLookupStart":186.30000019073486,"fetchStart":186.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":186.30000019073486,"responseEnd":247.10000014305115,"responseStart":247.10000014305115,"secureConnectionStart":186.30000019073486},{"duration":146.39999985694885,"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":186.30000019073486,"connectEnd":186.30000019073486,"connectStart":186.30000019073486,"domainLookupEnd":186.30000019073486,"domainLookupStart":186.30000019073486,"fetchStart":186.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":186.30000019073486,"responseEnd":332.7000000476837,"responseStart":332.7000000476837,"secureConnectionStart":186.30000019073486},{"duration":149.79999995231628,"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":186.60000014305115,"connectEnd":186.60000014305115,"connectStart":186.60000014305115,"domainLookupEnd":186.60000014305115,"domainLookupStart":186.60000014305115,"fetchStart":186.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":186.60000014305115,"responseEnd":336.40000009536743,"responseStart":336.40000009536743,"secureConnectionStart":186.60000014305115},{"duration":150.70000004768372,"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":186.60000014305115,"connectEnd":186.60000014305115,"connectStart":186.60000014305115,"domainLookupEnd":186.60000014305115,"domainLookupStart":186.60000014305115,"fetchStart":186.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":186.60000014305115,"responseEnd":337.30000019073486,"responseStart":337.30000019073486,"secureConnectionStart":186.60000014305115},{"duration":151.19999980926514,"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":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":338,"responseStart":338,"secureConnectionStart":186.80000019073486},{"duration":151.59999990463257,"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":186.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":186.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":338.5,"responseStart":0,"secureConnectionStart":0},{"duration":151.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":187,"connectEnd":187,"connectStart":187,"domainLookupEnd":187,"domainLookupStart":187,"fetchStart":187,"redirectEnd":0,"redirectStart":0,"requestStart":187,"responseEnd":338.5,"responseStart":338.5,"secureConnectionStart":187},{"duration":152.29999995231628,"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":187.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":187.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":339.5,"responseStart":0,"secureConnectionStart":0},{"duration":152.29999995231628,"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":187.30000019073486,"connectEnd":187.30000019073486,"connectStart":187.30000019073486,"domainLookupEnd":187.30000019073486,"domainLookupStart":187.30000019073486,"fetchStart":187.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":187.30000019073486,"responseEnd":339.60000014305115,"responseStart":339.60000014305115,"secureConnectionStart":187.30000019073486},{"duration":498.7999999523163,"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":187.90000009536743,"connectEnd":187.90000009536743,"connectStart":187.90000009536743,"domainLookupEnd":187.90000009536743,"domainLookupStart":187.90000009536743,"fetchStart":187.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":187.90000009536743,"responseEnd":686.7000000476837,"responseStart":686.7000000476837,"secureConnectionStart":187.90000009536743},{"duration":501.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":187.90000009536743,"connectEnd":187.90000009536743,"connectStart":187.90000009536743,"domainLookupEnd":187.90000009536743,"domainLookupStart":187.90000009536743,"fetchStart":187.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":187.90000009536743,"responseEnd":689.4000000953674,"responseStart":689.4000000953674,"secureConnectionStart":187.90000009536743},{"duration":280.7999999523163,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":406.2000000476837,"connectEnd":406.2000000476837,"connectStart":406.2000000476837,"domainLookupEnd":406.2000000476837,"domainLookupStart":406.2000000476837,"fetchStart":406.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":406.2000000476837,"responseEnd":687,"responseStart":687,"secureConnectionStart":406.2000000476837},{"duration":56.299999952316284,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":643.6000001430511,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":643.6000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":699.9000000953674,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":50,"responseStart":180,"responseEnd":184,"domLoading":183,"domInteractive":839,"domContentLoadedEventStart":839,"domContentLoadedEventEnd":886,"domComplete":1041,"loadEventStart":1042,"loadEventEnd":1044,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":819.3000001907349},{"name":"bigPipe.sidebar-id.end","time":820.1000001430511},{"name":"bigPipe.activity-panel-pipe-id.start","time":820.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.end","time":821.6000001430511},{"name":"activityTabFullyLoaded","time":905}],"measures":[],"correlationId":"276c243e2caadf","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":77,"dbReadsTimeInMs":14,"dbConnsTimeInMs":22,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
reproduced without virtual columns: