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

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

Issue 6990047: Import SQLite 3.7.6.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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/test9.c ('k') | third_party/sqlite/src/src/test_autoext.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/src/test_async.c
diff --git a/third_party/sqlite/src/src/test_async.c b/third_party/sqlite/src/src/test_async.c
index 52ed94bf3ae9f648a70165b67ffaa7a5c5e8b39c..c760eea1fa2d6ddbec32497a673ec074c3963f90 100644
--- a/third_party/sqlite/src/src/test_async.c
+++ b/third_party/sqlite/src/src/test_async.c
@@ -10,8 +10,6 @@
**
*************************************************************************
**
-** $Id: test_async.c,v 1.62 2009/04/28 13:01:09 drh Exp $
-**
** This file contains a binding of the asynchronous IO extension interface
** (defined in ext/async/sqlite3async.h) to Tcl.
*/
@@ -86,6 +84,7 @@ static Tcl_ThreadCreateType tclWriterThread(ClientData pIsStarted){
*((int *)pIsStarted) = 1;
sqlite3async_run();
Tcl_MutexUnlock(&testasync_g_writerMutex);
+ Tcl_ExitThread(0);
TCL_THREAD_CREATE_RETURN;
}
@@ -230,7 +229,7 @@ static int testAsyncControl(
** of this module.
*/
int Sqlitetestasync_Init(Tcl_Interp *interp){
-#if SQLITE_ENABLE_ASYNCIO
+#ifdef SQLITE_ENABLE_ASYNCIO
Tcl_CreateObjCommand(interp,"sqlite3async_start",testAsyncStart,0,0);
Tcl_CreateObjCommand(interp,"sqlite3async_wait",testAsyncWait,0,0);
« no previous file with comments | « third_party/sqlite/src/src/test9.c ('k') | third_party/sqlite/src/src/test_autoext.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698