summaryrefslogtreecommitdiff
path: root/c/sqlite3.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/sqlite3.h')
-rw-r--r--c/sqlite3.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/c/sqlite3.h b/c/sqlite3.h
index 34636b9..33dbec2 100644
--- a/c/sqlite3.h
+++ b/c/sqlite3.h
@@ -146,9 +146,9 @@ extern "C" {
146** [sqlite3_libversion_number()], [sqlite3_sourceid()], 146** [sqlite3_libversion_number()], [sqlite3_sourceid()],
147** [sqlite_version()] and [sqlite_source_id()]. 147** [sqlite_version()] and [sqlite_source_id()].
148*/ 148*/
149#define SQLITE_VERSION "3.38.0" 149#define SQLITE_VERSION "3.38.2"
150#define SQLITE_VERSION_NUMBER 3038000 150#define SQLITE_VERSION_NUMBER 3038002
151#define SQLITE_SOURCE_ID "2022-02-22 18:58:40 40fa792d359f84c3b9e9d6623743e1a59826274e221df1bde8f47086968a1bab" 151#define SQLITE_SOURCE_ID "2022-03-26 13:51:10 d33c709cc0af66bc5b6dc6216eba9f1f0b40960b9ae83694c986fbf4c1d6f08f"
152 152
153/* 153/*
154** CAPI3REF: Run-Time Library Version Numbers 154** CAPI3REF: Run-Time Library Version Numbers
@@ -4979,6 +4979,10 @@ SQLITE_API int sqlite3_data_count(sqlite3_stmt *pStmt);
4979** even empty strings, are always zero-terminated. ^The return 4979** even empty strings, are always zero-terminated. ^The return
4980** value from sqlite3_column_blob() for a zero-length BLOB is a NULL pointer. 4980** value from sqlite3_column_blob() for a zero-length BLOB is a NULL pointer.
4981** 4981**
4982** ^Strings returned by sqlite3_column_text16() always have the endianness
4983** which is native to the platform, regardless of the text encoding set
4984** for the database.
4985**
4982** <b>Warning:</b> ^The object returned by [sqlite3_column_value()] is an 4986** <b>Warning:</b> ^The object returned by [sqlite3_column_value()] is an
4983** [unprotected sqlite3_value] object. In a multithreaded environment, 4987** [unprotected sqlite3_value] object. In a multithreaded environment,
4984** an unprotected sqlite3_value object may only be used safely with 4988** an unprotected sqlite3_value object may only be used safely with
@@ -4992,7 +4996,7 @@ SQLITE_API int sqlite3_data_count(sqlite3_stmt *pStmt);
4992** [application-defined SQL functions] or [virtual tables], not within 4996** [application-defined SQL functions] or [virtual tables], not within
4993** top-level application code. 4997** top-level application code.
4994** 4998**
4995** The these routines may attempt to convert the datatype of the result. 4999** These routines may attempt to convert the datatype of the result.
4996** ^For example, if the internal representation is FLOAT and a text result 5000** ^For example, if the internal representation is FLOAT and a text result
4997** is requested, [sqlite3_snprintf()] is used internally to perform the 5001** is requested, [sqlite3_snprintf()] is used internally to perform the
4998** conversion automatically. ^(The following table details the conversions 5002** conversion automatically. ^(The following table details the conversions
@@ -5017,7 +5021,7 @@ SQLITE_API int sqlite3_data_count(sqlite3_stmt *pStmt);
5017** <tr><td> TEXT <td> BLOB <td> No change 5021** <tr><td> TEXT <td> BLOB <td> No change
5018** <tr><td> BLOB <td> INTEGER <td> [CAST] to INTEGER 5022** <tr><td> BLOB <td> INTEGER <td> [CAST] to INTEGER
5019** <tr><td> BLOB <td> FLOAT <td> [CAST] to REAL 5023** <tr><td> BLOB <td> FLOAT <td> [CAST] to REAL
5020** <tr><td> BLOB <td> TEXT <td> Add a zero terminator if needed 5024** <tr><td> BLOB <td> TEXT <td> [CAST] to TEXT, ensure zero terminator
5021** </table> 5025** </table>
5022** </blockquote>)^ 5026** </blockquote>)^
5023** 5027**
@@ -9767,7 +9771,7 @@ SQLITE_API int sqlite3_vtab_in_next(sqlite3_value *pVal, sqlite3_value **ppOut);
9767** ^When xBestIndex returns, the sqlite3_value object returned by 9771** ^When xBestIndex returns, the sqlite3_value object returned by
9768** sqlite3_vtab_rhs_value() is automatically deallocated. 9772** sqlite3_vtab_rhs_value() is automatically deallocated.
9769** 9773**
9770** The "_rhs_" in the name of this routine is an appreviation for 9774** The "_rhs_" in the name of this routine is an abbreviation for
9771** "Right-Hand Side". 9775** "Right-Hand Side".
9772*/ 9776*/
9773SQLITE_API int sqlite3_vtab_rhs_value(sqlite3_index_info*, int, sqlite3_value **ppVal); 9777SQLITE_API int sqlite3_vtab_rhs_value(sqlite3_index_info*, int, sqlite3_value **ppVal);