MySQL: Take mysql_affected_rows returning -1 into account

Just found a little bug :)