Skip to content

Commit a667837

Browse files
committed
Fix UPDATE with limit issue
plus removes outdated comment
1 parent 1fac3f6 commit a667837

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Orm/Xtensive.Orm/Sql/Compiler/Internals/Nodes/ContainerNode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public StringBuilder StringBuilder
126126
{
127127
get {
128128
lastCharIsPunctuation = false;
129-
lastChar = null;// char.MaxValue;//I highly doubt that this char will appear in translation :-)
129+
lastChar = null;
130130
return stringBuilder;
131131
}
132132
}

Orm/Xtensive.Orm/Sql/Compiler/SqlCompiler.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2739,6 +2739,7 @@ protected void AppendTranslated(SqlUpdate node, UpdateSection section)
27392739
{
27402740
AppendSpaceIfNecessary();
27412741
translator.Translate(context, node, section);
2742+
AppendSpaceIfNecessary();
27422743
}
27432744

27442745
protected void AppendTranslatedEntry(SqlUpdate node) =>

0 commit comments

Comments
 (0)