This commit is contained in:
Stephen Sugden 2014-05-21 21:54:27 +02:00
parent 37de20e826
commit f7b6572399

View File

@ -103,7 +103,7 @@ Cursor.prototype._getRows = function(rows, cb) {
}
Cursor.prototype.end = function(cb) {
if(this.statue != 'initialized') {
if(this.state != 'initialized') {
this.connection.sync()
}
this.connection.end()