Jean-Christophe Deschamps wrote:
>> Can't you preallocate sufficient memory at the time the collation is
>> created?
>
> This is for getting unaccented copies of input strings, which
> sometimes involves expansion of a single character into 2 to 5 or 6
> simpler characters.  I use this for offering unaccented collation as
> well as LIKE, friends and a fuzzy search.

Well, custom functions (such as one behind LIKE operator) do have a way 
to report errors. Only collations don't. It seems fairly easy to me to 
implement the kind of collation you describe using only a fixed amount 
of extra memory.

Igor Tandetnik 



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

Reply via email to