Commit 17bc3150 authored by unknown's avatar unknown

Removed --use-symbolic-links

parent db6d4e9f
...@@ -2634,9 +2634,6 @@ static struct option long_options[] = { ...@@ -2634,9 +2634,6 @@ static struct option long_options[] = {
{"temp-pool", no_argument, 0, (int) OPT_TEMP_POOL}, {"temp-pool", no_argument, 0, (int) OPT_TEMP_POOL},
{"tmpdir", required_argument, 0, 't'}, {"tmpdir", required_argument, 0, 't'},
{"use-locking", no_argument, 0, (int) OPT_USE_LOCKING}, {"use-locking", no_argument, 0, (int) OPT_USE_LOCKING},
#ifdef USE_SYMDIR
{"use-symbolic-links", no_argument, 0, 's'},
#endif
{"user", required_argument, 0, 'u'}, {"user", required_argument, 0, 'u'},
{"version", no_argument, 0, 'V'}, {"version", no_argument, 0, 'V'},
{0, 0, 0, 0} {0, 0, 0, 0}
...@@ -3087,9 +3084,6 @@ static void usage(void) ...@@ -3087,9 +3084,6 @@ static void usage(void)
--remove Remove mysqld from the service list (NT)\n\ --remove Remove mysqld from the service list (NT)\n\
--standalone Dummy option to start as a standalone program (NT)\ --standalone Dummy option to start as a standalone program (NT)\
"); ");
#ifdef USE_SYMDIR
puts("--use-symbolic-links Enable symbolic link support");
#endif
puts(""); puts("");
#endif #endif
#ifdef HAVE_BERKELEY_DB #ifdef HAVE_BERKELEY_DB
...@@ -3212,6 +3206,8 @@ static void get_options(int argc,char **argv) ...@@ -3212,6 +3206,8 @@ static void get_options(int argc,char **argv)
int c,option_index=0; int c,option_index=0;
myisam_delay_key_write=1; // Allow use of this myisam_delay_key_write=1; // Allow use of this
my_use_symdir=1; // Use internal symbolic links
while ((c=getopt_long(argc,argv,"ab:C:h:#::T::?l::L:O:P:sS::t:u:noVvI?", while ((c=getopt_long(argc,argv,"ab:C:h:#::T::?l::L:O:P:sS::t:u:noVvI?",
long_options, &option_index)) != EOF) long_options, &option_index)) != EOF)
{ {
...@@ -3270,11 +3266,6 @@ static void get_options(int argc,char **argv) ...@@ -3270,11 +3266,6 @@ static void get_options(int argc,char **argv)
case 'r': case 'r':
mysqld_chroot=optarg; mysqld_chroot=optarg;
break; break;
#ifdef USE_SYMDIR
case 's':
my_use_symdir=1; /* Use internal symbolic links */
break;
#endif
case 't': case 't':
mysql_tmpdir=optarg; mysql_tmpdir=optarg;
break; break;
...@@ -3456,6 +3447,7 @@ static void get_options(int argc,char **argv) ...@@ -3456,6 +3447,7 @@ static void get_options(int argc,char **argv)
myisam_concurrent_insert=0; myisam_concurrent_insert=0;
myisam_recover_options= HA_RECOVER_NONE; myisam_recover_options= HA_RECOVER_NONE;
my_disable_symlinks=1; my_disable_symlinks=1;
my_use_symdir=0;
have_symlink=SHOW_OPTION_DISABLED; have_symlink=SHOW_OPTION_DISABLED;
ha_open_options&= ~HA_OPEN_ABORT_IF_CRASHED; ha_open_options&= ~HA_OPEN_ABORT_IF_CRASHED;
break; break;
...@@ -3515,6 +3507,7 @@ static void get_options(int argc,char **argv) ...@@ -3515,6 +3507,7 @@ static void get_options(int argc,char **argv)
break; break;
case (int) OPT_SKIP_SYMLINK: case (int) OPT_SKIP_SYMLINK:
my_disable_symlinks=1; my_disable_symlinks=1;
my_use_symdir=0;
have_symlink=SHOW_OPTION_DISABLED; have_symlink=SHOW_OPTION_DISABLED;
break; break;
case (int) OPT_BIND_ADDRESS: case (int) OPT_BIND_ADDRESS:
......
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