~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Monty Taylor
  • Date: 2008-08-01 23:59:59 UTC
  • mto: (236.1.42 codestyle)
  • mto: This revision was merged to the branch mainline in revision 261.
  • Revision ID: monty@inaugust.com-20080801235959-n8ypy9r5aohown77
Gettext error compiles and passes test!

Show diffs side-by-side

added added

removed removed

Lines of Context:
870
870
    sql_print_information(ER(ER_SHUTDOWN_COMPLETE),my_progname);
871
871
  thread_scheduler.end();
872
872
  finish_client_errs();
873
 
  my_free((uchar*) my_error_unregister(ER_ERROR_FIRST, ER_ERROR_LAST),
874
 
          MYF(MY_WME | MY_FAE | MY_ALLOW_ZERO_PTR));
 
873
  /* Returns NULL on globerrs, we don't want to try to free that */
 
874
  //void *freeme=
 
875
  (void *)my_error_unregister(ER_ERROR_FIRST, ER_ERROR_LAST);
 
876
  // TODO!!!! EPIC FAIL!!!! This sefaults if uncommented.
 
877
/*  if (freeme != NULL)
 
878
    my_free(freeme, MYF(MY_WME | MY_FAE | MY_ALLOW_ZERO_PTR));  */
875
879
  /* Tell main we are ready */
876
880
  logger.cleanup_end();
877
881
  (void) pthread_mutex_lock(&LOCK_thread_count);