File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public class QueryLockAsync : LinqTestCase
29
29
{
30
30
protected override bool AppliesTo ( Dialect . Dialect dialect )
31
31
{
32
- return TestDialect . SupportsSelectForUpdate && ! ( dialect is SapSQLAnywhere17Dialect ) ;
32
+ return TestDialect . SupportsSelectForUpdate ;
33
33
}
34
34
35
35
protected override bool AppliesTo ( ISessionFactoryImplementor factory )
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public class QueryLock : LinqTestCase
17
17
{
18
18
protected override bool AppliesTo ( Dialect . Dialect dialect )
19
19
{
20
- return TestDialect . SupportsSelectForUpdate && ! ( dialect is SapSQLAnywhere17Dialect ) ;
20
+ return TestDialect . SupportsSelectForUpdate ;
21
21
}
22
22
23
23
protected override bool AppliesTo ( ISessionFactoryImplementor factory )
Original file line number Diff line number Diff line change @@ -38,5 +38,10 @@ public SapSQLAnywhere17TestDialect(Dialect.Dialect dialect)
38
38
/// <c>numeric</c>. See https://stackoverflow.com/q/52558715/1178314.
39
39
/// </remarks>
40
40
public override bool HasBrokenTypeInferenceOnSelectedParameters => true ;
41
+
42
+ /// <summary>
43
+ /// Does not support SELECT FOR UPDATE
44
+ /// </summary>
45
+ public override bool SupportsSelectForUpdate => false ;
41
46
}
42
47
}
You can’t perform that action at this time.
0 commit comments