Note: Possibly related to or even caused by MDEV-22414.
CREATE TABLE t1 (id INT AUTO_INCREMENT, f VARCHAR(16), s DATE, e DATE, PERIOD FOR p(s,e), PRIMARY KEY(id)) WITH SYSTEM VERSIONING;
|
INSERT INTO t1 VALUES (1,NULL,'1973-07-30','2008-03-11'), (2,NULL,'1998-12-22','2037-11-05');
|
UPDATE IGNORE t1 SET id = NULL;
|
UPDATE t1 FOR PORTION OF p FROM '1998-08-17' TO '1998-09-19' SET f = NULL;
|
UPDATE t1 SET f = 'k';
|
|
# Cleanup
|
DROP TABLE t1;
|
10.4 38f6c47f
|
mysqld: /data/src/10.4/sql/field.cc:4238: virtual int Field_long::store(longlong, bool): Assertion `marked_for_write_or_computed()' failed.
|
200514 21:21:07 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007f9414dfef12 in __GI___assert_fail (assertion=0x557f8eb93b30 "marked_for_write_or_computed()", file=0x557f8eb9388b "/data/src/10.4/sql/field.cc", line=4238, function=0x557f8eb96280 <Field_long::store(long long, bool)::__PRETTY_FUNCTION__> "virtual int Field_long::store(longlong, bool)") at assert.c:101
|
#8 0x0000557f8e0213e1 in Field_long::store (this=0x7f93f4132db8, nr=5, unsigned_val=true) at /data/src/10.4/sql/field.cc:4238
|
#9 0x0000557f8e05c2dc in handler::update_auto_increment (this=0x7f93f412a318) at /data/src/10.4/sql/handler.cc:3431
|
#10 0x0000557f8e7d486a in ha_myisam::write_row (this=0x7f93f412a318, buf=0x7f93f4132cf0 "\377") at /data/src/10.4/storage/myisam/ha_myisam.cc:946
|
#11 0x0000557f8e065732 in handler::ha_write_row (this=0x7f93f412a318, buf=0x7f93f4132cf0 "\377") at /data/src/10.4/sql/handler.cc:6706
|
#12 0x0000557f8dcb4c47 in vers_insert_history_row (table=0x7f93f400ae20) at /data/src/10.4/sql/sql_insert.cc:1685
|
#13 0x0000557f8de0e6c2 in mysql_update (thd=0x7f93f4000af0, table_list=0x7f93f4013270, fields=..., values=..., conds=0x7f93f4013fd0, order_num=0, order=0x0, limit=18446744073709551615, ignore=false, found_return=0x7f940af8be40, updated_return=0x7f940af8bf00) at /data/src/10.4/sql/sql_update.cc:1073
|
#14 0x0000557f8dcffaf3 in mysql_execute_command (thd=0x7f93f4000af0) at /data/src/10.4/sql/sql_parse.cc:4376
|
#15 0x0000557f8dd0bb4d in mysql_parse (thd=0x7f93f4000af0, rawbuf=0x7f93f4013198 "UPDATE t1 SET f = 'k'", length=21, parser_state=0x7f940af8c570, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:7900
|
#16 0x0000557f8dcf80fd in dispatch_command (command=COM_QUERY, thd=0x7f93f4000af0, packet=0x7f93f4136221 "UPDATE t1 SET f = 'k'", packet_length=21, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1842
|
#17 0x0000557f8dcf689f in do_command (thd=0x7f93f4000af0) at /data/src/10.4/sql/sql_parse.cc:1360
|
#18 0x0000557f8de7e458 in do_handle_one_connection (connect=0x557f91e61cf0) at /data/src/10.4/sql/sql_connect.cc:1412
|
#19 0x0000557f8de7e1a7 in handle_one_connection (arg=0x557f91e61cf0) at /data/src/10.4/sql/sql_connect.cc:1316
|
#20 0x0000557f8e87e46b in pfs_spawn_thread (arg=0x557f91e7dbf0) at /data/src/10.4/storage/perfschema/pfs.cc:1869
|
#21 0x00007f9416d874a4 in start_thread (arg=0x7f940af8d700) at pthread_create.c:456
|
#22 0x00007f9414ebbd0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
|
Reproducible on 10.4, 10.5, with at least MyISAM, InnoDB, Aria.
No obvious effect on a non-debug build, other than MDEV-22414.
Transition |
Time In Source Status |
Execution Times |
Open |
|
Closed |
|
507d 20h
|
1
|
{"report":{"fcp":1070.2999999523163,"ttfb":414.89999985694885,"pageVisibility":"visible","entityId":86961,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"6fe71b60-da9a-4cb2-853f-26b131f62822","navigationType":0,"readyForUser":1185.0999999046326,"redirectCount":0,"resourceLoadedEnd":1031,"resourceLoadedStart":420.2999999523163,"resourceTiming":[{"duration":158.39999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":420.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":420.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":578.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":158.59999990463257,"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":420.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":420.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":579.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":205.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":420.69999980926514,"connectEnd":420.69999980926514,"connectStart":420.69999980926514,"domainLookupEnd":420.69999980926514,"domainLookupStart":420.69999980926514,"fetchStart":420.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":582.2999999523163,"responseEnd":626.1999998092651,"responseStart":596.1999998092651,"secureConnectionStart":420.69999980926514},{"duration":228,"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":421,"connectEnd":421,"connectStart":421,"domainLookupEnd":421,"domainLookupStart":421,"fetchStart":421,"redirectEnd":0,"redirectStart":0,"requestStart":585,"responseEnd":649,"responseStart":605.3999998569489,"secureConnectionStart":421},{"duration":181.59999990463257,"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":421.09999990463257,"connectEnd":421.09999990463257,"connectStart":421.09999990463257,"domainLookupEnd":421.09999990463257,"domainLookupStart":421.09999990463257,"fetchStart":421.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":585,"responseEnd":602.6999998092651,"responseStart":601,"secureConnectionStart":421.09999990463257},{"duration":190.79999995231628,"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":421.2999999523163,"connectEnd":421.2999999523163,"connectStart":421.2999999523163,"domainLookupEnd":421.2999999523163,"domainLookupStart":421.2999999523163,"fetchStart":421.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":586,"responseEnd":612.0999999046326,"responseStart":611.2999999523163,"secureConnectionStart":421.2999999523163},{"duration":191.5,"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":421.39999985694885,"connectEnd":421.39999985694885,"connectStart":421.39999985694885,"domainLookupEnd":421.39999985694885,"domainLookupStart":421.39999985694885,"fetchStart":421.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":588.3999998569489,"responseEnd":612.8999998569489,"responseStart":612.0999999046326,"secureConnectionStart":421.39999985694885},{"duration":165,"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":421.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":421.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":586.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":197.39999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":421.7999999523163,"connectEnd":421.7999999523163,"connectStart":421.7999999523163,"domainLookupEnd":421.7999999523163,"domainLookupStart":421.7999999523163,"fetchStart":421.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":590.0999999046326,"responseEnd":619.1999998092651,"responseStart":618.5,"secureConnectionStart":421.7999999523163},{"duration":166.79999995231628,"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":422,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":422,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":588.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":196.30000019073486,"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":422.19999980926514,"connectEnd":422.19999980926514,"connectStart":422.19999980926514,"domainLookupEnd":422.19999980926514,"domainLookupStart":422.19999980926514,"fetchStart":422.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":590.6999998092651,"responseEnd":618.5,"responseStart":617.0999999046326,"secureConnectionStart":422.19999980926514},{"duration":592.2000000476837,"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":436.69999980926514,"connectEnd":436.69999980926514,"connectStart":436.69999980926514,"domainLookupEnd":436.69999980926514,"domainLookupStart":436.69999980926514,"fetchStart":436.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":1016.5,"responseEnd":1028.8999998569489,"responseStart":1028.1999998092651,"secureConnectionStart":436.69999980926514},{"duration":593.7000000476837,"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":437.2999999523163,"connectEnd":437.2999999523163,"connectStart":437.2999999523163,"domainLookupEnd":437.2999999523163,"domainLookupStart":437.2999999523163,"fetchStart":437.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1019.0999999046326,"responseEnd":1031,"responseStart":1030.0999999046326,"secureConnectionStart":437.2999999523163},{"duration":217.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":819.2999999523163,"connectEnd":819.2999999523163,"connectStart":819.2999999523163,"domainLookupEnd":819.2999999523163,"domainLookupStart":819.2999999523163,"fetchStart":819.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1001.6999998092651,"responseEnd":1036.7999999523163,"responseStart":1035.8999998569489,"secureConnectionStart":819.2999999523163}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":240,"responseStart":415,"responseEnd":437,"domLoading":419,"domInteractive":1226,"domContentLoadedEventStart":1226,"domContentLoadedEventEnd":1263,"domComplete":1626,"loadEventStart":1626,"loadEventEnd":1626,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1201.5999999046326},{"name":"bigPipe.sidebar-id.end","time":1202.2999999523163},{"name":"bigPipe.activity-panel-pipe-id.start","time":1203.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":1204.7999999523163},{"name":"activityTabFullyLoaded","time":1276}],"measures":[],"correlationId":"21a00b8d0df87c","effectiveType":"4g","downlink":9,"rtt":0,"serverDuration":108,"dbReadsTimeInMs":21,"dbConnsTimeInMs":31,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}