aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2017-06-09 11:43:53 +0000
committerdrh <drh@noemail.net>2017-06-09 11:43:53 +0000
commitc097b309aa9d6d51bc5edfb7e62c14f3af1be72c (patch)
tree18d14ed77c5f22f6848743bee1790bc066310cce /src
parentc5d353fb335ba177494aec6178d22218eb7fb4b3 (diff)
downloadsqlite-c097b309aa9d6d51bc5edfb7e62c14f3af1be72c.tar.gz
sqlite-c097b309aa9d6d51bc5edfb7e62c14f3af1be72c.zip
Update the documentation to make it clear that the table name parameter
to sqlite3_table_column_metadata() may not be NULL. FossilOrigin-Name: 2881ab1ed24ed72760086785bdf224c4e687cf39a02fd349ae13c6e1235e24da
Diffstat (limited to 'src')
-rw-r--r--src/sqlite.h.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sqlite.h.in b/src/sqlite.h.in
index 06445d444..1e4389215 100644
--- a/src/sqlite.h.in
+++ b/src/sqlite.h.in
@@ -5620,7 +5620,9 @@ SQLITE_DEPRECATED void sqlite3_soft_heap_limit(int N);
** ^If the column-name parameter to sqlite3_table_column_metadata() is a
** NULL pointer, then this routine simply checks for the existence of the
** table and returns SQLITE_OK if the table exists and SQLITE_ERROR if it
-** does not.
+** does not. If the table name parameter T in a call to
+** sqlite3_table_column_metadata(X,D,T,C,...) is NULL then the result is
+** undefined behavior.
**
** ^The column is identified by the second, third and fourth parameters to
** this function. ^(The second parameter is either the name of the database