On Fri, Jan 16, 2009 at 02:46:54PM -0500, D. Richard Hipp wrote:
> >> Yes.  FTS3 is not robust against malloc failures.  FTS3 will
> >> sometimes segfault following a malloc failure.  This is a known
> >> issue.  We are working on it.
> >
> > Is that true only when one uses FTS3?
> >
> > Or is it true if FTS3 is compiled in even if one does not use it?
> 
> I think FTS3 only mallocs() if you use it.  But I haven't really  
> checked, so I don't know for certain.

I see that sqlite3Fts3Init() is called when the databser is opened.  And
I see calls to sqlite3_malloc().  However, I also see that there are no
calls to malloc() that are not made via sqlite3_malloc() in that code
path, so I think compiling in FTS3 is safe.

Thanks!

Also, are the FTS3 fixes in 3.6.10?  If not, when will there be a
release containing those fixes?

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

Reply via email to