Thanks.  Now fixed.

On 8/10/17, Hideaki Takahashi <[email protected]> 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
> [email protected]
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>


-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to