note 6413 deleted from mysql_affected_rows by danbeck

From: Date: Thu, 07 Sep 2000 15:07:22 +0000
Subject: note 6413 deleted from mysql_affected_rows by danbeck
Groups: php.notes 
Request: Send a blank email to php-notes+get-4346@lists.php.net to get a copy of this message
mysql_affected_rows() with more recent version of mysqld can return either the number of the rows that were matched or the number of the rows that were actually modified, depending on the client flags. Default with the most recent 3.23 client is CLIENT_FOUND_ROWS. If this is not desirable, hack libmysql/libmysql.c, remove the line with CLIENT_FOUND_ROWS, recompile mysql client and re-link PHP against it. If you want CLIENT_FOUND_ROWS behavior, just link your PHP against the most recent libmysqlclient

« previous php.notes (#4346) next »