From: Gleb Shchepa Date: June 29 2012 11:05am Subject: bzr push into mysql-trunk branch (gleb.shchepa:3927 to 3928) List-Archive: http://lists.mysql.com/commits/144353 Message-Id: <20120629110535.10043.1717.3928@localhost6.localdomain6> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 3928 Gleb Shchepa 2012-06-29 [merge] auto-merge (backport of WL6219) modified: mysql-test/r/type_year.result mysql-test/t/type_year.test 3927 Hemant Kumar 2012-06-29 [merge] Merging changes related to disabled.def for partition_locking_4 test to trunk. modified: mysql-test/t/disabled.def === modified file 'mysql-test/r/type_year.result' --- a/mysql-test/r/type_year.result 2012-05-24 22:21:16 +0000 +++ b/mysql-test/r/type_year.result 2012-06-29 10:46:52 +0000 @@ -354,6 +354,16 @@ total_rows min_value MAX(c1) 3 0 2155 DROP TABLE t1; # +# WL#6219: Deprecate and remove YEAR(2) type +# +CREATE TABLE t1 (c1 YEAR(2), c2 YEAR(4)); +Warnings: +Warning 1818 YEAR(2) column type is deprecated. Creating YEAR(4) column instead. +ALTER TABLE t1 MODIFY COLUMN c2 YEAR(2); +Warnings: +Warning 1818 YEAR(2) column type is deprecated. Creating YEAR(4) column instead. +DROP TABLE t1; +# End of 5.1 tests # # Start of 5.6 tests === modified file 'mysql-test/t/type_year.test' --- a/mysql-test/t/type_year.test 2011-11-01 11:52:24 +0000 +++ b/mysql-test/t/type_year.test 2012-06-29 10:46:52 +0000 @@ -160,6 +160,14 @@ SELECT COUNT(*) AS total_rows, MIN(c1) A DROP TABLE t1; --echo # +--echo # WL#6219: Deprecate and remove YEAR(2) type +--echo # + +CREATE TABLE t1 (c1 YEAR(2), c2 YEAR(4)); +ALTER TABLE t1 MODIFY COLUMN c2 YEAR(2); +DROP TABLE t1; + +--echo # --echo End of 5.1 tests No bundle (reason: useless for push emails).