1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Move (almost all) malloc failure test logic from fault.c to test_malloc.c. (CVS 5253)

FossilOrigin-Name: 4ae21e3419ad7e69dd735ca45fdc5a2de93d1840
This commit is contained in:
danielk1977
2008-06-20 11:05:37 +00:00
parent af83758645
commit ef05f2dfe3
6 changed files with 233 additions and 239 deletions

View File

@@ -14,7 +14,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
** $Id: main.c,v 1.453 2008/06/19 18:17:50 danielk1977 Exp $
** $Id: main.c,v 1.454 2008/06/20 11:05:38 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -1763,6 +1763,7 @@ int sqlite3_test_control(int op, ...){
va_list ap;
va_start(ap, op);
switch( op ){
#if 0
/*
** sqlite3_test_control(FAULT_CONFIG, fault_id, nDelay, nRepeat)
**
@@ -1827,6 +1828,7 @@ int sqlite3_test_control(int op, ...){
rc = sqlite3FaultsimInstall(isInstall);
break;
}
#endif
/*
** Save the current state of the PRNG.