diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-09-26 19:33:26 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-09-26 19:33:26 +0000 |
commit | 846b0826ab7a42791b12cc79bf28bb6045336a11 (patch) | |
tree | 9a3e8c1b7be24c636b9cec28d4f565bedf2a02fd /ext/pdo_sqlite/sqlite/src/os_test.c | |
parent | 15c9f414a6d3ffb65c93f0377d2ecaf6a2dac7d0 (diff) | |
download | php-git-846b0826ab7a42791b12cc79bf28bb6045336a11.tar.gz |
MFH: upgraded bundled libsqlite3 to version 3.2.7
Diffstat (limited to 'ext/pdo_sqlite/sqlite/src/os_test.c')
-rw-r--r-- | ext/pdo_sqlite/sqlite/src/os_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo_sqlite/sqlite/src/os_test.c b/ext/pdo_sqlite/sqlite/src/os_test.c index 8199f5b183..9b1c0e206f 100644 --- a/ext/pdo_sqlite/sqlite/src/os_test.c +++ b/ext/pdo_sqlite/sqlite/src/os_test.c @@ -391,12 +391,12 @@ int sqlite3OsWrite(OsFile *id, const void *pBuf, int amt){ ** Sync the file. First flush the write-cache to disk, then call the ** real sync() function. */ -int sqlite3OsSync(OsFile *id){ +int sqlite3OsSync(OsFile *id, int dataOnly){ int rc; /* printf("SYNC %s (%d blocks)\n", (*id)->zName, (*id)->nBlk); */ rc = writeCache(*id); if( rc!=SQLITE_OK ) return rc; - rc = sqlite3RealSync(&(*id)->fd); + rc = sqlite3RealSync(&(*id)->fd, dataOnly); return rc; } |