~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_div.c

  • Committer: Brian Aker
  • Date: 2008-07-18 20:10:26 UTC
  • mfrom: (51.3.29 remove-dbug)
  • Revision ID: brian@tangent.org-20080718201026-tto5golt0xhwqe4a
Merging in Jay's final patch on dbug.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
char * my_filename(File fd)
27
27
{
28
 
  DBUG_ENTER("my_filename");
29
28
  if ((uint) fd >= (uint) my_file_limit)
30
 
    DBUG_RETURN((char*) "UNKNOWN");
 
29
    return((char*) "UNKNOWN");
31
30
  if (fd >= 0 && my_file_info[fd].type != UNOPEN)
32
31
  {
33
 
    DBUG_RETURN(my_file_info[fd].name);
 
32
    return(my_file_info[fd].name);
34
33
  }
35
34
  else
36
 
    DBUG_RETURN((char*) "UNOPENED");    /* Debug message */
 
35
    return((char*) "UNOPENED"); /* Debug message */
37
36
}