Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

bin

v1.0.0
modernc.org/SQLite/internal/bin

Documentation

pkg.go.dev ↗

Table of contents

↓ to select · Enter to jump· Shift+Enter for source

949 matches

Top ↑

Package sqlite is an in-process implementation of a self-contained, serverless, zero-configuration, transactional SQL database engine. (Work In Progress)

/******************************************************************************
** This file is an amalgamation of many separate C source files from SQLite
** version 3.19.3.  By combining all the individual C code files into this
** single large file, the entire code can be compiled as a single translation
** unit.  This allows many compilers to do optimizations that would not be
** possible if the files were compiled separately.  Performance improvements
** of 5% or more are commonly seen when SQLite is compiled as a single
** translation unit.
**
** This file is all you need to compile SQLite.  To use SQLite in other
** programs, you need this file and the "sqlite3.h" header file that defines
** the programming interface to the SQLite library.  (If you do not have
** the "sqlite3.h" header file at hand, you will find a copy embedded within
** the text of this file.  Search for "Begin file sqlite3.h" to find the start
** of the embedded sqlite3.h header file.) Additional code files may be needed
** if you want a wrapper to interface SQLite with your choice of programming
** language. The code for the "sqlite3" command-line shell is also in a
** separate file. This file contains only code for the core SQLite library.
*/

Constants

XFTS5_TOKENIZE_AUX (541 declarations)

