z = sqlite_set_result_string(context, argv[0], -1);
z = (unsigned char*)sqlite_set_result_string(context, argv[0], -1);
static void upperFunc(sqlite_func *context, int argc, const char **argv){  char *z;  int i;  if( argc<1 || argv[0]==0 ) return;  z = sqlite_set_result_string(context, argv[0], -1);  if( z==0 ) return;  for(i=0; z[i]; i++){    if( islower(z[i]) ) z[i] = toupper(z[i]);  }}