summaryrefslogtreecommitdiff
path: root/includes/database.mysqli.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/database.mysqli.inc')
-rw-r--r--includes/database.mysqli.inc5
1 files changed, 0 insertions, 5 deletions
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 ...