~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_clear.cc

Moved the last of the libdrizzleclient calls into Protocol.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
 
74
74
void hp_clear_keys(HP_SHARE *info)
75
75
{
76
 
  uint key;
 
76
  uint32_t key;
77
77
 
78
78
  for (key=0 ; key < info->keys ; key++)
79
79
  {
86
86
    {
87
87
      HP_BLOCK *block= &keyinfo->block;
88
88
      if (block->levels)
89
 
        VOID(hp_free_level(block,block->levels,block->root,(uchar*) 0));
 
89
        hp_free_level(block,block->levels,block->root,(unsigned char*) 0);
90
90
      block->levels=0;
91
91
      block->last_allocated=0;
92
92
      keyinfo->hash_buckets= 0;