| Index: third_party/sqlite/sqlite-src-3100200/src/test2.c
|
| diff --git a/third_party/sqlite/src/src/test2.c b/third_party/sqlite/sqlite-src-3100200/src/test2.c
|
| similarity index 99%
|
| copy from third_party/sqlite/src/src/test2.c
|
| copy to third_party/sqlite/sqlite-src-3100200/src/test2.c
|
| index 58f271ff27ad8fef64522f416fd53367db663072..d16ba5016a848be952dd718b58ed6ba2b4614153 100644
|
| --- a/third_party/sqlite/src/src/test2.c
|
| +++ b/third_party/sqlite/sqlite-src-3100200/src/test2.c
|
| @@ -310,7 +310,7 @@ static int page_get(
|
| ){
|
| Pager *pPager;
|
| char zBuf[100];
|
| - DbPage *pPage;
|
| + DbPage *pPage = 0;
|
| int pgno;
|
| int rc;
|
| if( argc!=3 ){
|
| @@ -322,7 +322,7 @@ static int page_get(
|
| if( Tcl_GetInt(interp, argv[2], &pgno) ) return TCL_ERROR;
|
| rc = sqlite3PagerSharedLock(pPager);
|
| if( rc==SQLITE_OK ){
|
| - rc = sqlite3PagerGet(pPager, pgno, &pPage);
|
| + rc = sqlite3PagerGet(pPager, pgno, &pPage, 0);
|
| }
|
| if( rc!=SQLITE_OK ){
|
| Tcl_AppendResult(interp, sqlite3ErrName(rc), 0);
|
|
|