/*
** Delete the file located at zPath. If the dirSync argument is true,
** ensure the file-system modifications are synced to disk before
** returning.
*/
        static int vfstraceDelete(sqlite3_vfs pVfs, string zPath, int dirSync)
        {
            vfstrace_info pInfo = (vfstrace_info)pVfs.pAppData;
            sqlite3_vfs   pRoot = pInfo.pRootVfs;
            int           rc;

            vfstrace_printf(pInfo, "%s.xDelete(\"%s\",%d)",
                            pInfo.zVfsName, zPath, dirSync);
            rc = pRoot.xDelete(pRoot, zPath, dirSync);
            vfstrace_print_errcode(pInfo, " . %s\n", rc);
            return(rc);
        }
示例#2
0
 static int sqlite3OsDelete( sqlite3_vfs pVfs, string zPath, int dirSync )
 {
   return pVfs.xDelete( pVfs, zPath, dirSync );
 }
示例#3
0
 static int sqlite3OsDelete(sqlite3_vfs pVfs, string zPath, int dirSync)
 {
     return(pVfs.xDelete(pVfs, zPath, dirSync));
 }