Fix mysqli_query return value for query without result

Thinking about it more. I actually think you need to handle the #ifdef FACEBOOK case. Because mysql_field_count will not work then. So I think you need to add if (!mysql->fields) in that case.