Skip to content

Commit e79d223

Browse files
authored
Embed sqlite amalgamation v3.45.3 source code (#66)
1 parent 2102da7 commit e79d223

File tree

3 files changed

+185
-47
lines changed

3 files changed

+185
-47
lines changed

Sources/CSQLite/include/sqlite_nio_sqlite3.h

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ extern "C" {
146146
** [sqlite_nio_sqlite3_libversion_number()], [sqlite_nio_sqlite3_sourceid()],
147147
** [sqlite_version()] and [sqlite_source_id()].
148148
*/
149-
#define SQLITE_VERSION "3.45.2"
150-
#define SQLITE_VERSION_NUMBER 3045002
151-
#define SQLITE_SOURCE_ID "2024-03-12 11:06:23 d8cd6d49b46a395b13955387d05e9e1a2a47e54fb99f3c9b59835bbefad6af77"
149+
#define SQLITE_VERSION "3.45.3"
150+
#define SQLITE_VERSION_NUMBER 3045003
151+
#define SQLITE_SOURCE_ID "2024-04-15 13:34:05 8653b758870e6ef0c98d46b3ace27849054af85da891eb121e9aaa537f1e8355"
152152

153153
/*
154154
** CAPI3REF: Run-Time Library Version Numbers
@@ -2143,6 +2143,22 @@ struct sqlite3_mem_methods {
21432143
** configuration setting is never used, then the default maximum is determined
21442144
** by the [SQLITE_MEMDB_DEFAULT_MAXSIZE] compile-time option. If that
21452145
** compile-time option is not set, then the default maximum is 1073741824.
2146+
**
2147+
** [[SQLITE_CONFIG_ROWID_IN_VIEW]]
2148+
** <dt>SQLITE_CONFIG_ROWID_IN_VIEW
2149+
** <dd>The SQLITE_CONFIG_ROWID_IN_VIEW option enables or disables the ability
2150+
** for VIEWs to have a ROWID. The capability can only be enabled if SQLite is
2151+
** compiled with -DSQLITE_ALLOW_ROWID_IN_VIEW, in which case the capability
2152+
** defaults to on. This configuration option queries the current setting or
2153+
** changes the setting to off or on. The argument is a pointer to an integer.
2154+
** If that integer initially holds a value of 1, then the ability for VIEWs to
2155+
** have ROWIDs is activated. If the integer initially holds zero, then the
2156+
** ability is deactivated. Any other initial value for the integer leaves the
2157+
** setting unchanged. After changes, if any, the integer is written with
2158+
** a 1 or 0, if the ability for VIEWs to have ROWIDs is on or off. If SQLite
2159+
** is compiled without -DSQLITE_ALLOW_ROWID_IN_VIEW (which is the usual and
2160+
** recommended case) then the integer is always filled with zero, regardless
2161+
** if its initial value.
21462162
** </dl>
21472163
*/
21482164
#define SQLITE_CONFIG_SINGLETHREAD 1 /* nil */
@@ -2174,6 +2190,7 @@ struct sqlite3_mem_methods {
21742190
#define SQLITE_CONFIG_SMALL_MALLOC 27 /* boolean */
21752191
#define SQLITE_CONFIG_SORTERREF_SIZE 28 /* int nByte */
21762192
#define SQLITE_CONFIG_MEMDB_MAXSIZE 29 /* sqlite3_int64 */
2193+
#define SQLITE_CONFIG_ROWID_IN_VIEW 30 /* int* */
21772194

21782195
/*
21792196
** CAPI3REF: Database Connection Configuration Options

0 commit comments

Comments
 (0)