Skip to content

Commit

Permalink
MDEV-7005 NULLIF does not work as documented
Browse files Browse the repository at this point in the history
MDEV-7146 NULLIF returns unexpected result with a YEAR field
  • Loading branch information
Alexander Barkov committed Nov 20, 2014
1 parent 9f4abde commit 969f491
Show file tree
Hide file tree
Showing 10 changed files with 1,595 additions and 62 deletions.
2 changes: 1 addition & 1 deletion mysql-test/r/ctype_binary.result
Original file line number Diff line number Diff line change
Expand Up @@ -2900,7 +2900,7 @@ SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`d` date DEFAULT NULL,
`bad` varbinary(10) DEFAULT NULL
`bad` date DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
DROP TABLE t1, t2;
SET NAMES latin1;
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/ctype_cp1251.result
Original file line number Diff line number Diff line change
Expand Up @@ -3292,7 +3292,7 @@ SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`d` date DEFAULT NULL,
`bad` varchar(10) CHARACTER SET cp1251 DEFAULT NULL
`bad` date DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
DROP TABLE t1, t2;
SET NAMES latin1;
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/ctype_latin1.result
Original file line number Diff line number Diff line change
Expand Up @@ -3576,7 +3576,7 @@ SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`d` date DEFAULT NULL,
`bad` varchar(10) DEFAULT NULL
`bad` date DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
DROP TABLE t1, t2;
SET NAMES latin1;
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/ctype_ucs.result
Original file line number Diff line number Diff line change
Expand Up @@ -4483,7 +4483,7 @@ SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`d` date DEFAULT NULL,
`bad` varchar(10) CHARACTER SET ucs2 DEFAULT NULL
`bad` date DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
DROP TABLE t1, t2;
SET NAMES latin1;
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/ctype_utf8.result
Original file line number Diff line number Diff line change
Expand Up @@ -5351,7 +5351,7 @@ SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`d` date DEFAULT NULL,
`bad` varchar(10) CHARACTER SET utf8 DEFAULT NULL
`bad` date DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
DROP TABLE t1, t2;
SET NAMES latin1;
Expand Down
Loading

0 comments on commit 969f491

Please sign in to comment.