Fix a line in pcache1.c where a global data structure is accessed without using the GLOBAL() macro. This causes a subtle malfunction on test systems that use SQLITE_OMIT_WSD.

FossilOrigin-Name: b11b2e1f8ccadf78bebe2278f05a8e3d3e543328
This commit is contained in:
dan
2011-06-09 17:53:43 +00:00
parent 55a0959a18
commit 9dde7cbbad
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -574,7 +574,7 @@ static sqlite3_pcache *pcache1Create(int szPage, int bPurgeable){
pGroup = (PGroup*)&pCache[1];
pGroup->mxPinned = 10;
}else{
pGroup = &pcache1_g.grp;
pGroup = &pcache1.grp;
}
pCache->pGroup = pGroup;
pCache->szPage = szPage;