Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,8 @@ private DatabaseConfiguration FindConfiguration(string db)

private void Visit(string database)
{
if (visited.Contains(database))
if (!visited.Add(database))
return;
visited.Add(database);
var references = referenceRegistry.Keys
.Where(r => r.OwnerDatabase==database);
foreach (var reference in references) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static void Gather(Expression filterExpression, Expression filterDataTupl
{
var visitor = new IncludeFilterMappingGatherer(filterDataTuple, filteredTuple, mapping);
_ = visitor.Visit(filterExpression);
if (mapping.Contains(null))
if (mapping.IndexOf(null) >= 0)
throw Exceptions.InternalError("Failed to gather mappings for IncludeProvider", OrmLog.Instance);
}

Expand Down
Loading