#At file:///export/home/tmp/x/mysql-5.5-11766320/ based on revid:serge.kozlov@stripped
3444 Magne Mahre 2011-04-14
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-14 08:08:12 +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-04-13 19:05:26 +0000
+++ b/config.h.cmake 2011-04-14 08:08:12 +0000
@@ -510,6 +510,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-20110414080812-j94x3lgf57bw0epu.bundle
| Thread |
|---|
| • bzr commit into mysql-5.5 branch (magne.mahre:3444) Bug#11766320 | Magne Mahre | 14 Apr |