Re: [sqlite] SIGSEGV Error when using sqlite3_exec( )

2011-02-10 Thread Stephan Beal
On Thu, Feb 10, 2011 at 9:59 PM, Zaryab M. Munir wrote: > [zm]: No there is no other function read() and I did compile glibc. I want > to check if it is static or dynamic. Is static linking a requirement ? > Thanks. > If you're linking to libXXX.so then it's dynamically

Re: [sqlite] SIGSEGV Error when using sqlite3_exec( )

2011-02-10 Thread Zaryab M. Munir
--- On Thu, 2/10/11, Pavel Ivanov <paiva...@gmail.com> wrote: > From: Pavel Ivanov <paiva...@gmail.com> > Subject: Re: [sqlite] SIGSEGV Error when using sqlite3_exec( ) > To: "General Discussion of SQLite Database" <sqlite-users@sqlite.org> > Cc: "Zar

Re: [sqlite] SIGSEGV Error when using sqlite3_exec( )

2011-02-10 Thread Pavel Ivanov
On Thu, Feb 10, 2011 at 2:22 PM, Zaryab M. Munir <zaryabmu...@yahoo.com> wrote: > Thanks,  my reply inline: > Sincerely, > Zaryab > > > --- On Thu, 2/10/11, Pavel Ivanov <paiva...@gmail.com> wrote: > >> From: Pavel Ivanov <paiva...@gmail.com> >>

Re: [sqlite] SIGSEGV Error when using sqlite3_exec( )

2011-02-10 Thread Zaryab M. Munir
Thanks, my reply inline: Sincerely, Zaryab --- On Thu, 2/10/11, Pavel Ivanov <paiva...@gmail.com> wrote: > From: Pavel Ivanov <paiva...@gmail.com> > Subject: Re: [sqlite] SIGSEGV Error when using sqlite3_exec( ) > To: "General Discussion of SQLite Database"

Re: [sqlite] SIGSEGV Error when using sqlite3_exec( )

2011-02-10 Thread Pavel Ivanov
Zaryab, There's no need to repeat your email several times. >    Question1:  Can I have multiple connections opened for each thread to >    the same in-memory dbase. No. Each connection to ":memory:" creates unique in-memory database which will be deleted when that connection is closed. >    

[sqlite] SIGSEGV Error when using sqlite3_exec( )

2011-02-10 Thread Zaryab Munir (zmunir)
Hi, I am using an in-memory dbase in a multi-threaded application and have the following two questions: I create dbase connections by each thread using the API: { Sqlite3 *db =3D NULL; Sqlite3_open(":memory:", ); When I try to use sqlite3_exec( ) I get

[sqlite] SIGSEGV error when using sqlite3_exec()

2011-02-09 Thread Zaryab M. Munir
I am using an in-memory dbase in a multi-threaded application and have the following two questions: I create dbase connections by each thread using the API: { Sqlite3 *db =3D NULL; Sqlite3_open(":memory:", ); When I try to use sqlite3_exec( ) I get segmentation