Jakub Ladman wrote:
Cause i am really blockheaded - is there somebody so good-hearted, who could write simple step by step directions how to add one simple function to SQLite?

I have found so many inspirations and documentation seems to be very precise, but i do not understand it at its width.

For example.

1) compile sqlite sources with  -DBLAHBLAH
2) write your own functions to myfunctions.c as described here www.blahblah.org
3) to register new functions write this and do that ...
4) use your functions like select * from tb1 where a = blahblah(b,c,d);



Jakub,

See the sample in a previous post at http://www.mail-archive.com/sqlite-users@sqlite.org/msg18608.html

You might also want to search the list for "user defined function".

You really would be well served by reading sqlite's func.c source file. It offers many sample functions written using the same APIs you will use.

HTH
Dennis Cote

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to