From 9fa2c902c06cbd6cd4fe070790df171691bfead4 Mon Sep 17 00:00:00 2001 From: "Herman J. Radtke III" Date: Tue, 9 Sep 2008 02:00:10 +0000 Subject: [PATCH] Added a sentence to the return values section explaining that passing something other than mysqli_stmt object would return NULL instead of -1. This was pertaining to bug #43708. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@266013 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysqli/mysqli_stmt/affected-rows.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reference/mysqli/mysqli_stmt/affected-rows.xml b/reference/mysqli/mysqli_stmt/affected-rows.xml index 59d9007742..ef383eca42 100644 --- a/reference/mysqli/mysqli_stmt/affected-rows.xml +++ b/reference/mysqli/mysqli_stmt/affected-rows.xml @@ -1,5 +1,5 @@ - + mysqli_stmt->affected_rows @@ -49,6 +49,7 @@ Zero indicates that no records where updated for an UPDATE/DELETE statement, no rows matched the WHERE clause in the query or that no query has yet been executed. -1 indicates that the query has returned an error. + NULL indicates an invalid argument was supplied to the function.