diff options
author | drh <drh@noemail.net> | 2010-08-31 15:27:32 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2010-08-31 15:27:32 +0000 |
commit | 9f129f467e7961b3225a0ecc37d26cddc9155943 (patch) | |
tree | 9b79e74a77f70b2bb1762e9b2548d1531f4b4d04 /src/vdbeapi.c | |
parent | 18ec96b3a3a138c8e54f4fcc56102f246004ade4 (diff) | |
download | sqlite-9f129f467e7961b3225a0ecc37d26cddc9155943.tar.gz sqlite-9f129f467e7961b3225a0ecc37d26cddc9155943.zip |
Add evidence mark comments to source code. Add additional information to the
documentation of sqlite3_release_memory(). Fix a minor inefficiency in mem1.c
that was discovered while writing requirements tests.
FossilOrigin-Name: 53b0c03fd33d2d8141fd386de5493fec64456042
Diffstat (limited to 'src/vdbeapi.c')
-rw-r--r-- | src/vdbeapi.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vdbeapi.c b/src/vdbeapi.c index afb4a1b6e..256828e80 100644 --- a/src/vdbeapi.c +++ b/src/vdbeapi.c @@ -495,6 +495,12 @@ void *sqlite3_user_data(sqlite3_context *p){ /* ** Extract the user data from a sqlite3_context structure and return a ** pointer to it. +** +** IMPLEMENTATION-OF: R-46798-50301 The sqlite3_context_db_handle() interface +** returns a copy of the pointer to the database connection (the 1st +** parameter) of the sqlite3_create_function() and +** sqlite3_create_function16() routines that originally registered the +** application defined function. */ sqlite3 *sqlite3_context_db_handle(sqlite3_context *p){ assert( p && p->pFunc ); |