const (
	XFTS5_TOKENIZE_AUX                     = 8
	XFTS5_TOKENIZE_DOCUMENT                = 4
	XFTS5_TOKENIZE_PREFIX                  = 2
	XFTS5_TOKENIZE_QUERY                   = 1
	XFTS5_TOKEN_COLOCATED                  = 1
	XFULLY_WITHIN                          = 2
	XNOT_WITHIN                            = 0
	XPARTLY_WITHIN                         = 1
	XSQLITE3_TEXT                          = 3
	XSQLITE_ABORT                          = 4
	XSQLITE_ABORT_ROLLBACK                 = 516
	XSQLITE_ACCESS_EXISTS                  = 0
	XSQLITE_ACCESS_READ                    = 2
	XSQLITE_ACCESS_READWRITE               = 1
	XSQLITE_ALTER_TABLE                    = 26
	XSQLITE_ANALYZE                        = 28
	XSQLITE_ANY                            = 5
	XSQLITE_ATTACH                         = 24
	XSQLITE_AUTH                           = 23
	XSQLITE_AUTH_USER                      = 279
	XSQLITE_BLOB                           = 4
	XSQLITE_BUSY                           = 5
	XSQLITE_BUSY_RECOVERY                  = 261
	XSQLITE_BUSY_SNAPSHOT                  = 517
	XSQLITE_CANTOPEN                       = 14
	XSQLITE_CANTOPEN_CONVPATH              = 1038
	XSQLITE_CANTOPEN_FULLPATH              = 782
	XSQLITE_CANTOPEN_ISDIR                 = 526
	XSQLITE_CANTOPEN_NOTEMPDIR             = 270
	XSQLITE_CHECKPOINT_FULL                = 1
	XSQLITE_CHECKPOINT_PASSIVE             = 0
	XSQLITE_CHECKPOINT_RESTART             = 2
	XSQLITE_CHECKPOINT_TRUNCATE            = 3
	XSQLITE_CONFIG_COVERING_INDEX_SCAN     = 20
	XSQLITE_CONFIG_GETMALLOC               = 5
	XSQLITE_CONFIG_GETMUTEX                = 11
	XSQLITE_CONFIG_GETPCACHE               = 15
	XSQLITE_CONFIG_GETPCACHE2              = 19
	XSQLITE_CONFIG_HEAP                    = 8
	XSQLITE_CONFIG_LOG                     = 16
	XSQLITE_CONFIG_LOOKASIDE               = 13
	XSQLITE_CONFIG_MALLOC                  = 4
	XSQLITE_CONFIG_MEMSTATUS               = 9
	XSQLITE_CONFIG_MMAP_SIZE               = 22
	XSQLITE_CONFIG_MULTITHREAD             = 2
	XSQLITE_CONFIG_MUTEX                   = 10
	XSQLITE_CONFIG_PAGECACHE               = 7
	XSQLITE_CONFIG_PCACHE                  = 14
	XSQLITE_CONFIG_PCACHE2                 = 18
	XSQLITE_CONFIG_PCACHE_HDRSZ            = 24
	XSQLITE_CONFIG_PMASZ                   = 25
	XSQLITE_CONFIG_SCRATCH                 = 6
	XSQLITE_CONFIG_SERIALIZED              = 3
	XSQLITE_CONFIG_SINGLETHREAD            = 1
	XSQLITE_CONFIG_SQLLOG                  = 21
	XSQLITE_CONFIG_STMTJRNL_SPILL          = 26
	XSQLITE_CONFIG_URI                     = 17
	XSQLITE_CONFIG_WIN32_HEAPSIZE          = 23
	XSQLITE_CONSTRAINT                     = 19
	XSQLITE_CONSTRAINT_CHECK               = 275
	XSQLITE_CONSTRAINT_COMMITHOOK          = 531
	XSQLITE_CONSTRAINT_FOREIGNKEY          = 787
	XSQLITE_CONSTRAINT_FUNCTION            = 1043
	XSQLITE_CONSTRAINT_NOTNULL             = 1299
	XSQLITE_CONSTRAINT_PRIMARYKEY          = 1555
	XSQLITE_CONSTRAINT_ROWID               = 2579
	XSQLITE_CONSTRAINT_TRIGGER             = 1811
	XSQLITE_CONSTRAINT_UNIQUE              = 2067
	XSQLITE_CONSTRAINT_VTAB                = 2323
	XSQLITE_COPY                           = 0
	XSQLITE_CORRUPT                        = 11
	XSQLITE_CORRUPT_VTAB                   = 267
	XSQLITE_CREATE_INDEX                   = 1
	XSQLITE_CREATE_TABLE                   = 2
	XSQLITE_CREATE_TEMP_INDEX              = 3
	XSQLITE_CREATE_TEMP_TABLE              = 4
	XSQLITE_CREATE_TEMP_TRIGGER            = 5
	XSQLITE_CREATE_TEMP_VIEW               = 6
	XSQLITE_CREATE_TRIGGER                 = 7
	XSQLITE_CREATE_VIEW                    = 8
	XSQLITE_CREATE_VTABLE                  = 29
	XSQLITE_DBCONFIG_ENABLE_FKEY           = 1002
	XSQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER = 1004
	XSQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION = 1005
	XSQLITE_DBCONFIG_ENABLE_TRIGGER        = 1003
	XSQLITE_DBCONFIG_LOOKASIDE             = 1001
	XSQLITE_DBCONFIG_MAINDBNAME            = 1000
	XSQLITE_DBCONFIG_NO_CKPT_ON_CLOSE      = 1006
	XSQLITE_DBSTATUS_CACHE_HIT             = 7
	XSQLITE_DBSTATUS_CACHE_MISS            = 8
	XSQLITE_DBSTATUS_CACHE_USED            = 1
	XSQLITE_DBSTATUS_CACHE_USED_SHARED     = 11
	XSQLITE_DBSTATUS_CACHE_WRITE           = 9
	XSQLITE_DBSTATUS_DEFERRED_FKS          = 10
	XSQLITE_DBSTATUS_LOOKASIDE_HIT         = 4
	XSQLITE_DBSTATUS_LOOKASIDE_MISS_FULL   = 6
	XSQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE   = 5
	XSQLITE_DBSTATUS_LOOKASIDE_USED        = 0
	XSQLITE_DBSTATUS_MAX                   = 11
	XSQLITE_DBSTATUS_SCHEMA_USED           = 2
	XSQLITE_DBSTATUS_STMT_USED             = 3
	XSQLITE_DELETE                         = 9
	XSQLITE_DENY                           = 1
	XSQLITE_DETACH                         = 25
	XSQLITE_DETERMINISTIC                  = 2048
	XSQLITE_DONE                           = 101
	XSQLITE_DROP_INDEX                     = 10
	XSQLITE_DROP_TABLE                     = 11
	XSQLITE_DROP_TEMP_INDEX                = 12
	XSQLITE_DROP_TEMP_TABLE                = 13
	XSQLITE_DROP_TEMP_TRIGGER              = 14
	XSQLITE_DROP_TEMP_VIEW                 = 15
	XSQLITE_DROP_TRIGGER                   = 16
	XSQLITE_DROP_VIEW                      = 17
	XSQLITE_DROP_VTABLE                    = 30
	XSQLITE_EMPTY                          = 16
	XSQLITE_ERROR                          = 1
	XSQLITE_EXTERN                         = 0
	XSQLITE_FAIL                           = 3
	XSQLITE_FCNTL_BUSYHANDLER              = 15
	XSQLITE_FCNTL_CHUNK_SIZE               = 6
	XSQLITE_FCNTL_COMMIT_PHASETWO          = 22
	XSQLITE_FCNTL_FILE_POINTER             = 7
	XSQLITE_FCNTL_GET_LOCKPROXYFILE        = 2
	XSQLITE_FCNTL_HAS_MOVED                = 20
	XSQLITE_FCNTL_JOURNAL_POINTER          = 28
	XSQLITE_FCNTL_LAST_ERRNO               = 4
	XSQLITE_FCNTL_LOCKSTATE                = 1
	XSQLITE_FCNTL_MMAP_SIZE                = 18
	XSQLITE_FCNTL_OVERWRITE                = 11
	XSQLITE_FCNTL_PDB                      = 30
	XSQLITE_FCNTL_PERSIST_WAL              = 10
	XSQLITE_FCNTL_POWERSAFE_OVERWRITE      = 13
	XSQLITE_FCNTL_PRAGMA                   = 14
	XSQLITE_FCNTL_RBU                      = 26
	XSQLITE_FCNTL_SET_LOCKPROXYFILE        = 3
	XSQLITE_FCNTL_SIZE_HINT                = 5
	XSQLITE_FCNTL_SYNC                     = 21
	XSQLITE_FCNTL_SYNC_OMITTED             = 8
	XSQLITE_FCNTL_TEMPFILENAME             = 16
	XSQLITE_FCNTL_TRACE                    = 19
	XSQLITE_FCNTL_VFSNAME                  = 12
	XSQLITE_FCNTL_VFS_POINTER              = 27
	XSQLITE_FCNTL_WAL_BLOCK                = 24
	XSQLITE_FCNTL_WIN32_AV_RETRY           = 9
	XSQLITE_FCNTL_WIN32_GET_HANDLE         = 29
	XSQLITE_FCNTL_WIN32_SET_HANDLE         = 23
	XSQLITE_FCNTL_ZIPVFS                   = 25
	XSQLITE_FLOAT                          = 2
	XSQLITE_FORMAT                         = 24
	XSQLITE_FULL                           = 13
	XSQLITE_FUNCTION                       = 31
	XSQLITE_GET_LOCKPROXYFILE              = 2
	XSQLITE_IGNORE                         = 2
	XSQLITE_INDEX_CONSTRAINT_EQ            = 2
	XSQLITE_INDEX_CONSTRAINT_GE            = 32
	XSQLITE_INDEX_CONSTRAINT_GLOB          = 66
	XSQLITE_INDEX_CONSTRAINT_GT            = 4
	XSQLITE_INDEX_CONSTRAINT_LE            = 8
	XSQLITE_INDEX_CONSTRAINT_LIKE          = 65
	XSQLITE_INDEX_CONSTRAINT_LT            = 16
	XSQLITE_INDEX_CONSTRAINT_MATCH         = 64
	XSQLITE_INDEX_CONSTRAINT_REGEXP        = 67
	XSQLITE_INDEX_SCAN_UNIQUE              = 1
	XSQLITE_INSERT                         = 18
	XSQLITE_INTEGER                        = 1
	XSQLITE_INTERNAL                       = 2
	XSQLITE_INTERRUPT                      = 9
	XSQLITE_IOCAP_ATOMIC                   = 1
	XSQLITE_IOCAP_ATOMIC16K                = 64
	XSQLITE_IOCAP_ATOMIC1K                 = 4
	XSQLITE_IOCAP_ATOMIC2K                 = 8
	XSQLITE_IOCAP_ATOMIC32K                = 128
	XSQLITE_IOCAP_ATOMIC4K                 = 16
	XSQLITE_IOCAP_ATOMIC512                = 2
	XSQLITE_IOCAP_ATOMIC64K                = 256
	XSQLITE_IOCAP_ATOMIC8K                 = 32
	XSQLITE_IOCAP_IMMUTABLE                = 8192
	XSQLITE_IOCAP_POWERSAFE_OVERWRITE      = 4096
	XSQLITE_IOCAP_SAFE_APPEND              = 512
	XSQLITE_IOCAP_SEQUENTIAL               = 1024
	XSQLITE_IOCAP_UNDELETABLE_WHEN_OPEN    = 2048
	XSQLITE_IOERR                          = 10
	XSQLITE_IOERR_ACCESS                   = 3338
	XSQLITE_IOERR_AUTH                     = 7178
	XSQLITE_IOERR_BLOCKED                  = 2826
	XSQLITE_IOERR_CHECKRESERVEDLOCK        = 3594
	XSQLITE_IOERR_CLOSE                    = 4106
	XSQLITE_IOERR_CONVPATH                 = 6666
	XSQLITE_IOERR_DELETE                   = 2570
	XSQLITE_IOERR_DELETE_NOENT             = 5898
	XSQLITE_IOERR_DIR_CLOSE                = 4362
	XSQLITE_IOERR_DIR_FSYNC                = 1290
	XSQLITE_IOERR_FSTAT                    = 1802
	XSQLITE_IOERR_FSYNC                    = 1034
	XSQLITE_IOERR_GETTEMPPATH              = 6410
	XSQLITE_IOERR_LOCK                     = 3850
	XSQLITE_IOERR_MMAP                     = 6154
	XSQLITE_IOERR_NOMEM                    = 3082
	XSQLITE_IOERR_RDLOCK                   = 2314
	XSQLITE_IOERR_READ                     = 266
	XSQLITE_IOERR_SEEK                     = 5642
	XSQLITE_IOERR_SHMLOCK                  = 5130
	XSQLITE_IOERR_SHMMAP                   = 5386
	XSQLITE_IOERR_SHMOPEN                  = 4618
	XSQLITE_IOERR_SHMSIZE                  = 4874
	XSQLITE_IOERR_SHORT_READ               = 522
	XSQLITE_IOERR_TRUNCATE                 = 1546
	XSQLITE_IOERR_UNLOCK                   = 2058
	XSQLITE_IOERR_VNODE                    = 6922
	XSQLITE_IOERR_WRITE                    = 778
	XSQLITE_LAST_ERRNO                     = 4
	XSQLITE_LIMIT_ATTACHED                 = 7
	XSQLITE_LIMIT_COLUMN                   = 2
	XSQLITE_LIMIT_COMPOUND_SELECT          = 4
	XSQLITE_LIMIT_EXPR_DEPTH               = 3
	XSQLITE_LIMIT_FUNCTION_ARG             = 6
	XSQLITE_LIMIT_LENGTH                   = 0
	XSQLITE_LIMIT_LIKE_PATTERN_LENGTH      = 8
	XSQLITE_LIMIT_SQL_LENGTH               = 1
	XSQLITE_LIMIT_TRIGGER_DEPTH            = 10
	XSQLITE_LIMIT_VARIABLE_NUMBER          = 9
	XSQLITE_LIMIT_VDBE_OP                  = 5
	XSQLITE_LIMIT_WORKER_THREADS           = 11
	XSQLITE_LOCKED                         = 6
	XSQLITE_LOCKED_SHAREDCACHE             = 262
	XSQLITE_LOCK_EXCLUSIVE                 = 4
	XSQLITE_LOCK_NONE                      = 0
	XSQLITE_LOCK_PENDING                   = 3
	XSQLITE_LOCK_RESERVED                  = 2
	XSQLITE_LOCK_SHARED                    = 1
	XSQLITE_MISMATCH                       = 20
	XSQLITE_MISUSE                         = 21
	XSQLITE_MUTEX_FAST                     = 0
	XSQLITE_MUTEX_RECURSIVE                = 1
	XSQLITE_MUTEX_STATIC_APP1              = 8
	XSQLITE_MUTEX_STATIC_APP2              = 9
	XSQLITE_MUTEX_STATIC_APP3              = 10
	XSQLITE_MUTEX_STATIC_LRU               = 6
	XSQLITE_MUTEX_STATIC_LRU2              = 7
	XSQLITE_MUTEX_STATIC_MASTER            = 2
	XSQLITE_MUTEX_STATIC_MEM               = 3
	XSQLITE_MUTEX_STATIC_MEM2              = 4
	XSQLITE_MUTEX_STATIC_OPEN              = 4
	XSQLITE_MUTEX_STATIC_PMEM              = 7
	XSQLITE_MUTEX_STATIC_PRNG              = 5
	XSQLITE_MUTEX_STATIC_VFS1              = 11
	XSQLITE_MUTEX_STATIC_VFS2              = 12
	XSQLITE_MUTEX_STATIC_VFS3              = 13
	XSQLITE_NOLFS                          = 22
	XSQLITE_NOMEM                          = 7
	XSQLITE_NOTADB                         = 26
	XSQLITE_NOTFOUND                       = 12
	XSQLITE_NOTICE                         = 27
	XSQLITE_NOTICE_RECOVER_ROLLBACK        = 539
	XSQLITE_NOTICE_RECOVER_WAL             = 283
	XSQLITE_NULL                           = 5
	XSQLITE_OK                             = 0
	XSQLITE_OK_LOAD_PERMANENTLY            = 256
	XSQLITE_OPEN_AUTOPROXY                 = 32
	XSQLITE_OPEN_CREATE                    = 4
	XSQLITE_OPEN_DELETEONCLOSE             = 8
	XSQLITE_OPEN_EXCLUSIVE                 = 16
	XSQLITE_OPEN_FULLMUTEX                 = 65536
	XSQLITE_OPEN_MAIN_DB                   = 256
	XSQLITE_OPEN_MAIN_JOURNAL              = 2048
	XSQLITE_OPEN_MASTER_JOURNAL            = 16384
	XSQLITE_OPEN_MEMORY                    = 128
	XSQLITE_OPEN_NOMUTEX                   = 32768
	XSQLITE_OPEN_PRIVATECACHE              = 262144
	XSQLITE_OPEN_READONLY                  = 1
	XSQLITE_OPEN_READWRITE                 = 2
	XSQLITE_OPEN_SHAREDCACHE               = 131072
	XSQLITE_OPEN_SUBJOURNAL                = 8192
	XSQLITE_OPEN_TEMP_DB                   = 512
	XSQLITE_OPEN_TEMP_JOURNAL              = 4096
	XSQLITE_OPEN_TRANSIENT_DB              = 1024
	XSQLITE_OPEN_URI                       = 64
	XSQLITE_OPEN_WAL                       = 524288
	XSQLITE_PERM                           = 3
	XSQLITE_PRAGMA                         = 19
	XSQLITE_PROTOCOL                       = 15
	XSQLITE_RANGE                          = 25
	XSQLITE_READ                           = 20
	XSQLITE_READONLY                       = 8
	XSQLITE_READONLY_CANTLOCK              = 520
	XSQLITE_READONLY_DBMOVED               = 1032
	XSQLITE_READONLY_RECOVERY              = 264
	XSQLITE_READONLY_ROLLBACK              = 776
	XSQLITE_RECURSIVE                      = 33
	XSQLITE_REINDEX                        = 27
	XSQLITE_REPLACE                        = 5
	XSQLITE_ROLLBACK                       = 1
	XSQLITE_ROW                            = 100
	XSQLITE_SAVEPOINT                      = 32
	XSQLITE_SCANSTAT_EST                   = 2
	XSQLITE_SCANSTAT_EXPLAIN               = 4
	XSQLITE_SCANSTAT_NAME                  = 3
	XSQLITE_SCANSTAT_NLOOP                 = 0
	XSQLITE_SCANSTAT_NVISIT                = 1
	XSQLITE_SCANSTAT_SELECTID              = 5
	XSQLITE_SCHEMA                         = 17
	XSQLITE_SELECT                         = 21
	XSQLITE_SET_LOCKPROXYFILE              = 3
	XSQLITE_SHM_EXCLUSIVE                  = 8
	XSQLITE_SHM_LOCK                       = 2
	XSQLITE_SHM_NLOCK                      = 8
	XSQLITE_SHM_SHARED                     = 4
	XSQLITE_SHM_UNLOCK                     = 1
	XSQLITE_SOURCE_ID                      = "2017-06-08 14:26:16 0ee482a1e0eae22e08edc8978c9733a96603d4509645f348ebf55b579e89636b"
	XSQLITE_STATUS_MALLOC_COUNT            = 9
	XSQLITE_STATUS_MALLOC_SIZE             = 5
	XSQLITE_STATUS_MEMORY_USED             = 0
	XSQLITE_STATUS_PAGECACHE_OVERFLOW      = 2
	XSQLITE_STATUS_PAGECACHE_SIZE          = 7
	XSQLITE_STATUS_PAGECACHE_USED          = 1
	XSQLITE_STATUS_PARSER_STACK            = 6
	XSQLITE_STATUS_SCRATCH_OVERFLOW        = 4
	XSQLITE_STATUS_SCRATCH_SIZE            = 8
	XSQLITE_STATUS_SCRATCH_USED            = 3
	XSQLITE_STMTSTATUS_AUTOINDEX           = 3
	XSQLITE_STMTSTATUS_FULLSCAN_STEP       = 1
	XSQLITE_STMTSTATUS_SORT                = 2
	XSQLITE_STMTSTATUS_VM_STEP             = 4
	XSQLITE_SYNC_DATAONLY                  = 16
	XSQLITE_SYNC_FULL                      = 3
	XSQLITE_SYNC_NORMAL                    = 2
	XSQLITE_TESTCTRL_ALWAYS                = 13
	XSQLITE_TESTCTRL_ASSERT                = 12
	XSQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS   = 10
	XSQLITE_TESTCTRL_BITVEC_TEST           = 8
	XSQLITE_TESTCTRL_BYTEORDER             = 22
	XSQLITE_TESTCTRL_EXPLAIN_STMT          = 19
	XSQLITE_TESTCTRL_FAULT_INSTALL         = 9
	XSQLITE_TESTCTRL_FIRST                 = 5
	XSQLITE_TESTCTRL_IMPOSTER              = 25
	XSQLITE_TESTCTRL_ISINIT                = 23
	XSQLITE_TESTCTRL_ISKEYWORD             = 16
	XSQLITE_TESTCTRL_LAST                  = 25
	XSQLITE_TESTCTRL_LOCALTIME_FAULT       = 18
	XSQLITE_TESTCTRL_NEVER_CORRUPT         = 20
	XSQLITE_TESTCTRL_ONCE_RESET_THRESHOLD  = 19
	XSQLITE_TESTCTRL_OPTIMIZATIONS         = 15
	XSQLITE_TESTCTRL_PENDING_BYTE          = 11
	XSQLITE_TESTCTRL_PRNG_RESET            = 7
	XSQLITE_TESTCTRL_PRNG_RESTORE          = 6
	XSQLITE_TESTCTRL_PRNG_SAVE             = 5
	XSQLITE_TESTCTRL_RESERVE               = 14
	XSQLITE_TESTCTRL_SCRATCHMALLOC         = 17
	XSQLITE_TESTCTRL_SORTER_MMAP           = 24
	XSQLITE_TESTCTRL_VDBE_COVERAGE         = 21
	XSQLITE_TEXT                           = 3
	XSQLITE_TOOBIG                         = 18
	XSQLITE_TRACE_CLOSE                    = 8
	XSQLITE_TRACE_PROFILE                  = 2
	XSQLITE_TRACE_ROW                      = 4
	XSQLITE_TRACE_STMT                     = 1
	XSQLITE_TRANSACTION                    = 22
	XSQLITE_TRANSIENT                      = -1
	XSQLITE_UPDATE                         = 23
	XSQLITE_UTF16                          = 4
	XSQLITE_UTF16BE                        = 3
	XSQLITE_UTF16LE                        = 2
	XSQLITE_UTF16_ALIGNED                  = 8
	XSQLITE_UTF8                           = 1
	XSQLITE_VERSION                        = "3.19.3"
	XSQLITE_VERSION_NUMBER                 = 3019003
	XSQLITE_VTAB_CONSTRAINT_SUPPORT        = 1
	XSQLITE_WARNING                        = 28
	XSQLITE_WARNING_AUTOINDEX              = 284
	X_LP64                                 = 1
	X_STDC_PREDEF_H                        = 1
	X__ATOMIC_ACQUIRE                      = 2
	X__ATOMIC_ACQ_REL                      = 4
	X__ATOMIC_CONSUME                      = 1
	X__ATOMIC_HLE_ACQUIRE                  = 65536
	X__ATOMIC_HLE_RELEASE                  = 131072
	X__ATOMIC_RELAXED                      = 0
	X__ATOMIC_RELEASE                      = 3
	X__ATOMIC_SEQ_CST                      = 5
	X__BIGGEST_ALIGNMENT__                 = 16
	X__BYTE_ORDER__                        = 1234
	X__CHAR_BIT__                          = 8
	X__DBL_DECIMAL_DIG__                   = 17
	X__DBL_DIG__                           = 15
	X__DBL_HAS_DENORM__                    = 1
	X__DBL_HAS_INFINITY__                  = 1
	X__DBL_HAS_QUIET_NAN__                 = 1
	X__DBL_MANT_DIG__                      = 53
	X__DBL_MAX_10_EXP__                    = 308
	X__DBL_MAX_EXP__                       = 1024
	X__DBL_MIN_10_EXP__                    = -307
	X__DBL_MIN_EXP__                       = -1021
	X__DEC128_MANT_DIG__                   = 34
	X__DEC128_MAX_EXP__                    = 6145
	X__DEC128_MIN_EXP__                    = -6142
	X__DEC32_MANT_DIG__                    = 7
	X__DEC32_MAX_EXP__                     = 97
	X__DEC32_MIN_EXP__                     = -94
	X__DEC64_MANT_DIG__                    = 16
	X__DEC64_MAX_EXP__                     = 385
	X__DEC64_MIN_EXP__                     = -382
	X__DECIMAL_BID_FORMAT__                = 1
	X__DECIMAL_DIG__                       = 21
	X__DEC_EVAL_METHOD__                   = 2
	X__FINITE_MATH_ONLY__                  = 0
	X__FLOAT_WORD_ORDER__                  = 1234
	X__FLT_DECIMAL_DIG__                   = 9
	X__FLT_DENORM_MIN__                    = 1e-45
	X__FLT_DIG__                           = 6
	X__FLT_EPSILON__                       = 1.1920929e-07
	X__FLT_EVAL_METHOD__                   = 0
	X__FLT_HAS_DENORM__                    = 1
	X__FLT_HAS_INFINITY__                  = 1
	X__FLT_HAS_QUIET_NAN__                 = 1
	X__FLT_MANT_DIG__                      = 24
	X__FLT_MAX_10_EXP__                    = 38
	X__FLT_MAX_EXP__                       = 128
	X__FLT_MAX__                           = 3.4028235e+38
	X__FLT_MIN_10_EXP__                    = -37
	X__FLT_MIN_EXP__                       = -125
	X__FLT_MIN__                           = 1.1754944e-38
	X__FLT_RADIX__                         = 2
	X__FUNCTION__                          = 0
	X__FXSR__                              = 1
	X__GXX_ABI_VERSION                     = 1010
	X__INT16_MAX__                         = 32767
	X__INT32_MAX__                         = 2147483647
	X__INT32_TYPE__                        = 0
	X__INT64_MAX__                         = 9223372036854775807
	X__INT8_MAX__                          = 127
	X__INTMAX_MAX__                        = 9223372036854775807
	X__INTPTR_MAX__                        = 9223372036854775807
	X__INT_FAST16_MAX__                    = 9223372036854775807
	X__INT_FAST32_MAX__                    = 9223372036854775807
	X__INT_FAST64_MAX__                    = 9223372036854775807
	X__INT_FAST8_MAX__                     = 127
	X__INT_LEAST16_MAX__                   = 32767
	X__INT_LEAST32_MAX__                   = 2147483647
	X__INT_LEAST32_TYPE__                  = 0
	X__INT_LEAST64_MAX__                   = 9223372036854775807
	X__INT_LEAST8_MAX__                    = 127
	X__INT_MAX__                           = 2147483647
	X__LDBL_DENORM_MIN__                   = 0
	X__LDBL_DIG__                          = 18
	X__LDBL_EPSILON__                      = 1.0842021724855044e-19
	X__LDBL_HAS_DENORM__                   = 1
	X__LDBL_HAS_INFINITY__                 = 1
	X__LDBL_HAS_QUIET_NAN__                = 1
	X__LDBL_MANT_DIG__                     = 64
	X__LDBL_MAX_10_EXP__                   = 4932
	X__LDBL_MAX_EXP__                      = 16384
	X__LDBL_MAX__                          = 0
	X__LDBL_MIN_10_EXP__                   = -4931
	X__LDBL_MIN_EXP__                      = -16381
	X__LDBL_MIN__                          = 0
	X__LONG_LONG_MAX__                     = 9223372036854775807
	X__LONG_MAX__                          = 9223372036854775807
	X__LP64__                              = 1
	X__MMX__                               = 1
	X__NO_INLINE__                         = 1
	X__ORDER_BIG_ENDIAN__                  = 4321
	X__ORDER_LITTLE_ENDIAN__               = 1234
	X__ORDER_PDP_ENDIAN__                  = 3412
	X__PIC__                               = 2
	X__PIE__                               = 2
	X__PRAGMA_REDEFINE_EXTNAME             = 1
	X__PTRDIFF_MAX__                       = 9223372036854775807
	X__SCHAR_MAX__                         = 127
	X__SEG_FS                              = 1
	X__SEG_GS                              = 1
	X__SHRT_MAX__                          = 32767
	X__SIG_ATOMIC_MAX__                    = 2147483647
	X__SIG_ATOMIC_MIN__                    = -2147483648
	X__SIG_ATOMIC_TYPE__                   = 0
	X__SIZEOF_DOUBLE__                     = 8
	X__SIZEOF_FLOAT128__                   = 16
	X__SIZEOF_FLOAT80__                    = 16
	X__SIZEOF_FLOAT__                      = 4
	X__SIZEOF_INT__                        = 4
	X__SIZEOF_LONG_DOUBLE__                = 16
	X__SIZEOF_LONG_LONG__                  = 8
	X__SIZEOF_LONG__                       = 8
	X__SIZEOF_POINTER__                    = 8
	X__SIZEOF_PTRDIFF_T__                  = 8
	X__SIZEOF_SHORT__                      = 2
	X__SIZEOF_SIZE_T__                     = 8
	X__SIZEOF_WCHAR_T__                    = 4
	X__SIZEOF_WINT_T__                     = 4
	X__SIZE_MAX__                          = 18446744073709551615
	X__SSE2_MATH__                         = 1
	X__SSE2__                              = 1
	X__SSE_MATH__                          = 1
	X__SSE__                               = 1
	X__SSP_STRONG__                        = 3
	X__STDC_HOSTED__                       = 1
	X__STDC_IEC_559_COMPLEX__              = 1
	X__STDC_IEC_559__                      = 1
	X__STDC_ISO_10646__                    = 201505
	X__STDC_NO_THREADS__                   = 1
	X__STDC_VERSION__                      = 199901
	X__STDC__                              = 1
	X__STRICT_ANSI__                       = 1
	X__UINT16_MAX__                        = 65535
	X__UINT32_MAX__                        = 4294967295
	X__UINT64_MAX__                        = 18446744073709551615
	X__UINT8_MAX__                         = 255
	X__UINTMAX_MAX__                       = 18446744073709551615
	X__UINTPTR_MAX__                       = 18446744073709551615
	X__UINT_FAST16_MAX__                   = 18446744073709551615
	X__UINT_FAST32_MAX__                   = 18446744073709551615
	X__UINT_FAST64_MAX__                   = 18446744073709551615
	X__UINT_FAST8_MAX__                    = 255
	X__UINT_LEAST16_MAX__                  = 65535
	X__UINT_LEAST32_MAX__                  = 4294967295
	X__UINT_LEAST64_MAX__                  = 18446744073709551615
	X__UINT_LEAST8_MAX__                   = 255
	X__VERSION__                           = "6.2.0 20161005"
	X__WCHAR_MAX__                         = 2147483647
	X__WCHAR_MIN__                         = -2147483648
	X__WCHAR_TYPE__                        = 0
	X__WINT_MAX__                          = 4294967295
	X__WINT_MIN__                          = 0
	X__amd64                               = 1
	X__amd64__                             = 1
	X__code_model_small__                  = 1
	X__complex__                           = 0
	X__const                               = 0
	X__inline                              = 0
	X__k8                                  = 1
	X__k8__                                = 1
	X__linux                               = 1
	X__linux__                             = 1
	X__pic__                               = 2
	X__pie__                               = 2
	X__restrict                            = 0
	X__unix                                = 1
	X__unix__                              = 1
	X__volatile                            = 0
	X__x86_64                              = 1
	X__x86_64__                            = 1
)

