[sqlite] Locked Database Problem

2010-06-19 Thread Martin Sigwald
: do_stuff(); if(certain condition has changed) write_db(); Update operation on table_1 ---> This one gets LOCKED Best regards, Martin Sigwald ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8

Re: [sqlite] SQlite C API screwing port access?

2010-03-24 Thread Martin Sigwald
ding of uninitialized memory... > > > Pavel > > On Wed, Mar 24, 2010 at 1:19 PM, Martin Sigwald <msigw...@gmail.com> > wrote: > > Problem Solved: As some one point out, it was MY fault. > > When allocating memory for my ICMP packets I wasnt doind a bzero to fill &

Re: [sqlite] SQlite C API screwing port access?

2010-03-24 Thread Martin Sigwald
er groups I ever met. Terrible sorry for wasting your time. On Wed, Mar 24, 2010 at 2:12 PM, David Baird <dhba...@gmail.com> wrote: > On Wed, Mar 24, 2010 at 11:09 AM, Martin Sigwald <msigw...@gmail.com> > wrote: > > Doing N pings after a _close or a query has the same re

Re: [sqlite] SQlite C API screwing port access?

2010-03-24 Thread Martin Sigwald
Doing N pings after a _close or a query has the same result as doind one: not one of them works. On Wed, Mar 24, 2010 at 2:07 PM, David Baird <dhba...@gmail.com> wrote: > On Wed, Mar 24, 2010 at 9:42 AM, Martin Sigwald <msigw...@gmail.com> > wrote: > > I meant socket. I

Re: [sqlite] SQlite C API screwing port access?

2010-03-24 Thread Martin Sigwald
close() and when > unsuccessful pinging is made after statement execution. > > > Pavel > > On Wed, Mar 24, 2010 at 11:45 AM, David Baird <dhba...@gmail.com> wrote: > > On Wed, Mar 24, 2010 at 9:24 AM, David Baird <dhba...@gmail.com> wrote: > >&g

Re: [sqlite] SQlite C API screwing port access?

2010-03-24 Thread Martin Sigwald
wont work. On Wed, Mar 24, 2010 at 12:16 PM, Jay A. Kreibich <j...@kreibi.ch> wrote: > On Wed, Mar 24, 2010 at 12:05:58PM -0300, Martin Sigwald scratched on the > wall: > > While I could gather, both the open system called generated by the DB and > > the socket() sysc

Re: [sqlite] SQlite C API screwing port access?

2010-03-24 Thread Martin Sigwald
standar procedure to allocate a socket: sockfd = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP)) Shouldn't the Kernel take care of this and provide an unused FD?? On Wed, Mar 24, 2010 at 11:57 AM, Martin Sigwald <msigw...@gmail.com> wrote: > I tried using STRACE, unfortunately, I am quite new

Re: [sqlite] SQlite C API screwing port access?

2010-03-24 Thread Martin Sigwald
24, 2010 at 4:51 AM, Roger Binns <rog...@rogerbinns.com> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Martin Sigwald wrote: > > Here is the actual code: > > > > int main(void) > > { > > sqlite3* db_handle; > > > >

Re: [sqlite] SQlite C API screwing port access?

2010-03-23 Thread Martin Sigwald
> wrote: > > On 23 Mar 2010, at 7:06pm, Martin Sigwald wrote: > > > Here is the actual code: > > > > int main(void) > > { > >sqlite3* db_handle; > > > > sqlite3_open(DB_NAME,_handle); > > sqlite3_close(db_handle); > >

Re: [sqlite] SQlite C API screwing port access?

2010-03-23 Thread Martin Sigwald
oesnt work either. On Tue, Mar 23, 2010 at 3:45 PM, Matthew L. Creech <mlcre...@gmail.com>wrote: > On Tue, Mar 23, 2010 at 12:55 PM, Martin Sigwald <msigw...@gmail.com> > wrote: > > I have a program which builds an ICMP package over IP and sends it. > Before > > that,

Re: [sqlite] SQlite C API screwing port access?

2010-03-23 Thread Martin Sigwald
"hardcoded" > IP, > MS> doesnt interact with DB > > > MS> If I run that code, the package nevers gets send (can't detect it with > MS> Wireshark). If a comment the sqlite part, it works perfectly. Somehow, > the > MS> S

[sqlite] SQlite C API screwing port access?

2010-03-23 Thread Martin Sigwald
rewing with the port access, but I can't fin any reasonable explanation. Any ideas? I've been stuck for days with this problem. Regards, Martin Sigwald ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users