new memory barrier before pager assignment
This commit is contained in:
parent
04f71c884f
commit
ec1062a12f
|
@ -957,6 +957,8 @@ static int tdbPagerInitPage(SPager *pPager, SPage *pPage, int (*initPage)(SPage
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tmemory_barrier();
|
||||||
|
|
||||||
pPage->pPager = pPager;
|
pPage->pPager = pPager;
|
||||||
|
|
||||||
TDB_UNLOCK_PAGE(pPage);
|
TDB_UNLOCK_PAGE(pPage);
|
||||||
|
|
Loading…
Reference in New Issue