Variables

X__stdfiles

var X__stdfiles [3]unsafe.Pointer

Xsqlite3SelectTrace

var Xsqlite3SelectTrace int32

Xsqlite3WhereTrace

var Xsqlite3WhereTrace int32

Xsqlite3_data_directory

var Xsqlite3_data_directory *int8

C comment

/*
** CAPI3REF: Name Of The Folder Holding Database Files
**
** ^(If this global variable is made to point to a string which is
** the name of a folder (a.k.a. directory), then all database files
** specified with a relative pathname and created or accessed by
** SQLite when using a built-in windows [sqlite3_vfs | VFS] will be assumed
** to be relative to that directory.)^ ^If this variable is a NULL
** pointer, then SQLite assumes that all database files specified
** with a relative pathname are relative to the current directory
** for the process.  Only the windows VFS makes use of this global
** variable; it is ignored by the unix VFS.
**
** Changing the value of this variable while a database connection is
** open can result in a corrupt database.
**
** It is not safe to read or modify this variable in more than one
** thread at a time.  It is not safe to read or modify this variable
** if a [database connection] is being used at the same time in a separate
** thread.
** It is intended that this variable be set once
** as part of process initialization and before any SQLite interface
** routines have been called and that this variable remain unchanged
** thereafter.
**
** ^The [data_store_directory pragma] may modify this variable and cause
** it to point to memory obtained from [sqlite3_malloc].  ^Furthermore,
** the [data_store_directory pragma] always assumes that any string
** that this variable points to is held in memory obtained from
** [sqlite3_malloc] and the pragma may attempt to free that memory
** using [sqlite3_free].
** Hence, if this variable is modified directly, either it should be
** made NULL or made to point to memory obtained from [sqlite3_malloc]
** or else the use of the [data_store_directory pragma] should be avoided.
*/

