Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | In test programs, an SQLITE_SCHEMA return is retried repeatedly, not just once. (CVS 1195) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
df3509e13dc05751b7a5af07b57bca44 |
User & Date: | drh 2004-01-21 13:35:14.000 |
Context
2004-01-22
| ||
23:38 | Fix typo. Ticket #577. (CVS 1196) (check-in: 3dc9519519 user: drh tags: trunk) | |
2004-01-21
| ||
13:35 | In test programs, an SQLITE_SCHEMA return is retried repeatedly, not just once. (CVS 1195) (check-in: df3509e13d user: drh tags: trunk) | |
2004-01-20
| ||
11:54 | Make ATTACH and DETACH work with the non-callback API. Ticket #574. (CVS 1194) (check-in: c32a80fe3c user: drh tags: trunk) | |
Changes
Changes to test/threadtest1.c.
︙ | ︙ | |||
140 141 142 143 144 145 146 | char *zErrMsg = 0; va_list ap; va_start(ap, zFormat); zSql = sqlite_vmprintf(zFormat, ap); va_end(ap); if( verbose ) printf("EXEC %s: %s\n", zFile, zSql); rc = sqlite_exec(db, zSql, 0, 0, &zErrMsg); | | | 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 | char *zErrMsg = 0; va_list ap; va_start(ap, zFormat); zSql = sqlite_vmprintf(zFormat, ap); va_end(ap); if( verbose ) printf("EXEC %s: %s\n", zFile, zSql); rc = sqlite_exec(db, zSql, 0, 0, &zErrMsg); while( rc==SQLITE_SCHEMA ){ if( zErrMsg ) free(zErrMsg); rc = sqlite_exec(db, zSql, 0, 0, &zErrMsg); } if( verbose ) printf("DONE %s: %s\n", zFile, zSql); if( zErrMsg ){ fprintf(stdout,"%s: command failed: %s - %s\n", zFile, zSql, zErrMsg); free(zErrMsg); |
︙ | ︙ |