On 7 Sep 2012, at 2:18pm, Rob Richardson wrote:
> One number (I don't know off hand which) is labeled SQLITE_ROW, which you are
> using. Another is SQLITE_DONE. Another is SQLITE_MISUSE. There are several
> of them.
Quite right.
Discussion of SQLite Database'
Subject: Re: [sqlite] C++ - WHERE clause - update
Is this a tricky question?
int sqlite3_step(sqlite3_stmt*);
-Original Message-
From: sqlite-users-boun...@sqlite.org
[mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Rob Richardson
Sent: Thursday, September
: [sqlite] C++ - WHERE clause - update
What is the value returned from sqlite3_step()?
RobR
-Original Message-
From: sqlite-users-boun...@sqlite.org
[mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Arbol One
Sent: Thursday, September 06, 2012 12:14 PM
To: 'General Discussion of SQLite
On 9/6/2012 12:14 PM, Arbol One wrote:
rc = sqlite3_step(mystmt);
if(rc == SQLITE_ROW ) {
The code, in this case, does not process this statement!!??
It's possible that no row actually matches the condition, so
sqlite3_step returns SQLITE_DONE on the first call.
--
Igor Tandetnik
What is the value returned from sqlite3_step()?
RobR
-Original Message-
From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org]
On Behalf Of Arbol One
Sent: Thursday, September 06, 2012 12:14 PM
To: 'General Discussion of SQLite Database'
Subject: [sqlite] C++ -
5 matches
Mail list logo