aboutsummaryrefslogtreecommitdiff
path: root/src/test_async.c
diff options
context:
space:
mode:
authorshane <shane@noemail.net>2009-03-05 04:20:31 +0000
committershane <shane@noemail.net>2009-03-05 04:20:31 +0000
commitbe21779385d54062ff3b75c2e4881c986d7798a5 (patch)
tree93f4b028f27c7fc03bf78fbbc9b0d17d0e23e8a6 /src/test_async.c
parentc0688ea1728706ba6812f9b21384ad413a09eca2 (diff)
downloadsqlite-be21779385d54062ff3b75c2e4881c986d7798a5.tar.gz
sqlite-be21779385d54062ff3b75c2e4881c986d7798a5.zip
Corrected typos and misspellings. Ticket #3702. (CVS 6336)
FossilOrigin-Name: 6404afa0c515a6536fc2e878d4fb451e4dc06942
Diffstat (limited to 'src/test_async.c')
-rw-r--r--src/test_async.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test_async.c b/src/test_async.c
index 44e445ea1..011a8aa0d 100644
--- a/src/test_async.c
+++ b/src/test_async.c
@@ -10,7 +10,7 @@
**
*************************************************************************
**
-** $Id: test_async.c,v 1.48 2008/09/26 20:02:50 drh Exp $
+** $Id: test_async.c,v 1.49 2009/03/05 04:20:32 shane Exp $
**
** This file contains an example implementation of an asynchronous IO
** backend for SQLite.
@@ -280,7 +280,7 @@ static struct TestAsyncStaticData {
volatile int ioDelay; /* Extra delay between write operations */
volatile int writerHaltWhenIdle; /* Writer thread halts when queue empty */
volatile int writerHaltNow; /* Writer thread halts after next op */
- int ioError; /* True if an IO error has occured */
+ int ioError; /* True if an IO error has occurred */
int nFile; /* Number of open files (from sqlite pov) */
} async = {
PTHREAD_MUTEX_INITIALIZER,
@@ -1564,12 +1564,12 @@ static void *asyncWriterThread(void *pIsStarted){
}
assert( holdingMutex );
- /* An IO error has occured. We cannot report the error back to the
+ /* An IO error has occurred. We cannot report the error back to the
** connection that requested the I/O since the error happened
** asynchronously. The connection has already moved on. There
** really is nobody to report the error to.
**
- ** The file for which the error occured may have been a database or
+ ** The file for which the error occurred may have been a database or
** journal file. Regardless, none of the currently queued operations
** associated with the same database should now be performed. Nor should
** any subsequently requested IO on either a database or journal file