removed chroot() bugfix, now --chroot in 3.23 is broken again :((

parent 70b97a98
...@@ -886,7 +886,8 @@ static void set_root(const char *path) ...@@ -886,7 +886,8 @@ static void set_root(const char *path)
sql_perror("chroot"); sql_perror("chroot");
unireg_abort(1); unireg_abort(1);
} }
my_setwd("/", MYF(0)); // my_setwd("/", MYF(0));
sql_print_error("Warning: --chroot option doesn't provide 100%% closed chroot jail in MySQL 3.23. Upgrade to 4.0");
#endif #endif
} }
......
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