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
2929 {
3030 protected override bool AppliesTo ( Dialect . Dialect dialect )
3131 {
32- return TestDialect . SupportsSelectForUpdate && ! ( dialect is SapSQLAnywhere17Dialect ) ;
32+ return TestDialect . SupportsSelectForUpdate ;
3333 }
3434
3535 protected override bool AppliesTo ( ISessionFactoryImplementor factory )
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public class QueryLock : LinqTestCase
1717 {
1818 protected override bool AppliesTo ( Dialect . Dialect dialect )
1919 {
20- return TestDialect . SupportsSelectForUpdate && ! ( dialect is SapSQLAnywhere17Dialect ) ;
20+ return TestDialect . SupportsSelectForUpdate ;
2121 }
2222
2323 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)
3838 /// <c>numeric</c>. See https://stackoverflow.com/q/52558715/1178314.
3939 /// </remarks>
4040 public override bool HasBrokenTypeInferenceOnSelectedParameters => true ;
41+
42+ /// <summary>
43+ /// Does not support SELECT FOR UPDATE
44+ /// </summary>
45+ public override bool SupportsSelectForUpdate => false ;
4146 }
4247}
You can’t perform that action at this time.
0 commit comments