Ensure temporary files are deleted when they are closed. (CVS 4277)
FossilOrigin-Name: cf4e3c158aa71afc91f263a314c2e750d191fb41
This commit is contained in:
parent
f8940aefb6
commit
863c0f9b87
12
manifest
12
manifest
@ -1,5 +1,5 @@
|
||||
C Add\ssome\sfurther\stests\sand\sa\sbugfix\sfor\sthe\satomic-write\soptimization.\s(CVS\s4276)
|
||||
D 2007-08-23T11:07:10
|
||||
C Ensure\stemporary\sfiles\sare\sdeleted\swhen\sthey\sare\sclosed.\s(CVS\s4277)
|
||||
D 2007-08-23T11:47:59
|
||||
F Makefile.in 0c0e53720f658c7a551046442dd7afba0b72bfbe
|
||||
F Makefile.linux-gcc 65241babba6faf1152bf86574477baab19190499
|
||||
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
|
||||
@ -115,7 +115,7 @@ F src/os_unix.c 3ff776e03535b64df12dcc272a913a52d69f3e4a
|
||||
F src/os_unix.h 5768d56d28240d3fe4537fac08cc85e4fb52279e
|
||||
F src/os_win.c 29c0e19c1072679a4c7818c49fab2f35d2ad7747
|
||||
F src/os_win.h 41a946bea10f61c158ce8645e7646b29d44f122b
|
||||
F src/pager.c 7b0eee5f01f26449837f690baca7d929f683609c
|
||||
F src/pager.c 896e95aa2dcb74d5b951a87be4eec811617c835b
|
||||
F src/pager.h 53087c6fb9db01aed17c7fd044662a27507e89b8
|
||||
F src/parse.y 2d2ce439dc6184621fb0b86f4fc5aca7f391a590
|
||||
F src/pragma.c 9b989506a1b7c8aecd6befb8235e2f57a4aba7e5
|
||||
@ -560,7 +560,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
|
||||
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
|
||||
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
|
||||
F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
|
||||
P e2cc7b4a3476a733b2701546f6b4ec9abc18152b
|
||||
R 98112005a7fda39581e1ca266aa94e0a
|
||||
P 5f0fb894f44069c4aa9b8dba62b4d8a262c991de
|
||||
R 22b54f8709250bd737f996dad2021c82
|
||||
U danielk1977
|
||||
Z 5d888b8b25790997a283d2df12c0d28a
|
||||
Z fa59609801ef669b738463099d997068
|
||||
|
@ -1 +1 @@
|
||||
5f0fb894f44069c4aa9b8dba62b4d8a262c991de
|
||||
cf4e3c158aa71afc91f263a314c2e750d191fb41
|
@ -18,7 +18,7 @@
|
||||
** file simultaneously, or one process from reading the database while
|
||||
** another is writing.
|
||||
**
|
||||
** @(#) $Id: pager.c,v 1.369 2007/08/23 11:07:10 danielk1977 Exp $
|
||||
** @(#) $Id: pager.c,v 1.370 2007/08/23 11:47:59 danielk1977 Exp $
|
||||
*/
|
||||
#ifndef SQLITE_OMIT_DISKIO
|
||||
#include "sqliteInt.h"
|
||||
@ -1798,7 +1798,10 @@ static int sqlite3PagerOpentemp(
|
||||
){
|
||||
int cnt = 8;
|
||||
int rc;
|
||||
int flags = (SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE|SQLITE_OPEN_EXCLUSIVE);
|
||||
int flags = (
|
||||
SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE|
|
||||
SQLITE_OPEN_EXCLUSIVE|SQLITE_OPEN_DELETEONCLOSE
|
||||
);
|
||||
|
||||
char *zFree = 0;
|
||||
if( zNameOut==0 ){
|
||||
|
Loading…
x
Reference in New Issue
Block a user