Home
last modified time | relevance | path

Searched refs:zLog (Results 1 – 8 of 8) sorted by relevance

/sqlite-3.40.0/tool/
H A Dindex_usage.c162 const char *zLog = (const char*)sqlite3_column_text(pStmt, 0); in main() local
164 if( zLog==0 ) continue; in main()
165 zSql = sqlite3_mprintf("EXPLAIN QUERY PLAN %s", zLog); in main()
171 sqlite3_column_int(pStmt, 1), zLog, sqlite3_errmsg(db)); in main()
192 printf("Using %s:\n%s\n", zUsing, zLog); in main()
H A Dspeedtest8inst1.c140 const char *zLog = 0; in main() local
164 zLog = argv[++ii]; in main()
175 if( !zDb || !zScript || !zLog ) goto usage; in main()
183 pInstVfs = sqlite3_instvfs_binarylog("logging", 0, zLog, logdata); in main()
/sqlite-3.40.0/ext/lsm1/lsm-test/
H A Dlsmtest6.c244 char *zLog = testMallocPrintf("%s-log", zFile); in testDeleteLsmdb() local
247 unlink(zLog); in testDeleteLsmdb()
249 testFree(zLog); in testDeleteLsmdb()
318 char *zLog = testMallocPrintf("%s-%s", zFile, zAux); in testSaveDb() local
325 copy_file(zLog, zLogSave, 0); in testSaveDb()
327 testFree(zLog); testFree(zFileSave); testFree(zLogSave); in testSaveDb()
339 char *zLog = testMallocPrintf("%s-%s", zFile, zAux); in testRestoreDb() local
344 copy_file(zLogSave, zLog, 0); in testRestoreDb()
346 testFree(zLog); testFree(zFileSave); testFree(zLogSave); in testRestoreDb()
H A Dlsmtest_tdb4.c707 char *zLog = sqlite3_mprintf("%s-wal", zFilename); in test_bt_open() local
709 unlink(zLog); in test_bt_open()
710 sqlite3_free(zLog); in test_bt_open()
/sqlite-3.40.0/src/
H A Dtest_sqllog.c370 char *zLog; in sqllogOpenlog() local
390 zLog = sqlite3_mprintf("%s_%05d.sql", sqllogglobal.zPrefix, p->iLog); in sqllogOpenlog()
391 p->fd = fopen(zLog, "w"); in sqllogOpenlog()
392 sqlite3_free(zLog); in sqllogOpenlog()
H A Dtest_osinst.c713 const char *zLog /* Log file name */ in sqlite3_vfslog_new() argument
741 pParent->xFullPathname(pParent, zLog, pParent->mxPathname, zFile); in sqlite3_vfslog_new()
1174 char *zLog; in test_vfslog() local
1181 zLog = Tcl_GetString(objv[4]); in test_vfslog()
1183 rc = sqlite3_vfslog_new(zVfs, zParent, zLog); in test_vfslog()
/sqlite-3.40.0/mptest/
H A Dmptest.c79 char *zLog; /* Name of output log file */ member
227 if( g.pErrLog && safe_strcmp(g.zErrLog,g.zLog) ){ in errorMessage()
254 if( g.pErrLog && safe_strcmp(g.zErrLog,g.zLog) ){ in fatalError()
1316 g.zLog = findOption(argv+2, &n, "log", 1); in main()
1329 if( g.zLog ){ in main()
1330 g.pLog = fopen(g.zLog, "a"); in main()
/sqlite-3.40.0/ext/lsm1/
H A Dlsm_file.c215 char *zLog; /* Database file name */ member
560 const char *zPath = (bLog ? pFS->zLog : pFS->zDb); in fsOpenFile()
636 pFS->zLog = &pFS->zDb[nDb+1]; in lsmFsOpen()
646 memcpy(pFS->zLog, zDb, nDb); in lsmFsOpen()
647 memcpy(&pFS->zLog[nDb], "-log", 5); in lsmFsOpen()