Below is the list of changes that have just been committed into a local
6.0 repository of vvaintroub. When vvaintroub 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-03-22 15:52:17+01:00, vvaintroub@wva. +1 -0
Correct typo, that resulted into negative length passed to memcmp.
storage/falcon/IndexPage.cpp@stripped, 2008-03-22 15:52:15+01:00, vvaintroub@wva. +2 -2
Correct typo, that resulted into negative length passed to memcmp.
diff -Nrup a/storage/falcon/IndexPage.cpp b/storage/falcon/IndexPage.cpp
--- a/storage/falcon/IndexPage.cpp 2008-03-21 14:01:10 +01:00
+++ b/storage/falcon/IndexPage.cpp 2008-03-22 15:52:15 +01:00
@@ -1587,9 +1587,9 @@ static int compareSuper(IndexNode *node,
int result;
int len = node->keyLength();
-
if (level)
- len =- node->getAppendedRecordNumberLength();
+ len -= node->getAppendedRecordNumberLength();
+ ASSERT(len >= 0);
result = memcmp(node->key, key, MIN((int)keylen,len));
| Thread |
|---|
| • bk commit into 6.0 tree (vvaintroub:1.2605) | vvaintroub | 22 Mar |