lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** correct update gives affected_rows -1
- Date: Thu, 29 May 2008 17:20:58 +0200
- From: Jordi Moles Blanco <jordi@xxxxxxxxx>
- Subject: ***BOGO*** correct update gives affected_rows -1
Hi,
i'm facing a problem in debian etch and this version of mysql
ii libmysqlclient15off 5.0.32-7etch4 mysql
database client library
ii libpam-mysql 0.6.2-1 PAM module
allowing authentication from a My
ii mysql-common 5.0.32-7etch4 mysql
database common files (e.g. /etc/mysql
the thing is that i perform an update query through a mysqli object (
new mysqli() ) and the value is actually modified to the right one, but
i keep getting the
affected_rows=-1
when i ask
$connection->affected_rows
It's not big trouble , cause the data is modified to the right value,
but i've got some controls on that process, and i keep getting warnings
that the update query wasn't performed properly when it's not true.
any ideas?
Thank you.
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=royale@xxxxxxxxxx