Re: [sqlite] Monitor Queries

2007-05-24 Thread Lloyd
On Wed, 2007-05-23 at 09:09 -0700, Joe Wilson wrote: > --- Lloyd <[EMAIL PROTECTED]> wrote: > > On Wed, 2007-05-23 at 07:21 -0700, Joe Wilson wrote: > > > > I've a "black-box" (Linux) program - so no source available - using > > > a > > > > sqlite database. Is there any way I can monitor/log the qu

Re: [sqlite] Monitor Queries

2007-05-23 Thread Joe Wilson
--- Lloyd <[EMAIL PROTECTED]> wrote: > On Wed, 2007-05-23 at 07:21 -0700, Joe Wilson wrote: > > > I've a "black-box" (Linux) program - so no source available - using > > a > > > sqlite database. Is there any way I can monitor/log the queries made > > to > > > the database? > > > > If it's dynamica

Re: [sqlite] Monitor Queries

2007-05-23 Thread Lloyd
On Wed, 2007-05-23 at 07:21 -0700, Joe Wilson wrote: > > I've a "black-box" (Linux) program - so no source available - using > a > > sqlite database. Is there any way I can monitor/log the queries made > to > > the database? > > If it's dynamically linked, just replace libsqlite3.so with your own.

Re: [sqlite] Monitor Queries

2007-05-23 Thread Joe Wilson
> I've a "black-box" (Linux) program - so no source available - using a > sqlite database. Is there any way I can monitor/log the queries made to > the database? If it's dynamically linked, just replace libsqlite3.so with your own. If it is statically linked and has -g symbols, use gdb. If it's st

Re: [sqlite] Monitor Queries

2007-05-23 Thread Thomas Fjellstrom
On May 23, 2007, Andreas Weller wrote: > Hi! > I've a "black-box" (Linux) program - so no source available - using a > sqlite database. Is there any way I can monitor/log the queries made to > the database? Create a library with the functions you want to hook, and dlopen/LoadLibrary the sqlite li

[sqlite] Monitor Queries

2007-05-23 Thread Andreas Weller
Hi! I've a "black-box" (Linux) program - so no source available - using a sqlite database. Is there any way I can monitor/log the queries made to the database? Thanks Regards, Andreas Weller - To unsubscribe, send ema