21
21
int my_mkdir(const char *dir, int Flags, myf MyFlags)
26
23
if (mkdir((char*) dir, Flags & my_umask_dir))
29
DBUG_PRINT("error",("error %d when creating direcory %s",my_errno,dir));
30
26
if (MyFlags & (MY_FFNF | MY_FAE | MY_WME))
31
27
my_error(EE_CANT_MKDIR, MYF(ME_BELL+ME_WAITTANG), dir, my_errno);