MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:vvaintroub Date:April 6 2008 1:20am
Subject:bk commit into 6.0 tree (vvaintroub:1.2621)
View as plain text  
Below is the list of changes that have just been committed into a local
6.0 repository of vvaintroub.  When vvaintroub 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, 2008-04-06 01:20:26+02:00, vvaintroub@wva. +1 -0
  Enable debug info  in CMake Release configuration - this allows to
  analyze crashes and hangs

  CMakeLists.txt@stripped, 2008-04-06 01:20:24+02:00, vvaintroub@wva. +4 -0
    Enable debug info in CMake Release configuration - this allows to
    analyze crashes and hangs

diff -Nrup a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt	2008-03-28 15:49:07 +01:00
+++ b/CMakeLists.txt	2008-04-06 01:20:24 +02:00
@@ -116,6 +116,10 @@ SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CM
 SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DDBUG_OFF")
 SET(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -DDBUG_OFF")
 
+# enable debug info also in Release build, to be able to analyze crashes
+SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Zi")
+SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Zi")
+
 # VS2003 needs the /Op compiler option to disable floating point optimizations
 IF(CMAKE_GENERATOR MATCHES "Visual Studio 7")
     SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /Op")
Thread
bk commit into 6.0 tree (vvaintroub:1.2621)vvaintroub6 Apr