MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:kgeorge Date:March 14 2007 1:58pm
Subject:bk commit into 5.0 tree (gkodinov:1.2478) BUG#26794
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of kgeorge. When kgeorge 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-03-14 15:58:14+02:00, gkodinov@stripped +1 -0
  Bug #26794: fixed valgrind warning

  sql/sql_table.cc@stripped, 2007-03-14 15:58:13+02:00, gkodinov@stripped +1 -2
    Bug #26794: fixed valgrind warning

# 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:	gkodinov
# Host:	magare.gmz
# Root:	/home/kgeorge/mysql/autopush/B26794-5.0-opt

--- 1.334/sql/sql_table.cc	2007-03-14 11:54:19 +02:00
+++ 1.335/sql/sql_table.cc	2007-03-14 15:58:13 +02:00
@@ -3471,8 +3471,7 @@ view_err:
           checking whether cfield->length < key_part_length (in chars).
          */
         if (!Field::type_can_have_key_part(cfield->field->type()) ||
-            (!Field::type_can_have_key_part(cfield->sql_type) &&
-             !f_is_geom (cfield->pack_flag)) ||
+            !Field::type_can_have_key_part(cfield->sql_type) ||
             (cfield->field->field_length == key_part_length &&
              !f_is_blob(key_part->key_type)) ||
 	    (cfield->length && (cfield->length < key_part_length /
Thread
bk commit into 5.0 tree (gkodinov:1.2478) BUG#26794kgeorge14 Mar