Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libsqlite/test/
H A Dthreadtest1.c64 const char *zFile; /* Filename - used for error reporting */ member
89 fprintf(stdout,"%s: malloc failed\n", pResult->zFile); in db_query_callback()
105 char **db_query(sqlite *db, const char *zFile, const char *zFormat, ...){ in db_query() argument
115 sResult.zFile = zFile; in db_query()
116 if( verbose ) printf("QUERY %s: %s\n", zFile, zSql); in db_query()
122 if( verbose ) printf("DONE %s %s\n", zFile, zSql); in db_query()
124 fprintf(stdout,"%s: query failed: %s - %s\n", zFile, zSql, zErrMsg); in db_query()
140 void db_execute(sqlite *db, const char *zFile, const char *zFormat, ...){ in db_execute() argument
148 if( verbose ) printf("EXEC %s: %s\n", zFile, zSql); in db_execute()
154 if( verbose ) printf("DONE %s: %s\n", zFile, zSql); in db_execute()
[all …]
/titanic_41/usr/src/lib/libsqlite/src/
H A Dattach.c32 char *zFile, *zName; in sqliteAttach() local
53 zFile = 0; in sqliteAttach()
54 sqliteSetNString(&zFile, pFilename->z, pFilename->n, 0); in sqliteAttach()
55 if( zFile==0 ) return; in sqliteAttach()
56 sqliteDequote(zFile); in sqliteAttach()
58 if( sqliteAuthCheck(pParse, SQLITE_ATTACH, zFile, 0, 0)!=SQLITE_OK ){ in sqliteAttach()
59 sqliteFree(zFile); in sqliteAttach()
72 sqliteFree(zFile); in sqliteAttach()
93 rc = sqliteBtreeFactory(db, zFile, 0, MAX_PAGES, &aNew->pBt); in sqliteAttach()
95 sqliteErrorMsg(pParse, "unable to open database: %s", zFile); in sqliteAttach()
[all …]
H A Dcopy.c43 char *zFile = 0; in sqliteCopy() local
52 zFile = sqliteStrNDup(pFilename->z, pFilename->n); in sqliteCopy()
53 sqliteDequote(zFile); in sqliteCopy()
57 || sqliteAuthCheck(pParse, SQLITE_COPY, pTab->zName, zFile, zDb) ){ in sqliteCopy()
111 sqliteFree(zFile); in sqliteCopy()
H A Dutil.c58 void *sqliteMalloc_(int n, int bZero, char *zFile, int line){ in sqliteMalloc_() argument
68 n, zFile,line); in sqliteMalloc_()
89 ++memcnt, n, (int)p, zFile,line); in sqliteMalloc_()
119 void sqliteFree_(void *p, char *zFile, int line){ in sqliteFree_() argument
142 ++memcnt, n, (int)p, zFile,line); in sqliteFree_()
153 void *sqliteRealloc_(void *oldP, int n, char *zFile, int line){ in sqliteRealloc_() argument
157 return sqliteMalloc_(n,1,zFile,line); in sqliteRealloc_()
160 sqliteFree_(oldP,zFile,line); in sqliteRealloc_()
196 ++memcnt, oldN, n, (int)oldP, (int)p, zFile, line); in sqliteRealloc_()
226 char *sqliteStrDup_(const char *z, char *zFile, int line){ in sqliteStrDup_() argument
[all …]
H A Dtclsqlite.c1032 const char *zFile; in DbMain() local
1090 zFile = Tcl_GetStringFromObj(objv[2], 0); in DbMain()
1092 p->db = sqlite_open_encrypted(zFile, pKey, nKey, 0, &zErrMsg); in DbMain()
1094 p->db = sqlite_open(zFile, mode, &zErrMsg); in DbMain()
H A Dpager.c904 static int sqlitepager_opentemp(char *zFile, OsFile *fd){ in sqlitepager_opentemp() argument
909 sqliteOsTempFileName(zFile); in sqlitepager_opentemp()
910 rc = sqliteOsOpenExclusive(zFile, fd, 1); in sqlitepager_opentemp()