~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_create.c

Merged build changes from Antony.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
    
52
52
    for (i= key_segs= max_length= 0, keyinfo= keydef; i < keys; i++, keyinfo++)
53
53
    {
54
 
      bzero((char*) &keyinfo->block,sizeof(keyinfo->block));
55
 
      bzero((char*) &keyinfo->rb_tree ,sizeof(keyinfo->rb_tree));
 
54
      memset((char*) &keyinfo->block, 0, sizeof(keyinfo->block));
 
55
      memset((char*) &keyinfo->rb_tree , 0, sizeof(keyinfo->rb_tree));
56
56
      for (j= length= 0; j < keyinfo->keysegs; j++)
57
57
      {
58
58
        length+= keyinfo->seg[j].length;