summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <serg@sergbook.mysql.com>2002-12-20 18:39:53 +0100
committerunknown <serg@sergbook.mysql.com>2002-12-20 18:39:53 +0100
commit313b296b2e0b5436d1c2ac8bbfa367e2168173d2 (patch)
tree4c8ff8bde3fbab9908ef0e3c7aec830280123766 /sql
parent0c8582b3c3691aedd72812721b6c6e83fc5256d8 (diff)
downloadmariadb-git-313b296b2e0b5436d1c2ac8bbfa367e2168173d2.tar.gz
removed chroot() bugfix, now --chroot in 3.23 is broken again :((
Diffstat (limited to 'sql')
-rw-r--r--sql/mysqld.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index a5fc7eabe46..bd17f7339a4 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -886,7 +886,8 @@ static void set_root(const char *path)
sql_perror("chroot");
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
}