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
This commit is contained in:
Herman J. Radtke III 2008-09-09 02:00:10 +00:00
parent d0ea8d4d00
commit 9fa2c902c0

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<refentry xml:id="mysqli-stmt.affected-rows" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mysqli_stmt->affected_rows</refname>
@ -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.
</para>
<note>
<para>