]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Improved documentation for the SQLITE_ACCESS_* constants that are used
authordrh <drh@noemail.net>
Tue, 13 Jul 2010 14:48:27 +0000 (14:48 +0000)
committerdrh <drh@noemail.net>
Tue, 13 Jul 2010 14:48:27 +0000 (14:48 +0000)
with the xAccess() method of the VFS.

FossilOrigin-Name: 3d4bb65f10ed0297f38e732ce57e5440cba8deef

manifest
manifest.uuid
src/sqlite.h.in

index 332b5c5abd13dc424c07932aee43c8bfcb57a4d2..6b441a550ff66251a68c0daa97a93de488143d40 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,8 @@
-C Add\sproposed\sinterface\schange\sto\ssqlite.h.in.\sThis\scommit\sbreaks\sthe\sbuild.
-D 2010-07-13T14:33:49
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+C Improved\sdocumentation\sfor\sthe\sSQLITE_ACCESS_*\sconstants\sthat\sare\sused\nwith\sthe\sxAccess()\smethod\sof\sthe\sVFS.
+D 2010-07-13T14:48:27
 F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
 F Makefile.in ec08dc838fd8110fe24c92e5130bcd91cbb1ff2e
 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -170,7 +173,7 @@ F src/resolve.c 1c0f32b64f8e3f555fe1f732f9d6f501a7f05706
 F src/rowset.c 69afa95a97c524ba6faf3805e717b5b7ae85a697
 F src/select.c 4903ff1bbd08b55cbce00ea43c645530de41b362
 F src/shell.c fd4ccdb37c3b68de0623eb938a649e0990710714
-F src/sqlite.h.in 1754955ca803b9479a1c91bc130ed2b2a34881fd
+F src/sqlite.h.in abe351b1a4c32b140b2db0a68224e85690ea5e60
 F src/sqlite3ext.h 69dfb8116af51b84a029cddb3b35062354270c89
 F src/sqliteInt.h 8eb5d1c63fff70ed30f4b861aeaf8485e663129c
 F src/sqliteLimit.h 196e2f83c3b444c4548fc1874f52f84fdbda40f3
@@ -834,10 +837,14 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
 F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
 F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
-P 597d40fa529073123a50ae6afc762c59404f8f5f
-R ec28c223e3c329a098d28619c616593d
-T *branch * experimental
-T *sym-experimental *
-T -sym-trunk *
-U dan
-Z 58b237093868dc094fa68b8a64f2879f
+P 52577bb5e723d8de4fc609286666b581f8d9c746
+R c858da9982d7ccbc52ee004b587c3119
+U drh
+Z 9b0064c7115f9f6527e0f36107e7bcea
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFMPHy+oxKgR168RlERAi4kAJwIB0nNqDnT2kidWrwZhTF/FIEmHgCfZcxg
+GY3yVCZFLW50/Dz5D0SGQsc=
+=vRcP
+-----END PGP SIGNATURE-----
index 551386122d7d5b90e16c6131cc5c630b3cfaa855..9dff117cbf394e08a7257c91cfe39132e5eadc98 100644 (file)
@@ -1 +1 @@
-52577bb5e723d8de4fc609286666b581f8d9c746
\ No newline at end of file
+3d4bb65f10ed0297f38e732ce57e5440cba8deef
\ No newline at end of file
index 162a4bf3cec8df715b08d0196d251cffde17a34b..5d29de26b9f6bb5522e9bfabfa24e415d7cbc218 100644 (file)
@@ -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