2138
2138
bool analyze_table(Session* session, TableList* tables)
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);
2146
2144
bool check_table(Session* session, TableList* tables)
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);
2152
2149
} /* namespace drizzled */