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

Unified Diff: third_party/sqlite/sqlite-src-3080704/src/test5.c

Issue 883353008: [sql] Import reference version of SQLite 3.8.7.4. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hold back encoding change which is messing up patch. Created 5 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-3080704/src/test5.c
diff --git a/third_party/sqlite/sqlite-src-3070603/src/test5.c b/third_party/sqlite/sqlite-src-3080704/src/test5.c
similarity index 98%
copy from third_party/sqlite/sqlite-src-3070603/src/test5.c
copy to third_party/sqlite/sqlite-src-3080704/src/test5.c
index 504fdb8a979e527c51bd5af41d7ba0f387cb5f83..952e3325e5f4cf02f413bc9fb8d2b015c1abc7be 100644
--- a/third_party/sqlite/sqlite-src-3070603/src/test5.c
+++ b/third_party/sqlite/sqlite-src-3080704/src/test5.c
@@ -64,7 +64,6 @@ static int test_value_overhead(
int repeat_count;
int i;
Mem val;
- const char *zVal;
if( objc!=3 ){
Tcl_AppendResult(interp, "wrong # args: should be \"",
@@ -77,12 +76,11 @@ static int test_value_overhead(
val.flags = MEM_Str|MEM_Term|MEM_Static;
val.z = "hello world";
- val.type = SQLITE_TEXT;
val.enc = SQLITE_UTF8;
for(i=0; i<repeat_count; i++){
if( do_calls ){
- zVal = (char*)sqlite3_value_text(&val);
+ sqlite3_value_text(&val);
}
}
« no previous file with comments | « third_party/sqlite/sqlite-src-3080704/src/test4.c ('k') | third_party/sqlite/sqlite-src-3080704/src/test6.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698