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:
parent
bceedf8edd
commit
b7789c6533
5
NEWS
5
NEWS
|
@ -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
|
||||
|
|
|
@ -1 +1 @@
|
|||
VERSION = u"1.5.9"
|
||||
VERSION = u"1.5.10"
|
||||
|
|
|
@ -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;
|
|
@ -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,
|
||||
|
|
Reference in New Issue