From 74e7ffe9872e74f3ac1ae4e93a2ef1b0d2c97c03 Mon Sep 17 00:00:00 2001 From: "monty@donna.mysql.com" <> Date: Tue, 28 Nov 2000 04:47:47 +0200 Subject: New thr_alarm struct for better integration with OS2 Run bootstrap in separate thread Fix bug in FLUSH TABLES table_name --- sql/sql_load.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sql/sql_load.cc') diff --git a/sql/sql_load.cc b/sql/sql_load.cc index de6d006a80e..1cb042537fc 100644 --- a/sql/sql_load.cc +++ b/sql/sql_load.cc @@ -163,7 +163,9 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list, // the file must be: if (!((stat_info.st_mode & S_IROTH) == S_IROTH && // readable by others +#ifndef __EMX__ (stat_info.st_mode & S_IFLNK) != S_IFLNK && // and not a symlink +#endif ((stat_info.st_mode & S_IFREG) == S_IFREG || (stat_info.st_mode & S_IFIFO) == S_IFIFO))) { -- cgit v1.2.1