Fix the ref to dataSource
This commit is contained in:
parent
9b422752a6
commit
adb724e3b2
|
@ -132,6 +132,7 @@ DataSource.prototype._setupConnector = function () {
|
||||||
// Set up the dataSource if the connector doesn't do so
|
// Set up the dataSource if the connector doesn't do so
|
||||||
this.connector.dataSource = this;
|
this.connector.dataSource = this;
|
||||||
}
|
}
|
||||||
|
var dataSource = this;
|
||||||
this.connector.log = function (query, start) {
|
this.connector.log = function (query, start) {
|
||||||
dataSource.log(query, start);
|
dataSource.log(query, start);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue