~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.cc

  • Committer: Mark Atwood
  • Date: 2011-08-12 04:08:33 UTC
  • mfrom: (2385.2.17 refactor5)
  • Revision ID: me@mark.atwood.name-20110812040833-u6j85nc6ahuc0dtz
mergeĀ lp:~olafvdspek/drizzle/refactor5

Show diffs side-by-side

added added

removed removed

Lines of Context:
2137
2137
 
2138
2138
bool analyze_table(Session* session, TableList* tables)
2139
2139
{
2140
 
  thr_lock_type lock_type = TL_READ_NO_INSERT;
2141
 
 
2142
 
  return(admin_table(session, tables, "analyze", lock_type, true, &Cursor::ha_analyze));
 
2140
  return admin_table(session, tables, "analyze", TL_READ_NO_INSERT, true, &Cursor::ha_analyze);
2143
2141
}
2144
2142
 
2145
2143
 
2146
2144
bool check_table(Session* session, TableList* tables)
2147
2145
{
2148
 
  thr_lock_type lock_type = TL_READ_NO_INSERT;
2149
 
  return admin_table(session, tables, "check", lock_type, false, &Cursor::ha_check);
 
2146
  return admin_table(session, tables, "check", TL_READ_NO_INSERT, false, &Cursor::ha_check);
2150
2147
}
2151
2148
 
2152
2149
} /* namespace drizzled */