List:Commits« Previous MessageNext Message »
From:holyfoot Date:January 3 2007 7:13am
Subject:bk commit into 5.0 tree (holyfoot:1.2364)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of hf. When hf 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-01-03 11:13:01+04:00, holyfoot@stripped +5 -0
  Merge mysql.com:/d2/hf/common/my50-common
  into  mysql.com:/d2/hf/opt/my50-opt
  MERGE: 1.2344.2.6

  myisam/mi_check.c@stripped, 2007-01-03 11:12:57+04:00, holyfoot@stripped +0 -0
    Auto merged
    MERGE: 1.147.1.1

  sql/item_subselect.cc@stripped, 2007-01-03 11:12:57+04:00, holyfoot@stripped +0 -0
    Auto merged
    MERGE: 1.143.1.1

  sql/item_subselect.h@stripped, 2007-01-03 11:12:58+04:00, holyfoot@stripped +0 -0
    Auto merged
    MERGE: 1.83.1.1

  sql/sql_lex.cc@stripped, 2007-01-03 11:12:58+04:00, holyfoot@stripped +0 -0
    Auto merged
    MERGE: 1.206.1.2

  sql/sql_udf.cc@stripped, 2007-01-03 11:12:58+04:00, holyfoot@stripped +0 -0
    Auto merged
    MERGE: 1.59.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:	holyfoot
# Host:	hfmain.(none)
# Root:	/d2/hf/opt/my50-opt/RESYNC

--- 1.150/myisam/mi_check.c	2007-01-03 11:13:05 +04:00
+++ 1.151/myisam/mi_check.c	2007-01-03 11:13:05 +04:00
@@ -1813,6 +1813,12 @@ int mi_sort_index(MI_CHECK *param, regis
   MI_STATE_INFO old_state;
   DBUG_ENTER("mi_sort_index");
 
+  /* cannot sort index files with R-tree indexes */
+  for (key= 0,keyinfo= &share->keyinfo[0]; key < share->base.keys ;
+       key++,keyinfo++)
+    if (keyinfo->key_alg == HA_KEY_ALG_RTREE)
+      return 0;
+
   if (!(param->testflag & T_SILENT))
     printf("- Sorting index for MyISAM-table '%s'\n",name);
 
@@ -1905,6 +1911,8 @@ static int sort_one_index(MI_CHECK *para
   char llbuff[22];
   DBUG_ENTER("sort_one_index");
 
+  /* cannot walk over R-tree indices */
+  DBUG_ASSERT(keyinfo->key_alg != HA_KEY_ALG_RTREE);
   new_page_pos=param->new_file_pos;
   param->new_file_pos+=keyinfo->block_length;
 

--- 1.207/sql/sql_lex.cc	2007-01-03 11:13:05 +04:00
+++ 1.208/sql/sql_lex.cc	2007-01-03 11:13:05 +04:00
@@ -1,9 +1,8 @@
-/* Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
+/* Copyright (C) 2000-2006 MySQL AB
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
-   (at your option) any later version.
+   the Free Software Foundation; version 2 of the License.
 
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of

--- 1.60/sql/sql_udf.cc	2007-01-03 11:13:05 +04:00
+++ 1.61/sql/sql_udf.cc	2007-01-03 11:13:05 +04:00
@@ -2,8 +2,7 @@
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
-   (at your option) any later version.
+   the Free Software Foundation; version 2 of the License.
 
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of

--- 1.144/sql/item_subselect.cc	2007-01-03 11:13:05 +04:00
+++ 1.145/sql/item_subselect.cc	2007-01-03 11:13:05 +04:00
@@ -2,8 +2,7 @@
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
-   (at your option) any later version.
+   the Free Software Foundation; version 2 of the License.
 
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of

--- 1.84/sql/item_subselect.h	2007-01-03 11:13:05 +04:00
+++ 1.85/sql/item_subselect.h	2007-01-03 11:13:05 +04:00
@@ -2,8 +2,7 @@
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
-   (at your option) any later version.
+   the Free Software Foundation; version 2 of the License.
 
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
Thread
bk commit into 5.0 tree (holyfoot:1.2364)holyfoot3 Jan