Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 349493e

Browse files
committed
Fix Firebird dialect to separate ROWS keyword.
In Firebird dialect the ROWS keyword was being appended to the main SQL text without separation generating an invalid SQL statement. Added \n to force separation.
1 parent 7484ca7 commit 349493e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceStack.OrmLite.Firebird/FirebirdOrmLiteDialectProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ public override string ToSelectStatement(ModelDefinition modelDef,
840840
{
841841
toRow = string.Empty;
842842
}
843-
sb.Append(string.Format("ROWS {0} {1}", fromRow, toRow));
843+
sb.Append(string.Format("\nROWS {0} {1}", fromRow, toRow));
844844
}
845845

846846
return sb.ToString();

0 commit comments

Comments
 (0)