Fix early initialization of _schema attribute.

This commit is contained in:
Young Hahn
2012-11-07 12:56:21 -05:00
parent 2517863aae
commit 7320870ff3

View File

@@ -105,7 +105,6 @@ MBTiles.prototype._exists = function(table, callback) {
if (this._schema) {
return callback(null, _(this._schema).include(table));
} else {
this._schema = [];
this._db.all(
'SELECT name FROM sqlite_master WHERE type IN (?, ?)',
'table',