diff options
author | drh <drh@noemail.net> | 2008-03-19 14:15:34 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2008-03-19 14:15:34 +0000 |
commit | 2fa1868fb66e5fe5a18e0285d89b806a1d9e69da (patch) | |
tree | 1308b13088bb8b0f3b336c059427bb1047c85fce /src/fault.c | |
parent | 345331507f739053898f764364b5ce3e1d98fd03 (diff) | |
download | sqlite-2fa1868fb66e5fe5a18e0285d89b806a1d9e69da.tar.gz sqlite-2fa1868fb66e5fe5a18e0285d89b806a1d9e69da.zip |
Add a new api sqlite3_randomness() for providing access to SQLite's
internal PRNG. Add sqlite3_test_control() verbs for controlling the PRNG. (CVS 4882)
FossilOrigin-Name: 15110ea02768bfe977a57eccd6b941a36ebd6b32
Diffstat (limited to 'src/fault.c')
-rw-r--r-- | src/fault.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fault.c b/src/fault.c index 4cc369eec..af7702ec9 100644 --- a/src/fault.c +++ b/src/fault.c @@ -19,7 +19,7 @@ ** allocation failures or I/O errors. ** ** The fault injector is omitted from the code if SQLite is -** compiled with -DSQLITE_OMIT_FAULTINJECTOR=1. There is a very +** compiled with -DSQLITE_OMIT_TESTLOGIC=1. There is a very ** small performance hit for leaving the fault injector in the code. ** Commerical products will probably want to omit the fault injector ** from production builds. But safety-critical systems who work @@ -28,7 +28,7 @@ */ #include "sqliteInt.h" -#ifndef SQLITE_OMIT_FAULTINJECTOR +#ifndef SQLITE_OMIT_TESTLOGIC /* ** There can be various kinds of faults. For example, there can be @@ -144,4 +144,4 @@ int sqlite3FaultStep(int id){ return 1; } -#endif /* SQLITE_OMIT_FAULTINJECTOR */ +#endif /* SQLITE_OMIT_TESTLOGIC */ |