Home
last modified time | relevance | path

Searched refs:zFile (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/test/
H A Dthreadtest1.c86 fprintf(stdout,"%s: malloc failed\n", pResult->zFile); in db_query_callback()
112 sResult.zFile = zFile; in db_query()
113 if( verbose ) printf("QUERY %s: %s\n", zFile, zSql); in db_query()
119 if( verbose ) printf("DONE %s %s\n", zFile, zSql); in db_query()
145 if( verbose ) printf("EXEC %s: %s\n", zFile, zSql); in db_execute()
151 if( verbose ) printf("DONE %s: %s\n", zFile, zSql); in db_execute()
183 zFile, zMsg, i+1, az[i]); in db_check()
251 char *zFile; in main() local
266 zFile = sqlite_mprintf("%d.testdb-%d", i%2+1, (i+2)/2); in main()
267 unlink(zFile); in main()
[all …]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dattach.c29 char *zFile, *zName; in sqliteAttach() local
50 zFile = 0; in sqliteAttach()
51 sqliteSetNString(&zFile, pFilename->z, pFilename->n, 0); in sqliteAttach()
52 if( zFile==0 ) return; in sqliteAttach()
53 sqliteDequote(zFile); in sqliteAttach()
55 if( sqliteAuthCheck(pParse, SQLITE_ATTACH, zFile, 0, 0)!=SQLITE_OK ){ in sqliteAttach()
56 sqliteFree(zFile); in sqliteAttach()
69 sqliteFree(zFile); in sqliteAttach()
90 rc = sqliteBtreeFactory(db, zFile, 0, MAX_PAGES, &aNew->pBt); in sqliteAttach()
92 sqliteErrorMsg(pParse, "unable to open database: %s", zFile); in sqliteAttach()
[all …]
H A Dcopy.c40 char *zFile = 0; in sqliteCopy() local
49 zFile = sqliteStrNDup(pFilename->z, pFilename->n); in sqliteCopy()
50 sqliteDequote(zFile); in sqliteCopy()
54 || sqliteAuthCheck(pParse, SQLITE_COPY, pTab->zName, zFile, zDb) ){ in sqliteCopy()
108 sqliteFree(zFile); in sqliteCopy()
H A Dutil.c55 void *sqliteMalloc_(int n, int bZero, char *zFile, int line){ in sqliteMalloc_() argument
65 n, zFile,line); in sqliteMalloc_()
86 ++memcnt, n, (int)p, zFile,line); in sqliteMalloc_()
116 void sqliteFree_(void *p, char *zFile, int line){ in sqliteFree_() argument
139 ++memcnt, n, (int)p, zFile,line); in sqliteFree_()
154 return sqliteMalloc_(n,1,zFile,line); in sqliteRealloc_()
157 sqliteFree_(oldP,zFile,line); in sqliteRealloc_()
193 ++memcnt, oldN, n, (int)oldP, (int)p, zFile, line); in sqliteRealloc_()
223 char *sqliteStrDup_(const char *z, char *zFile, int line){ in sqliteStrDup_() argument
226 zNew = sqliteMalloc_(strlen(z)+1, 0, zFile, line); in sqliteStrDup_()
[all …]
H A Dtclsqlite.c1029 const char *zFile; in DbMain() local
1087 zFile = Tcl_GetStringFromObj(objv[2], 0); in DbMain()
1089 p->db = sqlite_open_encrypted(zFile, pKey, nKey, 0, &zErrMsg); in DbMain()
1091 p->db = sqlite_open(zFile, mode, &zErrMsg); in DbMain()
H A Dpager.c902 static int sqlitepager_opentemp(char *zFile, OsFile *fd){ in sqlitepager_opentemp() argument
907 sqliteOsTempFileName(zFile); in sqlitepager_opentemp()
908 rc = sqliteOsOpenExclusive(zFile, fd, 1); in sqlitepager_opentemp()