diff options
Diffstat (limited to 'mysql-test/t/type_year.test')
-rw-r--r-- | mysql-test/t/type_year.test | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/t/type_year.test b/mysql-test/t/type_year.test index 1a9e66478e1..de38306e88f 100644 --- a/mysql-test/t/type_year.test +++ b/mysql-test/t/type_year.test @@ -157,6 +157,7 @@ CREATE TABLE t1(c1 YEAR(4)); INSERT INTO t1 VALUES (1901),(2155),(0000); SELECT * FROM t1; SELECT COUNT(*) AS total_rows, MIN(c1) AS min_value, MAX(c1) FROM t1; +SELECT COUNT(*) AS total_rows, MIN(c1+0) AS min_value, MAX(c1+0) FROM t1; DROP TABLE t1; --echo # |