note 45864 deleted from function.mysql-affected-rows by tomsommer
| From: | tomsommer@php.net | Date: | Wed, 22 Sep 2004 19:27:20 +0000 |
| Subject: | note 45864 deleted from function.mysql-affected-rows by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-77169@lists.php.net to get a copy of this message | ||
Note Submitter: daevid at daevid dot com
----
Yes, this annoyance has plagued me too. I can't believe how frustrating this is. It's also
the case that NOW() doesn't count for a datetime field. So even though data *IS* changing,
mysql_affected_rows() == 0. The hack I used to circumvent this assinine behaviour is to use NOW()+1
as I really could care less about a single second offset.