witten
/
luminotes
Archived
1
0
Fork 0

Fixed a bug in which certain new installations of Luminotes Desktop on Windows yielded an "uh oh" error on initial launch.

This was due to duplicate notebook timestamps within the sqlite
database, which meant that notebook_current included the placeholder
"next ids" along with the actual notebooks. The fix was to modify the
notebook_current view to filter out those placeholder ids.
This commit is contained in:
Dan Helfman 2008-12-04 12:30:59 -08:00
parent bceedf8edd
commit b7789c6533
4 changed files with 10 additions and 2 deletions

5
NEWS
View File

@ -1,3 +1,8 @@
1.5.10: December 4, 2008
* Fixed a bug in which certain new installations of Luminotes Desktop
on Windows yielded an "uh oh" error on initial launch. This bug did
not occur during upgrades. It only affected new installations.
1.5.9: December 3, 2008
* When you hover the mouse over a link and a link pulldown appears, that
pulldown will now automatically disappear soon after you move the mouse

View File

@ -1 +1 @@
VERSION = u"1.5.9"
VERSION = u"1.5.10"

3
model/delta/1.5.10.sql Normal file
View File

@ -0,0 +1,3 @@
DROP VIEW notebook_current;
CREATE VIEW notebook_current AS
SELECT id, revision, name, trash_id, deleted, user_id FROM notebook WHERE (notebook.revision IN (SELECT max(sub_notebook.revision) AS max FROM notebook sub_notebook WHERE (sub_notebook.id = notebook.id))) and notebook.name is not null;

View File

@ -104,7 +104,7 @@ CREATE TABLE notebook (
);
CREATE VIEW notebook_current AS
SELECT id, revision, name, trash_id, deleted, user_id FROM notebook WHERE (notebook.revision IN (SELECT max(sub_notebook.revision) AS max FROM notebook sub_notebook WHERE (sub_notebook.id = notebook.id)));
SELECT id, revision, name, trash_id, deleted, user_id FROM notebook WHERE (notebook.revision IN (SELECT max(sub_notebook.revision) AS max FROM notebook sub_notebook WHERE (sub_notebook.id = notebook.id))) and notebook.name is not null;
CREATE TABLE password_reset (
id text NOT NULL,