~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_create.cc

  • Committer: Monty Taylor
  • Date: 2009-05-24 23:54:21 UTC
  • mfrom: (1014.2.12 kill-malloc)
  • mto: This revision was merged to the branch mainline in revision 1039.
  • Revision ID: mordred@inaugust.com-20090524235421-x5vfss90auzbn896
Merged Monty from lp:~mordred/drizzle/kill-malloc

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
    fd= -1;
48
48
  }
49
49
 
50
 
  rc= my_register_filename(fd, FileName, EE_CANTCREATEFILE, MyFlags);
 
50
  rc= my_register_filename(fd, FileName, FILE_BY_CREATE,
 
51
                           EE_CANTCREATEFILE, MyFlags);
51
52
  /*
52
53
    my_register_filename() may fail on some platforms even if the call to
53
54
    *open() above succeeds. In this case, don't leave the stale file because