Xsqlite3_temp_directory

var Xsqlite3_temp_directory *int8

C comment

/*
** CAPI3REF: Name Of The Folder Holding Temporary Files
**
** ^(If this global variable is made to point to a string which is
** the name of a folder (a.k.a. directory), then all temporary files
** created by SQLite when using a built-in [sqlite3_vfs | VFS]
** will be placed in that directory.)^  ^If this variable
** is a NULL pointer, then SQLite performs a search for an appropriate
** temporary file directory.
**
** Applications are strongly discouraged from using this global variable.
** It is required to set a temporary folder on Windows Runtime (WinRT).
** But for all other platforms, it is highly recommended that applications
** neither read nor write this variable.  This global variable is a relic
** that exists for backwards compatibility of legacy applications and should
** be avoided in new projects.
**
** It is not safe to read or modify this variable in more than one
** thread at a time.  It is not safe to read or modify this variable
** if a [database connection] is being used at the same time in a separate
** thread.
** It is intended that this variable be set once
** as part of process initialization and before any SQLite interface
** routines have been called and that this variable remain unchanged
** thereafter.
**
** ^The [temp_store_directory pragma] may modify this variable and cause
** it to point to memory obtained from [sqlite3_malloc].  ^Furthermore,
** the [temp_store_directory pragma] always assumes that any string
** that this variable points to is held in memory obtained from
** [sqlite3_malloc] and the pragma may attempt to free that memory
** using [sqlite3_free].
** Hence, if this variable is modified directly, either it should be
** made NULL or made to point to memory obtained from [sqlite3_malloc]
** or else the use of the [temp_store_directory pragma] should be avoided.
** Except when requested by the [temp_store_directory pragma], SQLite
** does not free the memory that sqlite3_temp_directory points to.  If
** the application wants that memory to be freed, it must do
** so itself, taking care to only do so after all [database connection]
** objects have been destroyed.
**
** <b>Note to Windows Runtime users:</b>  The temporary directory must be set
** prior to calling [sqlite3_open] or [sqlite3_open_v2].  Otherwise, various
** features that require the use of temporary files may fail.  Here is an
** example of how to do this using C++ with the Windows Runtime:
**
** <blockquote><pre>
** LPCWSTR zPath = Windows::Storage::ApplicationData::Current->
** &nbsp;     TemporaryFolder->Path->Data();
** char zPathBuf&#91;MAX_PATH + 1&#93;;
** memset(zPathBuf, 0, sizeof(zPathBuf));
** WideCharToMultiByte(CP_UTF8, 0, zPath, -1, zPathBuf, sizeof(zPathBuf),
** &nbsp;     NULL, NULL);
** sqlite3_temp_directory = sqlite3_mprintf("%s", zPathBuf);
** </pre></blockquote>
*/

