MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Joerg Bruehe Date:September 6 2010 11:26am
Subject:bzr commit into mysql-5.5 branch (joerg:3089) Bug#56547
View as plain text  
#At file:///MySQL/REPO/V55/clone-5.5/ based on revid:joerg@stripped

 3089 Joerg Bruehe	2010-09-06
      Fix bug#56547  mysql client interprets commands in comments
      
      The problem was not caused by a change in the client,
      rather by the tests using the Windows built-in "echo"
      and not the one built by MySQL.
      This again happened because the binary was missing in the package,
      caused by the wrong macro being used to build it in "cmake".

    modified:
      client/CMakeLists.txt
=== modified file 'client/CMakeLists.txt'
--- a/client/CMakeLists.txt	2010-08-12 15:19:57 +0000
+++ b/client/CMakeLists.txt	2010-09-06 11:26:23 +0000
@@ -64,7 +64,10 @@ MYSQL_ADD_EXECUTABLE(mysqlslap mysqlslap
 SET_SOURCE_FILES_PROPERTIES(mysqlslap.c PROPERTIES COMPILE_FLAGS "-DTHREADS")
 TARGET_LINK_LIBRARIES(mysqlslap mysqlclient)
 
-ADD_EXECUTABLE(echo echo.c)
+# "WIN32" also covers 64 bit. "echo" is used in some files below "mysql-test/".
+IF(WIN32)
+  MYSQL_ADD_EXECUTABLE(echo echo.c)
+ENDIF(WIN32)
 
 SET_TARGET_PROPERTIES (mysqlcheck mysqldump mysqlimport mysql_upgrade mysqlshow mysqlslap 
 PROPERTIES HAS_CXX TRUE)


Attachment: [text/bzr-bundle] bzr/joerg@mysql.com-20100906112623-80tsnt0yrxmr1v6c.bundle
Thread
bzr commit into mysql-5.5 branch (joerg:3089) Bug#56547Joerg Bruehe6 Sep