Re: [sqlite] SQLITE_MISUSE error code

2011-04-19 Thread Jay A. Kreibich
On Tue, Apr 19, 2011 at 04:19:55PM +0530, Navaneeth Sen B scratched on the wall:
 
> What is this SQLITE_MISUSE error code? When is it exactly thrown?

  It means that the programmer is using the SQLite API incorrectly,
  and that there is a fundamental flow or logic issue in the code.

  An example might be calling sqlite3_bind_xxx() on an "active"
  statement (one that has been stepped, but not yet reset/finalized).
  Such action simply does not make sense.

  It is usually the result of a new-to-SQLite programmer not fully
  understanding the correct way to use SQLite API, but can also
  point to buggy flow control.

  Are you having issues with a specific call returning MISUSE?

   -j

-- 
Jay A. Kreibich < J A Y  @  K R E I B I.C H >

"Intelligence is like underwear: it is important that you have it,
 but showing it to the wrong people has the tendency to make them
 feel uncomfortable." -- Angela Johnson
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] SQLITE_MISUSE error code

2011-04-19 Thread Navaneeth Sen B
Hi All,

What is this SQLITE_MISUSE error code? When is it exactly thrown?

-- 

Thanks,
Sen


___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users