mysqld.cc:

Bug#14960, reverted code to make symdir work on Windows
symlink.test:
  Disabled test case on Windows
This commit is contained in:
kent@mysql.com 2005-12-08 16:13:53 +01:00
parent 7ce92291f0
commit e8198e799e
2 changed files with 4 additions and 2 deletions

View file

@ -3,6 +3,8 @@ disable_query_log;
show variables like "have_symlink";
enable_query_log;
--source include/not_windows.inc
--disable_warnings
drop table if exists t1,t2,t7,t8,t9;
drop database if exists mysqltest;

View file

@ -5950,7 +5950,7 @@ static void mysql_init_variables(void)
#else
have_openssl=SHOW_OPTION_NO;
#endif
#if !defined(HAVE_REALPATH) || defined(HAVE_BROKEN_REALPATH)
#ifdef HAVE_BROKEN_REALPATH
have_symlink=SHOW_OPTION_NO;
#else
have_symlink=SHOW_OPTION_YES;
@ -6631,7 +6631,7 @@ static void get_options(int argc,char **argv)
usage();
exit(0);
}
#if !defined(HAVE_REALPATH) || defined(HAVE_BROKEN_REALPATH)
#if defined(HAVE_BROKEN_REALPATH)
my_use_symdir=0;
my_disable_symlinks=1;
have_symlink=SHOW_OPTION_NO;