FARKAS Máté írta: > With Java (and SQLiteJDBC) it is not possible to ovverride "/both /the > two and three argument > versions of the like() function". I can only ovverride the like() > function: In NativeDB.c at line 676-685 (create_function) there is:
ret = sqlite3_create_function( gethandle(env, this), strname, // function name * -1, // number of args * SQLITE_UTF16, // preferred chars udf, isAgg ? 0 :&xFunc, isAgg ? &xStep : 0, isAgg ? &xFinal : 0 ); In SQLite documentation: The third parameter is the number of arguments that the SQL function or aggregate takes. *If this parameter is negative, *then the SQL function or aggregate may take *any number of arguments. * So… it is a bug of SQLite (not SQLiteJDBC)? Regards, Máté. --~--~---------~--~----~------------~-------~--~----~ Mailing List: http://groups.google.com/group/sqlitejdbc?hl=en To unsubscribe, send email to [EMAIL PROTECTED] -~----------~----~----~----~------~----~------~--~---