~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_thr_init.c

  • Committer: Mark Atwood
  • Date: 2008-10-16 11:16:12 UTC
  • mfrom: (520.1.2 drizzle)
  • mto: (520.1.13 drizzle)
  • mto: This revision was merged to the branch mainline in revision 530.
  • Revision ID: mark@fallenpegasus.com-20081016111612-5nei7m5subslx912
mergeĀ fromĀ head

Show diffs side-by-side

added added

removed removed

Lines of Context:
353
353
  if (!tmp)
354
354
  {
355
355
    my_thread_init();
356
 
    tmp=my_pthread_getspecific(struct st_my_thread_var*,THR_KEY_mysys);
 
356
    tmp=(struct st_my_thread_var*)pthread_getspecific(THR_KEY_mysys);
357
357
  }
358
358
#endif
359
359
  return tmp;