Type:
Bug
Priority:
Blocker
Resolution:
Fixed
Affects Version/s:
None
Component/s:
None
MariaDB [test]> SELECT TIME'10:10:10.1234567';
ERROR 1525 (HY000): Incorrect TIME value: '10:10:10.1234567'
MariaDB [test]> SELECT TIMESTAMP'2001-01-01 10:10:10.1234567';
ERROR 1525 (HY000): Incorrect DATETIME value: '2001-01-01 10:10:10.1234567'
The expected result is to return a value with 6 fractional digits without errors.
A "truncated" warning (or a note) is probably not necessary,
because decimal numbers do not produce warnings/notes when precision is too high.
The problem is repeatable even when 0 nanoseconds present:
MariaDB [test]> SELECT TIME'10:10:10.1234560';
ERROR 1525 (HY000): Incorrect TIME value: '10:10:10.1234560'
This is a bug in MDEV-3838 , should be fixed before the release.
Alexander Barkov
made changes -
2013-08-09 10:17
Field
Original Value
New Value
Description
{code}
MariaDB [test]> SELECT TIME'10:10:10.1234567';
ERROR 1525 (HY000): Incorrect TIME value: '10:10:10.1234567'
MariaDB [test]> SELECT TIMESTAMP'2001-01-01 10:10:10.1234567';
ERROR 1525 (HY000): Incorrect DATETIME value: '2001-01-01 10:10:10.1234567'
{code}
The expected result to return a value with 6 fractional digits without errors.
{code}
MariaDB [test]> SELECT TIME'10:10:10.1234567';
ERROR 1525 (HY000): Incorrect TIME value: '10:10:10.1234567'
MariaDB [test]> SELECT TIMESTAMP'2001-01-01 10:10:10.1234567';
ERROR 1525 (HY000): Incorrect DATETIME value: '2001-01-01 10:10:10.1234567'
{code}
The expected result to return a value with 6 fractional digits without errors.
A "truncated" warning should be fine.
Alexander Barkov
made changes -
2013-08-09 10:47
Priority
Minor
[ 4
]
Blocker
[ 1
]
Alexander Barkov
made changes -
2013-08-09 10:49
Description
{code}
MariaDB [test]> SELECT TIME'10:10:10.1234567';
ERROR 1525 (HY000): Incorrect TIME value: '10:10:10.1234567'
MariaDB [test]> SELECT TIMESTAMP'2001-01-01 10:10:10.1234567';
ERROR 1525 (HY000): Incorrect DATETIME value: '2001-01-01 10:10:10.1234567'
{code}
The expected result to return a value with 6 fractional digits without errors.
A "truncated" warning should be fine.
{code}
MariaDB [test]> SELECT TIME'10:10:10.1234567';
ERROR 1525 (HY000): Incorrect TIME value: '10:10:10.1234567'
MariaDB [test]> SELECT TIMESTAMP'2001-01-01 10:10:10.1234567';
ERROR 1525 (HY000): Incorrect DATETIME value: '2001-01-01 10:10:10.1234567'
{code}
The expected result to return a value with 6 fractional digits without errors.
A "truncated" warning should be fine.
This is a bug in MDEV-3838 , should be fixed before the release.
Alexander Barkov
made changes -
2013-08-13 15:09
Description
{code}
MariaDB [test]> SELECT TIME'10:10:10.1234567';
ERROR 1525 (HY000): Incorrect TIME value: '10:10:10.1234567'
MariaDB [test]> SELECT TIMESTAMP'2001-01-01 10:10:10.1234567';
ERROR 1525 (HY000): Incorrect DATETIME value: '2001-01-01 10:10:10.1234567'
{code}
The expected result to return a value with 6 fractional digits without errors.
A "truncated" warning should be fine.
This is a bug in MDEV-3838 , should be fixed before the release.
{code}
MariaDB [test]> SELECT TIME'10:10:10.1234567';
ERROR 1525 (HY000): Incorrect TIME value: '10:10:10.1234567'
MariaDB [test]> SELECT TIMESTAMP'2001-01-01 10:10:10.1234567';
ERROR 1525 (HY000): Incorrect DATETIME value: '2001-01-01 10:10:10.1234567'
{code}
The expected result to return a value with 6 fractional digits without errors.
A "truncated" warning should be fine.
The problem is repeatable even when 0 nanoseconds present:
{code}
MariaDB [test]> SELECT TIME'10:10:10.1234560';
ERROR 1525 (HY000): Incorrect TIME value: '10:10:10.1234560'
{code}
This is a bug in MDEV-3838 , should be fixed before the release.
Alexander Barkov
made changes -
2013-08-13 15:35
Description
{code}
MariaDB [test]> SELECT TIME'10:10:10.1234567';
ERROR 1525 (HY000): Incorrect TIME value: '10:10:10.1234567'
MariaDB [test]> SELECT TIMESTAMP'2001-01-01 10:10:10.1234567';
ERROR 1525 (HY000): Incorrect DATETIME value: '2001-01-01 10:10:10.1234567'
{code}
The expected result to return a value with 6 fractional digits without errors.
A "truncated" warning should be fine.
The problem is repeatable even when 0 nanoseconds present:
{code}
MariaDB [test]> SELECT TIME'10:10:10.1234560';
ERROR 1525 (HY000): Incorrect TIME value: '10:10:10.1234560'
{code}
This is a bug in MDEV-3838 , should be fixed before the release.
{code}
MariaDB [test]> SELECT TIME'10:10:10.1234567';
ERROR 1525 (HY000): Incorrect TIME value: '10:10:10.1234567'
MariaDB [test]> SELECT TIMESTAMP'2001-01-01 10:10:10.1234567';
ERROR 1525 (HY000): Incorrect DATETIME value: '2001-01-01 10:10:10.1234567'
{code}
The expected result is to return a value with 6 fractional digits without errors.
A "truncated" warning (or a note) is probably not necessary,
because decimal numbers do not produce warnings/notes when precision is too high.
The problem is repeatable even when 0 nanoseconds present:
{code}
MariaDB [test]> SELECT TIME'10:10:10.1234560';
ERROR 1525 (HY000): Incorrect TIME value: '10:10:10.1234560'
{code}
This is a bug in MDEV-3838 , should be fixed before the release.
Alexander Barkov
made changes -
2013-08-15 14:51
Resolution
Fixed
[ 1
]
Status
Open
[ 1
]
Closed
[ 6
]
Sergei Golubchik
made changes -
2014-06-13 15:06
Workflow
defaullt
[ 28360
]
MariaDB v2
[ 44410
]
Sergei Golubchik
made changes -
2021-12-06 21:39
Workflow
MariaDB v3
[ 63754
]
MariaDB v4
[ 146926
]
{"report":{"fcp":1100.8999996185303,"ttfb":252.19999980926514,"pageVisibility":"visible","entityId":25060,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"67151278-5888-43bf-bd61-a76ffae62fe1","navigationType":0,"readyForUser":1165,"redirectCount":0,"resourceLoadedEnd":1245.6999998092651,"resourceLoadedStart":257.3999996185303,"resourceTiming":[{"duration":276.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":257.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":257.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":534.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":276.8999996185303,"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":257.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":257.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":534.5999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":286,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":257.8999996185303,"connectEnd":257.8999996185303,"connectStart":257.8999996185303,"domainLookupEnd":257.8999996185303,"domainLookupStart":257.8999996185303,"fetchStart":257.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":257.8999996185303,"responseEnd":543.8999996185303,"responseStart":543.8999996185303,"secureConnectionStart":257.8999996185303},{"duration":374.9000005722046,"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":258.0999994277954,"connectEnd":258.0999994277954,"connectStart":258.0999994277954,"domainLookupEnd":258.0999994277954,"domainLookupStart":258.0999994277954,"fetchStart":258.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":258.0999994277954,"responseEnd":633,"responseStart":633,"secureConnectionStart":258.0999994277954},{"duration":378.80000019073486,"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":258.19999980926514,"connectEnd":258.19999980926514,"connectStart":258.19999980926514,"domainLookupEnd":258.19999980926514,"domainLookupStart":258.19999980926514,"fetchStart":258.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":258.19999980926514,"responseEnd":637,"responseStart":637,"secureConnectionStart":258.19999980926514},{"duration":379,"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":258.3999996185303,"connectEnd":258.3999996185303,"connectStart":258.3999996185303,"domainLookupEnd":258.3999996185303,"domainLookupStart":258.3999996185303,"fetchStart":258.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":258.3999996185303,"responseEnd":637.3999996185303,"responseStart":637.3999996185303,"secureConnectionStart":258.3999996185303},{"duration":379.1000003814697,"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":258.5999994277954,"connectEnd":258.5999994277954,"connectStart":258.5999994277954,"domainLookupEnd":258.5999994277954,"domainLookupStart":258.5999994277954,"fetchStart":258.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":258.5999994277954,"responseEnd":637.6999998092651,"responseStart":637.6999998092651,"secureConnectionStart":258.5999994277954},{"duration":432.0999994277954,"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":258.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":258.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":690.7999992370605,"responseStart":0,"secureConnectionStart":0},{"duration":379.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":258.8999996185303,"connectEnd":258.8999996185303,"connectStart":258.8999996185303,"domainLookupEnd":258.8999996185303,"domainLookupStart":258.8999996185303,"fetchStart":258.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":258.8999996185303,"responseEnd":638.1999998092651,"responseStart":638.1999998092651,"secureConnectionStart":258.8999996185303},{"duration":431.80000019073486,"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":259.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":259.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":691,"responseStart":0,"secureConnectionStart":0},{"duration":379.4000005722046,"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":259.29999923706055,"connectEnd":259.29999923706055,"connectStart":259.29999923706055,"domainLookupEnd":259.29999923706055,"domainLookupStart":259.29999923706055,"fetchStart":259.29999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":259.29999923706055,"responseEnd":638.6999998092651,"responseStart":638.6999998092651,"secureConnectionStart":259.29999923706055},{"duration":572.8000001907349,"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":265.0999994277954,"connectEnd":265.0999994277954,"connectStart":265.0999994277954,"domainLookupEnd":265.0999994277954,"domainLookupStart":265.0999994277954,"fetchStart":265.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":265.0999994277954,"responseEnd":837.8999996185303,"responseStart":837.8999996185303,"secureConnectionStart":265.0999994277954},{"duration":974.1000003814697,"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":271.5999994277954,"connectEnd":271.5999994277954,"connectStart":271.5999994277954,"domainLookupEnd":271.5999994277954,"domainLookupStart":271.5999994277954,"fetchStart":271.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":271.5999994277954,"responseEnd":1245.6999998092651,"responseStart":1245.6999998092651,"secureConnectionStart":271.5999994277954},{"duration":134.39999961853027,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":704,"connectEnd":704,"connectStart":704,"domainLookupEnd":704,"domainLookupStart":704,"fetchStart":704,"redirectEnd":0,"redirectStart":0,"requestStart":704,"responseEnd":838.3999996185303,"responseStart":838.3999996185303,"secureConnectionStart":704},{"duration":362.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":999.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":999.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1362.5,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":78,"responseStart":252,"responseEnd":272,"domLoading":256,"domInteractive":1305,"domContentLoadedEventStart":1305,"domContentLoadedEventEnd":1362,"domComplete":1753,"loadEventStart":1753,"loadEventEnd":1753,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1248.3999996185303},{"name":"bigPipe.sidebar-id.end","time":1249.2999992370605},{"name":"bigPipe.activity-panel-pipe-id.start","time":1249.5999994277954},{"name":"bigPipe.activity-panel-pipe-id.end","time":1252.5999994277954},{"name":"activityTabFullyLoaded","time":1381.3999996185303}],"measures":[],"correlationId":"11901705e7802d","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":114,"dbReadsTimeInMs":20,"dbConnsTimeInMs":28,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Fixed in 10.0.4