diff options
-rw-r--r-- | includes/database.mysql.inc | 5 | ||||
-rw-r--r-- | includes/database.mysqli.inc | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/includes/database.mysql.inc b/includes/database.mysql.inc index aa87b5bff..0e553e3f3 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 e22e3ada4..607da0512 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 ... |