Xsqlite3_version

var Xsqlite3_version [7]int8

C comment

/*
** CAPI3REF: Run-Time Library Version Numbers
** KEYWORDS: sqlite3_version sqlite3_sourceid
**
** These interfaces provide the same information as the [SQLITE_VERSION],
** [SQLITE_VERSION_NUMBER], and [SQLITE_SOURCE_ID] C preprocessor macros
** but are associated with the library instead of the header file.  ^(Cautious
** programmers might include assert() statements in their application to
** verify that values returned by these interfaces match the macros in
** the header, and thus ensure that the application is
** compiled with matching library and header files.
**
** <blockquote><pre>
** assert( sqlite3_libversion_number()==SQLITE_VERSION_NUMBER );
** assert( strcmp(sqlite3_sourceid(),SQLITE_SOURCE_ID)==0 );
** assert( strcmp(sqlite3_libversion(),SQLITE_VERSION)==0 );
** </pre></blockquote>)^
**
** ^The sqlite3_version[] string constant contains the text of [SQLITE_VERSION]
** macro.  ^The sqlite3_libversion() function returns a pointer to the
** to the sqlite3_version[] string constant.  The sqlite3_libversion()
** function is provided for use in DLLs since DLL users usually do not have
** direct access to string constants within the DLL.  ^The
** sqlite3_libversion_number() function returns an integer equal to
** [SQLITE_VERSION_NUMBER].  ^The sqlite3_sourceid() function returns
** a pointer to a string constant whose value is the same as the
** [SQLITE_SOURCE_ID] C preprocessor macro.
**
** See also: [sqlite_version()] and [sqlite_source_id()].
*/

