From f7b65723992002bfa69134e39e587569cf15e6b7 Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Wed, 21 May 2014 21:54:27 +0200 Subject: [PATCH] fix typo --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 71a4223f..5ea42cf1 100644 --- a/index.js +++ b/index.js @@ -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()