git-svn-id: svn://10.0.0.236/trunk@139751 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jkeiser%netscape.com
2003-03-19 06:26:49 +00:00
parent 7b319b420a
commit 2671dde487
4 changed files with 11 additions and 7 deletions

View File

@@ -210,7 +210,7 @@ mozSqlConnectionPgsql::RealExec(const nsAString& aQuery,
else if (stat == PGRES_COMMAND_OK) {
if (!aAffectedRows)
return NS_ERROR_NULL_POINTER;
sscanf(PQcmdTuples(r), "%d", aAffectedRows);
PR_sscanf(PQcmdTuples(r), "%d", aAffectedRows);
mLastID = PQoidValue(r);
}
else {