Re: [sqlite] library routine called out of sequence

2006-05-12 Thread Davide Berti
execute sqlite3 test.db < myscript from a bash shell. myscript creates a few tables. After running this, is my test.db in an open state, do I have to open test.db in my c program via sqlite3_open("test.db", _handle); John Stanton <[EMAIL PROTECTED]> wrote: Davide Berti wr

Re: [sqlite] library routine called out of sequence

2006-05-12 Thread Davide Berti
my typo here was the sqlite3_open call to open the database that is returning the error John Stanton <[EMAIL PROTECTED]> wrote: Davide Berti wrote: > I am getting this error and have viewed the archives but am still at a loss. > > Can I load a script file that create

[sqlite] library routine called out of sequence

2006-05-12 Thread Davide Berti
I am getting this error and have viewed the archives but am still at a loss. Can I load a script file that creates a view tables: sqlite3 test.db < myscript then from a c program sd_open("test.db", db_handle); It keeps giving me the library routine error. My program is not multi-threaded and