Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Orm/Xtensive.Orm.Tests/Linq/TagTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ protected override void CheckRequirements() =>
[TestCase(TagsLocation.AfterStatement, TestName = nameof(TagsLocation.AfterStatement))]
public void VariousPlacements(TagsLocation tagsLocation)
{
Require.ProviderIsNot(StorageProvider.Sqlite | StorageProvider.Firebird);
var config = Domain.Configuration.Clone();
config.TagsLocation = tagsLocation;
config.UpgradeMode = DomainUpgradeMode.Skip;
Expand Down Expand Up @@ -290,6 +291,8 @@ public void TagInConcat()
[Test]
public void TagInExcept()
{
Require.ProviderIsNot(StorageProvider.MySql | StorageProvider.Firebird);

var session = Session.Demand();

using (var innerTx = session.OpenTransaction(TransactionOpenMode.New)) {
Expand All @@ -310,6 +313,7 @@ public void TagInExcept()
[Test]
public void TagInIntersect()
{
Require.ProviderIsNot(StorageProvider.MySql | StorageProvider.Firebird);
var session = Session.Demand();

using (var innerTx = session.OpenTransaction(TransactionOpenMode.New)) {
Expand Down
2 changes: 1 addition & 1 deletion Orm/Xtensive.Orm/Sql/Dml/Statements/SqlSelect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ internal override object Clone(SqlNodeCloneContext context)
clone.Limit = Limit;
clone.Offset = Offset;
clone.Lock = Lock;
clone.Comment = (SqlComment)Comment.Clone(context);
clone.Comment = (SqlComment) Comment?.Clone(context);

if (Hints.Count > 0)
foreach (SqlHint hint in Hints)
Expand Down