392
392
pthread_mutex_lock(&LOCK_create_db);
394
394
length= build_table_filename(path, sizeof(path), db, "", false);
395
396
strcpy(path+length, MY_DB_OPT_FILE); // Append db option file name
397
398
path[length]= '\0'; // Remove file name
399
401
/* See if the directory exists */
400
402
if (!(dirp= my_dir(path,MYF(MY_DONT_SORT))))