List:Commits« Previous MessageNext Message »
From:holyfoot Date:September 6 2006 4:56pm
Subject:bk commit into 4.1 tree (holyfoot:1.2549) BUG#12991
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 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, 2006-09-06 19:56:19+05:00, holyfoot@stripped +1 -0
  bug #12991 (compile error --without-geometry)

  myisam/mi_check.c@stripped, 2006-09-06 19:56:16+05:00, holyfoot@stripped +4 -1
    proper #ifdef-s added

# 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:	deer.(none)
# Root:	/home/hf/work/mysql-4.1.12991

--- 1.158/myisam/mi_check.c	2006-09-06 19:56:23 +05:00
+++ 1.159/myisam/mi_check.c	2006-09-06 19:56:23 +05:00
@@ -1153,9 +1153,12 @@
 	      /* We don't need to lock the key tree here as we don't allow
 		 concurrent threads when running myisamchk
 	      */
-              int search_result= (keyinfo->flag & HA_SPATIAL) ?
+              int search_result=
+#ifdef HAVE_RTREE_KEYS
+                (keyinfo->flag & HA_SPATIAL) ?
                 rtree_find_first(info, key, info->lastkey, key_length,
                                  MBR_EQUAL | MBR_DATA) : 
+#endif
                 _mi_search(info,keyinfo,info->lastkey,key_length,
                            SEARCH_SAME, info->s->state.key_root[key]);
               if (search_result)
Thread
bk commit into 4.1 tree (holyfoot:1.2549) BUG#12991holyfoot6 Sep