diff options
author | dan <dan@noemail.net> | 2009-08-17 15:52:25 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2009-08-17 15:52:25 +0000 |
commit | 3d6e060b48316ddf638e9b496d68d37a5d7c526e (patch) | |
tree | 378d9bb8a035aa346e130385a36c81c93aaf2bb1 /src/os_unix.c | |
parent | 7c7c311da54480a855c4d9ae752e351897c1a521 (diff) | |
download | sqlite-3d6e060b48316ddf638e9b496d68d37a5d7c526e.tar.gz sqlite-3d6e060b48316ddf638e9b496d68d37a5d7c526e.zip |
Move error simulation code from the sqlite3_os_init() functions into a wrapper.
FossilOrigin-Name: 67ad21abf88abb7a3e2eacddcaf1ab5d54149807
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 00bbb538c..cfaf2a2bd 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -5126,13 +5126,6 @@ int sqlite3_os_init(void){ }; unsigned int i; /* Loop counter */ -#ifdef SQLITE_TEST - /* This block is used by test code only to simulate the effect on sqlite - ** of returning an error from within the sqlite3_os_init() function. */ - int sqlite3TestFailOsInit(void); - if( sqlite3TestFailOsInit() ){ return SQLITE_ERROR; } -#endif - /* Register all VFSes defined in the aVfs[] array */ for(i=0; i<(sizeof(aVfs)/sizeof(sqlite3_vfs)); i++){ sqlite3_vfs_register(&aVfs[i], i==0); |