Type:
Bug
Priority:
Critical
Resolution:
Fixed
Affects Version/s:
N/A
Filing as 10.11v1- critical as previously discussed, to make it show up on the list for consideration. Please feel free to downgrade or close as "won't fix".
For a table with visible versioning columns, setting system_versioning_insert_history variable changes the behavior of inserting default values (restricts it).
create or replace table t (a int auto_increment primary key , s timestamp (6) as row start, e timestamp (6) as row end , period for system_time (s,e)) with system versioning;
set system_versioning_insert_history= off ;
insert into t () values (),();
insert into t (a) values (3),(4);
set system_versioning_insert_history= on ;
insert into t (a) values (5),(6);
insert into t () values (),();
Both INSERTs with system_versioning_insert_history=off work, with a values inserted according to the auto-increment or explicit values, s to the current time, and e to the max timestamp.
The third INSERT, first with system_versioning_insert_history=on also works, the same way.
But the last INSERT fails:
bb-10.11-MDEV-16546 2b1d32429
query 'insert into t () values (),()' failed: ER_WRONG_VALUE (1525): Incorrect s value: '0000-00-00 00:00:00.000000'
There seems to be no good reason for this.
{"report":{"fcp":1435.6999998092651,"ttfb":277.2999997138977,"pageVisibility":"visible","entityId":115275,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"4712cc9b-9dcc-4c72-9182-71e0676a44b4","navigationType":0,"readyForUser":1538,"redirectCount":0,"resourceLoadedEnd":1399.5,"resourceLoadedStart":284.5,"resourceTiming":[{"duration":461.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":284.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":284.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":746,"responseStart":0,"secureConnectionStart":0},{"duration":461.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":284.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":284.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":746.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":736,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":285,"connectEnd":285,"connectStart":285,"domainLookupEnd":285,"domainLookupStart":285,"fetchStart":285,"redirectEnd":0,"redirectStart":0,"requestStart":753.5999999046326,"responseEnd":1021,"responseStart":779.3999996185303,"secureConnectionStart":285},{"duration":866,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":285.09999990463257,"connectEnd":285.09999990463257,"connectStart":285.09999990463257,"domainLookupEnd":285.09999990463257,"domainLookupStart":285.09999990463257,"fetchStart":285.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":753.2999997138977,"responseEnd":1151.0999999046326,"responseStart":770.7999997138977,"secureConnectionStart":285.09999990463257},{"duration":499.2000002861023,"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":285.2999997138977,"connectEnd":285.2999997138977,"connectStart":285.2999997138977,"domainLookupEnd":285.2999997138977,"domainLookupStart":285.2999997138977,"fetchStart":285.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":754.5,"responseEnd":784.5,"responseStart":777.3999996185303,"secureConnectionStart":285.2999997138977},{"duration":503.40000009536743,"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":285.59999990463257,"connectEnd":285.59999990463257,"connectStart":285.59999990463257,"domainLookupEnd":285.59999990463257,"domainLookupStart":285.59999990463257,"fetchStart":285.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":758.3999996185303,"responseEnd":789,"responseStart":781.6999998092651,"secureConnectionStart":285.59999990463257},{"duration":503.80000019073486,"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":285.69999980926514,"connectEnd":285.69999980926514,"connectStart":285.69999980926514,"domainLookupEnd":285.69999980926514,"domainLookupStart":285.69999980926514,"fetchStart":285.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":758.5999999046326,"responseEnd":789.5,"responseStart":782.3999996185303,"secureConnectionStart":285.69999980926514},{"duration":469.1000003814697,"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":285.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":285.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":755,"responseStart":0,"secureConnectionStart":0},{"duration":503.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":286.09999990463257,"connectEnd":286.09999990463257,"connectStart":286.09999990463257,"domainLookupEnd":286.09999990463257,"domainLookupStart":286.09999990463257,"fetchStart":286.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":763.5,"responseEnd":789.6999998092651,"responseStart":784.7999997138977,"secureConnectionStart":286.09999990463257},{"duration":471.90000009536743,"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":286.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":286.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":758.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":506.5,"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":286.3999996185303,"connectEnd":286.3999996185303,"connectStart":286.3999996185303,"domainLookupEnd":286.3999996185303,"domainLookupStart":286.3999996185303,"fetchStart":286.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":769.5,"responseEnd":792.8999996185303,"responseStart":787.7999997138977,"secureConnectionStart":286.3999996185303},{"duration":867.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":305.69999980926514,"connectEnd":305.69999980926514,"connectStart":305.69999980926514,"domainLookupEnd":305.69999980926514,"domainLookupStart":305.69999980926514,"fetchStart":305.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":1111.7999997138977,"responseEnd":1173.1999998092651,"responseStart":1170.3999996185303,"secureConnectionStart":305.69999980926514},{"duration":1093.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":306,"connectEnd":306,"connectStart":306,"domainLookupEnd":306,"domainLookupStart":306,"fetchStart":306,"redirectEnd":0,"redirectStart":0,"requestStart":1389,"responseEnd":1399.5,"responseStart":1399,"secureConnectionStart":306},{"duration":272.59999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1153.7999997138977,"connectEnd":1153.7999997138977,"connectStart":1153.7999997138977,"domainLookupEnd":1153.7999997138977,"domainLookupStart":1153.7999997138977,"fetchStart":1153.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":1393.3999996185303,"responseEnd":1426.3999996185303,"responseStart":1425.6999998092651,"secureConnectionStart":1153.7999997138977}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":75,"responseStart":277,"responseEnd":305,"domLoading":280,"domInteractive":1636,"domContentLoadedEventStart":1636,"domContentLoadedEventEnd":1687,"domComplete":2873,"loadEventStart":2873,"loadEventEnd":2874,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1602.2999997138977},{"name":"bigPipe.sidebar-id.end","time":1603},{"name":"bigPipe.activity-panel-pipe-id.start","time":1603.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1605.6999998092651},{"name":"activityTabFullyLoaded","time":1737.8999996185303}],"measures":[],"correlationId":"a1edaca4c890c0","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":119,"dbReadsTimeInMs":18,"dbConnsTimeInMs":25,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}