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

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
This commit is contained in:
drh
2010-05-14 20:15:51 +00:00
parent 5c092e8a4f
commit ff59a114bd
3 changed files with 12 additions and 12 deletions

View File

@@ -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;
}