Skip to content

Commit

Permalink
Only check inexact match when no exact match is found.
Browse files Browse the repository at this point in the history
  • Loading branch information
yyjdelete committed Jul 27, 2020
1 parent 2207a35 commit eb63416
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ internal DataRow FindMetaDataCollectionRow(string collectionName)
exactCollectionName = candidateCollectionName;
haveExactMatch = true;
}
else
else if (haveExactMatch == false)
{
// have an inexact match - ok only if it is the only one
if (exactCollectionName != null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ internal DataRow FindMetaDataCollectionRow(string collectionName)
exactCollectionName = candidateCollectionName;
haveExactMatch = true;
}
else
else if (haveExactMatch == false)
{
// have an inexact match - ok only if it is the only one
if (exactCollectionName != null)
Expand Down

0 comments on commit eb63416

Please sign in to comment.