[MDEV-4859] Wrong value and data type of "SELECT MAX(time_column) + 1 FROM t1" Created: 2013-08-08 Updated: 2014-01-29 Resolved: 2013-11-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.3, 5.5.32, 5.3.12 |
| Fix Version/s: | 5.5.35, 10.0.7 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
produces this output in MariaDB-5.5 and MariaDB-10.0:
36610000001 is a wrong value. The expected value is 101011. DECIMAL(11,0) is a wrong type. The expected type is INT(9). Note, MariaDB-5.3 returns 11 instead of 36610000001, which is also wrong. Similar problem is observed with a DATETIME column.
produces this output:
|
| Comments |
| Comment by Alexander Barkov [ 2013-11-26 ] |
|
Pushed into 5.3, 5.5, 10.0-base. |
| Comment by Daniel Bartholomew [ 2014-01-29 ] |
|
http://bazaar.launchpad.net/~maria-captains/maria/5.5/revision/3977 |