Handle missing dictionary-name keys as no conflict

This commit is contained in:
OpenAI Build Bot
2026-06-05 19:47:08 +00:00
committed by Mario Fetka
parent 4c3f2afecf
commit b02c348124

View File

@@ -2508,7 +2508,16 @@ FSTATIC RCODE DDCheckNameConflict(
if (RC_BAD( rc = FSBtSearch( pDb, pDictIxLFile, &pStack,
IxKeyBuf, uiKeyLen, 0L)))
{
goto Exit;
if (rc == FERR_EOF_HIT)
{
// No matching dictionary-name key exists yet, so there is no
// name conflict. Treat end-of-index as a successful miss.
rc = FERR_OK;
}
else
{
goto Exit;
}
}
if (pStack->uiCmpStatus == BT_EQ_KEY)