Skip to content

Commit 68d3a8f

Browse files
committed
Add missing check for connection handler
1 parent 3725fdf commit 68d3a8f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Orm/Xtensive.Orm/Orm/Configuration/DomainTypeRegistry.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public IEnumerable<Type> ConnectionHandlers
119119
}
120120
return connectionHandlers;
121121
}
122-
// if instacne is not locked then there is a chance of new handlers appeared
122+
// if instance is not locked then there is a chance of new handlers appeared
123123
return this.Where(IsConnectionHandler);
124124
}
125125
}
@@ -143,7 +143,8 @@ public static bool IsInterestingType(Type type)
143143
IsUpgradeHandler(type) ||
144144
IsKeyGenerator(type) ||
145145
IsCompilerContainer(type) ||
146-
IsFullTextCatalogNameBuilder(type);
146+
IsFullTextCatalogNameBuilder(type) ||
147+
IsConnectionHandler(type);
147148
}
148149

149150
/// <summary>

0 commit comments

Comments
 (0)