~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/hash.cc

  • Committer: Stewart Smith
  • Date: 2009-10-08 11:33:07 UTC
  • mto: This revision was merged to the branch mainline in revision 1179.
  • Revision ID: stewart@flamingspork.com-20091008113307-a0ixb7824jn3lcs6
remove unused my_hash_reset from mysys/hash.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
  return;
122
122
}
123
123
 
124
 
 
125
 
/*
126
 
  Delete all elements from the hash (the hash itself is to be reused).
127
 
 
128
 
  SYNOPSIS
129
 
  my_hash_reset()
130
 
  hash   the hash to delete elements of
131
 
*/
132
 
 
133
 
void my_hash_reset(HASH *hash)
134
 
{
135
 
  hash_free_elements(hash);
136
 
  reset_dynamic(&hash->array);
137
 
  /* Set row pointers so that the hash can be reused at once */
138
 
  hash->blength= 1;
139
 
  return;
140
 
}
141
 
 
142
124
/* some helper functions */
143
125
 
144
126
/*