3934 Gleb Shchepa 2012-06-29 [merge]
manual merge (mostly null-merge of WL6219 backport)
modified:
mysql-test/r/type_year.result
mysql-test/t/type_year.test
3933 Hemant Kumar 2012-06-29
Disabling the partition_locking_4 test again,
since it started failing on trunk with similar symptopms.
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).
| Thread |
|---|
| • bzr push into mysql-5.6 branch (gleb.shchepa:3933 to 3934) | Gleb Shchepa | 29 Jun |