Skip to content

Commit

Permalink
MDEV-6378 mtr engines iuds time tests fail
Browse files Browse the repository at this point in the history
  
- adjusted a test result according to the change made for MDEV-6100;
- added explicit timezone for engines/iuds, since MTR in
  MariaDB does not set it like MySQL's, and tests with constant TIMESTAMP
  can have different outcome
  • Loading branch information
elenst committed Jul 28, 2014
1 parent c57c5be commit 0aa40c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mysql-test/suite/engines/iuds/r/insert_time.result
Expand Up @@ -5035,9 +5035,9 @@ CAST(0.2359591234567e6 AS TIME)
23:59:59
SELECT CAST(0.2359591234567e+30 AS TIME);
CAST(0.2359591234567e+30 AS TIME)
NULL
838:59:59
Warnings:
Warning 1292 Incorrect datetime value: '2.359591234567e29'
Warning 1292 Truncated incorrect time value: '2.359591234567e29'
select cast('100:55:50' as time) < cast('24:00:00' as time);
cast('100:55:50' as time) < cast('24:00:00' as time)
0
Expand Down
2 changes: 2 additions & 0 deletions mysql-test/suite/engines/iuds/suite.opt
@@ -0,0 +1,2 @@
--timezone=GMT-3

0 comments on commit 0aa40c3

Please sign in to comment.