[MDEV-3990] engines/* and storage_engine tests and result files went out of sync with current MariaDB code Created: 2012-12-28 Updated: 2013-01-16 Resolved: 2013-01-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | 10.0.2, 5.5.29 |
| Type: | Task | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Elena Stepanova |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
storage_engine tests and upstream engines/* suites went out of sync with current MariaDB code. Reasons:
Result files need to be updated. For |
| Comments |
| Comment by Elena Stepanova [ 2012-12-28 ] |
|
Hi Sergei, Here is the patch: http://bazaar.launchpad.net/~elenst/maria/5.5-engines-tests/revision/3605 No harm is done, it's only tests and results in suites which are not a part of the standard set. Is it okay to push into 5.5? |
| Comment by Sergei Golubchik [ 2012-12-29 ] |
|
Hi, Elena! The only questionable change is in the file monty, is that change ok? Regards, |
| Comment by Elena Stepanova [ 2012-12-29 ] |
|
For Monty's reference, I'll put the change and the context here. ===================================== === modified file 'mysql-test/suite/storage_engine/autoinc_vars.result' ===================================== This part of the test does the following: SET auto_increment_increment = 500; Thus, the inserted value should have been 300, but TINYINT doesn't allow for that. So, earlier the value was truncated with the warning and the max possible value was inserted (and hence LAST_INSERT_ID was updated), while now it throws an error instead, nothing is inserted (and LAST_INSERT_ID remains old, 850 is the value from the previous part of the test) |
| Comment by Michael Widenius [ 2012-12-30 ] |
|
Yes, this is ok. There is also a test case for this behavior change in t/auto_increment.test |
| Comment by Sergei Golubchik [ 2012-12-30 ] |
|
Elena, please feel free to push |
| Comment by Elena Stepanova [ 2012-12-30 ] |
|
pushed to maria/5.5. |
| Comment by Elena Stepanova [ 2013-01-13 ] |
|
Hi Sergei, Here is the 10.0 part (on top of the previous change): I listed sources of the differences, as much as I could identify them, in the commit comment. |
| Comment by Sergei Golubchik [ 2013-01-13 ] |
|
Everything, but the insert_time.result is certainly ok. |
| Comment by Elena Stepanova [ 2013-01-13 ] |
|
What I did was take this test: create table t1 (c1 time); And ran it before and after My understanding is this: |
| Comment by Sergei Golubchik [ 2013-01-14 ] |
|
ok to push in 10.0-base |
| Comment by Elena Stepanova [ 2013-01-16 ] |
|
pushed into 10.0-base |