Commit 3cdc8ae5 authored by monty@narttu.mysql.fi's avatar monty@narttu.mysql.fi

Portability fix (for AMD hammer)

parent 1211b9a5
...@@ -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