From: Jon Olav Hauglid Date: November 8 2010 11:56am Subject: bzr push into mysql-5.1-bugteam branch (jon.hauglid:3555 to 3556) Bug#45288 List-Archive: http://lists.mysql.com/commits/123075 X-Bug: 45288 Message-Id: <201011081157.oA89DJS3029768@acsinet15.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 3556 Jon Olav Hauglid 2010-11-08 Bug #45288 pb2 returns a lot of compilation warnings GCOV builds were broken after the patch for Bug#57933 which added add -Wdeclaration-after-statement to gcc builds. This patch fixes: stacktrace.c:328: warning: ISO C90 forbids mixed declarations and code No test case added. modified: mysys/stacktrace.c 3555 Anitha Gopi 2010-11-08 Bug#58041 : Moved rpl_binlog_row to daily. Run just main suite for ps_row and embedded per push. Other suites run daily added: mysql-test/collections/mysql-5.1-bugteam.daily mysql-test/collections/mysql-5.1-bugteam.push === modified file 'mysys/stacktrace.c' --- a/mysys/stacktrace.c 2010-07-30 20:33:10 +0000 +++ b/mysys/stacktrace.c 2010-11-08 11:51:48 +0000 @@ -318,6 +318,9 @@ end: /* Produce a core for the thread */ void my_write_core(int sig) { +#ifdef HAVE_gcov + extern void __gcov_flush(void); +#endif signal(sig, SIG_DFL); #ifdef HAVE_gcov /* @@ -325,7 +328,6 @@ void my_write_core(int sig) information from this process, causing gcov output to be incomplete. So we force the writing of coverage information here before terminating. */ - extern void __gcov_flush(void); __gcov_flush(); #endif pthread_kill(pthread_self(), sig); No bundle (reason: useless for push emails).