| 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) */
|
|
|