List:Commits« Previous MessageNext Message »
From:ingo Date:December 27 2006 8:07pm
Subject:bk commit into 5.1 tree (istruewing:1.2370)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of istruewing. When istruewing 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-12-27 21:07:31+01:00, istruewing@stripped +1 -0
  Merge bk-internal.mysql.com:/home/bk/mysql-5.1-engines
  into  chilla.local:/home/mydev/mysql-5.1-axmrg
  MERGE: 1.2343.1.26

  sql/table.cc@stripped, 2006-12-27 21:07:26+01:00, istruewing@stripped +0 -0
    Auto merged
    MERGE: 1.262.1.1

# 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:	istruewing
# Host:	chilla.local
# Root:	/home/mydev/mysql-5.1-axmrg/RESYNC

--- 1.264/sql/table.cc	2006-12-27 21:07:38 +01:00
+++ 1.265/sql/table.cc	2006-12-27 21:07:38 +01:00
@@ -785,6 +785,8 @@ static int open_binary_frm(THD *thd, TAB
   memcpy(comment_pos, disk_buff+read_length-com_length, com_length);
 
   fix_type_pointers(&interval_array, &share->fieldnames, 1, &names);
+  if (share->fieldnames.count != share->fields)
+    goto err;
   fix_type_pointers(&interval_array, share->intervals, interval_count,
 		    &names);
 
Thread
bk commit into 5.1 tree (istruewing:1.2370)ingo27 Dec