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

Unified Diff: third_party/sqlite/sqlite-src-3100200/src/test7.c

Issue 1610543003: [sql] Import reference version of 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
Index: third_party/sqlite/sqlite-src-3100200/src/test7.c
diff --git a/third_party/sqlite/src/src/test7.c b/third_party/sqlite/sqlite-src-3100200/src/test7.c
similarity index 99%
copy from third_party/sqlite/src/src/test7.c
copy to third_party/sqlite/sqlite-src-3100200/src/test7.c
index 93bf1e4898b004ce10dc131a1f4258b8a3f20aaf..6ba3631b41645edf4b052e0f82b219a4d003cadf 100644
--- a/third_party/sqlite/src/src/test7.c
+++ b/third_party/sqlite/sqlite-src-3100200/src/test7.c
@@ -315,7 +315,7 @@ static int tcl_client_argc(
return TCL_ERROR;
}
client_wait(&threadset[i]);
- sprintf(zBuf, "%d", threadset[i].argc);
+ sqlite3_snprintf(sizeof(zBuf), zBuf, "%d", threadset[i].argc);
Tcl_AppendResult(interp, zBuf, 0);
return TCL_OK;
}
« no previous file with comments | « third_party/sqlite/sqlite-src-3100200/src/test6.c ('k') | third_party/sqlite/sqlite-src-3100200/src/test8.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698