From 5949f901ab14c4336f6ca57f2836c66064514866 Mon Sep 17 00:00:00 2001 From: "monty@hundin.mysql.fi" <> Date: Mon, 1 Jul 2002 11:38:46 +0300 Subject: [PATCH] Disable symlinks if compiled with -DHAVE_BROKEN_REALPATH --- sql/mysqld.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sql/mysqld.cc b/sql/mysqld.cc index 8c9854fdcb9..ce52bdc152e 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -229,7 +229,11 @@ SHOW_COMP_OPTION have_openssl=SHOW_OPTION_YES; #else SHOW_COMP_OPTION have_openssl=SHOW_OPTION_NO; #endif +#ifdef HAVE_BROKEN_REALPATH +SHOW_COMP_OPTION have_symlink=SHOW_OPTION_NO; +#else SHOW_COMP_OPTION have_symlink=SHOW_OPTION_YES; +#endif #ifdef HAVE_QUERY_CACHE SHOW_COMP_OPTION have_query_cache=SHOW_OPTION_YES; #else