Commit 68fc04c4 authored by unknown's avatar unknown

Portability fix (for AMD hammer)


sql/log.cc:
  Portability fix (for hammer)
parent 241b6c05
...@@ -1067,6 +1067,7 @@ void sql_print_error(const char *format,...) ...@@ -1067,6 +1067,7 @@ void sql_print_error(const char *format,...)
char buff[1024]; char buff[1024];
my_vsnprintf(buff,sizeof(buff)-1,format,args); my_vsnprintf(buff,sizeof(buff)-1,format,args);
DBUG_PRINT("error",("%s",buff)); DBUG_PRINT("error",("%s",buff));
va_start(args,format);
} }
#endif #endif
skr=time(NULL); skr=time(NULL);
......
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