List:Commits« Previous MessageNext Message »
From:Magnus Svensson Date:June 9 2008 9:27am
Subject:commit into mysql-5.1-telco-6.4 branch (msvensson:2632) WL#4350
View as plain text  
#At file:///data/msvensson/mysql/t4-wl4350/

 2632 Magnus Svensson	2008-06-09
      Set the selected --debug string as an initial value so it's used as the default when
a
      thread is started. This makes it possible to get dbug printouts in all threads of a
binary
      and not only the one that runs 'main'.
modified:
  storage/ndb/include/util/ndb_opts.h

=== modified file 'storage/ndb/include/util/ndb_opts.h'
--- a/storage/ndb/include/util/ndb_opts.h	2007-07-02 17:08:02 +0000
+++ b/storage/ndb/include/util/ndb_opts.h	2008-06-09 09:26:56 +0000
@@ -125,14 +125,7 @@ ndb_std_get_one_option(int optid,
   switch (optid) {
 #ifndef DBUG_OFF
   case '#':
-    if (opt_debug)
-    {
-      DBUG_PUSH(opt_debug);
-    }
-    else
-    {
-      DBUG_PUSH("d:t");
-    }
+    DBUG_SET_INITIAL(opt_debug ? opt_debug : "d:t");
     opt_endinfo= 1;
     break;
 #endif

Thread
commit into mysql-5.1-telco-6.4 branch (msvensson:2632) WL#4350Magnus Svensson9 Jun