diff --git a/modules/module-test-cs/Lib.cs b/modules/module-test-cs/Lib.cs index 6e0975f48f1..aeb339cdd07 100644 --- a/modules/module-test-cs/Lib.cs +++ b/modules/module-test-cs/Lib.cs @@ -294,12 +294,11 @@ public static void test(ReducerContext ctx, TestAlias arg, TestB arg2, TestC arg var rowCountBeforeDelete = ctx.Db.test_a.Count; Log.Info($"Row count before delete: {rowCountBeforeDelete}"); - uint numDeleted = 0; + ulong numDeleted = 0; // Delete rows using the "foo" index (from 5 up to, but not including, 10). for (uint row = 5; row < 10; row++) { - // FIXME: Apparently in Rust you can delete by index, but in C# you can't. - // numDeleted += ctx.Db.test_a.foo.Delete(row); + numDeleted += ctx.Db.test_a.foo.Delete(row); } var rowCountAfterDelete = ctx.Db.test_a.Count;