mirror of
https://github.com/MariaDB/server.git
synced 2026-04-29 11:45:32 +02:00
cleanup: mysys_test_invalid_symlink
Remove maria_test_invalid_symlink() and myisam_test_invalid_symlink(), introduce mysys_test_invalid_symlink(). Other engines might need it too
This commit is contained in:
parent
24d8bc707a
commit
c826ac9d53
9 changed files with 18 additions and 25 deletions
|
|
@ -7267,7 +7267,7 @@ static int mysql_init_variables(void)
|
|||
mysql_home[0]= pidfile_name[0]= log_error_file[0]= 0;
|
||||
#if defined(HAVE_REALPATH) && !defined(HAVE_valgrind) && !defined(HAVE_BROKEN_REALPATH)
|
||||
/* We can only test for sub paths if my_symlink.c is using realpath */
|
||||
myisam_test_invalid_symlink= test_if_data_home_dir;
|
||||
mysys_test_invalid_symlink= test_if_data_home_dir;
|
||||
#endif
|
||||
opt_log= opt_slow_log= 0;
|
||||
opt_bin_log= opt_bin_log_used= 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue