On Tue, Oct 25, 2011 at 11:51:46PM +0200, Tobias Mohrlüder scratched on the 
wall:
> Hello everybody,
> 
> I strongly believe that my setup is somehow wrong, I just can't figure
> out how.


> sqlite3_prepare_v2(db, "SELECT * FROM mytable WHERE MyKey IS ?", -1, &stmt, 
> 0);

  Don't use "IS", use "=".  The two operations are quite different.

   -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

Reply via email to