diff options
Diffstat (limited to 'src/3rdparty/sqlite/btree.c')
-rw-r--r-- | src/3rdparty/sqlite/btree.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/3rdparty/sqlite/btree.c b/src/3rdparty/sqlite/btree.c index c5f077ab3..6b9c6b021 100644 --- a/src/3rdparty/sqlite/btree.c +++ b/src/3rdparty/sqlite/btree.c @@ -308,7 +308,7 @@ struct FreelistInfo { ** than can possibly fit on one page. In the steady state, every apCell[] ** points to memory inside u.aDisk[]. But in the middle of an insert ** operation, some apCell[] entries may temporarily point to data space -** outside of u.aDisk[]. This is a transient situation that is tquickly +** outside of u.aDisk[]. This is a transient situation that is quickly ** resolved. But while it is happening, it is possible for a database ** page to hold as many as two more cells than it might otherwise hold. ** The extra two entries in apCell[] are an allowance for this situation. @@ -772,7 +772,7 @@ static int fileBtreeSetSafetyLevel(Btree *pBt, int level){ /* ** Get a reference to page1 of the database file. This will -** also actquire a readlock on that file. +** also acquire a readlock on that file. ** ** SQLITE_OK is returned on success. If the file is not a ** well-formed database file, then SQLITE_CORRUPT is returned. @@ -997,7 +997,7 @@ static int fileBtreeRollbackCkpt(Btree *pBt){ /* ** Create a new cursor for the BTree whose root is on the page -** iTable. The act of actquiring a cursor gets a read lock on +** iTable. The act of acquiring a cursor gets a read lock on ** the database file. ** ** If wrFlag==0, then the cursor can only be used for reading. @@ -1028,7 +1028,7 @@ static int fileBtreeRollbackCkpt(Btree *pBt){ ** to write. ** ** No checking is done to make sure that page iTable really is the -** root page of a b-tree. If it is not, then the cursor actquired +** root page of a b-tree. If it is not, then the cursor acquired ** will not work correctly. */ static int fileBtreeCursor(Btree *pBt, int iTable, int wrFlag, BtCursor **ppCur){ @@ -3423,7 +3423,7 @@ char *fileBtreeIntegrityCheck(Btree *pBt, int *aRoot, int nRoot){ nRef = *sqlitepager_stats(pBt->pPager); if( lockBtree(pBt)!=SQLITE_OK ){ - return sqliteStrDup("Unable to actquire a read lock on the database"); + return sqliteStrDup("Unable to acquire a read lock on the database"); } sCheck.pBt = pBt; sCheck.pPager = pBt->pPager; |