aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2007-03-19 05:54:48 +0000
committerdanielk1977 <danielk1977@noemail.net>2007-03-19 05:54:48 +0000
commitb472117c1197f6f6978ed3d88ffa3b3aa4537f29 (patch)
tree25c445fdd78fe960e60d48e383ef4fee196a26c3 /src/os_unix.c
parent8d3921772ff07fe1fa46bc5a566055a6654251af (diff)
downloadsqlite-b472117c1197f6f6978ed3d88ffa3b3aa4537f29.tar.gz
sqlite-b472117c1197f6f6978ed3d88ffa3b3aa4537f29.zip
Add new OS file method to return the sector-size of the underlying storage: sqlite3OsSectorSize() (CVS 3700)
FossilOrigin-Name: 5752d84d374205e011d49b0221d6237967fe0743
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 5508240fe..42d988403 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -2355,6 +2355,7 @@ static const IoMethod sqlite3UnixIoMethod = {
unixUnlock,
unixLockState,
unixCheckReservedLock,
+ osGenericSectorSize,
};
#ifdef SQLITE_ENABLE_LOCKING_STYLE
@@ -2377,6 +2378,7 @@ static const IoMethod sqlite3AFPLockingUnixIoMethod = {
afpUnixUnlock,
unixLockState,
afpUnixCheckReservedLock,
+ osGenericSectorSize,
};
/*
@@ -2398,6 +2400,7 @@ static const IoMethod sqlite3FlockLockingUnixIoMethod = {
flockUnixUnlock,
unixLockState,
flockUnixCheckReservedLock,
+ osGenericSectorSize,
};
/*
@@ -2419,6 +2422,7 @@ static const IoMethod sqlite3DotlockLockingUnixIoMethod = {
dotlockUnixUnlock,
unixLockState,
dotlockUnixCheckReservedLock,
+ osGenericSectorSize,
};
/*
@@ -2440,6 +2444,7 @@ static const IoMethod sqlite3NolockLockingUnixIoMethod = {
nolockUnixUnlock,
unixLockState,
nolockUnixCheckReservedLock,
+ osGenericSectorSize,
};
#endif /* SQLITE_ENABLE_LOCKING_STYLE */