From 94d1e563607f8aa9dee4e362d02e90b24db96aca Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 26 Sep 2005 19:31:41 +0000 Subject: Update bundled libsqlite3 to version 3.2.7 --- ext/pdo_sqlite/sqlite/src/os_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/pdo_sqlite/sqlite/src/os_test.c') 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; } -- cgit v1.2.1