不要怂,就是干,撸起袖子干!

Commit de7a985c by sdepold

minor refactoring for show tables

1 parent c1ee0836
Showing with 6 additions and 1 deletions
......@@ -8,8 +8,10 @@ module.exports = (function() {
this.callee = callee
this.options = Utils._.extend({
logging: true,
plain: false
plain: false,
raw: false
}, options || {})
this.bindClientFunction = function(err) { onFailure.call(self, err) }
}
Utils.addEventEmitter(Query)
......@@ -74,6 +76,9 @@ module.exports = (function() {
result = (result.length == 0) ? null : result[0]
}
if(this.sql.indexOf('SHOW') == 0)
result = results
unbindClient.call(this)
this.emit('success', result)
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!