MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Ignacio Galarza Date:December 14 2007 8:49pm
Subject:bk commit into 5.1 tree (iggy:1.2642) BUG#26811
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of iggy.  When iggy does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2007-12-14 15:49:51-05:00, iggy@amd64.(none) +1 -0
  Bug#26811 Symbolic links don't work in Windows Vista
  - Enable check for symbolic link files.

  sql/sql_table.cc@stripped, 2007-12-14 15:49:49-05:00, iggy@amd64.(none) +6 -1
    Bug#26811 Symbolic links don't work in Windows Vista
    - On systems that support symbolic link files, make sure to check for them.

diff -Nrup a/sql/sql_table.cc b/sql/sql_table.cc
--- a/sql/sql_table.cc	2007-12-11 17:57:54 -05:00
+++ b/sql/sql_table.cc	2007-12-14 15:49:49 -05:00
@@ -207,7 +207,12 @@ uint build_table_filename(char *buff, si
   if (pos - rootdir_len >= buff &&
       memcmp(pos - rootdir_len, FN_ROOTDIR, rootdir_len) != 0)
     pos= strnmov(pos, FN_ROOTDIR, end - pos);
-  pos= strxnmov(pos, end - pos, dbbuff, FN_ROOTDIR, tbbuff, ext, NullS);
+  pos= strxnmov(pos, end - pos, dbbuff, FN_ROOTDIR, NullS);
+#ifdef USE_SYMDIR
+  unpack_dirname(buff, buff);
+  pos= strend(buff);
+#endif
+  pos= strxnmov(pos, end - pos, tbbuff, ext, NullS);
 
   DBUG_PRINT("exit", ("buff: '%s'", buff));
   DBUG_RETURN(pos - buff);
Thread
bk commit into 5.1 tree (iggy:1.2642) BUG#26811Ignacio Galarza14 Dec