List:Commits« Previous MessageNext Message »
From:Alexander Nozdrin Date:July 9 2009 6:31pm
Subject:bzr push into mysql-5.4 branch (alik:2825 to 2826) Bug#40358
View as plain text  
 2826 Alexander Nozdrin	2009-07-09
      Add a comment in the source (Bug#40358).

    modified:
      include/my_base.h
 2825 Andrei Elkin	2009-07-08 [merge]
      merging local branch with bug fixes into mysql-azalea-bugfixes

    removed:
      mysql-test/suite/rpl/r/rpl_row_stop_middle_update.result
      mysql-test/suite/rpl/t/rpl_row_stop_middle_update-master.opt
      mysql-test/suite/rpl/t/rpl_row_stop_middle_update-slave.opt
    added:
      mysql-test/suite/rpl/r/rpl_stop_middle_group.result
    renamed:
      mysql-test/suite/rpl/t/rpl_row_stop_middle_update.test =>
mysql-test/suite/rpl/t/rpl_stop_middle_group.test
    modified:
      sql/log_event.cc
      sql/log_event_old.cc
      sql/rpl_rli.cc
      sql/rpl_rli.h
      sql/slave.cc
      mysql-test/suite/rpl/t/rpl_stop_middle_group.test
=== modified file 'include/my_base.h'
--- a/include/my_base.h	2009-04-01 21:36:07 +0000
+++ b/include/my_base.h	2009-07-09 16:30:43 +0000
@@ -274,7 +274,17 @@ enum ha_base_keytype {
                          HA_SPATIAL | HA_NULL_ARE_EQUAL | HA_GENERATED_KEY | \
                          HA_RTREE_INDEX)
 
-#define HA_KEY_HAS_PART_KEY_SEG 65536   /* Key contains partial segments */
+/*
+  Key contains partial segments.
+
+  This flag is internal to the MySQL server by design. It is not supposed
+  neither to be saved in FRM-files, nor to be passed to storage engines.
+  It is intended to pass information into internal static sort_keys(KEY *,
+  KEY *) function.
+
+  This flag can be calculated -- it's based on key lengths comparison.
+*/
+#define HA_KEY_HAS_PART_KEY_SEG 65536
 
 	/* Automatic bits in key-flag */
 


Attachment: [text/bzr-bundle] bzr/alik@sun.com-20090709163043-2gf8cgh583hjcbr4.bundle
Thread
bzr push into mysql-5.4 branch (alik:2825 to 2826) Bug#40358Alexander Nozdrin9 Jul 2009