~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_clear.c

  • Committer: Jay Pipes
  • Date: 2008-07-16 16:14:22 UTC
  • mto: This revision was merged to the branch mainline in revision 182.
  • Revision ID: jay@mysql.com-20080716161422-fy1bl8o5q7m8kglq
Removed all DBUG symbols from heap storage engine

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
void hp_clear(HP_SHARE *info)
30
30
{
31
 
  DBUG_ENTER("hp_clear");
32
 
 
33
31
  if (info->block.levels)
34
32
    VOID(hp_free_level(&info->block,info->block.levels,info->block.root,
35
33
                        (uchar*) 0));
40
38
  info->blength=1;
41
39
  info->changed=0;
42
40
  info->del_link=0;
43
 
  DBUG_VOID_RETURN;
 
41
  return;
44
42
}
45
43
 
46
44
 
81
79
void hp_clear_keys(HP_SHARE *info)
82
80
{
83
81
  uint key;
84
 
  DBUG_ENTER("hp_clear_keys");
85
82
 
86
83
  for (key=0 ; key < info->keys ; key++)
87
84
  {
101
98
    }
102
99
  }
103
100
  info->index_length=0;
104
 
  DBUG_VOID_RETURN;
 
101
  return;
105
102
}
106
103
 
107
104