1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Remove an obsolete comment from the pager. No code changes.

FossilOrigin-Name: 36f97ca8874a03ac8699f44fe0da95b0be507cc7
This commit is contained in:
drh
2016-04-25 19:28:34 +00:00
parent 835f22deda
commit 6c96358601
3 changed files with 8 additions and 11 deletions

View File

@@ -1820,10 +1820,7 @@ static void pager_unlock(Pager *pPager){
** trusted. Now that there are no outstanding references to the pager,
** it can safely move back to PAGER_OPEN state. This happens in both
** normal and exclusive-locking mode.
**
** Exception: There is no way out of the error state for temp files.
** This is because it is not possible to call pager_reset() on a temp
** file pager (as this may discard the only copy of some data). */
*/
assert( pPager->errCode==SQLITE_OK || !MEMDB );
if( pPager->errCode ){
if( pPager->tempFile==0 ){