~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/table.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:
510
510
  /* No handling of text based files yet */
511
511
  if (table_type == 1)
512
512
  {
513
 
    root_ptr= my_pthread_getspecific_ptr(MEM_ROOT**, THR_MALLOC);
 
513
    root_ptr= (MEM_ROOT **)pthread_getspecific(THR_MALLOC);
514
514
    old_root= *root_ptr;
515
515
    *root_ptr= &share->mem_root;
516
516
    error= open_binary_frm(thd, share, head, file);