Minor tweak to 'convenience' database query function to improve error return.
Minor tweak to 'convenience' database query function to improve error return.

WolfWings/pamnss-mysql,WolfWings/pamnss-mysql,WolfWings/pamnss-mysql