aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2011-11-17 11:49:58 +0000
committerdrh <drh@noemail.net>2011-11-17 11:49:58 +0000
commit21495ba8a3d6079f55379eefbf8ed0567c51187c (patch)
tree93efb377c082ce74fe3e17729cecf127a07d7905 /src
parent070ad6b6fee996e639fd31e5189c8319407e343f (diff)
downloadsqlite-21495ba8a3d6079f55379eefbf8ed0567c51187c.tar.gz
sqlite-21495ba8a3d6079f55379eefbf8ed0567c51187c.zip
Improvements to the documentation of the sqlite3_db_filename() interface.
FossilOrigin-Name: 1c45b2a0c055f6fc5da9d00ae2e9171099d904d4
Diffstat (limited to 'src')
-rw-r--r--src/sqlite.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sqlite.h.in b/src/sqlite.h.in
index f70893a3d..75241da42 100644
--- a/src/sqlite.h.in
+++ b/src/sqlite.h.in
@@ -4381,6 +4381,11 @@ sqlite3 *sqlite3_db_handle(sqlite3_stmt*);
** has the name "main". If there is no attached database N on the database
** connection D, or if database N is a temporary or in-memory database, then
** a NULL pointer is returned.
+**
+** ^The filename returned by this function is the output of the
+** xFullPathname method of the [VFS]. ^In other words, the filename
+** will be an absolute pathname, even if the filename used
+** to open the database originally was a URI or relative pathname.
*/
const char *sqlite3_db_filename(sqlite3 *db, const char *zDbName);