~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/my_hash.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-14 20:59:28 UTC
  • mto: (2318.6.3 refactor7)
  • mto: This revision was merged to the branch mainline in revision 2338.
  • Revision ID: olafvdspek@gmail.com-20110614205928-nfwxnx96skcvv0t9
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
 
49
49
#define dynamic_element(array,array_index,type) ((type)((array)->buffer) +(array_index))
50
50
 
51
 
bool
 
51
void
52
52
_hash_init(HASH *hash,uint32_t growth_size, const charset_info_st * const charset,
53
53
           uint32_t size, size_t key_offset, size_t key_length,
54
54
           hash_get_key get_key,
63
63
  hash->free=free_element;
64
64
  hash->flags=flags;
65
65
  hash->charset=charset;
66
 
  return false; // return void
67
66
}
68
67
 
69
68