Lines Matching refs:zFile
64 const char *zFile; /* Filename - used for error reporting */
89 fprintf(stdout,"%s: malloc failed\n", pResult->zFile);
105 char **db_query(sqlite *db, const char *zFile, const char *zFormat, ...){
115 sResult.zFile = zFile;
116 if( verbose ) printf("QUERY %s: %s\n", zFile, zSql);
122 if( verbose ) printf("DONE %s %s\n", zFile, zSql);
124 fprintf(stdout,"%s: query failed: %s - %s\n", zFile, zSql, zErrMsg);
140 void db_execute(sqlite *db, const char *zFile, const char *zFormat, ...){
148 if( verbose ) printf("EXEC %s: %s\n", zFile, zSql);
154 if( verbose ) printf("DONE %s: %s\n", zFile, zSql);
156 fprintf(stdout,"%s: command failed: %s - %s\n", zFile, zSql, zErrMsg);
178 void db_check(const char *zFile, const char *zMsg, char **az, ...){
186 zFile, zMsg, i+1, az[i]);
254 char *zFile;
269 zFile = sqlite_mprintf("%d.testdb-%d", i%2+1, (i+2)/2);
270 unlink(zFile);
271 pthread_create(&id, 0, worker_bee, (void*)zFile);