fix for - ReferenceError: query is not defined

Error occurs when we set [`LOG_QUERIES`](https://github.com/balderdashy/sails-mysql/blob/1282892650ee6b1c9f177c1eddc53eeb6b034c12/lib/adapter.js#L34) as `true`