List:Commits« Previous MessageNext Message »
From:Magne Mahre Date:April 13 2011 1:44pm
Subject:bzr commit into mysql-5.5 branch (magne.mahre:3420) Bug#11766320
View as plain text  
#At file:///export/home/tmp/x/mysql-5.5-11766320/ based on revid:vasil.dimov@stripped

 3420 Magne Mahre	2011-04-13
      Bug#11766320 MYSQL SYMBOLIC LINKS NOT WORKING
      
      When MySQL converted from autotools to CMake, the
      preprocessor symbol USE_SYMDIR was omitted by mistake.
      
      Without this symbol, the code for checking .sym files
      is not built.
      
      This patch defines USE_SYMDIR when built on MS Windows.

    modified:
      cmake/os/Windows.cmake
      config.h.cmake
=== modified file 'cmake/os/Windows.cmake'
--- a/cmake/os/Windows.cmake	2010-11-19 23:20:18 +0000
+++ b/cmake/os/Windows.cmake	2011-04-13 13:44:56 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 2010 Sun Microsystems, Inc
+# Copyright (C) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -192,3 +192,4 @@ IF(NOT HAVE_SIZE_OF_SSIZE_T)
 ENDIF()
 
 SET(FN_NO_CASE_SENSE 1)
+SET(USE_SYMDIR 1)

=== modified file 'config.h.cmake'
--- a/config.h.cmake	2011-02-02 18:13:28 +0000
+++ b/config.h.cmake	2011-04-13 13:44:56 +0000
@@ -513,6 +513,7 @@
 #cmakedefine EXTRA_DEBUG 1
 #cmakedefine BACKUP_TEST 1
 #cmakedefine CYBOZU 1
+#cmakedefine USE_SYMDIR 1
 
 /* Character sets and collations */
 #cmakedefine MYSQL_DEFAULT_CHARSET_NAME "@MYSQL_DEFAULT_CHARSET_NAME@"


Attachment: [text/bzr-bundle] bzr/magne.mahre@oracle.com-20110413134456-dowdnovnj002j8mr.bundle
Thread
bzr commit into mysql-5.5 branch (magne.mahre:3420) Bug#11766320Magne Mahre13 Apr
  • Re: bzr commit into mysql-5.5 branch (magne.mahre:3420) Bug#11766320Davi Arnaut13 Apr