diff options
author | stephan <stephan@noemail.net> | 2025-01-24 18:37:55 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2025-01-24 18:37:55 +0000 |
commit | 77731d5ec03b4fecbe615c21bb45e4bc53f64fdf (patch) | |
tree | ff404b79bc5ec37b62987abd19c33f0f4b07e38a /src | |
parent | 079f840e477db79ca73097888949ef1361a55505 (diff) | |
download | sqlite-77731d5ec03b4fecbe615c21bb45e4bc53f64fdf.tar.gz sqlite-77731d5ec03b4fecbe615c21bb45e4bc53f64fdf.zip |
Clarify handling of a NULL for the 2nd argument to sqlite3_serialize(), as pointed out in [forum:3df7168b90|forum post 3df7168b90].
FossilOrigin-Name: 340edbe5540762656b648c18a359ab7039b4a0af15db199fc86317a415e2bafa
Diffstat (limited to 'src')
-rw-r--r-- | src/sqlite.h.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sqlite.h.in b/src/sqlite.h.in index 9a117fa54..b6863b30f 100644 --- a/src/sqlite.h.in +++ b/src/sqlite.h.in @@ -10748,8 +10748,9 @@ SQLITE_EXPERIMENTAL int sqlite3_snapshot_recover(sqlite3 *db, const char *zDb); /* ** CAPI3REF: Serialize a database ** -** The sqlite3_serialize(D,S,P,F) interface returns a pointer to memory -** that is a serialization of the S database on [database connection] D. +** The sqlite3_serialize(D,S,P,F) interface returns a pointer to +** memory that is a serialization of the S database on [database +** connection] D. If S is a NULL pointer, the main database is used. ** If P is not a NULL pointer, then the size of the database in bytes ** is written into *P. ** |