~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.cc

  • Committer: Brian Aker
  • Date: 2009-08-11 03:03:58 UTC
  • mfrom: (1113.1.2 merge)
  • Revision ID: brian@gaz-20090811030358-dn0mzaj7n94zrheg
lcov dead code removal (merge)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2116
2116
 
2117
2117
  table->file->extra(function);
2118
2118
  /* Mark all tables that are in use as 'old' */
2119
 
  mysql_lock_abort(session, table, true);       /* end threads waiting on lock */
 
2119
  mysql_lock_abort(session, table);     /* end threads waiting on lock */
2120
2120
 
2121
2121
  /* Wait until all there are no other threads that has this table open */
2122
2122
  remove_table_from_cache(session, table->s->db.str,
2299
2299
      pthread_mutex_lock(&LOCK_open); /* Lock type is TL_WRITE and we lock to repair the table */
2300
2300
      const char *old_message=session->enter_cond(&COND_refresh, &LOCK_open,
2301
2301
                                              "Waiting to get writelock");
2302
 
      mysql_lock_abort(session,table->table, true);
 
2302
      mysql_lock_abort(session,table->table);
2303
2303
      remove_table_from_cache(session, table->table->s->db.str,
2304
2304
                              table->table->s->table_name.str,
2305
2305
                              RTFC_WAIT_OTHER_THREAD_FLAG |