maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   eventlogger db (https://talk.maemo.org/showthread.php?t=53097)

b0unc3 2010-05-19 19:03

eventlogger db
 
Hello,

I was wondering why the rtcomm-eventlogger (I suppose) didn't updating the db (el.db) by setting to 0 the is_read field whenever a missed calls was checked out (as it does for the sms).
I tried to do it manually and nothing bad seems to happen.
Is it safe to do it so?

ossipena 2010-05-19 19:05

Re: eventlogger db
 
how did you update the db?

b0unc3 2010-05-19 19:35

Re: eventlogger db
 
Quote:

Originally Posted by ossipena (Post 666510)
how did you update the db?

with a simple sql UPDATE statement

ossipena 2010-05-19 20:01

Re: eventlogger db
 
it might corrupt the database. there is a politically correct API for those:
http://maemo.gitorious.org/maemo-rtc...om-eventlogger

but VertSMS manipulated the el.db straight (and still does until version 0.4 is uploaded) and atleast no one has complained about corruption....


All times are GMT. The time now is 01:48.

vBulletin® Version 3.8.8