Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/adapters/webkit-sqlite.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Lawnchair.adapter('webkit-sqlite', (function () {
, create = "CREATE TABLE IF NOT EXISTS " + this.record + " (id NVARCHAR(32) UNIQUE PRIMARY KEY, value TEXT, timestamp REAL)"
, win = function(){ return cb.call(that, that); }
// open a connection and create the db if it doesn't exist
this.db = openDatabase(this.name, '1.0.0', this.name, 65536)
this.db = openDatabase(this.name, '1.0.0', this.name, options.maxSize || 65536)
this.db.transaction(function (t) {
t.executeSql(create, [], win, fail)
})
Expand Down