Xstderr

var Xstderr unsafe.Pointer

Xstdin

var Xstdin unsafe.Pointer

Xstdout

var Xstdout unsafe.Pointer

Functions

X_start

func X_start(tls *crt.TLS, _argc int32, _argv **int8)

Xmain

func Xmain(tls *crt.TLS, _argc int32, _argv **int8) (r0 int32)

Xsqlite3PendingByte

func Xsqlite3PendingByte() int32

Xsqlite3_aggregate_context

func Xsqlite3_aggregate_context(tls *crt.TLS, _p *Xsqlite3_context, _nByte int32) (r0 unsafe.Pointer)

C comment

/*
** Allocate or return the aggregate context for a user function.  A new
** context is allocated on the first call.  Subsequent calls return the
** same context that was returned on prior calls.
*/

Xsqlite3_aggregate_count

func Xsqlite3_aggregate_count(tls *crt.TLS, _p *Xsqlite3_context) (r0 int32)

C comment

/*
** Return the number of times the Step function of an aggregate has been
** called.
**
** This function is deprecated.  Do not use it for new code.  It is
** provide only to avoid breaking legacy code.  New aggregate function
** implementations should keep their own counts within their aggregate
** context.
*/

Xsqlite3_auto_extension

func Xsqlite3_auto_extension(tls *crt.TLS, _xInit func(*crt.TLS)) (r0 int32)

