From 4228bcf8ed3a2ca8a0eebf71d5fda8acb74c3674 Mon Sep 17 00:00:00 2001 From: Alexey Botchkov Date: Wed, 3 Jun 2009 11:09:49 +0500 Subject: [PATCH] Bug#44394 Assertion Failure the problem is in the TIMESTAMP(14) fields of the access-control tables. The TIMESTAMP(14) syntax is marked as DEPRECATED since 5.2. Fixed by just changed the check to 6.0 as it's done in the 5.1 branch. per-file comments: sql/sql_parse.cc Bug#44394 Assertion Failure now it's deprecated since 6.0 --- sql/sql_parse.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 68bb7d81e6b..6e9bf6650e2 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -6038,7 +6038,7 @@ bool add_field_to_list(THD *thd, LEX_STRING *field_name, enum_field_types type, */ char buf[32]; my_snprintf(buf, sizeof(buf), "TIMESTAMP(%s)", length); - WARN_DEPRECATED(thd, "5.2", buf, "'TIMESTAMP'"); + WARN_DEPRECATED(thd, "6.0", buf, "'TIMESTAMP'"); } if (!(new_field= new Create_field()) ||