Shane Harrelson
<[EMAIL PROTECTED]> wrote:
I changed my registration to:
sqlite3_create_function(db, "my_glob", 2, SQLITE_ANY, NULL, my_glob,
NULL, NULL);
and then tried modifying my query to use the following forms:
SELECT * FROM foo WHERE bar MY_GLOB '*'
SELECT * FROM foo WHERE MY_GLOB(bar, '*')
SELECT * FROM foo WHERE bar my_glob '*'
SELECT * FROM foo WHERE my_glob(bar, '*')
They all gave SQL errors when I tried to pass them to prepare...
The last statement should work. What error do you get?
Igor Tandetnik
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------