Commit ef4f5b21 authored by unknown's avatar unknown

sql_error.cc:

  make tests to go ; becuase of DROP TABLE ID EXISTS warnings


sql/sql_error.cc:
  make tests to go ; becuase of DROP TABLE ID EXISTS warnings
parent 3196a915
...@@ -110,6 +110,7 @@ void push_warning(THD *thd, MYSQL_ERROR::enum_warning_level level, uint code, ...@@ -110,6 +110,7 @@ void push_warning(THD *thd, MYSQL_ERROR::enum_warning_level level, uint code,
void store_warning(THD *thd, uint errcode, ...) void store_warning(THD *thd, uint errcode, ...)
{ {
#if TESTS_TO_BE_FIXED
va_list args; va_list args;
const char *format; const char *format;
char warning[ERRMSGSIZE+20]; char warning[ERRMSGSIZE+20];
...@@ -128,6 +129,7 @@ void store_warning(THD *thd, uint errcode, ...) ...@@ -128,6 +129,7 @@ void store_warning(THD *thd, uint errcode, ...)
va_end(args); va_end(args);
push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN, errcode, warning); push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN, errcode, warning);
DBUG_VOID_RETURN; DBUG_VOID_RETURN;
#endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment