Below is the list of changes that have just been committed into a local
4.1 repository of msvensson. When msvensson does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2007-04-05 13:10:35+02:00, msvensson@stripped +1 -0
Protect against dying twice. I.e if any of the
functions that die calls fail and call die again, just ignore it.
client/mysqltest.c@stripped, 2007-04-05 13:10:34+02:00, msvensson@stripped +6 -0
Protect against dying twice. I.e if any of the
functions that die calls fail and call die again, just ignore it.
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: msvensson
# Host: pilot.blaudden
# Root: /home/msvensson/mysql/mysql-4.1-maint
--- 1.249/client/mysqltest.c 2007-04-04 15:15:40 +02:00
+++ 1.250/client/mysqltest.c 2007-04-05 13:10:34 +02:00
@@ -794,9 +794,15 @@ void free_used_memory()
void die(const char *fmt, ...)
{
+ static int dying= 0;
va_list args;
DBUG_ENTER("die");
DBUG_PRINT("enter", ("start_lineno: %d", start_lineno));
+
+ /* Protect against dying twice */
+ if (dying)
+ DBUG_VOID_RETURN;
+ dying= 1;
/* Print the error message */
va_start(args, fmt);
| Thread |
|---|
| • bk commit into 4.1 tree (msvensson:1.2636) | msvensson | 5 Apr |