From 7228b485f5be522d1fabef26918bf57f5a38a4d7 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Wed, 27 Dec 2006 22:50:09 +0000
Subject: [PATCH] - Patch #105461 by jvandyk: fixed code comments.

---
 includes/database.mysql.inc  | 5 -----
 includes/database.mysqli.inc | 5 -----
 2 files changed, 10 deletions(-)

diff --git a/includes/database.mysql.inc b/includes/database.mysql.inc
index aa87b5bffde3..0e553e3f3148 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 e22e3ada4640..607da05124e2 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 ...
-- 
GitLab