Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | The uninitialized file descriptor from the unixFile structure is passed to sqlite3DetectLockingStyle in allocateUnixFile rather than the file descriptor passed in. This was causing the locking detection on NFS file systems to behave somewhat randomly and the result was locks were not respected and data loss could occur. (CVS 3508) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
b9dd16ef3df0785d8d0eea9a6f2ad580 |
User & Date: | aswift 2006-11-11 01:31:58.000 |
Context
2006-11-13
| ||
20:15 | Allow backing tables to be missing on dropping fts table. Fixes http://www.sqlite.org/cvstrac/tktview?tn=1992,35 . (CVS 3509) (check-in: 9628a61a6f user: shess tags: trunk) | |
2006-11-11
| ||
01:31 | The uninitialized file descriptor from the unixFile structure is passed to sqlite3DetectLockingStyle in allocateUnixFile rather than the file descriptor passed in. This was causing the locking detection on NFS file systems to behave somewhat randomly and the result was locks were not respected and data loss could occur. (CVS 3508) (check-in: b9dd16ef3d user: aswift tags: trunk) | |
2006-11-09
| ||
15:18 | Update the documentation to talk about the new sqlite3_prepare_v2() API. (CVS 3507) (check-in: d9e14b6121 user: drh tags: trunk) | |
Changes
Changes to src/os_unix.c.
︙ | ︙ | |||
2446 2447 2448 2449 2450 2451 2452 | int delFlag /* Delete-on-or-before-close flag */ ){ sqlite3LockingStyle lockingStyle; unixFile *pNew; unixFile f; int rc; | | | 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 | int delFlag /* Delete-on-or-before-close flag */ ){ sqlite3LockingStyle lockingStyle; unixFile *pNew; unixFile f; int rc; lockingStyle = sqlite3DetectLockingStyle(zFilename, h); if ( lockingStyle == posixLockingStyle ) { sqlite3OsEnterMutex(); rc = findLockInfo(h, &f.pLock, &f.pOpen); sqlite3OsLeaveMutex(); if( rc ){ close(h); unlink(zFilename); |
︙ | ︙ |