aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2010-05-14 20:15:51 +0000
committerdrh <drh@noemail.net>2010-05-14 20:15:51 +0000
commitff59a114bdf5e105ab184112fa9cc0b1c5b67392 (patch)
treea5bc5c13d18a33a3ea1ee4a576aff4a012ac0fb8 /src/os_unix.c
parent5c092e8a4ff961530bfaccdbc393ee4ab91a982b (diff)
downloadsqlite-ff59a114bdf5e105ab184112fa9cc0b1c5b67392.tar.gz
sqlite-ff59a114bdf5e105ab184112fa9cc0b1c5b67392.zip
Fix a typo that (by bad luck) was not a syntax error but which caused some
important lines of code to be skipped when SQLITE_DEBUG was not used. FossilOrigin-Name: 9ef99d97d25aae81df971d40ad10c544b8f30053
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index b52696803..420623824 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -1426,10 +1426,10 @@ static int closeUnixFile(sqlite3_file *id){
pFile->pId = 0;
}
#endif
- OSTRACE(("CLOSE %-3d\n", pFile->h);
+ OSTRACE(("CLOSE %-3d\n", pFile->h));
OpenCounter(-1);
sqlite3_free(pFile->pUnused);
- memset(pFile, 0, sizeof(unixFile)));
+ memset(pFile, 0, sizeof(unixFile));
}
return SQLITE_OK;
}