~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/key.cc

  • Committer: Brian Aker
  • Date: 2009-12-01 02:39:03 UTC
  • mfrom: (1234.1.4 push)
  • Revision ID: brian@gaz-20091201023903-1id5z7xnup695jaq
Merge of Brian + Jay test fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
408
408
    key is not updated
409
409
  */
410
410
  if (idx != table->s->primary_key && table->s->primary_key < MAX_KEY &&
411
 
      (table->cursor->ha_table_flags() & HA_PRIMARY_KEY_IN_READ_INDEX))
 
411
      (table->cursor->getEngine()->check_flag(HTON_BIT_PRIMARY_KEY_IN_READ_INDEX)))
412
412
    return is_key_used(table, table->s->primary_key, fields);
413
413
  return 0;
414
414
}