We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b852fb7 commit f02ca52Copy full SHA for f02ca52
1 file changed
Orm/Xtensive.Orm/Sql/Dml/Statements/SqlSelect.cs
@@ -217,7 +217,7 @@ internal override object Clone(SqlNodeCloneContext context)
217
clone.Limit = Limit;
218
clone.Offset = Offset;
219
clone.Lock = Lock;
220
- clone.Comment = (SqlComment)Comment.Clone(context);
+ clone.Comment = (SqlComment) Comment?.Clone(context);
221
222
if (Hints.Count > 0)
223
foreach (SqlHint hint in Hints)
0 commit comments