1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-05 21:59:16 +00:00

add db_affected_rows

This commit is contained in:
Andrew Dolgov
2006-05-16 13:37:35 +01:00
parent 12fb24b921
commit fea67e6a39

6
db.php
View File

@@ -123,4 +123,10 @@ function db_close($link) {
}
}
function db_affected_rows($link, $result) {
if (DB_TYPE == "pgsql") {
return pg_affected_rows($result);
} else if (DB_TYPE == "mysql") {
return mysql_affected_rows($link);
}
?>