Merge branch 'master' of github.com:1602/jugglingdb
This commit is contained in:
commit
221c3d4c83
|
@ -46,7 +46,7 @@ PG.prototype.query = function (sql, callback) {
|
|||
var time = Date.now();
|
||||
var log = this.log;
|
||||
this.client.query(sql, function (err, data) {
|
||||
log(sql, time);
|
||||
if (log) log(sql, time);
|
||||
callback(err, data ? data.rows : null);
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue