Added error check to mysql_backend.c to prevent unnecessary logging.