1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-10-27 08:52:26 +03:00

Additional changes in the pager and os interface layers to fix problems that

might be contributing to recently observed database corruption. (CVS 3549)

FossilOrigin-Name: a593d5743eab12c0f93a7bc436f0d69dfab0c387
This commit is contained in:
drh
2007-01-03 23:36:22 +00:00
parent 1aa2d8b55b
commit bafda0962e
5 changed files with 18 additions and 49 deletions

View File

@@ -1032,6 +1032,7 @@ static int unixRead(OsFile *id, void *pBuf, int amt){
}else if( got<0 ){
return SQLITE_IOERR_READ;
}else{
memset(&((char*)pBuf)[got], 0, amt-got);
return SQLITE_IOERR_SHORT_READ;
}
}