From: Date: October 10 2008 1:01pm Subject: bzr commit into mysql-5.1 branch (kristofer.pettersson:2758) Bug#39451 List-Archive: http://lists.mysql.com/commits/56013 X-Bug: 39451 Message-Id: <0K8I00M8ARY1Q0E0@fe-emea-09.sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT #At file:///export/home/thek/bzr/mysql-5.1-bugteam/ 2758 Kristofer Pettersson 2008-10-10 Bug#39451 Debug builds broken with Sun Studio compiler Debug builds of MySQL 5.1, 6.0 with Sun Studio 12 broke because of use of gcc specific feature. The fix is to replace __FUNCTION__ with the corresponding character string modified: sql/log.cc sql/sql_class.cc === modified file 'sql/log.cc' === modified file 'sql/log.cc' --- a/sql/log.cc 2008-09-03 20:04:07 +0000 +++ b/sql/log.cc 2008-10-10 11:00:27 +0000 @@ -3779,7 +3779,7 @@ int MYSQL_BIN_LOG::remove_pending_rows_event(THD *thd) { - DBUG_ENTER(__FUNCTION__); + DBUG_ENTER("MYSQL_BIN_LOG::remove_pending_rows_event"); binlog_trx_data *const trx_data= (binlog_trx_data*) thd_get_ha_data(thd, binlog_hton); === modified file 'sql/sql_class.cc' --- a/sql/sql_class.cc 2008-09-17 12:54:50 +0000 +++ b/sql/sql_class.cc 2008-10-10 11:00:27 +0000 @@ -3513,7 +3513,7 @@ int THD::binlog_remove_pending_rows_event(bool clear_maps) { - DBUG_ENTER(__FUNCTION__); + DBUG_ENTER("THD::binlog_remove_pending_rows_event"); if (!mysql_bin_log.is_open()) DBUG_RETURN(0);