~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

  • Committer: Brian Aker
  • Date: 2009-03-23 19:29:45 UTC
  • mfrom: (961.1.5 drizzle)
  • Revision ID: brian@tangent.org-20090323192945-zgn78aau5lapv33a
Tags: 2009.03.962
Merge in Brian's work on processlist locks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
198
198
{
199
199
  uint64_t tmp;
200
200
 
 
201
  memset(process_list_info, 0, PROCESS_LIST_WIDTH);
 
202
 
201
203
  /*
202
204
    Pass nominal parameters to init_alloc_root only to ensure that
203
205
    the destructor works OK in case of an error. The main_mem_root
610
612
    net.compress= true;
611
613
 
612
614
  version= refresh_version;
613
 
  set_proc_info(0);
 
615
  set_proc_info(NULL);
614
616
  command= COM_SLEEP;
615
617
  set_time();
616
618
  init_for_queries();
631
633
                  , sctx->ip.c_str(), "init_connect command failed");
632
634
      errmsg_printf(ERRMSG_LVL_WARN, "%s", main_da.message());
633
635
    }
634
 
    set_proc_info(0);
 
636
    set_proc_info(NULL);
635
637
    set_time();
636
638
    init_for_queries();
637
639
  }