~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_delete.cc

  • Committer: Brian Aker
  • Date: 2009-05-14 18:45:52 UTC
  • Revision ID: brian@gaz-20090514184552-w4avqv6cmogo77mk
Drop dead session pass

Show diffs side-by-side

added added

removed removed

Lines of Context:
845
845
      session->my_ok();         // This should return record count
846
846
    }
847
847
    pthread_mutex_lock(&LOCK_open);
848
 
    unlock_table_name(session, table_list);
 
848
    unlock_table_name(table_list);
849
849
    pthread_mutex_unlock(&LOCK_open);
850
850
  }
851
851
  else if (error)
852
852
  {
853
853
    pthread_mutex_lock(&LOCK_open);
854
 
    unlock_table_name(session, table_list);
 
854
    unlock_table_name(table_list);
855
855
    pthread_mutex_unlock(&LOCK_open);
856
856
  }
857
857
  return(error);