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

Fix a #ifdef involving SQLITE_OS_KV that was adding code unnecessarily.

FossilOrigin-Name: b6c1b6e4a3bc21c40d6faca6f70842df5201f21c96a076a895410660630461c0
This commit is contained in:
drh
2022-11-01 13:12:20 +00:00
parent be44e188e3
commit dddec5cadd
3 changed files with 8 additions and 9 deletions

View File

@@ -3396,7 +3396,7 @@ static int openDatabase(
goto opendb_out;
}
assert( db->pVfs!=0 );
#if defined(SQLITE_OS_KV) || defined(SQLITE_OS_KV_OPTIONAL)
#if SQLITE_OS_KV || defined(SQLITE_OS_KV_OPTIONAL)
if( sqlite3_stricmp(db->pVfs->zName, "kvvfs")==0 ){
db->temp_store = 2;
}