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

Unified Diff: third_party/sqlite/src/src/test_server.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/test_schema.c ('k') | third_party/sqlite/src/src/test_stat.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_server.c
diff --git a/third_party/sqlite/src/src/test_server.c b/third_party/sqlite/src/src/test_server.c
index 6862d7c64acd213b6452fd2d1ae16969ad1378d4..ed0818e6f65f27282dc7b1c190ec188c8933002b 100644
--- a/third_party/sqlite/src/src/test_server.c
+++ b/third_party/sqlite/src/src/test_server.c
@@ -10,8 +10,6 @@
**
******************************************************************************
**
-** $Id: test_server.c,v 1.8 2008/06/26 10:41:19 danielk1977 Exp $
-**
** This file contains demonstration code. Nothing in this file gets compiled
** or linked into the SQLite library unless you use a non-standard option:
**
@@ -208,7 +206,7 @@
** and only if the SQLITE_SERVER macro is defined.
*/
#if defined(SQLITE_SERVER) && !defined(SQLITE_OMIT_SHARED_CACHE)
-#if defined(SQLITE_OS_UNIX) && OS_UNIX && SQLITE_THREADSAFE
+#if SQLITE_OS_UNIX && SQLITE_THREADSAFE
/*
** We require only pthreads and the public interface of SQLite.
@@ -455,7 +453,6 @@ void *sqlite3_server(void *NotUsed){
pthread_mutex_unlock(&pMsg->clientMutex);
pthread_cond_signal(&pMsg->clientWakeup);
}
- sqlite3_thread_cleanup();
pthread_mutex_unlock(&g.serverMutex);
return 0;
}
@@ -489,5 +486,5 @@ void sqlite3_server_stop(void){
pthread_mutex_unlock(&g.serverMutex);
}
-#endif /* defined(SQLITE_OS_UNIX) && OS_UNIX && SQLITE_THREADSAFE */
+#endif /* SQLITE_OS_UNIX && SQLITE_THREADSAFE */
#endif /* defined(SQLITE_SERVER) */
« no previous file with comments | « third_party/sqlite/src/src/test_schema.c ('k') | third_party/sqlite/src/src/test_stat.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698