wsrep_sst_mysqldump() does not properly handle the return value of pclose()
Bug #385256 reported by
Alex Yurchenko
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.
Related branches
Changed in codership-mysql: | |
assignee: | nobody → Alex Yurchenko (ayurchen) |
importance: | Undecided → High |
milestone: | none → 0.7 |
description: | updated |
Changed in codership-mysql: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
fixed in r2847: created a small utility class that hadles creating, waiting and cleaning up after process.