scope fix for Database Deferred queries, and hack for ugly nodejs MySQL connector.query function
scope fix for Database Deferred queries, and hack for ugly nodejs MySQL connector.query function

jiaweihli/eduwrite,jiaweihli/eduwrite,jiaweihli/eduwrite