equal_paths should not crash if paths do not exist

Bug #1599397 reported by Sergei Glushchenko
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Status tracked in 2.4
2.3
Fix Released
Medium
Sergei Glushchenko
2.4
Fix Released
Medium
Sergei Glushchenko

Bug Description

Handle realpath returning NULL better:

 ut_a(realpath(first, real_first) != NULL);
 ut_a(realpath(second, real_second) != NULL);

Revision history for this message
Sergei Glushchenko (sergei.glushchenko) wrote :

Its a code quality issue

Revision history for this message
Sergei Glushchenko (sergei.glushchenko) wrote :

Additionally, directory_exists always creating a directoy despite the value of `create` parameter

Revision history for this message
Sergei Glushchenko (sergei.glushchenko) wrote :
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-759

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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