~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/thr_malloc.cc

  • Committer: Brian Aker
  • Date: 2008-06-28 01:01:34 UTC
  • Revision ID: brian@tangent.org-20080628010134-n44ixrdgb6yexhkb
Remove my_pthread_getspecific_ptr()

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
void *sql_alloc(size_t Size)
36
36
{
37
 
  MEM_ROOT *root= *my_pthread_getspecific_ptr(MEM_ROOT**,THR_MALLOC);
 
37
  MEM_ROOT *root= *(MEM_ROOT **)pthread_getspecific(THR_MALLOC);
38
38
  return alloc_root(root,Size);
39
39
}
40
40