diff --git a/includes/database.mysql.inc b/includes/database.mysql.inc index aa87b5bffde3c051cbd2d7766acdc90d54b51a90..0e553e3f314812bc93084081cdb86aa23fbbeebc 100644 --- a/includes/database.mysql.inc +++ b/includes/database.mysql.inc @@ -279,11 +279,6 @@ function db_affected_rows() { * User-supplied arguments to the query should be passed in as separate parameters * so that they can be properly escaped to avoid SQL injection attacks. * - * Note that if you need to know how many results were returned, you should do - * a SELECT COUNT(*) on the temporary table afterwards. db_num_rows() and - * db_affected_rows() do not give consistent result across different database - * types in this case. - * * @param $query * A string containing an SQL query. * @param ... diff --git a/includes/database.mysqli.inc b/includes/database.mysqli.inc index e22e3ada464035e67e8a5d422ae0259e6d213791..607da05124e21e7d98af14b43d2613368665e60f 100644 --- a/includes/database.mysqli.inc +++ b/includes/database.mysqli.inc @@ -264,11 +264,6 @@ function db_affected_rows() { * User-supplied arguments to the query should be passed in as separate parameters * so that they can be properly escaped to avoid SQL injection attacks. * - * Note that if you need to know how many results were returned, you should do - * a SELECT COUNT(*) on the temporary table afterwards. db_num_rows() and - * db_affected_rows() do not give consistent result across different database - * types in this case. - * * @param $query * A string containing an SQL query. * @param ...