Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix warning in test fixture code. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
0bfcf3bcd77acab48344dde87cecb01e |
User & Date: | shaneh 2010-07-08 16:22:52.000 |
Context
2010-07-08
| ||
16:50 | Merged experimental crashsql() into trunk. (check-in: 01b575ff1a user: shaneh tags: trunk) | |
16:30 | Changes to get crashsql() working on Windows. (Closed-Leaf check-in: 8a5811ea80 user: shaneh tags: experimental) | |
16:22 | Fix warning in test fixture code. (check-in: 0bfcf3bcd7 user: shaneh tags: trunk) | |
16:22 | Fix test case number issue in walcrash.test. (check-in: 6a46e64168 user: shaneh tags: trunk) | |
Changes
Changes to src/test6.c.
︙ | ︙ | |||
167 168 169 170 171 172 173 | } /* ** Wrapper around the sqlite3OsWrite() function that avoids writing to the ** 512 byte block begining at offset PENDING_BYTE. */ static int writeDbFile(CrashFile *p, u8 *z, i64 iAmt, i64 iOff){ | | | 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 | } /* ** Wrapper around the sqlite3OsWrite() function that avoids writing to the ** 512 byte block begining at offset PENDING_BYTE. */ static int writeDbFile(CrashFile *p, u8 *z, i64 iAmt, i64 iOff){ int rc = SQLITE_OK; int iSkip = 0; if( iOff==PENDING_BYTE && (p->flags&SQLITE_OPEN_MAIN_DB) ){ iSkip = 512; } if( (iAmt-iSkip)>0 ){ rc = sqlite3OsWrite(p->pRealFile, &z[iSkip], iAmt-iSkip, iOff+iSkip); } |
︙ | ︙ |