[MDEV-3480] LP:736358 - Unexpected increased timestamp resolution with UNION Created: 2011-03-16 Updated: 2015-02-02 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Philip Stoev (Inactive) | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
When executed in a UNION context, datetime operations return a millisecond precision, even though no fractional seconds were used anywhere in the expression. Test case: CREATE TABLE t1 (f1 timestamp(6)); SELECT TIME(f1) FROM t1; returns: 21:00:00 ( SELECT TIME(f1) FROM t1) UNION ALL ( SELECT TIME(f1) FROM t1); returns |
| Comments |
| Comment by Philip Stoev (Inactive) [ 2011-03-16 ] |
|
Re: Unexpected increased timestamp resolution with UNION |
| Comment by Rasmus Johansson (Inactive) [ 2011-10-28 ] |
|
Launchpad bug id: 736358 |