Firefox Bookmark runner
Jan Gerrit Marker
jangmarker at googlemail.com
Mon Nov 2 13:26:37 CET 2009
Am Montag 02 November 2009 12:06:29 schrieb Sebastian Kügler:
> On Monday 02 November 2009 11:38:57 Will Stephenson wrote:
> > On Sunday 01 November 2009 22:49:04 Eduardo Robles Elvira wrote:
> > > I have some questions about the runner. It seems to access to firefox
> > > places sqlite database. What happens if (much likely if you use this
> > > runner) firefox is running and thus also connected to the sqlite
> > > database, can't the database get corrupted? AFAIK sqlite does not run
> > > as external server process to which the applications can connect to,
> > > so both the runner and firefox would be accessing to the database at
> > > the same time, and that seems to ask for data corruption. I might be
> > > talking shit because I don't much about sqlite, so please enlighten
> > > me.
> >
> > Zeitgeist (for gnome) work by accessing Firefox' sqlite databases, and
> > does this apparently safely by taking a copy of the file before reading
> > it. No guarantee if this is right, I may be talking somebody else's
> > shit too.
>
> That's probably good enough for reading, writing won't work this way...
>
To be honest: I didn't think of data corruption, sorry :(
The tests I did didn't show anything like this, but that says nothing.
As said, I could copy the database file if the prepare signal is emitted.
--
Jan Gerrit Marker (jangmarker)
More information about the Plasma-devel
mailing list