Lines Matching refs:zFile
175 static char *sqllogFindFile(const char *zFile){ in sqllogFindFile() argument
203 if( n==strlen(zFile) && 0==memcmp(zFile, z, n) ){ in sqllogFindFile()
229 char *zFile /* OUT: Name of attached file */ in sqllogFindAttached() argument
253 memcpy(zFile, zVal2, nVal2+1); in sqllogFindAttached()
293 char zFile[SQLLOG_NAMESZ]; /* Database file name */ in sqllogCopydb() local
298 rc = sqllogFindAttached(p->db, zSearch, zName, zFile); in sqllogCopydb()
301 if( zFile[0]=='\0' ){ in sqllogCopydb()
305 zInit = sqllogFindFile(zFile); in sqllogCopydb()
340 fprintf(fd, "%d %s\n", iDb, zFile); in sqllogCopydb()
429 char zFile[SQLLOG_NAMESZ]; /* Attached database name */ in sqllogTraceDb() local
430 int rc = sqllogFindAttached(db, "main", 0, zFile); in sqllogTraceDb()
432 int nFile = strlen(zFile); in sqllogTraceDb()
439 memcpy(&zFile[nFile], "-sqllog", 8); in sqllogTraceDb()
440 bRet = !access(zFile, F_OK); in sqllogTraceDb()