Postgres does not return 'affected rows' when doing a select statement.
Even though PEAR supports this functionality, it fails silently when using postgres.
I have used the db_num_rows() function instead to return the amount of rows returned.
Postgres does not return 'affected rows' when doing a select statement.
Even though PEAR supports this functionality, it fails silently when using postgres.
I have used the db_num_rows() function instead to return the amount of rows returned.
Comments
Comment #1
adrian commentedUpdate patch to remove second occurance of db_affected_rows in user.module
According to Killes, the mysql manual states that it also should not return affected rows on a 'select' statement.
Comment #2
dries commentedCommitted to HEAD. Thanks.
Comment #3
(not verified) commented