List:Commits« Previous MessageNext Message »
From:guilhem Date:January 24 2006 2:38pm
Subject:bk commit into 5.1 tree (guilhem:1.2070)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of guilhem. When guilhem 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
  1.2070 06/01/24 15:37:56 guilhem@stripped +1 -0
  Fix for crash of "mysql-test-run --debug mysqldump": don't access dir->str if dir is null.

  sql/parse_file.cc
    1.21 06/01/24 15:37:51 guilhem@stripped +2 -1
    since recently, the "dir" parameter can be 0.

# 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:	guilhem
# Host:	gbichot3.local
# Root:	/home/mysql_src/mysql-5.1-new

--- 1.20/sql/parse_file.cc	2006-01-06 19:34:56 +01:00
+++ 1.21/sql/parse_file.cc	2006-01-24 15:37:51 +01:00
@@ -224,7 +224,8 @@
   File_option *param;
   DBUG_ENTER("sql_create_definition_file");
   DBUG_PRINT("enter", ("Dir: %s, file: %s, base 0x%lx",
-		       dir->str, file_name->str, (ulong) base));
+		       dir ? dir->str : "(null)",
+                       file_name->str, (ulong) base));
 
   if (dir)
   {
Thread
bk commit into 5.1 tree (guilhem:1.2070)guilhem24 Jan