~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Brian Aker
  • Date: 2010-11-04 20:51:35 UTC
  • mto: This revision was merged to the branch mainline in revision 1906.
  • Revision ID: brian@tangent.org-20101104205135-vci0i54v1d0loai8
Merge of partial set of patches for locks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
 
96
96
  if (free_share)
97
97
  {
98
 
    if (getShare()->getType() == message::Table::STANDARD)
99
 
    {
100
 
      TableShare::release(getMutableShare());
101
 
    }
102
 
    else
103
 
    {
104
 
      delete getShare();
105
 
    }
106
 
    setShare(NULL);
 
98
    release();
107
99
  }
108
100
 
109
101
  return error;