Skip to content

Commit 15e25cc

Browse files
committed
Base cursor declaration translation fixed
1 parent 606d2bb commit 15e25cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ public virtual void Visit(SqlDeclareCursor node)
920920
AppendTranslated(node, DeclareCursorSection.Holdability);
921921
AppendTranslated(node, DeclareCursorSection.Returnability);
922922
AppendTranslated(node, DeclareCursorSection.For);
923-
923+
AppendSpaceIfNecessary();
924924
node.Cursor.Query.AcceptVisitor(this);
925925
if (node.Cursor.Columns.Count != 0) {
926926
foreach (SqlColumnRef item in node.Cursor.Columns) {

0 commit comments

Comments
 (0)