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

Unified Diff: third_party/sqlite/sqlite-src-3080704/src/test_async.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/test_async.c
diff --git a/third_party/sqlite/sqlite-src-3070603/src/test_async.c b/third_party/sqlite/sqlite-src-3080704/src/test_async.c
similarity index 96%
copy from third_party/sqlite/sqlite-src-3070603/src/test_async.c
copy to third_party/sqlite/sqlite-src-3080704/src/test_async.c
index c760eea1fa2d6ddbec32497a673ec074c3963f90..b0b943185bfc23c17fd08f55768cac12a9f56951 100644
--- a/third_party/sqlite/sqlite-src-3070603/src/test_async.c
+++ b/third_party/sqlite/sqlite-src-3080704/src/test_async.c
@@ -23,8 +23,8 @@
#include "sqlite3.h"
#include <assert.h>
-/* From test1.c */
-const char *sqlite3TestErrorName(int);
+/* From main.c */
+extern const char *sqlite3ErrName(int);
struct TestAsyncGlobal {
@@ -60,7 +60,7 @@ static int testAsyncInit(
rc = sqlite3async_initialize(zParent, isDefault);
if( rc!=SQLITE_OK ){
- Tcl_SetObjResult(interp, Tcl_NewStringObj(sqlite3TestErrorName(rc), -1));
+ Tcl_SetObjResult(interp, Tcl_NewStringObj(sqlite3ErrName(rc), -1));
return TCL_ERROR;
}
return TCL_OK;
@@ -208,7 +208,7 @@ static int testAsyncControl(
}
if( rc!=SQLITE_OK ){
- Tcl_SetObjResult(interp, Tcl_NewStringObj(sqlite3TestErrorName(rc), -1));
+ Tcl_SetObjResult(interp, Tcl_NewStringObj(sqlite3ErrName(rc), -1));
return TCL_ERROR;
}
« no previous file with comments | « third_party/sqlite/sqlite-src-3080704/src/test9.c ('k') | third_party/sqlite/sqlite-src-3080704/src/test_autoext.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698