From 1d9faaf5df5f3dacc7eb36e6912f96d889614c69 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 15 Mar 2005 12:57:17 +0000 Subject: [PATCH] MySQL doesn't return 0 with no WHERE anymore (bug #32251) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@182181 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysql/functions/mysql-affected-rows.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/mysql/functions/mysql-affected-rows.xml b/reference/mysql/functions/mysql-affected-rows.xml index 04d1cab9db..489d666530 100644 --- a/reference/mysql/functions/mysql-affected-rows.xml +++ b/reference/mysql/functions/mysql-affected-rows.xml @@ -1,5 +1,5 @@ - + @@ -32,7 +32,7 @@ If the last query was a DELETE query with no WHERE clause, all of the records will have been deleted from the table but this - function will return zero. + function will return zero with MySQL versions prior to 4.1.2.