Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Unified Diff: third_party/sqlite/src/src/test2.c

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/src/test1.c ('k') | third_party/sqlite/src/src/test3.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/src/test2.c
diff --git a/third_party/sqlite/src/src/test2.c b/third_party/sqlite/src/src/test2.c
index 58f271ff27ad8fef64522f416fd53367db663072..d16ba5016a848be952dd718b58ed6ba2b4614153 100644
--- a/third_party/sqlite/src/src/test2.c
+++ b/third_party/sqlite/src/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);
« no previous file with comments | « third_party/sqlite/src/src/test1.c ('k') | third_party/sqlite/src/src/test3.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698