add test for db_num_rows()

in
6.x-1.x-dev, Code, feature request, normal, active

the db_num_rows() function was removed between D5 and D6 and it would be handy to have a warning if it is detected.