Fixed bug in warning handling (Memory was allocated from wrong MEM_ROOT)

sql/item_sum.cc:
  Fixed bug in warning handling.
sql/item_sum.h:
  Fixed bug in warning handling.
sql/sql_class.h:
  Fixed bug in warning handling.
sql/sql_error.cc:
  Fixed bug in warning handling.
strings/my_vsnprintf.c:
  After merge fix
This commit is contained in:
unknown 2003-04-03 21:19:14 +03:00
commit 0dbfff4614
5 changed files with 40 additions and 27 deletions

View file

@ -37,7 +37,6 @@ int my_snprintf(char* to, size_t n, const char* fmt, ...)
{
int result;
va_list args;
int result;
va_start(args,fmt);
result= my_vsnprintf(to, n, fmt, args);
va_end(args);