~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_update.cc

  • Committer: Brian Aker
  • Date: 2010-10-12 02:56:36 UTC
  • mto: (1843.8.1 trunk-drizzle)
  • mto: This revision was merged to the branch mainline in revision 1851.
  • Revision ID: brian@tangent.org-20101012025636-3y0hhswcxdb04c75
Cleans up some spots where we were using mutable but did not need too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
    return;
73
73
 
74
74
  /* Create unique_map with all fields used by that index. */
75
 
  boost::dynamic_bitset<> unique_map(table->getMutableShare()->sizeFields()); /* Fields in offended unique. */
 
75
  boost::dynamic_bitset<> unique_map(table->getShare()->sizeFields()); /* Fields in offended unique. */
76
76
  table->mark_columns_used_by_index_no_reset(keynr, unique_map);
77
77
 
78
78
  /* Subtract read_set and write_set. */