[MDEV-438] Microseconds: Precision is ignored in CURRENT_TIMESTAMP(N) when it is given as a default column value Created: 2012-08-07 Updated: 2012-12-17 Resolved: 2012-12-17 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.0, 5.5.25, 5.3.7 |
| Fix Version/s: | 10.0.1, 5.5.29, 5.3.10 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Inserting CURRENT_TIMESTAMP(0) explicitly works as expected:
|
| Comments |
| Comment by Sergei Golubchik [ 2012-10-10 ] |
|
in MySQL it's fixed differently. one might specify a precision, but the precision must match the column's precision. Let's do the same, for compatibility reasons. |
| Comment by Sergei Golubchik [ 2012-12-17 ] |
|
pushed a 10.0 specific fix into 10.0-base |