~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_cache.cc

  • Committer: Brian Aker
  • Date: 2009-05-23 17:13:03 UTC
  • mfrom: (1034.1.8 merge)
  • Revision ID: brian@gaz-20090523171303-d28xhutqic0xe2b4
Merge Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
{
57
57
  char name_buff[FN_REFLEN];
58
58
  int error=1;
59
 
  if ((cache->file=create_temp_file(name_buff, cache->dir, cache->prefix,
60
 
                                    (O_RDWR | O_TRUNC),
61
 
                                    MYF(MY_WME))) >= 0)
 
59
  if ((cache->file=create_temp_file(name_buff, cache->dir, cache->prefix, MYF(MY_WME))) >= 0)
62
60
  {
63
61
    error=0;
64
62
    my_delete(name_buff,MYF(MY_WME | ME_NOINPUT));