MFH: Upgraded SQLite 2 library in ext/sqlite to 2.8.16

This commit is contained in:
Ilia Alshanetsky 2005-09-07 15:11:33 +00:00
parent caa9702a5a
commit 7f293b91b4
18 changed files with 271 additions and 189 deletions

View file

@ -830,7 +830,7 @@ int sqliteOsTempFileName(char *zBuf){
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"0123456789";
int i, j;
char *zDir;
const char *zDir;
char zTempPath[SQLITE_TEMPNAME_SIZE];
if( sqlite_temp_directory==0 ){
GetTempPath(SQLITE_TEMPNAME_SIZE-30, zTempPath);
@ -1116,6 +1116,10 @@ int sqliteOsSeek(OsFile *id, off_t offset){
#endif
}
#ifdef SQLITE_NOSYNC
# define fsync(X) 0
#endif
/*
** Make sure all writes to a particular file are committed to disk.
**