1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Modify pcache.c to work with OMIT_WSD. (CVS 5659)

FossilOrigin-Name: 44def90d1bd4e37ab162e16f83e23d32e86b78ab
This commit is contained in:
danielk1977
2008-09-02 09:38:06 +00:00
parent 78f82d1e6c
commit 5b775295f0
5 changed files with 94 additions and 87 deletions

View File

@@ -9,7 +9,7 @@
** May you share freely, never taking more than you give.
**
*************************************************************************
** $Id: btree.c,v 1.506 2008/09/02 00:52:52 drh Exp $
** $Id: btree.c,v 1.507 2008/09/02 09:38:07 danielk1977 Exp $
**
** This file implements a external (disk-based) database using BTrees.
** See the header comment on "btreeInt.h" for additional information.
@@ -62,7 +62,7 @@ static SQLITE_WSD int sqlite3SharedCacheEnabled = 0;
** sqlite3_open(), sqlite3_open16(), or sqlite3_open_v2().
*/
int sqlite3_enable_shared_cache(int enable){
GLOBAL(int,sqlite3SharedCacheEnabled) = enable;
GLOBAL(int, sqlite3SharedCacheEnabled) = enable;
return SQLITE_OK;
}
#endif