Lines Matching refs:zFile
61 const char *zFile; /* Filename - used for error reporting */ member
86 fprintf(stdout,"%s: malloc failed\n", pResult->zFile); in db_query_callback()
102 char **db_query(sqlite *db, const char *zFile, const char *zFormat, ...){ in db_query() argument
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()
121 fprintf(stdout,"%s: query failed: %s - %s\n", zFile, zSql, zErrMsg); in db_query()
137 void db_execute(sqlite *db, const char *zFile, const char *zFormat, ...){ in db_execute() argument
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()
153 fprintf(stdout,"%s: command failed: %s - %s\n", zFile, zSql, zErrMsg); in db_execute()
175 void db_check(const char *zFile, const char *zMsg, char **az, ...){ in db_check() argument
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()
268 pthread_create(&id, 0, worker_bee, (void*)zFile); in main()