Re: [sqlite] Problem with warning: SQL error or missing database

2006-04-28 Thread Nan Ye
Jay Sprenkle 写道: On 4/27/06, Nan Ye <[EMAIL PROTECTED]> wrote: Hi, I have met some problems when I opened the same database file twice in the same process. Why are you opening the same database twice? Are you trying to simulate multiple processes or threads? -- SqliteImporter: Command

Re: [sqlite] Problem with warning: SQL error or missing database

2006-04-28 Thread Jay Sprenkle
On 4/27/06, Nan Ye <[EMAIL PROTECTED]> wrote: Hi, I have met some problems when I opened the same database file twice in the same process. Why are you opening the same database twice? Are you trying to simulate multiple processes or threads? -- SqliteImporter: Command line fixed and

[sqlite] Problem with warning: SQL error or missing database

2006-04-27 Thread Nan Ye
Hi, I have met some problems when I opened the same database file twice in the same process. #include #include #include #include int main (int argc, char * argv[]) { sqlite3 * db1 = NULL; sqlite3 * db2 = NULL; sqlite3_stmt * pstmt = NULL; gchar * errorstr = NULL; gint ret; gint test_num =