~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/lock.cc

Merged Drizzle's Trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
709
709
 
710
710
      if (table->in_use == session)
711
711
      {
712
 
        table->getMutableShare()->version= 0;                  // Ensure no one can use this
 
712
        table->getMutableShare()->resetVersion();                  // Ensure no one can use this
713
713
        table->locked_by_name= true;
714
714
        return 0;
715
715
      }