List:Commits« Previous MessageNext Message »
From:Alfranio Correia Date:June 25 2009 6:33pm
Subject:bzr commit into mysql-pe branch (alfranio.correia:3399) Bug#45747
View as plain text  
#At file:///home/acorreia/workspace.sun/repository.mysql/bzrwork/wl-4858/mysql-6.0-bugteam-fresh/ based on revid:kristofer.pettersson@stripped

 3399 Alfranio Correia	2009-06-25
      BUG#45747 DBUG_CRASH_* is not setting the strict option
      
      When combining DBUG_CRASH_* with "--debug=d:t:i:A,file" the server crashes
      due to a call to the abort function in the DBUG_CRASH_* macro althought the
      appropriate keyword has not been set.

    modified:
      include/my_dbug.h
=== modified file 'include/my_dbug.h'
--- a/include/my_dbug.h	2009-06-12 02:01:08 +0000
+++ b/include/my_dbug.h	2009-06-25 18:33:13 +0000
@@ -107,7 +107,7 @@ extern  const char* _db_get_func_(void);
 #define _DBUG_MAX_FUNC_NAME_ 255
 #define DBUG_CHECK_CRASH(func, op) \
         do { \
-          if (_db_keywords_(0, 0, (func), (op))) \
+          if (_db_keywords_(0, 1, (func), (op))) \
             { (_db_flush_(), abort()); } \
         } while (0)
 #define DBUG_CRASH_ENTER(func) \


Attachment: [text/bzr-bundle]
Thread
bzr commit into mysql-pe branch (alfranio.correia:3399) Bug#45747Alfranio Correia25 Jun