~kalebral-deactivatedaccount/drizzle/change-error_num_to_enum-2

« back to all changes in this revision

Viewing changes to plugin/heap/hp_clear.cc

  • Committer: Brian Aker
  • Date: 2010-08-13 18:47:31 UTC
  • mfrom: (1707.1.7 rollup)
  • Revision ID: brian@tangent.org-20100813184731-w2iu1wzs219nqmt6
Style fixes/etc in heap.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
 
57
57
static void hp_clear_keys(HP_SHARE *info)
58
58
{
59
 
  uint32_t key;
60
 
 
61
 
  for (key=0 ; key < info->keys ; key++)
 
59
  for (uint32_t key=0 ; key < info->keys ; key++)
62
60
  {
63
61
    HP_KEYDEF *keyinfo = info->keydef + key;
64
62
    if (keyinfo->algorithm == HA_KEY_ALG_BTREE)
76
74
    }
77
75
  }
78
76
  info->index_length=0;
79
 
  return;
80
77
}
81
78
 
82
79