diff options
author | drh <> | 2024-08-18 09:53:37 +0000 |
---|---|---|
committer | drh <> | 2024-08-18 09:53:37 +0000 |
commit | 901b6714555f90ac38421cc5b97e532367e9bccb (patch) | |
tree | 5f9e117cdf7e84be9019ccf5e8281453d5f5936a /src/os_unix.c | |
parent | 21363ac78df6751655c33372a7277512531b9570 (diff) | |
download | sqlite-901b6714555f90ac38421cc5b97e532367e9bccb.tar.gz sqlite-901b6714555f90ac38421cc5b97e532367e9bccb.zip |
Automatically disable directory fsync when compiling for AIX.
FossilOrigin-Name: 8d170e07e20c21a5bb97fdc8c2d01d92178f5fe740e60d203e4621747cfce33e
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index c94c0c111..5d1dc9ac6 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -322,7 +322,7 @@ static pid_t randomnessPid = 0; #define UNIXFILE_EXCL 0x01 /* Connections from one process only */ #define UNIXFILE_RDONLY 0x02 /* Connection is read only */ #define UNIXFILE_PERSIST_WAL 0x04 /* Persistent WAL mode */ -#ifndef SQLITE_DISABLE_DIRSYNC +#if !defined(SQLITE_DISABLE_DIRSYNC) && !defined(_AIX) # define UNIXFILE_DIRSYNC 0x08 /* Directory sync needed */ #else # define UNIXFILE_DIRSYNC 0x00 |