1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

On instruction from DRH, only do malloc failure tests for O/S ops on non-Windows systems. Better test fixture code will be introduced in 3.6.0 to add this coverage back in for Windows. (CVS 5130)

FossilOrigin-Name: e4aab150042bd22868ab02645151cb69a1c02ba0
This commit is contained in:
shane
2008-05-13 19:41:53 +00:00
parent cec3e3eeaa
commit d3638aef0b
4 changed files with 13 additions and 16 deletions

View File

@@ -34,7 +34,7 @@
** sqlite3OsLock()
**
*/
#ifdef SQLITE_TEST
#if defined(SQLITE_TEST) && (OS_WIN==0)
#define DO_OS_MALLOC_TEST if (1) { \
void *pTstAlloc = sqlite3_malloc(10); \
if (!pTstAlloc) return SQLITE_IOERR_NOMEM; \