Index: function.c ================================================================== --- function.c +++ function.c @@ -33,10 +33,46 @@ } static void fn_basename(sqlite3_context*cxt,int argc,sqlite3_value**argv) { sqlite3_result_text(cxt,basefilename,-1,SQLITE_STATIC); } + +static void fn_bcat(sqlite3_context*cxt,int argc,sqlite3_value**argv) { + sqlite3_str*str=sqlite3_str_new(userdb); + const char*p; + int i; + for(i=0;i