1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Fix a bug in the locking protocol. (CVS 315)

FossilOrigin-Name: a9db1c12c5a4d5741de0e5eb5aa87c647a5646b8
This commit is contained in:
drh
2001-11-22 00:01:27 +00:00
parent 5a2c2c20af
commit c3a64ba0a6
7 changed files with 41 additions and 27 deletions

View File

@@ -462,8 +462,9 @@ int sqliteOsClose(OsFile id){
}
/*
** Read data from a file into a buffer. Return the number of
** bytes actually read.
** Read data from a file into a buffer. Return SQLITE_OK if all
** bytes were read successfully and SQLITE_IOERR if anything goes
** wrong.
*/
int sqliteOsRead(OsFile id, void *pBuf, int amt){
#if OS_UNIX