~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_update.cc

  • Committer: Monty Taylor
  • Date: 2010-06-03 20:32:37 UTC
  • mfrom: (1587 build)
  • mto: (1596.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1597.
  • Revision ID: mordred@inaugust.com-20100603203237-5depiv08hjm5zxwx
Merged with build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
    return;
74
74
 
75
75
  /* Create unique_map with all fields used by that index. */
76
 
  unique_map.init(unique_map_buf, table->getMutableShare()->fields);
 
76
  unique_map.init(unique_map_buf, table->getMutableShare()->sizeFields());
77
77
  table->mark_columns_used_by_index_no_reset(keynr, &unique_map);
78
78
 
79
79
  /* Subtract read_set and write_set. */