~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/charset-def.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-03-21 01:02:23 UTC
  • mto: (960.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 961.
  • Revision ID: osullivan.padraig@gmail.com-20090321010223-j8cph7eeyt1u3xol
Fixed function object to ensure it correctly returns a boolean type since
memcmp returns an integer. Added some more comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
#endif /* HAVE_CHARSET_utf8mb4 */
45
45
 
46
46
 
47
 
bool init_compiled_charsets(myf flags __attribute__((unused)))
 
47
bool init_compiled_charsets(myf)
48
48
{
49
49
  CHARSET_INFO *cs;
50
50
 
79
79
  /* Copy compiled charsets */
80
80
  for (cs=compiled_charsets; cs->name; cs++)
81
81
    add_compiled_collation(cs);
82
 
  
 
82
 
83
83
  return false;
84
84
}