~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_close.c

  • Committer: Brian Aker
  • Date: 2008-07-20 07:10:24 UTC
  • Revision ID: brian@tangent.org-20080720071024-o1wv37gyy8ln5xgk
More my_bool cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
      if (my_close(share->kfile,MYF(0)))
78
78
        error = my_errno;
79
79
    }
 
80
#ifdef HAVE_MMAP
 
81
    if (share->file_map)
 
82
      _mi_unmap_file(info);
 
83
#endif
80
84
    if (share->decode_trees)
81
85
    {
82
86
      my_free((uchar*) share->decode_trees,MYF(0));
99
103
  if (info->dfile >= 0 && my_close(info->dfile,MYF(0)))
100
104
    error = my_errno;
101
105
 
 
106
  myisam_log_command(MI_LOG_CLOSE,info,NULL,0,error);
102
107
  my_free((uchar*) info,MYF(0));
103
108
 
104
109
  if (error)