From 9e4dc3fba54dc1455e2657a78cc412a5fa67534d Mon Sep 17 00:00:00 2001 From: "venu@myvenu.com" <> Date: Thu, 5 Dec 2002 12:34:22 -0800 Subject: sql_error.cc: make tests to go ; becuase of DROP TABLE ID EXISTS warnings --- sql/sql_error.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sql/sql_error.cc') diff --git a/sql/sql_error.cc b/sql/sql_error.cc index 5c9bef15ea7..bba49cf818b 100644 --- a/sql/sql_error.cc +++ b/sql/sql_error.cc @@ -110,6 +110,7 @@ void push_warning(THD *thd, MYSQL_ERROR::enum_warning_level level, uint code, void store_warning(THD *thd, uint errcode, ...) { +#if TESTS_TO_BE_FIXED va_list args; const char *format; char warning[ERRMSGSIZE+20]; @@ -128,6 +129,7 @@ void store_warning(THD *thd, uint errcode, ...) va_end(args); push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN, errcode, warning); DBUG_VOID_RETURN; +#endif } -- cgit v1.2.1