~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

  • Committer: Brian Aker
  • Date: 2009-04-07 06:38:05 UTC
  • mfrom: (975.1.3 merge)
  • Revision ID: brian@gaz-20090407063805-vd0t7tim8vxkqz4j
Merge of session lock removal

Show diffs side-by-side

added added

removed removed

Lines of Context:
343
343
 
344
344
void Session::init(void)
345
345
{
346
 
  pthread_mutex_lock(&LOCK_global_system_variables);
347
346
  plugin_sessionvar_init(this);
348
347
  /*
349
348
    variables= global_system_variables above has reset
351
350
    avoid temporary tables replication failure.
352
351
  */
353
352
  variables.pseudo_thread_id= thread_id;
354
 
  pthread_mutex_unlock(&LOCK_global_system_variables);
355
353
  server_status= SERVER_STATUS_AUTOCOMMIT;
356
354
  options= session_startup_options;
357
355