This SQL query returns a wrong result:
mysql> SELECT CONVERT_TZ( TIME ( '00:00:00' ), '+00:00' , '+7:5' ); show warnings;
+ ----------------------------------------------+
| CONVERT_TZ( TIME ( '00:00:00' ), '+00:00' , '+7:5' ) |
+ ----------------------------------------------+
| 0000-00-00 00:00:00 |
+ ----------------------------------------------+
1 row in set (0.00 sec)
The expected result is NULL with a warning.
The same problem happens in this query:
mysql> SELECT CONVERT_TZ(TIME('2010-01-01 00:00:00'),'+00:00','+7:5');
+---------------------------------------------------------+
| CONVERT_TZ(TIME('2010-01-01 00:00:00'),'+00:00','+7:5') |
+---------------------------------------------------------+
| 0000-00-00 00:00:00 |
+---------------------------------------------------------+
1 row in set (0.00 sec)
Note: this problem is not repeatable with mysql-5.1, 5.5.
Alexander Barkov
made changes -
2013-06-13 09:00
Field
Original Value
New Value
Assignee
Alexander Barkov
[ bar
]
Alexander Barkov
made changes -
2013-06-13 09:00
Description
This SQL query returns a wrong result:
<code:sql>
mysql> SELECT CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5'); show warnings;
+----------------------------------------------+
| CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5') |
+----------------------------------------------+
| 0000-00-00 00:00:00 |
+----------------------------------------------+
1 row in set (0.00 sec)
<code>
The expected result is NULL with a warning.
Note: this problem is not repeatable with mysql-5.1, 5.5.
This SQL query returns a wrong result:
{<code:sql}
mysql> SELECT CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5'); show warnings;
+----------------------------------------------+
| CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5') |
+----------------------------------------------+
| 0000-00-00 00:00:00 |
+----------------------------------------------+
1 row in set (0.00 sec)
{code}
The expected result is NULL with a warning.
Note: this problem is not repeatable with mysql-5.1, 5.5.
Alexander Barkov
made changes -
2013-06-13 09:01
Description
This SQL query returns a wrong result:
{<code:sql}
mysql> SELECT CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5'); show warnings;
+----------------------------------------------+
| CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5') |
+----------------------------------------------+
| 0000-00-00 00:00:00 |
+----------------------------------------------+
1 row in set (0.00 sec)
{code}
The expected result is NULL with a warning.
Note: this problem is not repeatable with mysql-5.1, 5.5.
This SQL query returns a wrong result:
{code:sql}
mysql> SELECT CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5'); show warnings;
+----------------------------------------------+
| CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5') |
+----------------------------------------------+
| 0000-00-00 00:00:00 |
+----------------------------------------------+
1 row in set (0.00 sec)
{code}
The expected result is NULL with a warning.
Note: this problem is not repeatable with mysql-5.1, 5.5.
Alexander Barkov
made changes -
2013-06-13 09:28
Description
This SQL query returns a wrong result:
{code:sql}
mysql> SELECT CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5'); show warnings;
+----------------------------------------------+
| CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5') |
+----------------------------------------------+
| 0000-00-00 00:00:00 |
+----------------------------------------------+
1 row in set (0.00 sec)
{code}
The expected result is NULL with a warning.
Note: this problem is not repeatable with mysql-5.1, 5.5.
This SQL query returns a wrong result:
{code:sql}
mysql> SELECT CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5'); show warnings;
+----------------------------------------------+
| CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5') |
+----------------------------------------------+
| 0000-00-00 00:00:00 |
+----------------------------------------------+
1 row in set (0.00 sec)
{code}
The expected result is NULL with a warning.
The same problem happens in this query:
mysql> SELECT CONVERT_TZ(TIME('2010-01-01 00:00:00'),'+00:00','+7:5');
+---------------------------------------------------------+
| CONVERT_TZ(TIME('2010-01-01 00:00:00'),'+00:00','+7:5') |
+---------------------------------------------------------+
| 0000-00-00 00:00:00 |
+---------------------------------------------------------+
1 row in set (0.00 sec)
Note: this problem is not repeatable with mysql-5.1, 5.5.
Alexander Barkov
made changes -
2013-06-13 09:28
Description
This SQL query returns a wrong result:
{code:sql}
mysql> SELECT CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5'); show warnings;
+----------------------------------------------+
| CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5') |
+----------------------------------------------+
| 0000-00-00 00:00:00 |
+----------------------------------------------+
1 row in set (0.00 sec)
{code}
The expected result is NULL with a warning.
The same problem happens in this query:
mysql> SELECT CONVERT_TZ(TIME('2010-01-01 00:00:00'),'+00:00','+7:5');
+---------------------------------------------------------+
| CONVERT_TZ(TIME('2010-01-01 00:00:00'),'+00:00','+7:5') |
+---------------------------------------------------------+
| 0000-00-00 00:00:00 |
+---------------------------------------------------------+
1 row in set (0.00 sec)
Note: this problem is not repeatable with mysql-5.1, 5.5.
This SQL query returns a wrong result:
{code:sql}
mysql> SELECT CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5'); show warnings;
+----------------------------------------------+
| CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5') |
+----------------------------------------------+
| 0000-00-00 00:00:00 |
+----------------------------------------------+
1 row in set (0.00 sec)
{code}
The expected result is NULL with a warning.
The same problem happens in this query:
{code}
mysql> SELECT CONVERT_TZ(TIME('2010-01-01 00:00:00'),'+00:00','+7:5');
+---------------------------------------------------------+
| CONVERT_TZ(TIME('2010-01-01 00:00:00'),'+00:00','+7:5') |
+---------------------------------------------------------+
| 0000-00-00 00:00:00 |
+---------------------------------------------------------+
1 row in set (0.00 sec)
{code}
Note: this problem is not repeatable with mysql-5.1, 5.5.
Sergei Golubchik
made changes -
2013-06-13 11:14
Fix Version/s
10.0.4
[ 13101
]
Fix Version/s
5.5.32
[ 13000
]
Fix Version/s
5.3.13
[ 12602
]
Sergei Golubchik
made changes -
2013-06-30 10:49
Priority
Major
[ 3
]
Minor
[ 4
]
Sergei Golubchik
made changes -
2013-07-18 19:39
Fix Version/s
5.5.33
[ 13300
]
Fix Version/s
5.5.32
[ 13000
]
Alexander Barkov
made changes -
2013-08-07 13:17
Status
Open
[ 1
]
In Progress
[ 3
]
Alexander Barkov
made changes -
2013-08-08 12:45
Resolution
Fixed
[ 1
]
Status
In Progress
[ 3
]
Closed
[ 6
]
Sergei Golubchik
made changes -
2014-06-13 15:06
Workflow
defaullt
[ 27682
]
MariaDB v2
[ 44310
]
Sergei Golubchik
made changes -
2021-12-06 21:38
Workflow
MariaDB v3
[ 61392
]
MariaDB v4
[ 146775
]
{"report":{"fcp":1029.0999999046326,"ttfb":305,"pageVisibility":"visible","entityId":24382,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"c634faff-8b22-468a-89ab-eb3ce532c59a","navigationType":0,"readyForUser":1105.0999999046326,"redirectCount":0,"resourceLoadedEnd":1424.6999999284744,"resourceLoadedStart":311.1999999284744,"resourceTiming":[{"duration":208.89999997615814,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":311.1999999284744,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":311.1999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":520.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":208.89999997615814,"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":311.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":311.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":520.3999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":264.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":311.6999999284744,"connectEnd":311.6999999284744,"connectStart":311.6999999284744,"domainLookupEnd":311.6999999284744,"domainLookupStart":311.6999999284744,"fetchStart":311.6999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":311.6999999284744,"responseEnd":576.1999999284744,"responseStart":576.1999999284744,"secureConnectionStart":311.6999999284744},{"duration":320.39999997615814,"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":311.89999997615814,"connectEnd":311.89999997615814,"connectStart":311.89999997615814,"domainLookupEnd":311.89999997615814,"domainLookupStart":311.89999997615814,"fetchStart":311.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":311.89999997615814,"responseEnd":632.2999999523163,"responseStart":632.1999999284744,"secureConnectionStart":311.89999997615814},{"duration":324.10000002384186,"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":312.09999990463257,"connectEnd":312.09999990463257,"connectStart":312.09999990463257,"domainLookupEnd":312.09999990463257,"domainLookupStart":312.09999990463257,"fetchStart":312.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":312.09999990463257,"responseEnd":636.1999999284744,"responseStart":636.1999999284744,"secureConnectionStart":312.09999990463257},{"duration":324.39999997615814,"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":312.2999999523163,"connectEnd":312.2999999523163,"connectStart":312.2999999523163,"domainLookupEnd":312.2999999523163,"domainLookupStart":312.2999999523163,"fetchStart":312.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":312.2999999523163,"responseEnd":636.6999999284744,"responseStart":636.6999999284744,"secureConnectionStart":312.2999999523163},{"duration":324.89999997615814,"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":312.39999997615814,"connectEnd":312.39999997615814,"connectStart":312.39999997615814,"domainLookupEnd":312.39999997615814,"domainLookupStart":312.39999997615814,"fetchStart":312.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":312.39999997615814,"responseEnd":637.2999999523163,"responseStart":637.2999999523163,"secureConnectionStart":312.39999997615814},{"duration":408.10000002384186,"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":312.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":312.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":720.6999999284744,"responseStart":0,"secureConnectionStart":0},{"duration":325.10000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":312.7999999523163,"connectEnd":312.7999999523163,"connectStart":312.7999999523163,"domainLookupEnd":312.7999999523163,"domainLookupStart":312.7999999523163,"fetchStart":312.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":312.7999999523163,"responseEnd":637.8999999761581,"responseStart":637.8999999761581,"secureConnectionStart":312.7999999523163},{"duration":407.7999999523163,"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":313,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":313,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":720.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":325.60000002384186,"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":313.09999990463257,"connectEnd":313.09999990463257,"connectStart":313.09999990463257,"domainLookupEnd":313.09999990463257,"domainLookupStart":313.09999990463257,"fetchStart":313.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":313.09999990463257,"responseEnd":638.6999999284744,"responseStart":638.6999999284744,"secureConnectionStart":313.09999990463257},{"duration":679.6999999284744,"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":313.89999997615814,"connectEnd":313.89999997615814,"connectStart":313.89999997615814,"domainLookupEnd":313.89999997615814,"domainLookupStart":313.89999997615814,"fetchStart":313.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":313.89999997615814,"responseEnd":993.5999999046326,"responseStart":993.5999999046326,"secureConnectionStart":313.89999997615814},{"duration":1110.7999999523163,"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":313.89999997615814,"connectEnd":313.89999997615814,"connectStart":313.89999997615814,"domainLookupEnd":313.89999997615814,"domainLookupStart":313.89999997615814,"fetchStart":313.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":313.89999997615814,"responseEnd":1424.6999999284744,"responseStart":1424.6999999284744,"secureConnectionStart":313.89999997615814},{"duration":262.7999999523163,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":732.8999999761581,"connectEnd":732.8999999761581,"connectStart":732.8999999761581,"domainLookupEnd":732.8999999761581,"domainLookupStart":732.8999999761581,"fetchStart":732.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":732.8999999761581,"responseEnd":995.6999999284744,"responseStart":995.6999999284744,"secureConnectionStart":732.8999999761581},{"duration":431.3000000715256,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1022.1999999284744,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1022.1999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1453.5,"responseStart":0,"secureConnectionStart":0},{"duration":456.60000002384186,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/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":1044.8999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1044.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1501.5,"responseStart":0,"secureConnectionStart":0},{"duration":425.10000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":1045.7999999523163,"connectEnd":1045.7999999523163,"connectStart":1045.7999999523163,"domainLookupEnd":1045.7999999523163,"domainLookupStart":1045.7999999523163,"fetchStart":1045.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1045.7999999523163,"responseEnd":1470.8999999761581,"responseStart":1470.8999999761581,"secureConnectionStart":1045.7999999523163},{"duration":444,"initiatorType":"script","name":"https://jira.mariadb.org/s/f51ef5507eea4c158f257c66c93b2a3f-CDN/lu2bu7/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/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.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":1046.2999999523163,"connectEnd":1046.2999999523163,"connectStart":1046.2999999523163,"domainLookupEnd":1046.2999999523163,"domainLookupStart":1046.2999999523163,"fetchStart":1046.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1046.2999999523163,"responseEnd":1490.2999999523163,"responseStart":1490.2999999523163,"secureConnectionStart":1046.2999999523163}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":75,"responseStart":305,"responseEnd":308,"domLoading":309,"domInteractive":1455,"domContentLoadedEventStart":1455,"domContentLoadedEventEnd":1502,"domComplete":1817,"loadEventStart":1817,"loadEventEnd":1818,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1426.6999999284744},{"name":"bigPipe.sidebar-id.end","time":1427.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1427.6999999284744},{"name":"bigPipe.activity-panel-pipe-id.end","time":1431.2999999523163},{"name":"activityTabFullyLoaded","time":1553.7999999523163}],"measures":[],"correlationId":"d9420d1a0b329b","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":133,"dbReadsTimeInMs":23,"dbConnsTimeInMs":31,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Pushed into 5.3.13 and 5.5.32.