Fix ResultSetHeader casting for postgres result compatibility
CI / check (push) Failing after 25s
CI / tests-unit (push) Skipped
CI / tests-integration (push) Skipped
CI / tests-ui (push) Skipped
CI / tests-imaging-browsers (push) Skipped
CI / tests-quality (push) Skipped
CI / preflight (push) Skipped
CI / deploy (push) Skipped

This commit is contained in:
openhands committed 2026-10-23 20:16:35 +02:00
1 parent 201296e837
commit e17576856f
1 file changed
+2 -2
+2 -2
View File
@@ -115,7 +115,7 @@ export async function execResult(
serverStatus: 0,
warningStatus: 0,
changedRows: 0,
} as ResultSetHeader;
} as unknown as ResultSetHeader;
}
return {
affectedRows: 0,
@@ -125,7 +125,7 @@ export async function execResult(
serverStatus: 0,
warningStatus: 0,
changedRows: 0,
};
} as unknown as ResultSetHeader;
}
export async function affectedRows(query: SQL | string): Promise<number> {