cast to number
This commit is contained in:
@@ -76,7 +76,7 @@ MBTiles.prototype._open = function(uri) {
|
||||
|
||||
var key = url.format(uri);
|
||||
this.filename = uri.pathname;
|
||||
this._batchSize = uri.query.batch;
|
||||
this._batchSize = +uri.query.batch;
|
||||
Step(function() {
|
||||
mbtiles._db = new sqlite3.Database(mbtiles.filename, this);
|
||||
}, function(err) {
|
||||
|
||||
Reference in New Issue
Block a user