David Gelt <[EMAIL PROTECTED]> wrote: > > db_reset_stmt(dbo, stmt); > ********************************************* SEGMENTATION FAULT AT THE > NEXT LINE ********************************************* > return_code = db_fetch_first(dbo, stmt); /* initial call to retrieve
sqlite3_column_xxx() may only be called after a prior call to sqlite3_step() which returned SQLITE_ROW and not after sqlite3_reset() or sqlite3_finalize(). After you do your sqlite3_reset() you need to call sqlite3_step() again (and make sure it returns SQLITE_ROW) before you can see row data. -- D. Richard Hipp <[EMAIL PROTECTED]> ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------