In xRename, if I set zErrMsg and return SQLITE_ERROR, the error message gets through.
In xDestroy, using the same code, the error message seems to get eaten. Bug? My code: static int my_Destroy(sqlite3_vtab *tab) { struct my_vtab* pvtab = (struct my_vtab*) tab; if (pvtab->zErrMsg) sqlite3_free(pvtab->zErrMsg); pvtab->zErrMsg = sqlite3_mprintf("whatever"); return SQLITE_ERROR; } This is with 3.7.15.2 -- E _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users