diff options
author | larrybr <larrybr@noemail.net> | 2022-03-10 02:23:43 +0000 |
---|---|---|
committer | larrybr <larrybr@noemail.net> | 2022-03-10 02:23:43 +0000 |
commit | a1d60e6c8c81a72c9bf415a7f27122c010f7d9c3 (patch) | |
tree | 0a40169d86bebaeeed48c53d60cca173e1c5ecba /src | |
parent | 6a51e70c5fb683a1f9c390da5ff7fe5eeaf99676 (diff) | |
download | sqlite-a1d60e6c8c81a72c9bf415a7f27122c010f7d9c3.tar.gz sqlite-a1d60e6c8c81a72c9bf415a7f27122c010f7d9c3.zip |
Mention that sqlite3_column_text16() returns have native endianness
FossilOrigin-Name: 25b7f88fcb2bb1908abde109c1167c462efbb156b4a8a8f94d36202bd93ea433
Diffstat (limited to 'src')
-rw-r--r-- | src/sqlite.h.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sqlite.h.in b/src/sqlite.h.in index 97ffcd88c..c82c0971e 100644 --- a/src/sqlite.h.in +++ b/src/sqlite.h.in @@ -4979,6 +4979,10 @@ int sqlite3_data_count(sqlite3_stmt *pStmt); ** even empty strings, are always zero-terminated. ^The return ** value from sqlite3_column_blob() for a zero-length BLOB is a NULL pointer. ** +** ^Strings returned by sqlite3_column_text16() always have the endianness +** which is native to the platform, regardless of the text encoding set +** for the database. +** ** <b>Warning:</b> ^The object returned by [sqlite3_column_value()] is an ** [unprotected sqlite3_value] object. In a multithreaded environment, ** an unprotected sqlite3_value object may only be used safely with @@ -4992,7 +4996,7 @@ int sqlite3_data_count(sqlite3_stmt *pStmt); ** [application-defined SQL functions] or [virtual tables], not within ** top-level application code. ** -** The these routines may attempt to convert the datatype of the result. +** These routines may attempt to convert the datatype of the result. ** ^For example, if the internal representation is FLOAT and a text result ** is requested, [sqlite3_snprintf()] is used internally to perform the ** conversion automatically. ^(The following table details the conversions |