~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_close.cc

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
  myisam_open_list.remove(info);
59
59
 
60
60
  void * rec_buff_ptr= mi_get_rec_buff_ptr(info, info->rec_buff);
61
 
  if (rec_buff_ptr != NULL)
62
 
    free(rec_buff_ptr);
 
61
  free(rec_buff_ptr);
63
62
  if (flag)
64
63
  {
65
 
    if (share->kfile >= 0 &&
66
 
        flush_key_blocks(share->getKeyCache(), share->kfile,
67
 
                         share->temporary ? FLUSH_IGNORE_CHANGED :
68
 
                         FLUSH_RELEASE))
69
 
      error=errno;
70
 
    end_key_cache(share->getKeyCache(), true);
71
64
    if (share->kfile >= 0)
72
65
    {
73
66
      /*