~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_clear.c

  • Committer: Monty Taylor
  • Date: 2008-08-09 02:24:34 UTC
  • mto: (266.1.8 codestyle)
  • mto: This revision was merged to the branch mainline in revision 279.
  • Revision ID: monty@inaugust.com-20080809022434-97na8pnugghskxip
Removed mystringslt conv lib and replaced it with a noinst lib.

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
 
  uint32_t key;
 
76
  uint 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
 
        hp_free_level(block,block->levels,block->root,(unsigned char*) 0);
 
89
        VOID(hp_free_level(block,block->levels,block->root,(uchar*) 0));
90
90
      block->levels=0;
91
91
      block->last_allocated=0;
92
92
      keyinfo->hash_buckets= 0;