Commit e1bb14ea authored by Michael Widenius's avatar Michael Widenius

Automatic merge with 5.2 to fix compiler failure on FreeBSD

parents c4a0d53d fa4eb993
...@@ -128,7 +128,7 @@ void SetErrorString(unsigned long error, char* buffer) ...@@ -128,7 +128,7 @@ void SetErrorString(unsigned long error, char* buffer)
break; break;
case badVersion_error : case badVersion_error :
strncpy(buffer, "protocl version mismatch", max); strncpy(buffer, "protocol version mismatch", max);
break; break;
case compress_error : case compress_error :
......
...@@ -744,9 +744,7 @@ char *opt_logname, *opt_slow_logname; ...@@ -744,9 +744,7 @@ char *opt_logname, *opt_slow_logname;
/* Static variables */ /* Static variables */
static bool kill_in_progress, segfaulted; static bool kill_in_progress, segfaulted;
#ifdef HAVE_STACKTRACE
static my_bool opt_stack_trace; static my_bool opt_stack_trace;
#endif /* HAVE_STACKTRACE */
static my_bool opt_bootstrap, opt_myisam_log; static my_bool opt_bootstrap, opt_myisam_log;
static int cleanup_done; static int cleanup_done;
static ulong opt_specialflag, opt_myisam_block_size; static ulong opt_specialflag, opt_myisam_block_size;
......
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