Bug #59844 Return value of ndb binlog functions are not checked
Submitted: 31 Jan 2011 13:39 Modified: 28 Jun 2019 9:20
Reporter: Magnus Blåudd Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: Replication Severity:S3 (Non-critical)
Version:5.5.10 OS:Any
Assigned to: Magnus Blåudd CPU Architecture:Any

[31 Jan 2011 13:39] Magnus Blåudd
Description:
The return value of the ndb binlog functions(ha_reset_logs(), ha_binlog_index_purge_file() and ha_reset_slave())are not  checked properly. We need to fix so that the return code is properly propagated up though the call stack and also check in the code where these functions are called.

How to repeat:
This is a MySQL Cluster patch

Suggested fix:
Propagate and check return codes.
[31 Jan 2011 16:01] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/130064
[1 Feb 2011 9:55] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/130113
[28 Jun 2019 9:20] Magnus Blåudd
Posted by developer:
 
This bug report is too wide and there are no specific known problems where missing return code causes a problem. If such a problem is known we should create a new specific bug for that problem.

Rejecting as won't fix.