Commit caf40acf authored by unknown's avatar unknown

Fix compile using libwrap with gcc 4.0.2. (Bug #12570)


sql/mysqld.cc:
  Fix const-ness of libwrapName variable.
parent 252f72a0
...@@ -564,7 +564,7 @@ bool mysqld_embedded=1; ...@@ -564,7 +564,7 @@ bool mysqld_embedded=1;
static const char* default_dbug_option; static const char* default_dbug_option;
#endif #endif
#ifdef HAVE_LIBWRAP #ifdef HAVE_LIBWRAP
char *libwrapName= NULL; const char *libwrapName= NULL;
#endif #endif
#ifdef HAVE_QUERY_CACHE #ifdef HAVE_QUERY_CACHE
static ulong query_cache_limit= 0; static ulong query_cache_limit= 0;
......
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