This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a commit to branch ignite-22133-bak
in repository https://gitbox.apache.org/repos/asf/ignite-3.git

commit bf4b32f95df55c27b521d7f9cd195fbe29cf9d1e
Author: Pavel Tupitsyn <[email protected]>
AuthorDate: Fri Jun 27 15:22:57 2025 +0300

    TestMigrateFromEmpty works
---
 .../Apache.Ignite.EntityFrameworkCore/DataCommon/IgniteCommand.cs    | 5 +++++
 1 file changed, 5 insertions(+)

diff --git 
a/modules/platforms/dotnet/Apache.Ignite.EntityFrameworkCore/DataCommon/IgniteCommand.cs
 
b/modules/platforms/dotnet/Apache.Ignite.EntityFrameworkCore/DataCommon/IgniteCommand.cs
index 1c1da0c05ed..3726f0a1873 100644
--- 
a/modules/platforms/dotnet/Apache.Ignite.EntityFrameworkCore/DataCommon/IgniteCommand.cs
+++ 
b/modules/platforms/dotnet/Apache.Ignite.EntityFrameworkCore/DataCommon/IgniteCommand.cs
@@ -76,6 +76,11 @@ public class IgniteCommand : DbCommand
 
         Debug.Assert(!resultSet.HasRowSet, "!resultSet.HasRowSet");
 
+        if (resultSet.AffectedRows < 0)
+        {
+            return resultSet.WasApplied ? 1 : 0;
+        }
+
         return (int)resultSet.AffectedRows;
     }
 

Reply via email to