So, this query:
mysql_query("UPDATE item SET name = 'foo' WHERE name = 'bar'");
is returning 1, but the value 'bar' doesn't exists in the table. As expected, nothing has changed in the database itself, but shouldn't mysql_query() return 0 in that case?