~maria-captains/maria/5.1

Viewing all changes in revision 2502.1137.209.

  • Committer: Gleb Shchepa
  • Date: 2012-06-29 08:55:45 UTC
  • mto: (2502.1196.1 mysql-5.1)
  • mto: This revision was merged to the branch mainline in revision 3152.
  • Revision ID: gleb.shchepa@oracle.com-20120629085545-8gvb7i5n5l88gjdt
Backport of the deprecation warning from WL#6219: "Deprecate and remove YEAR(2) type"

Print the warning(note):

 YEAR(x) is deprecated and will be removed in a future release. Please use YEAR(4) instead

on "CREATE TABLE ... YEAR(x)" or "ALTER TABLE MODIFY ... YEAR(x)", where x != 4

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: