~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzletest.cc

  • Committer: Monty Taylor
  • Date: 2008-12-10 02:09:33 UTC
  • mto: (670.1.3 devel)
  • mto: This revision was merged to the branch mainline in revision 672.
  • Revision ID: monty@inaugust.com-20081210020933-nh3biepurtx2nc7j
Moved pthread keys

Show diffs side-by-side

added added

removed removed

Lines of Context:
1957
1957
  /* Alloc/realloc data for str_val in dest */
1958
1958
  if (dest->alloced_len < src->alloced_len)
1959
1959
  {
1960
 
    char *tmpptr= realloc(dest->str_val, src->alloced_len);
 
1960
    char *tmpptr= (char *)realloc(dest->str_val, src->alloced_len);
1961
1961
    if (tmpptr == NULL)
1962
1962
      die("Out of memory");
1963
1963
    dest->str_val= tmpptr;