C comment

/*
** Register a statically linked extension that is automatically
** loaded by every new database connection.
*/

Xsqlite3_backup_finish

func Xsqlite3_backup_finish(tls *crt.TLS, _p *Xsqlite3_backup) (r0 int32)

C comment

/*
** Release all resources associated with an sqlite3_backup* handle.
*/

Xsqlite3_backup_pagecount

func Xsqlite3_backup_pagecount(tls *crt.TLS, _p *Xsqlite3_backup) (r0 int32)

C comment

/*
** Return the total number of pages in the source database as of the most
** recent call to sqlite3_backup_step().
*/

Xsqlite3_backup_remaining

func Xsqlite3_backup_remaining(tls *crt.TLS, _p *Xsqlite3_backup) (r0 int32)

C comment

/*
** Return the number of pages still to be backed up as of the most recent
** call to sqlite3_backup_step().
*/

Xsqlite3_backup_step

func Xsqlite3_backup_step(tls *crt.TLS, _p *Xsqlite3_backup, _nPage int32) (r0 int32)

C comment

/*
** Copy nPage pages from the source b-tree to the destination.
*/

Xsqlite3_bind_blob

func Xsqlite3_bind_blob(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _zData unsafe.Pointer, _nData int32, _xDel func(*crt.TLS, unsafe.Pointer)) (r0 int32)

