Thanks. Now fixed. On 8/10/17, Hideaki Takahashi <mym...@gmail.com> wrote: > Hello, > > I found an error in a code example in the FTS5 document. > https://sqlite.org/fts5.html#extending_fts5 > > sqlite3_bind_pointer(pStmt, (void*)&pRet, "fts5_api_ptr"); > > sqlite3_bind_pointer needs a parameter index and a pointer to destructor > too, so I think it should be > > sqlite3_bind_pointer(pStmt, 1, (void*)&pRet, "fts5_api_ptr", NULL); > > > Thank you, > Hideaki > _______________________________________________ > sqlite-users mailing list > sqlite-users@mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users >
-- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users