List:Commits« Previous MessageNext Message »
From:Martin Skold Date:September 21 2006 4:54pm
Subject:bk commit into 4.1 tree (mskold:1.2567) BUG#21072
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of marty. When marty 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, 2006-09-21 16:54:54+02:00, mskold@stripped +1 -0
  Bug #21072  Duplicate key error in NDB references wrong key: wrong indent for code block

  sql/handler.cc@stripped, 2006-09-21 16:54:46+02:00, mskold@stripped +2 -2
    Bug #21072  Duplicate key error in NDB references wrong key: wrong indent for code
block

# 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:	mskold
# Host:	linux.site
# Root:	/windows/Linux_space/MySQL/mysql-4.1

--- 1.173/sql/handler.cc	2006-09-21 16:54:58 +02:00
+++ 1.174/sql/handler.cc	2006-09-21 16:54:58 +02:00
@@ -1114,10 +1114,10 @@ void handler::print_error(int error, myf
 	key_unpack(&str,table,(uint) key_nr);
 	uint max_length=MYSQL_ERRMSG_SIZE-(uint) strlen(ER(ER_DUP_ENTRY));
 	if (str.length() >= max_length)
-	  {
+	{
 	    str.length(max_length-4);
 	    str.append("...");
-	  }
+	}
       }
       my_error(ER_DUP_ENTRY,MYF(0),str.c_ptr(),key_nr+1);
       DBUG_VOID_RETURN;
Thread
bk commit into 4.1 tree (mskold:1.2567) BUG#21072Martin Skold21 Sep