File tree Expand file tree Collapse file tree
Xtensive.Orm/Sql/Dml/Statements Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ protected override void CheckRequirements() =>
152152 [ TestCase ( TagsLocation . AfterStatement , TestName = nameof ( TagsLocation . AfterStatement ) ) ]
153153 public void VariousPlacements ( TagsLocation tagsLocation )
154154 {
155+ Require . ProviderIsNot ( StorageProvider . Sqlite | StorageProvider . Firebird ) ;
155156 var config = Domain . Configuration . Clone ( ) ;
156157 config . TagsLocation = tagsLocation ;
157158 config . UpgradeMode = DomainUpgradeMode . Skip ;
@@ -290,6 +291,8 @@ public void TagInConcat()
290291 [ Test ]
291292 public void TagInExcept ( )
292293 {
294+ Require . ProviderIsNot ( StorageProvider . MySql | StorageProvider . Firebird ) ;
295+
293296 var session = Session . Demand ( ) ;
294297
295298 using ( var innerTx = session . OpenTransaction ( TransactionOpenMode . New ) ) {
@@ -310,6 +313,7 @@ public void TagInExcept()
310313 [ Test ]
311314 public void TagInIntersect ( )
312315 {
316+ Require . ProviderIsNot ( StorageProvider . MySql | StorageProvider . Firebird ) ;
313317 var session = Session . Demand ( ) ;
314318
315319 using ( var innerTx = session . OpenTransaction ( TransactionOpenMode . New ) ) {
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ internal override object Clone(SqlNodeCloneContext context)
217217 clone . Limit = Limit ;
218218 clone . Offset = Offset ;
219219 clone . Lock = Lock ;
220- clone . Comment = ( SqlComment ) Comment . Clone ( context ) ;
220+ clone . Comment = ( SqlComment ) Comment ? . Clone ( context ) ;
221221
222222 if ( Hints . Count > 0 )
223223 foreach ( SqlHint hint in Hints )
You can’t perform that action at this time.
0 commit comments