Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Show the process-id on log messages from mptester. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
6748a83dc5c02db37ecd963e678c5c69 |
User & Date: | drh 2013-04-11 11:53:45.288 |
Context
2013-04-11
| ||
13:26 | Fix pragma code generation so that it always outputs an OP_Trace opcode so that pragmas are shown in sqlite3_trace() output. (check-in: 663f04bd48 user: drh tags: trunk) | |
11:53 | Show the process-id on log messages from mptester. (check-in: 6748a83dc5 user: drh tags: trunk) | |
01:16 | Have the UNIX VFS issue warnings via sqlite3_log() if a database file is renamed or unlinked or linked to more than one name while the file is open. (check-in: e238dcf918 user: drh tags: trunk) | |
Changes
Changes to mptest/mptest.c.
︙ | |||
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | + + + | ** test script. */ #include "sqlite3.h" #include <stdio.h> #if defined(_WIN32) # define WIN32_LEAN_AND_MEAN # include <windows.h> # include <process.h> # define GETPID _getpid #else # include <unistd.h> # define GETPID getpid #endif #include <stdlib.h> #include <string.h> #include <assert.h> #include <ctype.h> /* The suffix to append to the child command lines, if any */ |
︙ | |||
63 64 65 66 67 68 69 | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | - + | const char *zVfs; /* Name of VFS to use. Often NULL meaning "default" */ char *zDbFile; /* Name of the database */ sqlite3 *db; /* Open connection to database */ char *zErrLog; /* Filename for error log */ FILE *pErrLog; /* Where to write errors */ char *zLog; /* Name of output log file */ FILE *pLog; /* Where to write log messages */ |
︙ | |||
327 328 329 330 331 332 333 | 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 | - + | /* ** SQL error log callback */ static void sqlErrorCallback(void *pArg, int iErrCode, const char *zMsg){ UNUSED_PARAMETER(pArg); if( (iErrCode&0xff)==SQLITE_SCHEMA && g.iTrace<3 ) return; if( g.iTimeout==0 && (iErrCode&0xff)==SQLITE_BUSY && g.iTrace<3 ) return; |
︙ | |||
1185 1186 1187 1188 1189 1190 1191 | 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 | - + + - + + | fprintf(stderr, "SQLite library and header mismatch\n" "Library: %s\n" "Header: %s\n", sqlite3_sourceid(), SQLITE_SOURCE_ID); exit(1); } n = argc-2; |
︙ |