mirror of
https://github.com/php/php-src.git
synced 2025-08-21 01:45:16 +02:00
MFH: Upgraded SQLite 2 library in ext/sqlite to 2.8.16
This commit is contained in:
parent
caa9702a5a
commit
7f293b91b4
18 changed files with 271 additions and 189 deletions
|
@ -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.
|
||||
**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue