1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Fix #ifdefs so it compiles cleanly with all SQLITE_OMIT compile-time options.

Update compile-time option testing.

FossilOrigin-Name: 7584e4b649d57767aac3906da6b06549d5b772aaa69f469c623ae5da834d54d5
This commit is contained in:
drh
2020-01-17 19:14:08 +00:00
parent 915530dcc8
commit ef9f719d0b
9 changed files with 40 additions and 17 deletions

View File

@@ -3904,6 +3904,7 @@ int sqlite3_test_control(int op, ...){
** This test-control also resets the PRNG so that the new seed will
** be used for the next call to sqlite3_randomness().
*/
#ifndef SQLITE_OMIT_WSD
case SQLITE_TESTCTRL_PRNG_SEED: {
int x = va_arg(ap, int);
int y;
@@ -3914,6 +3915,7 @@ int sqlite3_test_control(int op, ...){
sqlite3_randomness(0,0);
break;
}
#endif
/*
** sqlite3_test_control(BITVEC_TEST, size, program)