db_mysql: proper handling of mysql_next_result(...) return code

- it indicates the presence of another result if return is 0
- reported by  Maxim (simax), FS#434

(cherry picked from commit 37f0964278e925d5530563b38c82a57de1f7fa59)