Re: [sqlite] Dropping updates after exiting application

2007-06-04 Thread Will Leshner
On 6/4/07, Omar Eljumaily <[EMAIL PROTECTED]> wrote: qlite3_prepare_v2(con->_db, text.c_str(), text.size(), &_stmt, &tail); sqlite3_bind_text(_stmt, which, s.c_str(), s.size(), SQLITE_TRANSIENT); sqlite3_step(_stmt); Is one step enough to finish the operation? ---

[sqlite] Dropping updates after exiting application

2007-06-04 Thread Omar Eljumaily
I have this problem where my application is is dropping updates after exiting my application. create mytable { int id primary key, name text }; Something like: "insert into mytable(name) values('myname')" would update properly. However "update mytable set name = 'newname' where id = 1" wou