aboutsummaryrefslogtreecommitdiff
path: root/src/pragma.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2015-03-06 04:37:26 +0000
committerdrh <drh@noemail.net>2015-03-06 04:37:26 +0000
commit8dd7a6a9258dda2339b85c993f30f682ad84e21f (patch)
tree7d4cef41ed82fab9cb05d3eaae152a2628dc54a8 /src/pragma.c
parent0266c05fcbff4063f3a83dad05e6b6a2235e7c38 (diff)
downloadsqlite-8dd7a6a9258dda2339b85c993f30f682ad84e21f.tar.gz
sqlite-8dd7a6a9258dda2339b85c993f30f682ad84e21f.zip
Clearification of some documentation text. Added requirements marks.
FossilOrigin-Name: 8c1e85aab9e0d90726057e25e2ea0663341c070f
Diffstat (limited to 'src/pragma.c')
-rw-r--r--src/pragma.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/pragma.c b/src/pragma.c
index 875d9ec00..ef11d5840 100644
--- a/src/pragma.c
+++ b/src/pragma.c
@@ -317,6 +317,17 @@ void sqlite3Pragma(
/* Send an SQLITE_FCNTL_PRAGMA file-control to the underlying VFS
** connection. If it returns SQLITE_OK, then assume that the VFS
** handled the pragma and generate a no-op prepared statement.
+ **
+ ** IMPLEMENTATION-OF: R-12238-55120 Whenever a PRAGMA statement is parsed,
+ ** an SQLITE_FCNTL_PRAGMA file control is sent to the open sqlite3_file
+ ** object corresponding to the database file to which the pragma
+ ** statement refers.
+ **
+ ** IMPLEMENTATION-OF: R-29875-31678 The argument to the SQLITE_FCNTL_PRAGMA
+ ** file control is an array of pointers to strings (char**) in which the
+ ** second element of the array is the name of the pragma and the third
+ ** element is the argument to the pragma or NULL if the pragma has no
+ ** argument.
*/
aFcntl[0] = 0;
aFcntl[1] = zLeft;