Thanks a lot Dave The problem came from SQLite3_vtab's attributte: zErrMsg.
It was not initialized to null. Now I have more crashes, I can continue the development of the loadable extension. For your information, I develop in Delphi, it is not too difficult to transcribe C in Delphi -- View this message in context: http://sqlite.1065341.n5.nabble.com/Error-with-xBestIndex-tp77808p77820.html Sent from the SQLite mailing list archive at Nabble.com. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users