1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Fix a comment in os_unix.c. No code changes.

FossilOrigin-Name: 72813b8ec924b91583c679668f7c4561dff82a02
This commit is contained in:
drh
2013-03-26 18:48:11 +00:00
parent c86e51358b
commit 6c5696381e
3 changed files with 9 additions and 9 deletions

View File

@@ -3107,8 +3107,8 @@ static int unixRead(
);
#endif
/* Deal with as much of this write request as possible by transfering
** data to the memory mapping using memcpy(). */
/* Deal with as much of this read request as possible by transfering
** data from the memory mapping using memcpy(). */
if( offset<pFile->mmapSize ){
if( offset+amt <= pFile->mmapSize ){
memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], amt);