[MDEV-455] Microseconds do not work in INTERVAL definition, a value with a fractional part gets rounded Created: 2012-08-15 Updated: 2012-08-29 Resolved: 2012-08-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.25 |
| Fix Version/s: | 5.5.27 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Sergei Golubchik |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I presume it also affects 5.3, but I didn't check.
MySQL 5.6 result:
MariaDB result:
I think that MySQL result is reasonable for a server which supports fractional seconds, although https://kb.askmonty.org/en/microseconds-in-mariadb/ does not explicitly specify that microseconds support is supposed to work in this case. |
| Comments |
| Comment by Sergei Golubchik [ 2012-08-29 ] |
|
It is intentional. But for compatibility reasons we will support MySQL-5.6 behavior too, in MariaDB-10.x branch. |