~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_plugin.cc

  • Committer: Brian Aker
  • Date: 2008-07-13 18:27:33 UTC
  • Revision ID: brian@tangent.org-20080713182733-3u1et5nrmofi8a8n
my_bool cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
951
951
}
952
952
 
953
953
 
954
 
extern "C" uchar *get_plugin_hash_key(const uchar *, size_t *, my_bool);
955
 
extern "C" uchar *get_bookmark_hash_key(const uchar *, size_t *, my_bool);
 
954
extern "C" uchar *get_plugin_hash_key(const uchar *, size_t *, bool);
 
955
extern "C" uchar *get_bookmark_hash_key(const uchar *, size_t *, bool);
956
956
 
957
957
 
958
958
uchar *get_plugin_hash_key(const uchar *buff, size_t *length,
959
 
                           my_bool not_used __attribute__((unused)))
 
959
                           bool not_used __attribute__((unused)))
960
960
{
961
961
  struct st_plugin_int *plugin= (st_plugin_int *)buff;
962
962
  *length= (uint)plugin->name.length;
965
965
 
966
966
 
967
967
uchar *get_bookmark_hash_key(const uchar *buff, size_t *length,
968
 
                             my_bool not_used __attribute__((unused)))
 
968
                             bool not_used __attribute__((unused)))
969
969
{
970
970
  struct st_bookmark *var= (st_bookmark *)buff;
971
971
  *length= var->name_len + 1;