Skip to content

Commit 233e291

Browse files
Merge branch 'master' into GH3355
2 parents b1946d4 + ff7d4b5 commit 233e291

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/NHibernate.Test/Async/NHSpecificTest/GH3474/Fixture.cs

+6
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ protected override void OnTearDown()
5050
transaction.Commit();
5151
}
5252

53+
protected override bool AppliesTo(Dialect.Dialect dialect)
54+
{
55+
// Polymorphic updates require support of temp tables.
56+
return Dialect.SupportsTemporaryTables;
57+
}
58+
5359
[Test]
5460
public async Task PolymorphicUpdateShouldNotCommitAsync()
5561
{

src/NHibernate.Test/NHSpecificTest/GH3474/Fixture.cs

+6
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ protected override void OnTearDown()
3838
transaction.Commit();
3939
}
4040

41+
protected override bool AppliesTo(Dialect.Dialect dialect)
42+
{
43+
// Polymorphic updates require support of temp tables.
44+
return Dialect.SupportsTemporaryTables;
45+
}
46+
4147
[Test]
4248
public void PolymorphicUpdateShouldNotCommit()
4349
{

0 commit comments

Comments
 (0)