~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/main.cc

  • Committer: Mark Atwood
  • Date: 2011-10-20 03:54:24 UTC
  • mfrom: (2440.4.3 drizzle-build)
  • Revision ID: me@mark.atwood.name-20111020035424-d01kkb8wjdk5gxxx
mergeĀ lp:~brianaker/drizzle/syslog-refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
  if (session)
96
96
  {
97
97
    if (MyFlags & ME_FATALERROR)
 
98
    {
98
99
      session->is_fatal_error= 1;
 
100
    }
99
101
 
100
102
    /*
101
103
      @TODO There are two exceptions mechanism (Session and sp_rcontext),
399
401
    daemon_is_ready();
400
402
  }
401
403
 
 
404
 
 
405
  errmsg_printf(error::INFO, "Drizzle startup complete, listening for connections will now begin.");
 
406
 
402
407
  /*
403
408
    Listen for new connections and start new session for each connection
404
409
     accepted. The listen.getClient() method will return NULL when the server
433
438
  module::Registry::shutdown();
434
439
  internal::my_end();
435
440
 
 
441
  errmsg_printf(error::INFO, "Drizzle is now shutting down");
 
442
 
436
443
  return 0;
437
444
}
438
445