logo       

Re: [bug] Introductory text does not disappear after posting first node on : msg#00977

php.drupal.devel

Subject: Re: [bug] Introductory text does not disappear after posting first node on Postgres



On Thu, 26 Feb 2004, [UTF-8] adrian wrote:

> Attachment: http://drupal.org/files/issues/_0drupal (742 bytes)
>
> Postgres does not return 'affected rows' when doing a select statement.

MySQL doesn't either, according to the PHP manual.

> 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.

The Right Thing(TM) according to the manual. There are two instances of
db_affected_rows() used with a SELECT in Drupal, one in node.module,
one in user.module. I did not look at your patch, does it remove both?

Cheers,
Gerhard




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise