hmmm.... had another user who had the same problem and I am trying to remember what the solution was.
If I remember right - mysql hated calling that DB by the fully qualified name as it thought you were trying to use the - operator (it too had _-_ in it). Seems like the solution was to take the db prefix out, then set the DB before the query and return it back after the query.
I would personally avoid using hyphens as object names for this reason (though I know that doesnt help

)