~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_thr_init.c

  • Committer: Brian Aker
  • Date: 2008-10-15 06:44:44 UTC
  • mfrom: (512.1.21 drizzle-stew)
  • Revision ID: brian@tangent.org-20081015064444-p5ccnpyz558oaquy
Merging Stewart's work.

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;