List:Commits« Previous MessageNext Message »
From:U-ROWVWADEjas Date:May 8 2008 2:21pm
Subject:bk commit into 6.0 tree (jas:1.2672)
View as plain text  
Below is the list of changes that have just been committed into a local
6.0 repository of jas.  When jas 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, 2008-05-08 10:21:41-04:00, jas@rowvwade. +2 -0
  Fix compiler warnings.

  storage/falcon/IndexWalker.cpp@stripped, 2008-05-08 10:21:29-04:00, jas@rowvwade. +3 -1
    Fix compiler warnings.

  storage/falcon/IndexWalker.h@stripped, 2008-05-08 10:21:29-04:00, jas@rowvwade. +2 -2
    Fix compiler warnings.

diff -Nrup a/storage/falcon/IndexWalker.cpp b/storage/falcon/IndexWalker.cpp
--- a/storage/falcon/IndexWalker.cpp	2008-05-07 18:37:03 -04:00
+++ b/storage/falcon/IndexWalker.cpp	2008-05-08 10:21:29 -04:00
@@ -173,7 +173,9 @@ bool IndexWalker::insert(IndexWalker* ne
 {
 	// Find insertion point and insert new node as leaf
 	
-	for (IndexWalker *node = this; node;)
+	IndexWalker *node;
+	
+	for (node = this; node;)
 		{
 		int comparison = compare(newNode, node);
 		
diff -Nrup a/storage/falcon/IndexWalker.h b/storage/falcon/IndexWalker.h
--- a/storage/falcon/IndexWalker.h	2008-05-07 18:37:03 -04:00
+++ b/storage/falcon/IndexWalker.h	2008-05-08 10:21:29 -04:00
@@ -27,7 +27,7 @@ class IndexWalker
 {
 public:
 	IndexWalker(Index *index, Transaction *transaction, int flags);
-	~IndexWalker(void);
+	virtual ~IndexWalker(void);
 	
 	virtual Record*		getNext(bool lockForUpdate);
 
@@ -52,7 +52,7 @@ public:
 	IndexWalker		*lower;
 	IndexWalker		*parent;
 	UCHAR			*key;
-	int				keyLength;
+	uint			keyLength;
 	int32			recordNumber;
 	int				balance;
 	int				searchFlags;
Thread
bk commit into 6.0 tree (jas:1.2672)U-ROWVWADEjas8 May