Eliminate call to db_num_rows() function

mustafau - December 2, 2007 - 13:41
Project:FeedAPI
Version:5.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

From: http://drupal.org/node/114774#db-num-rows

The db_num_rows() method was removed from the database abstraction layer in 6.x core, as it was a database dependent method.

These two patches replace various calls to db_num_rows() with db_result() and db_fetch_object().

AttachmentSize
feedapi-db_result.patch599 bytes
feedapi_node-db_result.patch1.73 KB

#1

Aron Novak - December 11, 2007 - 20:24
Status:needs review» fixed

Thanks for the ready-to-use patches!

#2

Anonymous - December 25, 2007 - 20:32
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.