Closed (fixed)
Project:
Drupal core
Component:
database system
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
26 Feb 2004 at 09:10 UTC
Updated:
11 Mar 2004 at 18:20 UTC
Jump to comment: Most recent file
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