Skip to content

Commit ce6cf54

Browse files
committed
DNET-738
1 parent 3715fb1 commit ce6cf54

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Provider/src/FirebirdSql.Data.FirebirdClient/Entity/DmlSqlGenerator.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,8 @@ private static void GenerateReturningSql(
304304
}
305305

306306
commandText.AppendLine(";");
307-
commandText.AppendLine("SUSPEND;");
307+
commandText.AppendLine("IF (ROW_COUNT > 0) THEN");
308+
commandText.AppendLine(" SUSPEND;");
308309
commandText.AppendLine("END");
309310
}
310311

0 commit comments

Comments
 (0)