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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user