Fix check against findResult.compare

This commit is contained in:
Vinnie Falco
2013-07-17 14:14:53 -07:00
parent 586ac0be6f
commit 133508cbaa

View File

@@ -398,7 +398,7 @@ public:
// Binary tree insertion.
// Link the last key record to the new key
{
if (findResult.compare == -1)
if (findResult.compare < 0)
{
findResult.keyRecord.leftIndex = state->newKeyIndex;
}