1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-10-25 20:58:26 +03:00

Bug fix: named local variable lockStyle as lockingStyle in SQLITE_ENABLE_LOCKING_STYLE block in allocateUnixFile (CVS 3473)

FossilOrigin-Name: aa0b96c3dfa1d8008cd944281c227604b2ee16d1
This commit is contained in:
aswift
2006-10-11 17:19:46 +00:00
parent 0d6e29b832
commit 108bc320f9
3 changed files with 10 additions and 10 deletions

View File

@@ -2445,7 +2445,7 @@ static int allocateUnixFile(
const char *zFilename, /* Name of the file being opened */
int delFlag /* Delete-on-or-before-close flag */
){
sqlite3LockingStyle lockStyle;
sqlite3LockingStyle lockingStyle;
unixFile *pNew;
unixFile f;
int rc;
@@ -2485,7 +2485,7 @@ static int allocateUnixFile(
return SQLITE_NOMEM;
}else{
*pNew = f;
switch(lockStyle) {
switch(lockingStyle) {
case afpLockingStyle:
/* afp locking uses the file path so it needs to be included in
** the afpLockingContext */