~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Brian Aker
  • Date: 2009-01-24 08:35:23 UTC
  • Revision ID: brian@gir-3.local-20090124083523-chsxys2gr79uw47a
Refactor init/deinit into the normal startup structures for a plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
806
806
 
807
807
  if (print_message && server_start_time)
808
808
    errmsg_printf(ERRMSG_LVL_INFO, _(ER(ER_SHUTDOWN_COMPLETE)),my_progname);
809
 
  thread_scheduler.end();
810
809
  /* Returns NULL on globerrs, we don't want to try to free that */
811
810
  //void *freeme=
812
811
  (void *)my_error_unregister(ER_ERROR_FIRST, ER_ERROR_LAST);
1028
1027
  struct addrinfo hints;
1029
1028
  int error;
1030
1029
 
1031
 
  if (thread_scheduler.init())
1032
 
    unireg_abort(1);                    /* purecov: inspected */
1033
 
 
1034
1030
  set_ports();
1035
1031
 
1036
1032
  memset(fds, 0, sizeof(struct pollfd) * UINT8_MAX);