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 lib,

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

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. How

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 dynamically linked, just