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

Minor bugs fixed. (CVS 307)

FossilOrigin-Name: 6e7e7dbf8e93d00eced88404aed792fcf9e75b7d
This commit is contained in:
drh
2001-11-09 22:41:44 +00:00
parent ce927065c2
commit 04096485f4
6 changed files with 27 additions and 13 deletions

View File

@@ -130,6 +130,7 @@ static struct lockInfo *findLockInfo(int fd){
struct lockInfo *pInfo;
rc = fstat(fd, &statbuf);
if( rc!=0 ) return 0;
memset(&key, 0, sizeof(key));
key.dev = statbuf.st_dev;
key.ino = statbuf.st_ino;
pInfo = (struct lockInfo*)sqliteHashFind(&lockHash, &key, sizeof(key));