From: Date: August 19 2008 8:31am Subject: bzr push into mysql-5.1 branch (tomas.ulin:2649 to 2650) Bug#38628 List-Archive: http://lists.mysql.com/commits/51912 X-Bug: 38628 Message-Id: <20080819063124.C466E44033@linux.local> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 2650 Tomas Ulin 2008-08-19 continued fix for reset master modified: sql/ha_ndbcluster_binlog.cc 2649 Jonas Oreland 2008-08-13 ndb - bug#38628 - Fix invalid memory access in takeOverScanOp (causes bus-error on i.e sparc) modified: storage/ndb/src/ndbapi/NdbScanOperation.cpp === modified file 'sql/ha_ndbcluster_binlog.cc' --- a/sql/ha_ndbcluster_binlog.cc 2008-08-08 09:14:45 +0000 +++ b/sql/ha_ndbcluster_binlog.cc 2008-08-19 06:30:59 +0000 @@ -500,6 +500,10 @@ static int ndbcluster_reset_logs(THD *th if (!ndb_binlog_running) return 0; + /* only reset master should reset logs */ + if (!(thd->lex->type & REFRESH_MASTER)) + return 0; + DBUG_ENTER("ndbcluster_reset_logs"); /*