Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Util::Database::DoMkDir ( CString  dir  )  [inline, private]

Definition at line 331 of file Database.h.

References ILOG_ERROR, and Impala::StringReplaceAll().

Referenced by DoMkDirPathLocal().

00332     {
00333 #ifdef unix
00334         mode_t m = 0755;
00335         mkdir(dir.c_str(), m);
00336 #else
00337         if (_mkdir(StringReplaceAll(dir, "/", "\\").c_str()) != 0 && 
00338             errno != EEXIST)
00339             ILOG_ERROR("[DoMkDir] Failed to create directory: " << dir << 
00340                        " (" << strerror(errno) << ")");
00341 #endif
00342     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:24:12 2011 for ImpalaSrc by  doxygen 1.5.1