diff options
Diffstat (limited to 'lib/libsqlite3/ext/async')
-rw-r--r-- | lib/libsqlite3/ext/async/README.txt | 8 | ||||
-rw-r--r-- | lib/libsqlite3/ext/async/sqlite3async.c | 3 | ||||
-rw-r--r-- | lib/libsqlite3/ext/async/sqlite3async.h | 4 |
3 files changed, 11 insertions, 4 deletions
diff --git a/lib/libsqlite3/ext/async/README.txt b/lib/libsqlite3/ext/async/README.txt index 05acffe0df6..f62fa2fc17e 100644 --- a/lib/libsqlite3/ext/async/README.txt +++ b/lib/libsqlite3/ext/async/README.txt @@ -1,3 +1,10 @@ +NOTE (2012-11-29): + +The functionality implemented by this extension has been superseded +by WAL-mode. This module is no longer supported or maintained. The +code is retained for historical reference only. + +------------------------------------------------------------------------------ Normally, when SQLite writes to a database file, it waits until the write operation is finished before returning control to the calling application. @@ -161,4 +168,3 @@ the database, eliminating the bottleneck. The functionality required of each of the above functions is described in comments in sqlite3async.c. - diff --git a/lib/libsqlite3/ext/async/sqlite3async.c b/lib/libsqlite3/ext/async/sqlite3async.c index e5023142cfa..9810c56f5a6 100644 --- a/lib/libsqlite3/ext/async/sqlite3async.c +++ b/lib/libsqlite3/ext/async/sqlite3async.c @@ -10,7 +10,7 @@ ** ************************************************************************* ** -** $Id: sqlite3async.c,v 1.1.1.1 2012/04/14 13:13:18 espie Exp $ +** $Id: sqlite3async.c,v 1.1.1.2 2013/03/18 10:45:29 espie Exp $ ** ** This file contains the implementation of an asynchronous IO backend ** for SQLite. @@ -1510,6 +1510,7 @@ static void asyncWriterThread(void){ case ASYNC_DELETE: ASYNC_TRACE(("DELETE %s\n", p->zBuf)); rc = pVfs->xDelete(pVfs, p->zBuf, (int)p->iOffset); + if( rc==SQLITE_IOERR_DELETE_NOENT ) rc = SQLITE_OK; break; case ASYNC_OPENEXCLUSIVE: { diff --git a/lib/libsqlite3/ext/async/sqlite3async.h b/lib/libsqlite3/ext/async/sqlite3async.h index 143cdc7703f..5b20d7189a0 100644 --- a/lib/libsqlite3/ext/async/sqlite3async.h +++ b/lib/libsqlite3/ext/async/sqlite3async.h @@ -75,7 +75,7 @@ int sqlite3async_initialize(const char *zParent, int isDefault); ** On win32 platforms, this function also releases the small number of ** critical section and event objects created by sqlite3async_initialize(). */ -void sqlite3async_shutdown(); +void sqlite3async_shutdown(void); /* ** This function may only be called when the asynchronous IO VFS is @@ -94,7 +94,7 @@ void sqlite3async_shutdown(); ** If multiple simultaneous calls are made to sqlite3async_run() from two ** or more threads, then the calls are serialized internally. */ -void sqlite3async_run(); +void sqlite3async_run(void); /* ** This function may only be called when the asynchronous IO VFS is |