~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/unlock_tables.cc

  • Committer: Olaf van der Spek
  • Date: 2011-02-28 14:09:50 UTC
  • mfrom: (2207 bootstrap)
  • mto: (2209.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2210.
  • Revision ID: olafvdspek@gmail.com-20110228140950-2nu0hyzhuww3wssx
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
  if (getSession()->isGlobalReadLock())
39
39
  {
40
40
    getSession()->unlockGlobalReadLock();
41
 
  }
42
 
  getSession()->my_ok();
 
41
    getSession()->my_ok();
 
42
  }
 
43
  else
 
44
  {
 
45
    my_error(ER_NO_LOCK_HELD, MYF(0));
 
46
  }
43
47
 
44
48
  return false;
45
49
}