diff options
author | drh <drh@noemail.net> | 2010-07-13 14:48:27 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2010-07-13 14:48:27 +0000 |
commit | 2103245e75a2b3c9eb76af75700f800d718a66a7 (patch) | |
tree | 6044ee8e96098a2847eab3a75cbff01ee65699b4 /src | |
parent | af6ea4e9f9766d96333a76970736d6921c614a65 (diff) | |
download | sqlite-2103245e75a2b3c9eb76af75700f800d718a66a7.tar.gz sqlite-2103245e75a2b3c9eb76af75700f800d718a66a7.zip |
Improved documentation for the SQLITE_ACCESS_* constants that are used
with the xAccess() method of the VFS.
FossilOrigin-Name: 3d4bb65f10ed0297f38e732ce57e5440cba8deef
Diffstat (limited to 'src')
-rw-r--r-- | src/sqlite.h.in | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/sqlite.h.in b/src/sqlite.h.in index 162a4bf3c..5d29de26b 100644 --- a/src/sqlite.h.in +++ b/src/sqlite.h.in @@ -886,13 +886,20 @@ struct sqlite3_vfs { ** With SQLITE_ACCESS_EXISTS, the xAccess method ** simply checks whether the file exists. ** With SQLITE_ACCESS_READWRITE, the xAccess method -** checks whether the file is both readable and writable. +** checks whether the named directory is both readable and writable +** (in other words, if files can be added, removed, and renamed within +** the directory). +** The SQLITE_ACCESS_READWRITE constant is currently used only by the +** [temp_store_directory pragma], though this could change in a future +** release of SQLite. ** With SQLITE_ACCESS_READ, the xAccess method -** checks whether the file is readable. +** checks whether the file is readable. The SQLITE_ACCESS_READ constant is +** currently unused, though it might be used in a future release of +** SQLite. */ #define SQLITE_ACCESS_EXISTS 0 -#define SQLITE_ACCESS_READWRITE 1 -#define SQLITE_ACCESS_READ 2 +#define SQLITE_ACCESS_READWRITE 1 /* Used by PRAGMA temp_store_directory */ +#define SQLITE_ACCESS_READ 2 /* Unused */ /* ** CAPI3REF: Flags for the xShmLock VFS method |