~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_dup.c

  • Committer: Jay Pipes
  • Date: 2008-07-17 21:21:21 UTC
  • mto: This revision was merged to the branch mainline in revision 182.
  • Revision ID: jay@mysql.com-20080717212121-5qx4zm1fbqkz8ss0
Phase 6 - Remove DBUG from mysys

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
{
24
24
  File fd;
25
25
  const char *filename;
26
 
  DBUG_ENTER("my_dup");
27
 
  DBUG_PRINT("my",("file: %d  MyFlags: %d", file, MyFlags));
28
26
  fd = dup(file);
29
27
  filename= (((uint) file < my_file_limit) ?
30
28
             my_file_info[(int) file].name : "Unknown");
31
 
  DBUG_RETURN(my_register_filename(fd, filename, FILE_BY_DUP,
 
29
  return(my_register_filename(fd, filename, FILE_BY_DUP,
32
30
                                   EE_FILENOTFOUND, MyFlags));
33
31
} /* my_open */