List:Commits« Previous MessageNext Message »
From:Magnus Blåudd Date:February 9 2011 7:28am
Subject:bzr commit into mysql-5.5-telco-7.0 branch (magnus.blaudd:3194)
View as plain text  
#At file:///home/msvensson/mysql/5.5-telco-7.0-run-query/ based on revid:magnus.blaudd@strippedcv54rw2ojwdbq70

 3194 Magnus Blåudd	2011-02-09
      ndb
       - Mark the util threads THD as being COM_DAEMON to make it possible to tell if
         Ndb_local_connection should print errors to log file or push them as thd warnings.
       - Also, if the util thread would have been added to MySQL Servers thread list, this would
         protect it from being killed with the KILL sql command.

    modified:
      sql/ha_ndbcluster.cc
=== modified file 'sql/ha_ndbcluster.cc'
--- a/sql/ha_ndbcluster.cc	2011-02-08 09:57:07 +0000
+++ b/sql/ha_ndbcluster.cc	2011-02-09 07:28:54 +0000
@@ -13061,6 +13061,7 @@ pthread_handler_t ndb_util_thread_func(v
     goto ndb_util_thread_fail;
   lex_start(thd);
   thd->init_for_queries();
+  thd_set_command(thd, COM_DAEMON);
 #ifndef NDB_THD_HAS_NO_VERSION
   thd->version=refresh_version;
 #endif

Attachment: [text/bzr-bundle] bzr/magnus.blaudd@oracle.com-20110209072854-yua5u5d7r34tmdtg.bundle
Thread
bzr commit into mysql-5.5-telco-7.0 branch (magnus.blaudd:3194) Magnus Blåudd9 Feb