~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/records.cc

  • Committer: Brian Aker
  • Date: 2009-05-13 02:07:22 UTC
  • mfrom: (1008.1.5 merge)
  • Revision ID: brian@gaz-20090513020722-9nqehweityhn6ab0
Merge in refactoring around lock system

Show diffs side-by-side

added added

removed removed

Lines of Context:
230
230
    /* We can use record cache if we don't update dynamic length tables */
231
231
    if (!table->no_cache &&
232
232
        (use_record_cache > 0 ||
233
 
         (int) table->reginfo.lock_type <= (int) TL_READ_HIGH_PRIORITY ||
 
233
         (int) table->reginfo.lock_type <= (int) TL_READ_WITH_SHARED_LOCKS ||
234
234
         !(table->s->db_options_in_use & HA_OPTION_PACK_RECORD) ||
235
235
         (use_record_cache < 0 &&
236
236
          !(table->file->ha_table_flags() & HA_NOT_DELETE_WITH_CACHE))))