RE: [sqlite] sqlite3_step crash?

2006-03-28 Thread Boris Popov
. If you have received it in error, please notify the sender and delete the entire message including any attachments. Thank you. -Original Message- From: Boris Popov [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 28, 2006 10:32 PM To: sqlite-users@sqlite.org Subject: RE: [sqlite] sqlite3_st

RE: [sqlite] sqlite3_step crash?

2006-03-28 Thread Boris Popov
users@sqlite.org Subject: [sqlite] sqlite3_step crash? Hmm, I have a fairly specific scenario here where after fetching values from all the rows in the result set calling sqlite3_step segfaults instead of returning SQLITE_DONE. I'm at a loss as to how I could extract a little more info to help f

[sqlite] sqlite3_step crash?

2006-03-28 Thread Boris Popov
Hmm, I have a fairly specific scenario here where after fetching values from all the rows in the result set calling sqlite3_step segfaults instead of returning SQLITE_DONE. I'm at a loss as to how I could extract a little more info to help figure this out, so any pointers would be greatly appreciat

[sqlite] sqlite3_step() never returns an error code

2006-02-28 Thread Ryan M. Lederman
I'm using SQLite under Windows CE, and I cannot for the life of me get an error code from sqlite3_step(), even when the SQL statement I compiled with sqlite3_prepare() is clearly not valid (wrong # of columns, column type mismatch, etc.) It *never* returns anything other than SQLITE_DONE or SQLIT

Re: [sqlite] sqlite3_step() question

2005-08-18 Thread Kiel W.
> There's the possibility of make a function called > sqlite3_step_at_position()?! Is it not feasable to do this in your wrapper function? For instance, in the wrappers I've written an use, I return a set of "rows" and the user can manipulate them however they wish. In your application, this se

[sqlite] sqlite3_step() question

2005-08-11 Thread victor...
Hi, I'm making a database navigator bar using wxWindows and Sqlite3. How as it can handle a lot of rows, then i need take one row per time. But the user could back or go to a specific record. So, My question is how i query at specific position of a prepared stmt? If a call sqlite3_step() how can I

Re: [sqlite] sqlite3_step() and sqlite3_reset() return values

2004-12-28 Thread Roger Binns
I tried inserting two rows the same unique index. sqlite3_step() failed, as expected, but returned 1 (SQLITE_ERROR). Even sqlite3_errcode() returned 1 (SQLITE_ERROR). I would have expected error 19 (SQLITE_CONSTRAINT) to be returned. I got bit by this as well. However go and look at the docs where

[sqlite] sqlite3_step() and sqlite3_reset() return values

2004-12-28 Thread Ron Avriel
Hi, I tried inserting two rows the same unique index. sqlite3_step() failed, as expected, but returned 1 (SQLITE_ERROR). Even sqlite3_errcode() returned 1 (SQLITE_ERROR). I would have expected error 19 (SQLITE_CONSTRAINT) to be returned. I was also surprised that the next sqlite3_reset() returned

<    1   2