[drupal-devel] [task] db_affected_rows code cleanup
mathias
drupal-devel at drupal.org
Fri May 13 17:04:03 UTC 2005
Issue status update for http://drupal.org/node/22786
Project: Drupal
Version: cvs
Component: search.module
Category: tasks
Priority: normal
Assigned to: Anonymous
Reported by: mathias
Updated by: mathias
Status: patch
Attachment: http://drupal.org/files/issues/db_affected_rows.patch (1.04 KB)
Now that db_affected_rows() returns the number of rows matched instead
of only changed [1] we can get rid of the hacks that worked around
this. It looks like search module and locale.inc are the only places
that need cleaning. Here's the patch for search module.
[1]
http://cvs.drupal.org/viewcvs/drupal/drupal/includes/database.mysql.inc?r1=1.28&r2=1.29
mathias
More information about the drupal-devel
mailing list