C comment

/*
** Bind a blob value to an SQL statement variable.
*/

Xsqlite3_bind_blob64

func Xsqlite3_bind_blob64(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _zData unsafe.Pointer, _nData uint64, _xDel func(*crt.TLS, unsafe.Pointer)) (r0 int32)

Xsqlite3_bind_double

func Xsqlite3_bind_double(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _rValue float64) (r0 int32)

Xsqlite3_bind_int

func Xsqlite3_bind_int(tls *crt.TLS, _p unsafe.Pointer, _i int32, _iValue int32) (r0 int32)

Xsqlite3_bind_int64

func Xsqlite3_bind_int64(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _iValue int64) (r0 int32)

Xsqlite3_bind_null

func Xsqlite3_bind_null(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32) (r0 int32)

Xsqlite3_bind_parameter_count

func Xsqlite3_bind_parameter_count(tls *crt.TLS, _pStmt unsafe.Pointer) (r0 int32)

C comment

/*
** Return the number of wildcards that can be potentially bound to.
** This routine is added to support DBD::SQLite.
*/

Xsqlite3_bind_parameter_index

func Xsqlite3_bind_parameter_index(tls *crt.TLS, _pStmt unsafe.Pointer, _zName *int8) (r0 int32)

C comment

/*
** CAPI3REF: Index Of A Parameter With A Given Name
** METHOD: sqlite3_stmt
**
** ^Return the index of an SQL parameter given its name.  ^The
** index value returned is suitable for use as the second
** parameter to [sqlite3_bind_blob|sqlite3_bind()].  ^A zero
** is returned if no matching parameter is found.  ^The parameter
** name must be given in UTF-8 even if the original statement
** was prepared from UTF-16 text using [sqlite3_prepare16_v2()].
**
** See also: [sqlite3_bind_blob|sqlite3_bind()],
** [sqlite3_bind_parameter_count()], and
** [sqlite3_bind_parameter_name()].
*/

Xsqlite3_bind_parameter_name

func Xsqlite3_bind_parameter_name(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32) (r0 *int8)

C comment

/*
** Return the name of a wildcard parameter.  Return NULL if the index
** is out of range or if the wildcard is unnamed.
**
** The result is always UTF-8.
*/

Xsqlite3_bind_text

func Xsqlite3_bind_text(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _zData *int8, _nData int32, _xDel func(*crt.TLS, unsafe.Pointer)) (r0 int32)

Xsqlite3_bind_text16

func Xsqlite3_bind_text16(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _zData unsafe.Pointer, _nData int32, _xDel func(*crt.TLS, unsafe.Pointer)) (r0 int32)

Xsqlite3_bind_text64

func Xsqlite3_bind_text64(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _zData *int8, _nData uint64, _xDel func(*crt.TLS, unsafe.Pointer), _enc uint8) (r0 int32)

Xsqlite3_bind_value

func Xsqlite3_bind_value(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _pValue *XMem) (r0 int32)

C comment

/* SQLITE_OMIT_UTF16 */

Xsqlite3_bind_zeroblob

func Xsqlite3_bind_zeroblob(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _n int32) (r0 int32)

Xsqlite3_bind_zeroblob64

func Xsqlite3_bind_zeroblob64(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _n uint64) (r0 int32)

Xsqlite3_blob_bytes

func Xsqlite3_blob_bytes(tls *crt.TLS, _pBlob unsafe.Pointer) (r0 int32)

C comment

/*
** Query a blob handle for the size of the data.
**
** The Incrblob.nByte field is fixed for the lifetime of the Incrblob
** so no mutex is required for access.
*/

Xsqlite3_blob_close

func Xsqlite3_blob_close(tls *crt.TLS, _pBlob unsafe.Pointer) (r0 int32)

C comment

/*
** Close a blob handle that was previously created using
** sqlite3_blob_open().
*/

Xsqlite3_blob_open

func Xsqlite3_blob_open(tls *crt.TLS, _db *Xsqlite3, _zDb *int8, _zTable *int8, _zColumn *int8, _iRow int64, _wrFlag int32, _ppBlob *unsafe.Pointer) (r0 int32)

C comment

/*
** Open a blob handle.
*/

Xsqlite3_blob_read

func Xsqlite3_blob_read(tls *crt.TLS, _pBlob unsafe.Pointer, _z unsafe.Pointer, _n int32, _iOffset int32) (r0 int32)

C comment

/*
** Read data from a blob handle.
*/

Xsqlite3_blob_reopen

func Xsqlite3_blob_reopen(tls *crt.TLS, _pBlob unsafe.Pointer, _iRow int64) (r0 int32)

C comment

/*
** Move an existing blob handle to point to a different row of the same
** database table.
**
** If an error occurs, or if the specified row does not exist or does not
** contain a blob or text value, then an error code is returned and the
** database handle error code and message set. If this happens, then all
** subsequent calls to sqlite3_blob_xxx() functions (except blob_close())
** immediately return SQLITE_ABORT.
*/
Showing entries 1–40 of 405. Use Contents to jump to any section or symbol.

Dependency graph