From: Tor Didriksen Date: July 4 2011 12:30pm Subject: bzr push into mysql-5.5 branch (tor.didriksen:3450 to 3451) Bug#12710832 List-Archive: http://lists.mysql.com/commits/140177 X-Bug: 12710832 Message-Id: <201107041230.p64CU7vR004903@acsmt356.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 3451 Tor Didriksen 2011-07-04 Bug#12710832 - PB2 DAILY-TRUNK BUILD FAILS ON SOLARIS X86_64 Compiler bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6879978 Workaround is to always specify "-xOn". @ cmake/build_configurations/mysql_release.cmake Enable basic optimization for debug builds. modified: cmake/build_configurations/mysql_release.cmake 3450 Tor Didriksen 2011-07-04 Bug#11908153: CRASH AND/OR VALGRIND ERRORS IN FIELD_BLOB::GET_KEY_IMAGE Field_geom::reset() failed to reset its base Field_blob. The range optimizer used the un-initilized field during optimization and execution. @ mysql-test/r/gis.result New test case. @ mysql-test/t/gis.test New test case. @ sql/field.h Field_geom::reset() must call Field_blob::reset(), even if the field is not nullable. modified: mysql-test/r/gis.result mysql-test/t/gis.test sql/field.h sql/field_conv.cc === modified file 'cmake/build_configurations/mysql_release.cmake' --- a/cmake/build_configurations/mysql_release.cmake 2011-06-30 15:46:53 +0000 +++ b/cmake/build_configurations/mysql_release.cmake 2011-07-04 12:27:08 +0000 @@ -210,8 +210,8 @@ IF(UNIX) IF(CMAKE_SYSTEM_PROCESSOR MATCHES "i386") SET(COMMON_C_FLAGS "-g -mt -fsimple=1 -ftrap=%none -nofstore -xbuiltin=%all -xlibmil -xlibmopt -xtarget=generic") SET(COMMON_CXX_FLAGS "-g0 -mt -fsimple=1 -ftrap=%none -nofstore -xbuiltin=%all -features=no%except -xlibmil -xlibmopt -xtarget=generic") - SET(CMAKE_C_FLAGS_DEBUG "${COMMON_C_FLAGS}") - SET(CMAKE_CXX_FLAGS_DEBUG "${COMMON_CXX_FLAGS}") + SET(CMAKE_C_FLAGS_DEBUG "-xO1 ${COMMON_C_FLAGS}") + SET(CMAKE_CXX_FLAGS_DEBUG "-xO1 ${COMMON_CXX_FLAGS}") IF(32BIT) SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-xO2 ${COMMON_C_FLAGS}") SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-xO2 ${COMMON_CXX_FLAGS}") No bundle (reason: useless for push emails).