This requires protobuf 2.1 as ShutdownProtobufLibrary() was not
implemented before then. So when whe're ready to require 2.1.....

=== modified file 'drizzled/drizzled.cc'
--- drizzled/drizzled.cc        2009-06-16 01:22:25 +0000
+++ drizzled/drizzled.cc        2009-06-24 04:22:20 +0000
@@ -549,6 +549,7 @@ void unireg_end(void)
 {
   clean_up(1);
   my_thread_end();
+  ShutdownProtobufLibrary();
 #if defined(SIGNALS_DONT_BREAK_READ)
   exit(0);
 #else
@@ -567,6 +568,7 @@ void unireg_abort(int exit_code)
   clean_up(!opt_help && (exit_code)); /* purecov: inspected */
   clean_up_mutexes();
   my_end(opt_endinfo ? MY_CHECK_ERROR | MY_GIVE_INFO : 0);
+  ShutdownProtobufLibrary();
   exit(exit_code); /* purecov: inspected */
 }
 


-- 
Stewart Smith

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to