Re: [SailfishDevel] Getting odd error when attempting to use LocalStorage.changeVersion

2014-02-16 Thread Sylvain B .
Oh I did not. Ok that's great, it's a shame that it's not documented! Thanks! > Date: Sun, 16 Feb 2014 18:28:06 +0100 > From: r...@hoelz.ro > To: devel@lists.sailfishos.org > CC: sth...@hotmail.com > Subject: Re: [SailfishDevel] Getting od

Re: [SailfishDevel] Getting odd error when attempting to use LocalStorage.changeVersion

2014-02-16 Thread Rob Hoelz
On Sun, 16 Feb 2014 17:13:11 + Sylvain B. wrote: > Thanks for the report on qt-project, I just faced this exact same > issue this afternoon (my app is not released yet but I already wanted > to see if a DB update will be possible). It's a shame not to be able > to open the DB without specifyi

Re: [SailfishDevel] Getting odd error when attempting to use LocalStorage.changeVersion

2014-02-16 Thread Sylvain B .
e already exists or not. -- Sylvain. > Date: Sat, 15 Feb 2014 17:42:15 +0100 > From: r...@hoelz.ro > To: devel@lists.sailfishos.org > Subject: Re: [SailfishDevel] Getting odd error when attempting to use > LocalStorage.changeVersion > > On Sat, 15 Feb 2014 01:47:5

Re: [SailfishDevel] Getting odd error when attempting to use LocalStorage.changeVersion

2014-02-16 Thread Rob Hoelz
On Sat, 15 Feb 2014 17:42:15 +0100 Rob Hoelz wrote: > On Sat, 15 Feb 2014 01:47:52 +0100 > Rob Hoelz wrote: > > > Hi all, > > > > I'm working on an update for my Sudoku application, and one of the > > new features necessitates a storage schema change. So I wrote a > > utility function that tr

Re: [SailfishDevel] Getting odd error when attempting to use LocalStorage.changeVersion

2014-02-15 Thread Rob Hoelz
On Sat, 15 Feb 2014 01:47:52 +0100 Rob Hoelz wrote: > Hi all, > > I'm working on an update for my Sudoku application, and one of the new > features necessitates a storage schema change. So I wrote a utility > function that tries to open a connection with the correct version, and > falls back to

[SailfishDevel] Getting odd error when attempting to use LocalStorage.changeVersion

2014-02-14 Thread Rob Hoelz
Hi all, I'm working on an update for my Sudoku application, and one of the new features necessitates a storage schema change. So I wrote a utility function that tries to open a connection with the correct version, and falls back to calling db.changeVersion if there is a version mismatch. After te