Hi all,

I need to have a context* for use inside a collation function (to 
report possible memory allocation errors for instance), but the spec 
for collation doesn't give me a context pointer, only an 
sqlite3*.  This later guy is defined as an "opaque" structure, so I'm a 
little scared to misuse something.

It's a pity because several functions I call from there already rely on 
a context* for such case (used for SQL functions).

Now when I encounter, say, a malloc error, what should I do before 
returning from the collation invokation?

Thank you for your advices.



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

Reply via email to