~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/thr_malloc.cc

  • Committer: Brian Aker
  • Date: 2008-11-04 15:39:09 UTC
  • mfrom: (575.1.2 devel)
  • Revision ID: brian@tangent.org-20081104153909-c72hn65udxs1ccal
Merge of Monty's work

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
  return pos;
80
80
}
81
81
 
82
 
void sql_element_free(void *ptr __attribute__((unused)))
 
82
void sql_element_free(void *)
83
83
{} /* purecov: deadcode */
84
84
 
85
85
 
86
86
 
87
87
char *sql_strmake_with_convert(const char *str, size_t arg_length,
88
 
                               const CHARSET_INFO * const from_cs,
89
 
                               size_t max_res_length,
90
 
                               const CHARSET_INFO * const to_cs, size_t *result_length)
 
88
                               const CHARSET_INFO * const from_cs,
 
89
                               size_t max_res_length,
 
90
                               const CHARSET_INFO * const to_cs,
 
91
                               size_t *result_length)
91
92
{
92
93
  char *pos;
93
94
  size_t new_length= to_cs->mbmaxlen*arg_length;