~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_delete_table.c

  • Committer: Monty Taylor
  • Date: 2008-07-16 19:10:24 UTC
  • mfrom: (51.1.127 remove-dbug)
  • mto: This revision was merged to the branch mainline in revision 176.
  • Revision ID: monty@inaugust.com-20080716191024-prjgoh7fbri7rx26
MergedĀ fromĀ remove-dbug.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
int mi_delete_table(const char *name)
23
23
{
24
24
  char from[FN_REFLEN];
25
 
  DBUG_ENTER("mi_delete_table");
26
25
 
27
26
  fn_format(from,name,"",MI_NAME_IEXT,MY_UNPACK_FILENAME|MY_APPEND_EXT);
28
27
  if (my_delete_with_symlink(from, MYF(MY_WME)))
29
 
    DBUG_RETURN(my_errno);
 
28
    return(my_errno);
30
29
  fn_format(from,name,"",MI_NAME_DEXT,MY_UNPACK_FILENAME|MY_APPEND_EXT);
31
 
  DBUG_RETURN(my_delete_with_symlink(from, MYF(MY_WME)) ? my_errno : 0);
 
30
  return(my_delete_with_symlink(from, MYF(MY_WME)) ? my_errno : 0);
32
31
}