CachedDirectory silently fails to add entries if stat() fails
Bug #738022 reported by
Stewart Smith
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Low
|
Stewart Smith | ||
7.1 |
Fix Released
|
Low
|
Stewart Smith |
Bug Description
=== modified file 'drizzled/
--- drizzled/
+++ drizzled/
@@ -159,9 +159,9 @@ bool CachedDirectory
- stat(buffered_
+ int err= stat(buffered_
- if (S_ISDIR(
+ if (err == 0 && S_ISDIR(
{
}
or something.
we should probably always go for some kind of absolute paths
Related branches
lp:~stewart/drizzle/bug738022
- Olaf van der Spek (community): Needs Fixing
- Drizzle Merge Team: Pending requested
-
Diff: 34 lines (+12/-3)1 file modifieddrizzled/cached_directory.cc (+12/-3)
Changed in drizzle: | |
assignee: | nobody → Stewart Smith (stewart) |
importance: | Undecided → Low |
milestone: | none → 2011-04-11 |
status: | Confirmed → Fix Committed |
To post a comment you must log in.