test(chat): clear borrowed fault selector before its scope ends

This commit is contained in:
evgeny committed 2026-10-27 06:58:14 +01:00
1 parent 247952e9ed
commit 59d8065fae
1 file changed
+1
+1
View File
@@ -269,6 +269,7 @@ static void owner_faults(struct UTUN_INSTANCE* inst) {
assert(topo_node_sqlite_member_owner_put(inst->topo_sqlite_db, channel, inst->node_id, NULL, NULL, 0) < 0 && fault == F_NONE);
assert(sqlite3_exec(inst->topo_sqlite_db, "ROLLBACK", NULL, NULL, NULL) == SQLITE_OK);
}
target = NULL;
printf("PASS owner block:%u SQL faults/retries,NULL binds,and failed standalone ROLLBACK TO never commits partial owner data\n", cases);
}