Re: [sqlite] C++ - Creating Table

2012-07-24 Thread Robert Myers
-Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users- boun...@sqlite.org] On Behalf Of Robert Myers Sent: Monday, 23 July, 2012 21:44 To: sqlite-users@sqlite.org Subject: Re: [sqlite] C++ - Creating Table On 7/23/2012 7:43 PM, Arbol One wrote: Thank you Michael for your

Re: [sqlite] C++ - Creating Table

2012-07-23 Thread Keith Medcalf
qlite.org] On Behalf Of Robert Myers > Sent: Monday, 23 July, 2012 21:44 > To: sqlite-users@sqlite.org > Subject: Re: [sqlite] C++ - Creating Table > > On 7/23/2012 7:43 PM, Arbol One wrote: > > Thank you Michael for your prompt response. > > I have been able to duplicate t

Re: [sqlite] C++ - Creating Table

2012-07-23 Thread Robert Myers
On 7/23/2012 7:43 PM, Arbol One wrote: Thank you Michael for your prompt response. I have been able to duplicate the error message. I think this could be a bug in SQLite3. void jme::mySQLite3::createTable(const std::string& s) throw (std::exception) { rc = sqlite3_prepare_v2( db, s.c_str(),

Re: [sqlite] C++ - Creating Table

2012-07-23 Thread Arbol One
jme::mySQLite3 myDB("database.db3"); myDB.createTable(s1); std::cin.get(); return 0; } -Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Black, Michael (IS) Sent: Monday, July 23, 2012 3:53 PM To: General Di

Re: [sqlite] C++ - Creating Table

2012-07-23 Thread Black, Michael (IS)
nit Northrop Grumman Information Systems From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on behalf of Arbol One [arbol...@gmail.com] Sent: Monday, July 23, 2012 1:54 PM To: SqLite Subject: EXT :[sqlite] C++ - Creating Table Using SQLite version 3.7.8 amalgamation, under Win7 wi

Re: [sqlite] C++ - Creating Table

2012-07-23 Thread Pavel Ivanov
As you don't have stmt defined anywhere this is apparently not the actual program you run. Seeing the full source code would be more helpful. If the whole source is too big try to reduce it to small program reproducing the problem. It's possible that while attempting to reduce program source

[sqlite] C++ - Creating Table

2012-07-23 Thread Arbol One
Using SQLite version 3.7.8 amalgamation, under Win7 with MinGW, I compile the bellow program, but for some strange reason I am getting a runtime error when creating the table. I hope that one of you would be able to tell me what I am doing wrong. TIA === class mySQLite3Class { private: