~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.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:
427
427
 
428
428
/* Thread specific variables */
429
429
 
430
 
pthread_key_t THR_MALLOC;
 
430
pthread_key_t THR_Mem_root;
431
431
pthread_key_t THR_Session;
432
432
pthread_mutex_t LOCK_drizzle_create_db, LOCK_open, LOCK_thread_count,
433
433
                LOCK_status,
2069
2069
  }
2070
2070
 
2071
2071
  if (pthread_key_create(&THR_Session,NULL) ||
2072
 
      pthread_key_create(&THR_MALLOC,NULL))
 
2072
      pthread_key_create(&THR_Mem_root,NULL))
2073
2073
  {
2074
2074
    sql_print_error(_("Can't create thread-keys"));
2075
2075
    return 1;