wsrep_sst_mysqldump() does not properly handle the return value of pclose()

Bug #385256 reported by Alex Yurchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
Fix Released
High
Alex Yurchenko

Bug Description

pclose() return is checked only for values < 0. As a result the exit status of the wsrep_sst_mysqldump script is not checked and is always assumed to be 0.

Changed in codership-mysql:
assignee: nobody → Alex Yurchenko (ayurchen)
importance: Undecided → High
milestone: none → 0.7
description: updated
Revision history for this message
Alex Yurchenko (ayurchen) wrote :

fixed in r2847: created a small utility class that hadles creating, waiting and cleaning up after process.

Changed in codership-mysql:
status: New → Fix Committed
Changed in codership-mysql:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.