Classes | Macros | Typedefs | Functions | Variables
sqlite3.c File Reference
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <stddef.h>
#include <time.h>
#include <pthread.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/time.h>
#include <errno.h>
#include <sys/mman.h>
Include dependency graph for sqlite3.c:

Go to the source code of this file.

Classes

struct  Hash::_ht
 
struct  AggInfo
 
struct  AggInfo::AggInfo_col
 
struct  AggInfo::AggInfo_func
 
struct  analysisInfo
 
struct  AttachKey
 
struct  AuthContext
 
struct  AutoincInfo
 
struct  AuxData
 
struct  BenignMallocHooks
 
struct  Bitvec
 
struct  BtCursor
 
struct  BtLock
 
struct  Btree
 
struct  BtShared
 
struct  BusyHandler
 
struct  CellArray
 
struct  CellInfo
 
struct  CollSeq
 
struct  Column
 
struct  compareInfo
 
struct  CountCtx
 
struct  With::Cte
 
struct  DateTime
 
struct  Db
 
struct  DbFixer
 
struct  DistinctCtx
 
struct  et_info
 
struct  Explain
 
struct  Expr
 
struct  ExprList
 
struct  ExprList::ExprList_item
 
struct  ExprSpan
 
struct  FileChunk
 
struct  FilePoint
 
struct  FKey
 
struct  fts5_api
 
struct  fts5_tokenizer
 
struct  Fts5ExtensionApi
 
struct  Fts5PhraseIter
 
struct  FuncDef
 
struct  FuncDefHash
 
struct  FuncDestructor
 
struct  Hash
 
struct  HashElem
 
struct  IdList
 
struct  IdList::IdList_item
 
struct  Incrblob
 
struct  IncrMerger
 
struct  Index
 
struct  IndexSample
 
struct  InitData
 
struct  IntegrityCk
 
struct  KeyInfo
 
struct  LikeOp
 
struct  LimitVal
 
struct  Lookaside
 
struct  LookasideSlot
 
struct  Mem
 
struct  Mem0Global
 
struct  MemJournal
 
struct  MemPage
 
union  Mem::MemValue
 
struct  MergeEngine
 
struct  Module
 
struct  NameContext
 
union  VdbeOp::p4union
 
struct  Pager
 
struct  PagerSavepoint
 
struct  Parse
 
struct  PCache
 
struct  PCache1
 
struct  PCacheGlobal
 
struct  PgFreeslot
 
struct  PgHdr
 
struct  PgHdr1
 
struct  PGroup
 
struct  PmaReader
 
struct  PmaWriter
 
struct  PreUpdate
 
struct  PrintfArguments
 
struct  ReusableSpace
 
struct  RowSet
 
struct  RowSetChunk
 
struct  RowSetEntry
 
struct  Savepoint
 
struct  ScanStatus
 
struct  Schema
 
struct  FKey::sColMap
 
struct  ScratchFreeslot
 
struct  Select
 
struct  SelectDest
 
struct  SortCtx
 
struct  SorterFile
 
struct  SorterList
 
struct  SorterRecord
 
struct  SortSubtask
 
struct  sPragmaNames
 
struct  sqlite3
 
struct  sqlite3_api_routines
 
struct  sqlite3_backup
 
struct  sqlite3_context
 
struct  sqlite3_file
 
struct  sqlite3_index_info::sqlite3_index_constraint
 
struct  sqlite3_index_info::sqlite3_index_constraint_usage
 
struct  sqlite3_index_info
 
struct  sqlite3_index_info::sqlite3_index_orderby
 
struct  sqlite3_io_methods
 
struct  sqlite3_mem_methods
 
struct  sqlite3_module
 
struct  sqlite3_mutex
 
struct  sqlite3_mutex_methods
 
struct  sqlite3_pcache_methods
 
struct  sqlite3_pcache_methods2
 
struct  sqlite3_pcache_page
 
struct  sqlite3_rtree_geometry
 
struct  sqlite3_rtree_query_info
 
struct  sqlite3_vfs
 
struct  sqlite3_vtab
 
struct  sqlite3_vtab_cursor
 
struct  sqlite3AutoExtList
 
struct  Sqlite3Config
 
struct  sqlite3::sqlite3InitInfo
 
struct  sqlite3PrngType
 
struct  sqlite3StatType
 
struct  SQLiteThread
 
struct  SrcCount
 
struct  SrcList
 
struct  SrcList::SrcList_item
 
struct  Stat4Accum
 
struct  Stat4Sample
 
struct  StrAccum
 
struct  SubProgram
 
struct  SumCtx
 
struct  Table
 
struct  TableLock
 
struct  TabResult
 
struct  Token
 
struct  TrigEvent
 
struct  Trigger
 
struct  TriggerPrg
 
struct  TriggerStep
 
struct  unix_syscall
 
struct  unixFile
 
struct  unixFileId
 
struct  unixInodeInfo
 
struct  unixShm
 
struct  unixShmNode
 
struct  UnixUnusedFd
 
struct  UnpackedRecord
 
struct  ValueNewStat4Ctx
 
struct  Vdbe
 
struct  VdbeCursor
 
struct  VdbeFrame
 
struct  VdbeOp
 
struct  VdbeOpList
 
struct  VdbeSorter
 
struct  VtabCtx
 
struct  VTable
 
struct  vxworksFileId
 
struct  Wal
 
struct  WalCkptInfo
 
struct  WalIndexHdr
 
struct  WalIterator
 
struct  Walker
 
struct  WalIterator::WalSegment
 
struct  WalWriter
 
struct  WhereAndInfo
 
struct  WhereClause
 
struct  WhereInfo
 
struct  WhereLevel
 
struct  WhereLoop
 
struct  WhereLoopBuilder
 
struct  WhereMaskSet
 
struct  WhereOrCost
 
struct  WhereOrInfo
 
struct  WhereOrSet
 
struct  WherePath
 
struct  WhereScan
 
struct  WhereTerm
 
struct  With
 
struct  Parse::yColCache
 
union  YYMINORTYPE
 
struct  yyParser
 
struct  yyStackEntry
 

Macros

#define _BTREE_H_
 
#define _FILE_OFFSET_BITS   64
 
#define _FTS5_H
 
#define _FTSINT_H
 
#define _LARGE_FILE   1
 
#define _LARGEFILE_SOURCE   1
 
#define _MSVC_H_
 
#define _OS_COMMON_H_
 
#define _OS_SETUP_H_
 
#define _PAGER_H_
 
#define _SQLITE3_H_
 
#define _SQLITE3EXT_H_
 
#define _SQLITE3RTREE_H_
 
#define _SQLITE_HASH_H_
 
#define _SQLITE_OS_C_   1
 
#define _SQLITE_OS_H_
 
#define _SQLITE_VDBE_H_
 
#define _SQLITEINT_H_
 
#define _VDBEINT_H_
 
#define _WAL_H_
 
#define _XOPEN_SOURCE   600
 
#define ADDR(X)   (-1-(X))
 
#define AGGREGATE(zName, nArg, arg, nc, xStep, xFinal)
 
#define AGGREGATE2(zName, nArg, arg, nc, xStep, xFinal, extraFlags)
 
#define ALLBITS   ((Bitmask)-1)
 
#define ALWAYS(X)   (X)
 
#define ApplyCostMultiplier(C, T)
 
#define ArraySize(X)   ((int)(sizeof(X)/sizeof(X[0])))
 
#define assertCellInfo(x)
 
#define assertParentIndex(x, y, z)
 
#define assertTruncateConstraint(pPager)
 
#define BITVEC_HASH(X)   (((X)*1)%BITVEC_NINT)
 
#define BITVEC_MXHASH   (BITVEC_NINT/2)
 
#define BITVEC_NBIT   (BITVEC_NELEM*BITVEC_SZELEM)
 
#define BITVEC_NELEM   (BITVEC_USIZE/sizeof(BITVEC_TELEM))
 
#define BITVEC_NINT   (BITVEC_USIZE/sizeof(u32))
 
#define BITVEC_NPTR   (BITVEC_USIZE/sizeof(Bitvec *))
 
#define BITVEC_SZ   512
 
#define BITVEC_SZELEM   8
 
#define BITVEC_TELEM   u8
 
#define BITVEC_USIZE   (((BITVEC_SZ-(3*sizeof(u32)))/sizeof(Bitvec*))*sizeof(Bitvec*))
 
#define BMS   ((int)(sizeof(Bitmask)*8))
 
#define BTALLOC_ANY   0 /* Allocate any page */
 
#define BTALLOC_EXACT   1 /* Allocate exact page if possible */
 
#define BTALLOC_LE   2 /* Allocate any page <= the parameter */
 
#define BTCF_AtLast   0x08 /* Cursor is pointing ot the last entry */
 
#define BTCF_Incrblob   0x10 /* True if an incremental I/O handle */
 
#define BTCF_Multiple   0x20 /* Maybe another cursor on the same btree */
 
#define BTCF_ValidNKey   0x02 /* True if info.nKey is valid */
 
#define BTCF_ValidOvfl   0x04 /* True if aOverflow is valid */
 
#define BTCF_WriteFlag   0x01 /* True if a write cursor */
 
#define BTCURSOR_MAX_DEPTH   20
 
#define BTREE_APPLICATION_ID   8
 
#define BTREE_AUTOVACUUM_FULL   1 /* Do full auto-vacuum */
 
#define BTREE_AUTOVACUUM_INCR   2 /* Incremental vacuum */
 
#define BTREE_AUTOVACUUM_NONE   0 /* Do not do auto-vacuum */
 
#define BTREE_AUXDELETE   0x04 /* not the primary delete operation */
 
#define BTREE_BLOBKEY   2 /* Table has keys only - no data */
 
#define BTREE_BULKLOAD   0x00000001 /* Used to full index in sorted order */
 
#define BTREE_DATA_VERSION   15 /* A virtual meta-value */
 
#define BTREE_DEFAULT_CACHE_SIZE   3
 
#define BTREE_FILE_FORMAT   2
 
#define BTREE_FORDELETE   0x00000008 /* Cursor is for seek/delete only */
 
#define BTREE_FREE_PAGE_COUNT   0
 
#define BTREE_HINT_RANGE   0 /* Range constraints on queries */
 
#define BTREE_INCR_VACUUM   7
 
#define BTREE_INTKEY   1 /* Table has only 64-bit signed integer keys */
 
#define BTREE_LARGEST_ROOT_PAGE   4
 
#define BTREE_MEMORY   2 /* This is an in-memory DB */
 
#define BTREE_OMIT_JOURNAL   1 /* Do not create or use a rollback journal */
 
#define BTREE_SAVEPOSITION   0x02 /* Leave cursor pointing at NEXT or PREV */
 
#define BTREE_SCHEMA_VERSION   1
 
#define BTREE_SEEK_EQ   0x00000002 /* EQ seeks only - no range seeks */
 
#define BTREE_SINGLE   4 /* The file contains at most 1 b-tree */
 
#define BTREE_TEXT_ENCODING   5
 
#define BTREE_UNORDERED   8 /* Use of a hash implementation is OK */
 
#define BTREE_USER_VERSION   6
 
#define BTREE_WRCSR   0x00000004 /* read-write cursor */
 
#define btreeIntegrity(p)
 
#define BTS_EXCLUSIVE   0x0020 /* pWriter has an exclusive lock */
 
#define BTS_INITIALLY_EMPTY   0x0008 /* Database was empty at trans start */
 
#define BTS_NO_WAL   0x0010 /* Do not open write-ahead-log files */
 
#define BTS_PAGESIZE_FIXED   0x0002 /* Page size can no longer be changed */
 
#define BTS_PENDING   0x0040 /* Waiting for read-locks to clear */
 
#define BTS_READ_ONLY   0x0001 /* Underlying file is readonly */
 
#define BTS_SECURE_DELETE   0x0004 /* PRAGMA secure_delete is enabled */
 
#define BYTESWAP32(x)
 
#define CACHE_STALE   0
 
#define CC_AND   24 /* '&' */
 
#define CC_BANG   15 /* '!'. Part of != */
 
#define CC_COMMA   23 /* ',' */
 
#define CC_DIGIT   3 /* Digits */
 
#define CC_DOLLAR   4 /* '$' */
 
#define CC_DOT   26 /* '.' */
 
#define CC_EQ   14 /* '='. Part of = or == */
 
#define CC_GT   13 /* '>'. Part of > or >= */
 
#define CC_ID   2 /* unicode characters usable in IDs */
 
#define CC_ILLEGAL   27 /* Illegal character */
 
#define CC_KYWD   1 /* Alphabetics or '_'. Usable in a keyword */
 
#define CC_LP   17 /* '(' */
 
#define CC_LT   12 /* '<'. Part of < or <= or <> */
 
#define CC_MINUS   11 /* '-'. Minus or SQL-style comment */
 
#define CC_PERCENT   22 /* '%' */
 
#define CC_PIPE   10 /* '|'. Bitwise OR or concatenate */
 
#define CC_PLUS   20 /* '+' */
 
#define CC_QUOTE   8 /* '"', '\'', or '`'. String literals, quoted ids */
 
#define CC_QUOTE2   9 /* '['. [...] style quoted ids */
 
#define CC_RP   18 /* ')' */
 
#define CC_SEMI   19 /* ';' */
 
#define CC_SLASH   16 /* '/'. / or c-style comment */
 
#define CC_SPACE   7 /* Space characters */
 
#define CC_STAR   21 /* '*' */
 
#define CC_TILDA   25 /* '~' */
 
#define CC_VARALPHA   5 /* '@', '#', ':'. Alphabetic SQL variables */
 
#define CC_VARNUM   6 /* '?'. Numeric SQL variables */
 
#define CC_X   0 /* The letter 'x', or start of BLOB literal */
 
#define charMap(X)   sqlite3UpperToLower[(unsigned char)X]
 
#define CHECK_PAGE(x)
 
#define checkActiveVdbeCnt(x)
 
#define checkProfileCallback(DB, P)   if( ((P)->startTime)>0 ){ invokeProfileCallback(DB,P); }
 
#define CKCNSTRNT_COLUMN   0x01 /* CHECK constraint uses a changing column */
 
#define CKCNSTRNT_ROWID   0x02 /* CHECK constraint references the ROWID */
 
#define CLEARBIT(V, I)   V[I>>3] &= ~(1<<(I&7))
 
#define CODEC1(P, D, N, X, E)   /* NO-OP */
 
#define CODEC2(P, D, N, X, E, O)   O=(char*)D
 
#define codeCursorHint(A, B, C)   /* No-op */
 
#define COLFLAG_HASTYPE   0x0004 /* Type name follows column name */
 
#define COLFLAG_HIDDEN   0x0002 /* A hidden column in a virtual table */
 
#define COLFLAG_PRIMKEY   0x0001 /* Column is part of the primary key */
 
#define COLNAME_COLUMN   4
 
#define COLNAME_DATABASE   2
 
#define COLNAME_DECLTYPE   1
 
#define COLNAME_N   2 /* Store the name and decltype */
 
#define COLNAME_NAME   0
 
#define COLNAME_TABLE   3
 
#define COLUMN_MASK(x)   (((x)>31) ? 0xffffffff : ((u32)1<<(x)))
 
#define columnType(A, B, C, D, E, F)   columnTypeImpl(A,B,F)
 
#define ConstFactorOk(P)   ((P)->okConstFactor)
 
#define CORRUPT_DB   (sqlite3Config.neverCorrupt==0)
 
#define CTIMEOPT_VAL(opt)   CTIMEOPT_VAL_(opt)
 
#define CTIMEOPT_VAL_(opt)   #opt
 
#define CURSOR_FAULT   4
 
#define CURSOR_INVALID   0
 
#define CURSOR_REQUIRESEEK   3
 
#define CURSOR_SKIPNEXT   2
 
#define CURSOR_VALID   1
 
#define CURTYPE_BTREE   0
 
#define CURTYPE_PSEUDO   3
 
#define CURTYPE_SORTER   1
 
#define CURTYPE_VTAB   2
 
#define DB_Empty   0x0004 /* The file is empty (length 0 bytes) */
 
#define DB_SchemaLoaded   0x0001 /* The schema has been loaded */
 
#define DB_UnresetViews   0x0002 /* Some views have defined column names */
 
#define DbClearProperty(D, I, P)   (D)->aDb[I].pSchema->schemaFlags&=~(P)
 
#define DbHasAnyProperty(D, I, P)   (((D)->aDb[I].pSchema->schemaFlags&(P))!=0)
 
#define DbHasProperty(D, I, P)   (((D)->aDb[I].pSchema->schemaFlags&(P))==(P))
 
#define DbMaskAllZero(M)   (M)==0
 
#define DbMaskNonZero(M)   (M)!=0
 
#define DbMaskSet(M, I)   (M)|=(((yDbMask)1)<<(I))
 
#define DbMaskTest(M, I)   (((M)&(((yDbMask)1)<<(I)))!=0)
 
#define DbMaskZero(M)   (M)=0
 
#define DbSetProperty(D, I, P)   (D)->aDb[I].pSchema->schemaFlags|=(P)
 
#define Deephemeralize(P)
 
#define DFUNCTION(zName, nArg, iArg, bNC, xFunc)
 
#define DIRECT_MODE   0
 
#define disable_simulated_io_errors()
 
#define disable_simulated_io_errors()
 
#define DO_OS_MALLOC_TEST(x)
 
#define DOTLOCK_SUFFIX   ".lock"
 
#define EIGHT_BYTE_ALIGNMENT(X)   ((((char*)(X) - (char*)0)&7)==0)
 
#define enable_simulated_io_errors()
 
#define enable_simulated_io_errors()
 
#define ENC(db)   ((db)->enc)
 
#define EP_Agg   0x000002 /* Contains one or more aggregate functions */
 
#define EP_Alias   0x400000 /* Is an alias for a result set column */
 
#define EP_CanBeNull   0x100000 /* Can be null despite NOT NULL constraint */
 
#define EP_Collate   0x000100 /* Tree contains a TK_COLLATE operator */
 
#define EP_ConstFunc   0x080000 /* A SQLITE_FUNC_CONSTANT or _SLOCHNG function */
 
#define EP_DblQuoted   0x000040 /* token.z was originally in "..." */
 
#define EP_Distinct   0x000010 /* Aggregate function with DISTINCT keyword */
 
#define EP_Error   0x000008 /* Expression contains one or more errors */
 
#define EP_FromJoin   0x000001 /* Originates in ON/USING clause of outer join */
 
#define EP_Generic   0x000200 /* Ignore COLLATE or affinity on this tree */
 
#define EP_InfixFunc   0x000080 /* True for an infix function: LIKE, GLOB, etc */
 
#define EP_IntValue   0x000400 /* Integer value contained in u.iValue */
 
#define EP_MemToken   0x010000 /* Need to sqlite3DbFree() Expr.zToken */
 
#define EP_NoReduce   0x020000 /* Cannot EXPRDUP_REDUCE this Expr */
 
#define EP_Propagate   (EP_Collate|EP_Subquery) /* Propagate these bits up tree */
 
#define EP_Reduced   0x002000 /* Expr struct EXPR_REDUCEDSIZE bytes only */
 
#define EP_Resolved   0x000004 /* IDs have been resolved to COLUMNs */
 
#define EP_Skip   0x001000 /* COLLATE, AS, or UNLIKELY */
 
#define EP_Static   0x008000 /* Held in memory not obtained from malloc() */
 
#define EP_Subquery   0x200000 /* Tree contains a TK_SELECT operator */
 
#define EP_TokenOnly   0x004000 /* Expr struct EXPR_TOKENONLYSIZE bytes only */
 
#define EP_Unlikely   0x040000 /* unlikely() or likelihood() function */
 
#define EP_VarSelect   0x000020 /* pSelect is correlated, not constant */
 
#define EP_xIsSelect   0x000800 /* x.pSelect is valid (otherwise x.pList is) */
 
#define etBUFSIZE   SQLITE_PRINT_BUF_SIZE /* Size of the output buffer */
 
#define etCHARX   8 /* Characters. %c */
 
#define etDYNSTRING   6 /* Dynamically allocated strings. %z */
 
#define etEXP   2 /* Exponentional notation. %e and %E */
 
#define etFLOAT   1 /* Floating point. %f */
 
#define etGENERIC   3 /* Floating or exponential, depending on exponent. %g */
 
#define etINVALID   16 /* Any unrecognized conversion type */
 
#define etORDINAL   15 /* %r -> 1st, 2nd, 3rd, 4th, etc. English only */
 
#define etPERCENT   7 /* Percent symbol. %% */
 
#define etPOINTER   13 /* The %p conversion */
 
#define etRADIX   0 /* Integer types. %d, %x, %o, and so forth */
 
#define etSIZE   4 /* Return number of characters processed so far. %n */
 
#define etSQLESCAPE   9 /* Strings with '\'' doubled. %q */
 
#define etSQLESCAPE2
 
#define etSQLESCAPE3   14 /* %w -> Strings with '\"' doubled */
 
#define etSRCLIST   12 /* a pointer to a SrcList */
 
#define etSTRING   5 /* Strings. %s */
 
#define etTOKEN   11 /* a pointer to a Token structure */
 
#define EXCLUSIVE_LOCK   4
 
#define ExpandBlob(P)   (((P)->flags&MEM_Zero)?sqlite3VdbeMemExpandBlob(P):0)
 
#define explainSetInteger(a, b)   a = b
 
#define EXPR_FULLSIZE   sizeof(Expr) /* Full size */
 
#define EXPR_REDUCEDSIZE   offsetof(Expr,iTable) /* Common features */
 
#define EXPR_TOKENONLYSIZE   offsetof(Expr,pLeft) /* Fewer features */
 
#define ExprClearProperty(E, P)   (E)->flags&=~(P)
 
#define EXPRDUP_REDUCE   0x0001 /* Used reduced-size Expr nodes */
 
#define ExprHasAllProperty(E, P)   (((E)->flags&(P))==(P))
 
#define ExprHasProperty(E, P)   (((E)->flags&(P))!=0)
 
#define ExprSetProperty(E, P)   (E)->flags|=(P)
 
#define ExprSetVVAProperty(E, P)
 
#define EXTRA_SIZE   sizeof(MemPage)
 
#define fdatasync   fsync
 
#define fileChunkSize(nChunkSize)   (sizeof(FileChunk) + ((nChunkSize)-8))
 
#define FILEHANDLEID(fd)   ((int)fd)
 
#define findCell(P, I)   ((P)->aData + ((P)->maskPage & get2byteAligned(&(P)->aCellIdx[2*(I)])))
 
#define findCellPastPtr(P, I)   ((P)->aDataOfst + ((P)->maskPage & get2byteAligned(&(P)->aCellIdx[2*(I)])))
 
#define FLAG_INTERN   2 /* True if for internal use only */
 
#define FLAG_SIGNED   1 /* True if the value to convert is signed */
 
#define FLAG_STRING   4 /* Allow infinity precision */
 
#define FOUR_BYTE_INT(x)   (16777216*(i8)((x)[0])|((x)[1]<<16)|((x)[2]<<8)|(x)[3])
 
#define FOUR_BYTE_UINT(x)   (((u32)(x)[0]<<24)|((x)[1]<<16)|((x)[2]<<8)|(x)[3])
 
#define FTS5_TOKEN_COLOCATED   0x0001 /* Same position as prev. token */
 
#define FTS5_TOKENIZE_AUX   0x0008
 
#define FTS5_TOKENIZE_DOCUMENT   0x0004
 
#define FTS5_TOKENIZE_PREFIX   0x0002
 
#define FTS5_TOKENIZE_QUERY   0x0001
 
#define FULLY_WITHIN   2 /* Object fully contained within query region */
 
#define FUNC_PERFECT_MATCH   6 /* The score for a perfect match */
 
#define FUNCTION(zName, nArg, iArg, bNC, xFunc)
 
#define FUNCTION2(zName, nArg, iArg, bNC, xFunc, extraFlags)
 
#define GCC_VERSION   0
 
#define get2byte(x)   ((x)[0]<<8 | (x)[1])
 
#define get2byteAligned(x)   ((x)[0]<<8 | (x)[1])
 
#define get2byteNotZero(X)   (((((int)get2byte(X))-1)&0xffff)+1)
 
#define get4byte   sqlite3Get4byte
 
#define getVarint   sqlite3GetVarint
 
#define getVarint32(A, B)   (u8)((*(A)<(u8)0x80)?((B)=(u32)*(A)),1:sqlite3GetVarint32((A),(u32 *)&(B)))
 
#define GLOBAL(t, v)   v
 
#define HAS_UPDATE_HOOK(DB)   ((DB)->xUpdateCallback)
 
#define HASHTABLE_HASH_1   383 /* Should be prime */
 
#define HASHTABLE_NPAGE   4096 /* Must be power of 2 */
 
#define HASHTABLE_NPAGE_ONE   (HASHTABLE_NPAGE - (WALINDEX_HDR_SIZE/sizeof(u32)))
 
#define HASHTABLE_NSLOT   (HASHTABLE_NPAGE*2) /* Must be a power of 2 */
 
#define HasRowid(X)   (((X)->tabFlags & TF_WithoutRowid)==0)
 
#define HAVE_FCHOWN   1
 
#define HAVE_FULLFSYNC   0
 
#define HAVE_LSTAT   1
 
#define HAVE_MREMAP   0
 
#define HAVE_READLINK   1
 
#define IdChar(C)   ((sqlite3CtypeMap[(unsigned char)C]&0x46)!=0)
 
#define IfNotOmitAV(expr)   (expr)
 
#define IgnorableOrderby(X)   ((X->eDest)<=SRT_DistQueue)
 
#define IN_DECLARE_VTAB   (pParse->declareVtab)
 
#define IN_INDEX_EPH   2 /* Search an ephemeral b-tree */
 
#define IN_INDEX_INDEX_ASC   3 /* Existing index ASCENDING */
 
#define IN_INDEX_INDEX_DESC   4 /* Existing index DESCENDING */
 
#define IN_INDEX_LOOP   0x0004 /* IN operator used as a loop */
 
#define IN_INDEX_MEMBERSHIP   0x0002 /* IN operator used for membership test */
 
#define IN_INDEX_NOOP   5 /* No table available. Use comparisons */
 
#define IN_INDEX_NOOP_OK   0x0001 /* OK to return IN_INDEX_NOOP */
 
#define IN_INDEX_ROWID   1 /* Search the rowid of the table */
 
#define INCRINIT_NORMAL   0
 
#define INCRINIT_ROOT   2
 
#define INCRINIT_TASK   1
 
#define initMaskSet(P)   (P)->n=0
 
#define INT16_TYPE   short int
 
#define INT8_TYPE   signed char
 
#define INTERFACE   1
 
#define invalidateOverflowCache(pCur)   (pCur->curFlags &= ~BTCF_ValidOvfl)
 
#define IOMETHODS(FINDER, METHOD, VERSION, CLOSE, LOCK, UNLOCK, CKLOCK, SHMMAP)
 
#define IOTRACE(A)
 
#define IS_BIG_INT(X)   (((X)&~(i64)0xffffffff)!=0)
 
#define IS_LOCK_ERROR(x)   ((x != SQLITE_OK) && (x != SQLITE_BUSY))
 
#define ISAUTOVACUUM   (pBt->autoVacuum)
 
#define IsHiddenColumn(X)   (((X)->colFlags & COLFLAG_HIDDEN)!=0)
 
#define isMalloced(X)   (((X)->printfFlags & SQLITE_PRINTF_MALLOCED)!=0)
 
#define isOpen(pFd)   ((pFd)->pMethods!=0)
 
#define IsOrdinaryHiddenColumn(X)   0
 
#define IsPowerOfTwo(X)   (((X)&((X)-1))==0)
 
#define IsPrimaryKeyIndex(X)   ((X)->idxType==SQLITE_IDXTYPE_PRIMARYKEY)
 
#define isSorter(x)   ((x)->eCurType==CURTYPE_SORTER)
 
#define IsStat3   0
 
#define IsStat34   (IsStat3+IsStat4) /* 1 for STAT3 or STAT4. 0 otherwise */
 
#define IsStat4   0
 
#define IsUniqueIndex(X)   ((X)->onError!=OE_None)
 
#define IsVirtual(X)   (((X)->tabFlags & TF_Virtual)!=0)
 
#define JOURNAL_HDR_SZ(pPager)   (pPager->sectorSize)
 
#define JOURNAL_PG_SZ(pPager)   ((pPager->pageSize) + 8)
 
#define jrnlBufferSize(x)   0
 
#define JT_CROSS   0x0002 /* Explicit use of the CROSS keyword */
 
#define JT_ERROR   0x0040 /* unknown or unsupported join type */
 
#define JT_INNER   0x0001 /* Any kind of inner or cross join */
 
#define JT_LEFT   0x0008 /* Left outer join */
 
#define JT_NATURAL   0x0004 /* True for a "natural" join */
 
#define JT_OUTER   0x0020 /* The "OUTER" keyword is present */
 
#define JT_RIGHT   0x0010 /* Right outer join */
 
#define LARGEST_INT64   (0xffffffff|(((i64)0x7fffffff)<<32))
 
#define LIKEFUNC(zName, nArg, arg, flags)
 
#define likely(X)   (X)
 
#define LONGDOUBLE_TYPE   long double
 
#define MASKBIT(n)   (((Bitmask)1)<<(n))
 
#define MASKBIT32(n)   (((unsigned int)1)<<(n))
 
#define MASTER_NAME   "sqlite_master"
 
#define MASTER_ROOT   1
 
#define MAX(A, B)   ((A)>(B)?(A):(B))
 
#define MAX_6BYTE   ((((i64)0x00008000)<<32)-1)
 
#define MAX_PATHNAME   512
 
#define MAX_ROWID   (i64)( (((u64)0x7fffffff)<<32) | (u64)0xffffffff )
 
#define MAX_SECTOR_SIZE   0x10000
 
#define mem0   GLOBAL(struct Mem0Global, mem0)
 
#define MEM_AffMask   0x001f /* Mask of affinity bits */
 
#define MEM_Agg   0x2000 /* Mem.z points to an agg function context */
 
#define MEM_Blob   0x0010 /* Value is a BLOB */
 
#define MEM_Cleared   0x0100 /* NULL set by OP_Null, not from data */
 
#define MEM_Dyn   0x0400 /* Need to call Mem.xDel() on Mem.z */
 
#define MEM_Ephem   0x1000 /* Mem.z points to an ephemeral string */
 
#define MEM_Frame   0x0040 /* Value is a VdbeFrame object */
 
#define MEM_Int   0x0004 /* Value is an integer */
 
#define MEM_Null   0x0001 /* Value is NULL */
 
#define MEM_Real   0x0008 /* Value is a real number */
 
#define MEM_RowSet   0x0020 /* Value is a RowSet object */
 
#define MEM_Static   0x0800 /* Mem.z points to a static string */
 
#define MEM_Str   0x0002 /* Value is a string */
 
#define MEM_Subtype   0x8000 /* Mem.eSubtype is valid */
 
#define MEM_Term   0x0200 /* String rep is nul terminated */
 
#define MEM_TypeMask   0x81ff /* Mask of type bits */
 
#define MEM_Undefined   0x0080 /* Value is undefined */
 
#define MEM_Zero   0x4000 /* Mem.i contains count of 0s appended to blob */
 
#define memAboutToChange(P, M)
 
#define MEMCELLSIZE   offsetof(Mem,zMalloc)
 
#define MEMDB   pPager->memDb
 
#define MEMJOURNAL_DFLT_FILECHUNKSIZE   1024
 
#define MemSetTypeFlag(p, f)   ((p)->flags = ((p)->flags&~(MEM_TypeMask|MEM_Zero))|f)
 
#define MEMTYPE_HEAP   0x01 /* General heap allocations */
 
#define MEMTYPE_LOOKASIDE   0x02 /* Heap that might have been lookaside */
 
#define MEMTYPE_PCACHE   0x08 /* Page cache allocations */
 
#define MEMTYPE_SCRATCH   0x04 /* Scratch allocations */
 
#define MIN(A, B)   ((A)<(B)?(A):(B))
 
#define MUTEX_LOGIC(X)   X
 
#define MX_CELL(pBt)   ((pBt->pageSize-8)/6)
 
#define MX_CELL_SIZE(pBt)   ((int)(pBt->pageSize-8))
 
#define N_OR_COST   3
 
#define N_SORT_BUCKET   32
 
#define NB   (NN*2+1) /* Total pages involved in the balance */
 
#define NC_AllowAgg   0x0001 /* Aggregate functions are allowed here */
 
#define NC_HasAgg   0x0010 /* One or more aggregate functions seen */
 
#define NC_IdxExpr   0x0020 /* True if resolving columns of CREATE INDEX */
 
#define NC_InAggFunc   0x0008 /* True if analyzing arguments to an agg func */
 
#define NC_IsCheck   0x0004 /* True if resolving names in a CHECK constraint */
 
#define NC_MinMaxAgg   0x1000 /* min/max aggregates seen. See note above */
 
#define NC_PartIdx   0x0002 /* True if resolving a partial index WHERE */
 
#define NC_VarSelect   0x0040 /* A correlated subquery has been seen */
 
#define NDEBUG   1
 
#define NEVER(X)   (X)
 
#define NN   1 /* Number of neighbors on either side of pPage */
 
#define NO_LOCK   0
 
#define noopFunc   versionFunc /* Substitute function - never called */
 
#define NOT_WITHIN   0 /* Object completely outside of query region */
 
#define O_BINARY   0
 
#define O_LARGEFILE   0
 
#define O_NOFOLLOW   0
 
#define OE_Abort   2 /* Back out changes but do no rollback transaction */
 
#define OE_Cascade   9 /* Cascade the changes */
 
#define OE_Default   10 /* Do whatever the default action is */
 
#define OE_Fail   3 /* Stop the operation but leave all prior changes */
 
#define OE_Ignore   4 /* Ignore the error. Do not do the INSERT or UPDATE */
 
#define OE_None   0 /* There is no constraint to check */
 
#define OE_Replace   5 /* Delete existing record, then do INSERT or UPDATE */
 
#define OE_Restrict   6 /* OE_Abort for IMMEDIATE, OE_Rollback for DEFERRED */
 
#define OE_Rollback   1 /* Fail the operation and rollback the transaction */
 
#define OE_SetDflt   8 /* Set the foreign key value to its default */
 
#define OE_SetNull   7 /* Set the foreign key value to NULL */
 
#define offsetof(STRUCTURE, FIELD)   ((int)((char*)&((STRUCTURE*)0)->FIELD))
 
#define OMIT_TEMPDB   0
 
#define ONE_BYTE_INT(x)   ((i8)(x)[0])
 
#define ONEPASS_MULTI   2 /* ONEPASS is valid for multiple rows */
 
#define ONEPASS_OFF   0 /* Use of ONEPASS not allowed */
 
#define ONEPASS_SINGLE   1 /* ONEPASS valid for a single row update */
 
#define ONLY_IF_REALLOC_STRESS(X)   (0)
 
#define OP_Add   47 /* same as TK_PLUS, synopsis: r[P3]=r[P1]+r[P2] */
 
#define OP_AddImm   89 /* synopsis: r[P1]=r[P1]+P2 */
 
#define OP_Affinity   95 /* synopsis: affinity(r[P1@P2]) */
 
#define OP_AggFinal   147 /* synopsis: accum=r[P1] N=P2 */
 
#define OP_AggStep   146 /* synopsis: accum=r[P3] step(r[P2@P5]) */
 
#define OP_AggStep0   145 /* synopsis: accum=r[P3] step(r[P2@P5]) */
 
#define OP_And   28 /* same as TK_AND, synopsis: r[P3]=(r[P1] && r[P2]) */
 
#define OP_AutoCommit   1
 
#define OP_BitAnd   43 /* same as TK_BITAND, synopsis: r[P3]=r[P1]&r[P2] */
 
#define OP_BitNot   54 /* same as TK_BITNOT, synopsis: r[P1]= ~r[P1] */
 
#define OP_BitOr   44 /* same as TK_BITOR, synopsis: r[P3]=r[P1]|r[P2] */
 
#define OP_Blob   79 /* synopsis: r[P2]=P4 (len=P1) */
 
#define OP_Cast   91 /* synopsis: affinity(r[P1]) */
 
#define OP_Checkpoint   8
 
#define OP_Clear   129
 
#define OP_Close   109
 
#define OP_CollSeq   86
 
#define OP_Column   94 /* synopsis: r[P3]=PX */
 
#define OP_ColumnsUsed   110
 
#define OP_Compare   93 /* synopsis: r[P1@P3] <-> r[P2@P3] */
 
#define OP_Concat   52 /* same as TK_CONCAT, synopsis: r[P3]=r[P2]+r[P1] */
 
#define OP_Copy   82 /* synopsis: r[P2@P3+1]=r[P1@P3+1] */
 
#define OP_Count   98 /* synopsis: r[P2]=count() */
 
#define OP_CreateIndex   131 /* synopsis: r[P2]=root iDb=P1 */
 
#define OP_CreateTable   132 /* synopsis: r[P2]=root iDb=P1 */
 
#define OP_CursorHint   158
 
#define OP_DecrJumpZero   66 /* synopsis: if (--r[P1])==0 goto P2 */
 
#define OP_Delete   115
 
#define OP_Destroy   128
 
#define OP_Divide   50 /* same as TK_SLASH, synopsis: r[P3]=r[P2]/r[P1] */
 
#define OP_DropIndex   137
 
#define OP_DropTable   136
 
#define OP_DropTrigger   138
 
#define OP_EndCoroutine   71
 
#define OP_Eq   37 /* same as TK_EQ, synopsis: if r[P1]==r[P3] goto P2 */
 
#define OP_Expire   148
 
#define OP_Explain   160
 
#define OP_FkCounter   142 /* synopsis: fkctr[P1]+=P2 */
 
#define OP_FkIfZero   63 /* synopsis: if fkctr[P1]==0 goto P2 */
 
#define OP_Found   31 /* synopsis: key=r[P3@P4] */
 
#define OP_Function   88 /* synopsis: r[P3]=func(r[P2@P5]) */
 
#define OP_Function0   87 /* synopsis: r[P3]=func(r[P2@P5]) */
 
#define OP_Ge   41 /* same as TK_GE, synopsis: if r[P1]>=r[P3] goto P2 */
 
#define OP_Gosub   14
 
#define OP_Goto   13
 
#define OP_Gt   38 /* same as TK_GT, synopsis: if r[P1]>r[P3] goto P2 */
 
#define OP_Halt   73
 
#define OP_HaltIfNull   72 /* synopsis: if r[P3]=null halt */
 
#define OP_IdxDelete   125 /* synopsis: key=r[P2@P3] */
 
#define OP_IdxGE   59 /* synopsis: key=r[P3@P4] */
 
#define OP_IdxGT   57 /* synopsis: key=r[P3@P4] */
 
#define OP_IdxInsert   124 /* synopsis: key=r[P2] */
 
#define OP_IdxLE   56 /* synopsis: key=r[P3@P4] */
 
#define OP_IdxLT   58 /* synopsis: key=r[P3@P4] */
 
#define OP_IdxRowid   127 /* synopsis: r[P2]=rowid */
 
#define OP_If   21
 
#define OP_IfNot   22
 
#define OP_IfNotZero   65 /* synopsis: if r[P1]!=0 then r[P1]-=P3, goto P2 */
 
#define OP_IfPos   64 /* synopsis: if r[P1]>0 then r[P1]-=P3, goto P2 */
 
#define OP_IncrVacuum   67
 
#define OP_Init   69 /* synopsis: Start at P2 */
 
#define OP_InitCoroutine   15
 
#define OP_Insert   113 /* synopsis: intkey=r[P3] data=r[P2] */
 
#define OP_InsertInt   114 /* synopsis: intkey=P3 data=r[P2] */
 
#define OP_Int64   75 /* synopsis: r[P2]=P4 */
 
#define OP_IntCopy   84 /* synopsis: r[P2]=r[P1] */
 
#define OP_Integer   74 /* synopsis: r[P2]=P1 */
 
#define OP_IntegrityCk   139
 
#define OP_IsNull   34 /* same as TK_ISNULL, synopsis: if r[P1]==NULL goto P2 */
 
#define OP_JournalMode   9
 
#define OP_Jump   18
 
#define OP_Last   33
 
#define OP_Le   39 /* same as TK_LE, synopsis: if r[P1]<=r[P3] goto P2 */
 
#define OP_LoadAnalysis   135
 
#define OP_Lt   40 /* same as TK_LT, synopsis: if r[P1]<r[P3] goto P2 */
 
#define OP_MakeRecord   96 /* synopsis: r[P3]=mkrec(r[P1@P2]) */
 
#define OP_MaxPgcnt   157
 
#define OP_MemMax   143 /* synopsis: r[P1]=max(r[P1],r[P2]) */
 
#define OP_Move   81 /* synopsis: r[P2@P3]=r[P1@P3] */
 
#define OP_Multiply   49 /* same as TK_STAR, synopsis: r[P3]=r[P1]*r[P2] */
 
#define OP_MustBeInt   17
 
#define OP_Ne   36 /* same as TK_NE, synopsis: if r[P1]!=r[P3] goto P2 */
 
#define OP_NewRowid   112 /* synopsis: r[P2]=rowid */
 
#define OP_Next   7
 
#define OP_NextIfOpen   5
 
#define OP_NoConflict   29 /* synopsis: key=r[P3@P4] */
 
#define OP_Noop   159
 
#define OP_Not   19 /* same as TK_NOT, synopsis: r[P2]= !r[P1] */
 
#define OP_NotExists   32 /* synopsis: intkey=r[P3] */
 
#define OP_NotFound   30 /* synopsis: key=r[P3@P4] */
 
#define OP_NotNull   35 /* same as TK_NOTNULL, synopsis: if r[P1]!=NULL goto P2 */
 
#define OP_Null   77 /* synopsis: r[P2..P3]=NULL */
 
#define OP_NullRow   122
 
#define OP_OffsetLimit   144 /* synopsis: if r[P1]>0 then r[P2]=r[P1]+max(0,r[P3]) else r[P2]=(-1) */
 
#define OP_Once   20
 
#define OP_OpenAutoindex   104 /* synopsis: nColumn=P2 */
 
#define OP_OpenEphemeral   105 /* synopsis: nColumn=P2 */
 
#define OP_OpenPseudo   108 /* synopsis: P3 columns in r[P2] */
 
#define OP_OpenRead   102 /* synopsis: root=P2 iDb=P3 */
 
#define OP_OpenWrite   103 /* synopsis: root=P2 iDb=P3 */
 
#define OP_Or   27 /* same as TK_OR, synopsis: r[P3]=(r[P1] || r[P2]) */
 
#define OP_Pagecount   156
 
#define OP_Param   141
 
#define OP_ParseSchema   134
 
#define OP_Permutation   92
 
#define OP_Prev   6
 
#define OP_PrevIfOpen   4
 
#define OP_Program   62
 
#define OP_ReadCookie   99
 
#define OP_Real   133 /* same as TK_FLOAT, synopsis: r[P2]=P4 */
 
#define OP_RealAffinity   90
 
#define OP_Remainder   51 /* same as TK_REM, synopsis: r[P3]=r[P2]%r[P1] */
 
#define OP_ReopenIdx   101 /* synopsis: root=P2 iDb=P3 */
 
#define OP_ResetCount   116
 
#define OP_ResetSorter   130
 
#define OP_ResultRow   85 /* synopsis: output=r[P1@P2] */
 
#define OP_Return   70
 
#define OP_Rewind   55
 
#define OP_RowData   120 /* synopsis: r[P2]=data */
 
#define OP_Rowid   121 /* synopsis: r[P2]=rowid */
 
#define OP_RowKey   119 /* synopsis: r[P2]=key */
 
#define OP_RowSetAdd   140 /* synopsis: rowset(P1)=r[P2] */
 
#define OP_RowSetRead   60 /* synopsis: r[P3]=rowset(P1) */
 
#define OP_RowSetTest   61 /* synopsis: if r[P3] in rowset(P1) goto P2 */
 
#define OP_Savepoint   0
 
#define OP_SCopy   83 /* synopsis: r[P2]=r[P1] */
 
#define OP_Seek   126 /* synopsis: Move P3 to P1.rowid */
 
#define OP_SeekGE   25 /* synopsis: key=r[P3@P4] */
 
#define OP_SeekGT   26 /* synopsis: key=r[P3@P4] */
 
#define OP_SeekLE   24 /* synopsis: key=r[P3@P4] */
 
#define OP_SeekLT   23 /* synopsis: key=r[P3@P4] */
 
#define OP_Sequence   111 /* synopsis: r[P2]=cursor[P1].ctr++ */
 
#define OP_SequenceTest   107 /* synopsis: if( cursor[P1].ctr++ ) pc = P2 */
 
#define OP_SetCookie   100
 
#define OP_ShiftLeft   45 /* same as TK_LSHIFT, synopsis: r[P3]=r[P2]<<r[P1] */
 
#define OP_ShiftRight   46 /* same as TK_RSHIFT, synopsis: r[P3]=r[P2]>>r[P1] */
 
#define OP_SoftNull   78 /* synopsis: r[P1]=NULL */
 
#define OP_Sort   53
 
#define OP_SorterCompare   117 /* synopsis: if key(P1)!=trim(r[P3],P4) goto P2 */
 
#define OP_SorterData   118 /* synopsis: r[P2]=data */
 
#define OP_SorterInsert   123
 
#define OP_SorterNext   3
 
#define OP_SorterOpen   106
 
#define OP_SorterSort   42
 
#define OP_String   76 /* synopsis: r[P2]='P4' (len=P1) */
 
#define OP_String8   97 /* same as TK_STRING, synopsis: r[P2]='P4' */
 
#define OP_Subtract   48 /* same as TK_MINUS, synopsis: r[P3]=r[P2]-r[P1] */
 
#define OP_TableLock   149 /* synopsis: iDb=P1 root=P2 write=P3 */
 
#define OP_Transaction   2
 
#define OP_Vacuum   10
 
#define OP_Variable   80 /* synopsis: r[P2]=parameter(P1,P4) */
 
#define OP_VBegin   150
 
#define OP_VColumn   154 /* synopsis: r[P3]=vcolumn(P2) */
 
#define OP_VCreate   151
 
#define OP_VDestroy   152
 
#define OP_VFilter   11 /* synopsis: iplan=r[P3] zplan='P4' */
 
#define OP_VNext   68
 
#define OP_VOpen   153
 
#define OP_VRename   155
 
#define OP_VUpdate   12 /* synopsis: data=r[P3@P2] */
 
#define OP_Yield   16
 
#define OpenCounter(X)
 
#define OPFLAG_APPEND   0x08 /* This is likely to be an append */
 
#define OPFLAG_AUXDELETE   0x04 /* OP_Delete: index in a DELETE op */
 
#define OPFLAG_BULKCSR   0x01 /* OP_Open** used to open bulk cursor */
 
#define OPFLAG_EPHEM   0x01 /* OP_Column: Ephemeral output is ok */
 
#define OPFLAG_FORDELETE   0x08 /* OP_Open should use BTREE_FORDELETE */
 
#define OPFLAG_ISUPDATE   0x04 /* This OP_Insert is an sql UPDATE */
 
#define OPFLAG_LASTROWID   0x02 /* Set to update db->lastRowid */
 
#define OPFLAG_LENGTHARG   0x40 /* OP_Column only used for length() */
 
#define OPFLAG_NCHANGE   0x01 /* OP_Insert: Set to update db->nChange */
 
#define OPFLAG_P2ISREG   0x10 /* P2 to OP_Open** is a register number */
 
#define OPFLAG_PERMUTE   0x01 /* OP_Compare: use the permutation */
 
#define OPFLAG_SAVEPOSITION   0x02 /* OP_Delete: keep cursor position */
 
#define OPFLAG_SEEKEQ   0x02 /* OP_Open** cursor uses EQ seek only */
 
#define OPFLAG_TYPEOFARG   0x80 /* OP_Column only used for typeof() */
 
#define OPFLAG_USESEEKRESULT   0x10 /* Try to avoid a seek in BtreeInsert() */
 
#define OPFLG_IN1   0x02 /* in1: P1 is an input */
 
#define OPFLG_IN2   0x04 /* in2: P2 is an input */
 
#define OPFLG_IN3   0x08 /* in3: P3 is an input */
 
#define OPFLG_INITIALIZER
 
#define OPFLG_JUMP   0x01 /* jump: P2 holds jmp target */
 
#define OPFLG_OUT2   0x10 /* out2: P2 is an output */
 
#define OPFLG_OUT3   0x20 /* out3: P3 is an output */
 
#define OpHelp(X)
 
#define OptimizationDisabled(db, mask)   (((db)->dbOptFlags&(mask))!=0)
 
#define OptimizationEnabled(db, mask)   (((db)->dbOptFlags&(mask))==0)
 
#define OS_VXWORKS   0
 
#define osAccess   ((int(*)(const char*,int))aSyscall[2].pCurrent)
 
#define osClose   ((int(*)(int))aSyscall[1].pCurrent)
 
#define osFallocate   ((int(*)(int,off_t,off_t))aSyscall[15].pCurrent)
 
#define osFchmod   ((int(*)(int,mode_t))aSyscall[14].pCurrent)
 
#define osFchown   ((int(*)(int,uid_t,gid_t))aSyscall[20].pCurrent)
 
#define osFcntl   ((int(*)(int,int,...))aSyscall[7].pCurrent)
 
#define osFstat   ((int(*)(int,struct stat*))aSyscall[5].pCurrent)
 
#define osFtruncate   ((int(*)(int,off_t))aSyscall[6].pCurrent)
 
#define osGetcwd   ((char*(*)(char*,size_t))aSyscall[3].pCurrent)
 
#define osGeteuid   ((uid_t(*)(void))aSyscall[21].pCurrent)
 
#define osGetpagesize   ((int(*)(void))aSyscall[25].pCurrent)
 
#define osGetpid(X)   (pid_t)getpid()
 
#define osLstat   ((int(*)(const char*,struct stat*))aSyscall[27].pCurrent)
 
#define osMkdir   ((int(*)(const char*,mode_t))aSyscall[18].pCurrent)
 
#define osMmap   ((void*(*)(void*,size_t,int,int,int,off_t))aSyscall[22].pCurrent)
 
#define osMremap   ((void*(*)(void*,size_t,size_t,int,...))aSyscall[24].pCurrent)
 
#define osMunmap   ((void*(*)(void*,size_t))aSyscall[23].pCurrent)
 
#define osOpen   ((int(*)(const char*,int,int))aSyscall[0].pCurrent)
 
#define osOpenDirectory   ((int(*)(const char*,int*))aSyscall[17].pCurrent)
 
#define osPread   ((ssize_t(*)(int,void*,size_t,off_t))aSyscall[9].pCurrent)
 
#define osPread64   ((ssize_t(*)(int,void*,size_t,off64_t))aSyscall[10].pCurrent)
 
#define osPwrite
 
#define osPwrite64
 
#define osRead   ((ssize_t(*)(int,void*,size_t))aSyscall[8].pCurrent)
 
#define osReadlink   ((ssize_t(*)(const char*,char*,size_t))aSyscall[26].pCurrent)
 
#define osRmdir   ((int(*)(const char*))aSyscall[19].pCurrent)
 
#define osStat   ((int(*)(const char*,struct stat*))aSyscall[4].pCurrent)
 
#define OSTRACE(X)
 
#define osUnlink   ((int(*)(const char*))aSyscall[16].pCurrent)
 
#define osWrite   ((ssize_t(*)(int,const void*,size_t))aSyscall[11].pCurrent)
 
#define P4_ADVANCE   (-19) /* P4 is a pointer to BtreeNext() or BtreePrev() */
 
#define P4_COLLSEQ   (-4) /* P4 is a pointer to a CollSeq structure */
 
#define P4_DYNAMIC   (-1) /* Pointer to a string obtained from sqliteMalloc() */
 
#define P4_EXPR   (-7) /* P4 is a pointer to an Expr tree */
 
#define P4_FUNCCTX   (-21) /* P4 is a pointer to an sqlite3_context object */
 
#define P4_FUNCDEF   (-5) /* P4 is a pointer to a FuncDef structure */
 
#define P4_INT32   (-14) /* P4 is a 32-bit signed integer */
 
#define P4_INT64   (-13) /* P4 is a 64-bit signed integer */
 
#define P4_INTARRAY   (-15) /* P4 is a vector of 32-bit integers */
 
#define P4_KEYINFO   (-6) /* P4 is a pointer to a KeyInfo structure */
 
#define P4_MEM   (-8) /* P4 is a pointer to a Mem* structure */
 
#define P4_MPRINTF   (-11) /* P4 is a string obtained from sqlite3_mprintf() */
 
#define P4_NOTUSED   0 /* The P4 parameter is not used */
 
#define P4_REAL   (-12) /* P4 is a 64-bit floating point value */
 
#define P4_STATIC   (-2) /* Pointer to a static string */
 
#define P4_SUBPROGRAM   (-18) /* P4 is a pointer to a SubProgram structure */
 
#define P4_TABLE   (-20) /* P4 is a pointer to a Table structure */
 
#define P4_TRANSIENT   0 /* P4 is a pointer to a transient string */
 
#define P4_VTAB   (-10) /* P4 is a pointer to an sqlite3_vtab structure */
 
#define P5_ConstraintCheck   3
 
#define P5_ConstraintFK   4
 
#define P5_ConstraintNotNull   1
 
#define P5_ConstraintUnique   2
 
#define PAGER_CACHESPILL   0x20 /* PRAGMA cache_spill=ON */
 
#define PAGER_CKPT_FULLFSYNC   0x10 /* PRAGMA checkpoint_fullfsync=ON */
 
#define pager_datahash(X, Y)   0
 
#define PAGER_ERROR   6
 
#define PAGER_FLAGS_MASK   0x38 /* All above except SYNCHRONOUS */
 
#define PAGER_FULLFSYNC   0x08 /* PRAGMA fullfsync=ON */
 
#define PAGER_GET_NOCONTENT   0x01 /* Do not load data from disk */
 
#define PAGER_GET_READONLY   0x02 /* Read-only page is acceptable */
 
#define PAGER_INCR(v)
 
#define PAGER_JOURNALMODE_DELETE   0 /* Commit by deleting journal file */
 
#define PAGER_JOURNALMODE_MEMORY   4 /* In-memory journal file */
 
#define PAGER_JOURNALMODE_OFF   2 /* Journal omitted. */
 
#define PAGER_JOURNALMODE_PERSIST   1 /* Commit by zeroing journal header */
 
#define PAGER_JOURNALMODE_QUERY   (-1) /* Query the value of journalmode */
 
#define PAGER_JOURNALMODE_TRUNCATE   3 /* Commit by truncating journal */
 
#define PAGER_JOURNALMODE_WAL   5 /* Use write-ahead logging */
 
#define PAGER_LOCKINGMODE_EXCLUSIVE   1
 
#define PAGER_LOCKINGMODE_NORMAL   0
 
#define PAGER_LOCKINGMODE_QUERY   -1
 
#define PAGER_MAX_PGNO   2147483647
 
#define PAGER_MEMORY   0x0002 /* In-memory database */
 
#define PAGER_MJ_PGNO(x)   ((Pgno)((PENDING_BYTE/((x)->pageSize))+1))
 
#define PAGER_OMIT_JOURNAL   0x0001 /* Do not use a rollback journal */
 
#define PAGER_OPEN   0
 
#define pager_pagehash(X)   0
 
#define PAGER_READER   1
 
#define pager_set_pagehash(X)
 
#define PAGER_STAT_HIT   0
 
#define PAGER_STAT_MISS   1
 
#define PAGER_STAT_WRITE   2
 
#define PAGER_SYNCHRONOUS_EXTRA   0x04 /* PRAGMA synchronous=EXTRA */
 
#define PAGER_SYNCHRONOUS_FULL   0x03 /* PRAGMA synchronous=FULL */
 
#define PAGER_SYNCHRONOUS_MASK   0x07 /* Mask for four values above */
 
#define PAGER_SYNCHRONOUS_NORMAL   0x02 /* PRAGMA synchronous=NORMAL */
 
#define PAGER_SYNCHRONOUS_OFF   0x01 /* PRAGMA synchronous=OFF */
 
#define PAGER_WRITER_CACHEMOD   3
 
#define PAGER_WRITER_DBMOD   4
 
#define PAGER_WRITER_FINISHED   5
 
#define PAGER_WRITER_LOCKED   2
 
#define PAGERID(p)   ((int)(p->fd))
 
#define pagerReportSize(X)   /* No-op if we do not support a codec */
 
#define PAGERTRACE(X)
 
#define PARTLY_WITHIN   1 /* Object partially overlaps query region */
 
#define pcache1   (GLOBAL(struct PCacheGlobal, pcache1_g))
 
#define PCACHE1_MIGHT_USE_GROUP_MUTEX   0
 
#define pcache1EnterMutex(X)   assert((X)->mutex==0)
 
#define pcache1LeaveMutex(X)   assert((X)->mutex==0)
 
#define PCACHE_DIRTYLIST_ADD   2 /* Add pPage to the dirty list */
 
#define PCACHE_DIRTYLIST_FRONT   3 /* Move pPage to the front of the list */
 
#define PCACHE_DIRTYLIST_REMOVE   1 /* Remove pPage from dirty list */
 
#define pcacheDump(X)
 
#define pcacheTrace(X)
 
#define PENDING_BYTE   sqlite3PendingByte
 
#define PENDING_BYTE_PAGE(pBt)   PAGER_MJ_PGNO(pBt)
 
#define PENDING_LOCK   3
 
#define PGHDR_CLEAN   0x001 /* Page not on the PCache.pDirty list */
 
#define PGHDR_DIRTY   0x002 /* Page is on the PCache.pDirty list */
 
#define PGHDR_DONT_WRITE   0x010 /* Do not write content to disk */
 
#define PGHDR_MMAP   0x020 /* This is an mmap page object */
 
#define PGHDR_NEED_SYNC
 
#define PGHDR_WAL_APPEND   0x040 /* Appended to wal file */
 
#define PGHDR_WRITEABLE   0x004 /* Journaled and ready to modify */
 
#define PragFlag_NeedSchema   0x01
 
#define PragFlag_ReadOnly   0x02
 
#define PragTyp_ACTIVATE_EXTENSIONS   37
 
#define PragTyp_AUTO_VACUUM   1
 
#define PragTyp_BUSY_TIMEOUT   3
 
#define PragTyp_CACHE_SIZE   4
 
#define PragTyp_CACHE_SPILL   5
 
#define PragTyp_CASE_SENSITIVE_LIKE   6
 
#define PragTyp_COLLATION_LIST   7
 
#define PragTyp_COMPILE_OPTIONS   8
 
#define PragTyp_DATA_STORE_DIRECTORY   9
 
#define PragTyp_DATABASE_LIST   10
 
#define PragTyp_DEFAULT_CACHE_SIZE   11
 
#define PragTyp_ENCODING   12
 
#define PragTyp_FLAG   2
 
#define PragTyp_FOREIGN_KEY_CHECK   13
 
#define PragTyp_FOREIGN_KEY_LIST   14
 
#define PragTyp_HEADER_VALUE   0
 
#define PragTyp_HEXKEY   38
 
#define PragTyp_INCREMENTAL_VACUUM   15
 
#define PragTyp_INDEX_INFO   16
 
#define PragTyp_INDEX_LIST   17
 
#define PragTyp_INTEGRITY_CHECK   18
 
#define PragTyp_JOURNAL_MODE   19
 
#define PragTyp_JOURNAL_SIZE_LIMIT   20
 
#define PragTyp_KEY   39
 
#define PragTyp_LOCK_PROXY_FILE   21
 
#define PragTyp_LOCK_STATUS   41
 
#define PragTyp_LOCKING_MODE   22
 
#define PragTyp_MMAP_SIZE   24
 
#define PragTyp_PAGE_COUNT   23
 
#define PragTyp_PAGE_SIZE   25
 
#define PragTyp_PARSER_TRACE   42
 
#define PragTyp_REKEY   40
 
#define PragTyp_SECURE_DELETE   26
 
#define PragTyp_SHRINK_MEMORY   27
 
#define PragTyp_SOFT_HEAP_LIMIT   28
 
#define PragTyp_STATS   29
 
#define PragTyp_SYNCHRONOUS   30
 
#define PragTyp_TABLE_INFO   31
 
#define PragTyp_TEMP_STORE   32
 
#define PragTyp_TEMP_STORE_DIRECTORY   33
 
#define PragTyp_THREADS   34
 
#define PragTyp_WAL_AUTOCHECKPOINT   35
 
#define PragTyp_WAL_CHECKPOINT   36
 
#define PTF_INTKEY   0x01
 
#define PTF_LEAF   0x08
 
#define PTF_LEAFDATA   0x04
 
#define PTF_ZERODATA   0x02
 
#define PTRMAP_BTREE   5
 
#define PTRMAP_FREEPAGE   2
 
#define PTRMAP_ISPAGE(pBt, pgno)   (PTRMAP_PAGENO((pBt),(pgno))==(pgno))
 
#define PTRMAP_OVERFLOW1   3
 
#define PTRMAP_OVERFLOW2   4
 
#define PTRMAP_PAGENO(pBt, pgno)   ptrmapPageno(pBt, pgno)
 
#define PTRMAP_PTROFFSET(pgptrmap, pgno)   (5*(pgno-pgptrmap-1))
 
#define PTRMAP_ROOTPAGE   1
 
#define put2byte(p, v)   ((p)[0] = (u8)((v)>>8), (p)[1] = (u8)(v))
 
#define put32bits(A, B)   sqlite3Put4byte((u8*)A,B)
 
#define put4byte   sqlite3Put4byte
 
#define putVarint   sqlite3PutVarint
 
#define putVarint32(A, B)
 
#define READ_LOCK   1
 
#define READ_UTF16BE(zIn, TERM, c)
 
#define READ_UTF16LE(zIn, TERM, c)
 
#define READ_UTF8(zIn, zTerm, c)
 
#define READMARK_NOT_USED   0xffffffff
 
#define REGISTER_TRACE(R, M)
 
#define RESERVED_BYTE   (PENDING_BYTE+1)
 
#define RESERVED_LOCK   2
 
#define restoreCursorPosition(p)
 
#define ROUND8(x)   (((x)+7)&~7)
 
#define ROUNDDOWN8(x)   ((x)&~7)
 
#define ROWSET_ALLOCATION_SIZE   1024
 
#define ROWSET_ENTRY_PER_CHUNK   ((ROWSET_ALLOCATION_SIZE-8)/sizeof(struct RowSetEntry))
 
#define ROWSET_NEXT   0x02 /* True if sqlite3RowSetNext() has been called */
 
#define ROWSET_SORTED   0x01 /* True if RowSet.pEntry is sorted */
 
#define SAVE_SZ   (sizeof(Parse) - offsetof(Parse,nVar))
 
#define SAVEPOINT_BEGIN   0
 
#define SAVEPOINT_RELEASE   1
 
#define SAVEPOINT_ROLLBACK   2
 
#define SCHEMA_ENC(db)   ((db)->aDb[0].pSchema->enc)
 
#define SCHEMA_TABLE(x)   ((!OMIT_TEMPDB)&&(x==1)?TEMP_MASTER_NAME:MASTER_NAME)
 
#define SELECTTRACE(K, P, S, X)
 
#define SELECTTRACE_ENABLED   0
 
#define SET_FULLSYNC(x, y)
 
#define SETBIT(V, I)   V[I>>3] |= (1<<(I&7))
 
#define SF_Aggregate   0x00008 /* Contains agg functions or a GROUP BY */
 
#define SF_All   0x00002 /* Includes the ALL keyword */
 
#define SF_Compound   0x00100 /* Part of a compound query */
 
#define SF_Converted   0x10000 /* By convertCompoundSelectToSubquery() */
 
#define SF_Distinct   0x00001 /* Output should be DISTINCT */
 
#define SF_Expanded   0x00040 /* sqlite3SelectExpand() called on this */
 
#define SF_FixedLimit   0x04000 /* nSelectRow set by a constant LIMIT */
 
#define SF_HasAgg   0x00010 /* Contains aggregate functions */
 
#define SF_HasTypeInfo   0x00080 /* FROM subqueries have Table metadata */
 
#define SF_IncludeHidden   0x20000 /* Include hidden columns in output */
 
#define SF_MaybeConvert   0x08000 /* Need convertCompoundSelectToSubquery() */
 
#define SF_MinMaxAgg   0x01000 /* Aggregate containing min() or max() */
 
#define SF_MultiValue   0x00400 /* Single VALUES term with multiple rows */
 
#define SF_NestedFrom   0x00800 /* Part of a parenthesized FROM clause */
 
#define SF_Recursive   0x02000 /* The recursive part of a recursive CTE */
 
#define SF_Resolved   0x00004 /* Identifiers have been resolved */
 
#define SF_UsesEphemeral   0x00020 /* Uses the OpenEphemeral opcode */
 
#define SF_Values   0x00200 /* Synthesized from VALUES clause */
 
#define SHARED_FIRST   (PENDING_BYTE+2)
 
#define SHARED_LOCK   1
 
#define SHARED_SIZE   510
 
#define SimulateDiskfullError(A)
 
#define SimulateIOError(A)
 
#define SimulateIOErrorBenign(X)
 
#define SLOT_2_0   0x001fc07f
 
#define SLOT_4_2_0   0xf01fc07f
 
#define SMALLEST_INT64   (((i64)-1) - LARGEST_INT64)
 
#define SORTER_MAX_MERGE_COUNT   16
 
#define SORTER_TYPE_INTEGER   0x01
 
#define SORTER_TYPE_TEXT   0x02
 
#define SORTFLAG_UseSorter   0x01 /* Use SorterOpen instead of OpenEphemeral */
 
#define SPILLFLAG_NOSYNC   0x04 /* Spill is ok, but do not sync */
 
#define SPILLFLAG_OFF   0x01 /* Never spill cache. Set via pragma */
 
#define SPILLFLAG_ROLLBACK   0x02 /* Current rolling back, so do not spill */
 
#define sqlite3_column_database_name   0
 
#define sqlite3_column_database_name16   0
 
#define sqlite3_column_origin_name   0
 
#define sqlite3_column_origin_name16   0
 
#define sqlite3_column_table_name   0
 
#define sqlite3_column_table_name16   0
 
#define SQLITE3_MUTEX_INITIALIZER   { PTHREAD_MUTEX_INITIALIZER }
 
#define SQLITE3_TEXT   3
 
#define sqlite3ColumnPropertiesFromName(T, C)   /* no-op */
 
#define sqlite3ConnectionBlocked(x, y)
 
#define sqlite3ConnectionClosed(x)
 
#define sqlite3ConnectionUnlocked(x)
 
#define sqlite3FileSuffix3(X, Y)
 
#define sqlite3GlobalConfig   sqlite3Config
 
#define sqlite3Isalnum(x)   (sqlite3CtypeMap[(unsigned char)(x)]&0x06)
 
#define sqlite3Isalpha(x)   (sqlite3CtypeMap[(unsigned char)(x)]&0x02)
 
#define sqlite3Isdigit(x)   (sqlite3CtypeMap[(unsigned char)(x)]&0x04)
 
#define sqlite3IsNumericAffinity(X)   ((X)>=SQLITE_AFF_NUMERIC)
 
#define sqlite3Isquote(x)   (sqlite3CtypeMap[(unsigned char)(x)]&0x80)
 
#define sqlite3Isspace(x)   (sqlite3CtypeMap[(unsigned char)(x)]&0x01)
 
#define sqlite3IsToplevel(p)   ((p)->pToplevel==0)
 
#define sqlite3Isxdigit(x)   (sqlite3CtypeMap[(unsigned char)(x)]&0x08)
 
#define sqlite3MemdebugHasType(X, Y)   1
 
#define sqlite3MemdebugNoType(X, Y)   1
 
#define sqlite3MemdebugSetType(X, Y)   /* no-op */
 
#define sqlite3ParserARG_FETCH   Parse *pParse = yypParser->pParse
 
#define sqlite3ParserARG_PDECL   ,Parse *pParse
 
#define sqlite3ParserARG_SDECL   Parse *pParse;
 
#define sqlite3ParserARG_STORE   yypParser->pParse = pParse
 
#define sqlite3ParserTOKENTYPE   Token
 
#define sqlite3ParseToplevel(p)   ((p)->pToplevel ? (p)->pToplevel : (p))
 
#define sqlite3SelectSetName(A, B)
 
#define sqlite3StackAllocRaw(D, N)   sqlite3DbMallocRaw(D,N)
 
#define sqlite3StackAllocZero(D, N)   sqlite3DbMallocZero(D,N)
 
#define sqlite3StackFree(D, P)   sqlite3DbFree(D,P)
 
#define sqlite3StrNICmp   sqlite3_strnicmp
 
#define sqlite3Tolower(x)   (sqlite3UpperToLower[(unsigned char)(x)])
 
#define sqlite3Toupper(x)   ((x)&~(sqlite3CtypeMap[(unsigned char)(x)]&0x20))
 
#define sqlite3VdbeIOTraceSql(X)
 
#define sqlite3VdbeScanStatus(a, b, c, d, e)
 
#define sqlite3VdbeVerifyNoMallocRequired(A, B)
 
#define sqlite3VtabInSync(db)   ((db)->nVTrans>0 && (db)->aVTrans==0)
 
#define sqlite3WhereAddScanStatus(a, b, c, d)   ((void)d)
 
#define SQLITE_ABORT   4 /* Callback routine requested an abort */
 
#define SQLITE_ABORT_ROLLBACK   (SQLITE_ABORT | (2<<8))
 
#define SQLITE_ACCESS_EXISTS   0
 
#define SQLITE_ACCESS_READ   2 /* Unused */
 
#define SQLITE_ACCESS_READWRITE   1 /* Used by PRAGMA temp_store_directory */
 
#define SQLITE_AFF_BLOB   'A'
 
#define SQLITE_AFF_INTEGER   'D'
 
#define SQLITE_AFF_MASK   0x47
 
#define SQLITE_AFF_NUMERIC   'C'
 
#define SQLITE_AFF_REAL   'E'
 
#define SQLITE_AFF_TEXT   'B'
 
#define SQLITE_AllOpts   0xffff /* All optimizations */
 
#define SQLITE_ALLOW_COVERING_INDEX_SCAN   1
 
#define SQLITE_ALTER_TABLE   26 /* Database Name Table Name */
 
#define SQLITE_AMALGAMATION   1
 
#define SQLITE_ANALYZE   28 /* Table Name NULL */
 
#define SQLITE_ANY   5 /* Deprecated */
 
#define SQLITE_API
 
#define SQLITE_ASCII   1
 
#define SQLITE_ATTACH   24 /* Filename NULL */
 
#define SQLITE_AUTH   23 /* Authorization denied */
 
#define SQLITE_AUTH_USER   (SQLITE_AUTH | (1<<8))
 
#define SQLITE_AutoIndex   0x00100000 /* Enable automatic indexes */
 
#define SQLITE_BIG_DBL   (1e99)
 
#define SQLITE_BIGENDIAN   (*(char *)(&sqlite3one)==0)
 
#define SQLITE_BLOB   4
 
#define SQLITE_BUSY   5 /* The database file is locked */
 
#define SQLITE_BUSY_RECOVERY   (SQLITE_BUSY | (1<<8))
 
#define SQLITE_BUSY_SNAPSHOT   (SQLITE_BUSY | (2<<8))
 
#define SQLITE_BYTEORDER   0 /* 0 means "unknown at compile-time" */
 
#define SQLITE_CacheSpill   0x00000020 /* OK to spill pager cache */
 
#define SQLITE_CANTOPEN   14 /* Unable to open the database file */
 
#define SQLITE_CANTOPEN_BKPT   sqlite3CantopenError(__LINE__)
 
#define SQLITE_CANTOPEN_CONVPATH   (SQLITE_CANTOPEN | (4<<8))
 
#define SQLITE_CANTOPEN_FULLPATH   (SQLITE_CANTOPEN | (3<<8))
 
#define SQLITE_CANTOPEN_ISDIR   (SQLITE_CANTOPEN | (2<<8))
 
#define SQLITE_CANTOPEN_NOTEMPDIR   (SQLITE_CANTOPEN | (1<<8))
 
#define SQLITE_CDECL
 
#define SQLITE_CellSizeCk   0x20000000 /* Check btree cell sizes on load */
 
#define SQLITE_CHECKPOINT_FULL   1 /* Wait for writers, then checkpoint */
 
#define SQLITE_CHECKPOINT_PASSIVE   0 /* Do as much as possible w/o blocking */
 
#define SQLITE_CHECKPOINT_RESTART   2 /* Like FULL but wait for for readers */
 
#define SQLITE_CHECKPOINT_TRUNCATE   3 /* Like RESTART but also truncate WAL */
 
#define SQLITE_CkptFullFSync   0x00000010 /* Use full fsync for checkpoint */
 
#define SQLITE_ColumnCache   0x0002 /* Column cache */
 
#define SQLITE_CONFIG_COVERING_INDEX_SCAN   20 /* int */
 
#define SQLITE_CONFIG_GETMALLOC   5 /* sqlite3_mem_methods* */
 
#define SQLITE_CONFIG_GETMUTEX   11 /* sqlite3_mutex_methods* */
 
#define SQLITE_CONFIG_GETPCACHE   15 /* no-op */
 
#define SQLITE_CONFIG_GETPCACHE2   19 /* sqlite3_pcache_methods2* */
 
#define SQLITE_CONFIG_HEAP   8 /* void*, int nByte, int min */
 
#define SQLITE_CONFIG_LOG   16 /* xFunc, void* */
 
#define SQLITE_CONFIG_LOOKASIDE   13 /* int int */
 
#define SQLITE_CONFIG_MALLOC   4 /* sqlite3_mem_methods* */
 
#define SQLITE_CONFIG_MEMSTATUS   9 /* boolean */
 
#define SQLITE_CONFIG_MMAP_SIZE   22 /* sqlite3_int64, sqlite3_int64 */
 
#define SQLITE_CONFIG_MULTITHREAD   2 /* nil */
 
#define SQLITE_CONFIG_MUTEX   10 /* sqlite3_mutex_methods* */
 
#define SQLITE_CONFIG_PAGECACHE   7 /* void*, int sz, int N */
 
#define SQLITE_CONFIG_PCACHE   14 /* no-op */
 
#define SQLITE_CONFIG_PCACHE2   18 /* sqlite3_pcache_methods2* */
 
#define SQLITE_CONFIG_PCACHE_HDRSZ   24 /* int *psz */
 
#define SQLITE_CONFIG_PMASZ   25 /* unsigned int szPma */
 
#define SQLITE_CONFIG_SCRATCH   6 /* void*, int sz, int N */
 
#define SQLITE_CONFIG_SERIALIZED   3 /* nil */
 
#define SQLITE_CONFIG_SINGLETHREAD   1 /* nil */
 
#define SQLITE_CONFIG_SQLLOG   21 /* xSqllog, void* */
 
#define SQLITE_CONFIG_STMTJRNL_SPILL   26 /* int nByte */
 
#define SQLITE_CONFIG_URI   17 /* int */
 
#define SQLITE_CONFIG_WIN32_HEAPSIZE   23 /* int nByte */
 
#define SQLITE_CONSTRAINT   19 /* Abort due to constraint violation */
 
#define SQLITE_CONSTRAINT_CHECK   (SQLITE_CONSTRAINT | (1<<8))
 
#define SQLITE_CONSTRAINT_COMMITHOOK   (SQLITE_CONSTRAINT | (2<<8))
 
#define SQLITE_CONSTRAINT_FOREIGNKEY   (SQLITE_CONSTRAINT | (3<<8))
 
#define SQLITE_CONSTRAINT_FUNCTION   (SQLITE_CONSTRAINT | (4<<8))
 
#define SQLITE_CONSTRAINT_NOTNULL   (SQLITE_CONSTRAINT | (5<<8))
 
#define SQLITE_CONSTRAINT_PRIMARYKEY   (SQLITE_CONSTRAINT | (6<<8))
 
#define SQLITE_CONSTRAINT_ROWID   (SQLITE_CONSTRAINT |(10<<8))
 
#define SQLITE_CONSTRAINT_TRIGGER   (SQLITE_CONSTRAINT | (7<<8))
 
#define SQLITE_CONSTRAINT_UNIQUE   (SQLITE_CONSTRAINT | (8<<8))
 
#define SQLITE_CONSTRAINT_VTAB   (SQLITE_CONSTRAINT | (9<<8))
 
#define SQLITE_COPY   0 /* No longer used */
 
#define SQLITE_CORE   1
 
#define SQLITE_CORRUPT   11 /* The database disk image is malformed */
 
#define SQLITE_CORRUPT_BKPT   sqlite3CorruptError(__LINE__)
 
#define SQLITE_CORRUPT_VTAB   (SQLITE_CORRUPT | (1<<8))
 
#define SQLITE_CountRows   0x00000080 /* Count rows changed by INSERT, */
 
#define SQLITE_CoverIdxScan   0x0040 /* Covering index scans */
 
#define SQLITE_CREATE_INDEX   1 /* Index Name Table Name */
 
#define SQLITE_CREATE_TABLE   2 /* Table Name NULL */
 
#define SQLITE_CREATE_TEMP_INDEX   3 /* Index Name Table Name */
 
#define SQLITE_CREATE_TEMP_TABLE   4 /* Table Name NULL */
 
#define SQLITE_CREATE_TEMP_TRIGGER   5 /* Trigger Name Table Name */
 
#define SQLITE_CREATE_TEMP_VIEW   6 /* View Name NULL */
 
#define SQLITE_CREATE_TRIGGER   7 /* Trigger Name Table Name */
 
#define SQLITE_CREATE_VIEW   8 /* View Name NULL */
 
#define SQLITE_CREATE_VTABLE   29 /* Table Name Module Name */
 
#define SQLITE_CursorHints   0x2000 /* Add OP_CursorHint opcodes */
 
#define SQLITE_DBCONFIG_ENABLE_FKEY   1002 /* int int* */
 
#define SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER   1004 /* int int* */
 
#define SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION   1005 /* int int* */
 
#define SQLITE_DBCONFIG_ENABLE_TRIGGER   1003 /* int int* */
 
#define SQLITE_DBCONFIG_LOOKASIDE   1001 /* void* int int */
 
#define SQLITE_DBSTATUS_CACHE_HIT   7
 
#define SQLITE_DBSTATUS_CACHE_MISS   8
 
#define SQLITE_DBSTATUS_CACHE_USED   1
 
#define SQLITE_DBSTATUS_CACHE_WRITE   9
 
#define SQLITE_DBSTATUS_DEFERRED_FKS   10
 
#define SQLITE_DBSTATUS_LOOKASIDE_HIT   4
 
#define SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL   6
 
#define SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE   5
 
#define SQLITE_DBSTATUS_LOOKASIDE_USED   0
 
#define SQLITE_DBSTATUS_MAX   10 /* Largest defined DBSTATUS */
 
#define SQLITE_DBSTATUS_SCHEMA_USED   2
 
#define SQLITE_DBSTATUS_STMT_USED   3
 
#define SQLITE_DEFAULT_AUTOVACUUM   0
 
#define SQLITE_DEFAULT_CACHE_SIZE   -2000
 
#define SQLITE_DEFAULT_FILE_FORMAT   4
 
#define SQLITE_DEFAULT_FILE_PERMISSIONS   0644
 
#define SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT   -1
 
#define SQLITE_DEFAULT_MEMSTATUS   1
 
#define SQLITE_DEFAULT_MMAP_SIZE   0
 
#define SQLITE_DEFAULT_MMAP_SIZE_xc   1 /* Exclude from ctime.c */
 
#define SQLITE_DEFAULT_PAGE_SIZE   4096
 
#define SQLITE_DEFAULT_PCACHE_INITSZ   100
 
#define SQLITE_DEFAULT_PROXYDIR_PERMISSIONS   0755
 
#define SQLITE_DEFAULT_RECURSIVE_TRIGGERS   0
 
#define SQLITE_DEFAULT_SECTOR_SIZE   4096
 
#define SQLITE_DEFAULT_SYNCHRONOUS   (PAGER_SYNCHRONOUS_FULL-1)
 
#define SQLITE_DEFAULT_WAL_AUTOCHECKPOINT   1000
 
#define SQLITE_DEFAULT_WAL_SYNCHRONOUS   SQLITE_DEFAULT_SYNCHRONOUS
 
#define SQLITE_DEFAULT_WORKER_THREADS   0
 
#define SQLITE_DeferFKs   0x02000000 /* Defer all FK constraints */
 
#define SQLITE_DELETE   9 /* Table Name NULL */
 
#define SQLITE_DENY   1 /* Abort the SQL statement with an error */
 
#define SQLITE_DEPRECATED
 
#define SQLITE_DETACH   25 /* Database Name NULL */
 
#define SQLITE_DETERMINISTIC   0x800
 
#define SQLITE_DistinctOpt   0x0020 /* DISTINCT using indexes */
 
#define SQLITE_DONE   101 /* sqlite3_step() has finished executing */
 
#define SQLITE_DROP_INDEX   10 /* Index Name Table Name */
 
#define SQLITE_DROP_TABLE   11 /* Table Name NULL */
 
#define SQLITE_DROP_TEMP_INDEX   12 /* Index Name Table Name */
 
#define SQLITE_DROP_TEMP_TABLE   13 /* Table Name NULL */
 
#define SQLITE_DROP_TEMP_TRIGGER   14 /* Trigger Name Table Name */
 
#define SQLITE_DROP_TEMP_VIEW   15 /* View Name NULL */
 
#define SQLITE_DROP_TRIGGER   16 /* Trigger Name Table Name */
 
#define SQLITE_DROP_VIEW   17 /* View Name NULL */
 
#define SQLITE_DROP_VTABLE   30 /* Table Name Module Name */
 
#define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
 
#define SQLITE_ECEL_DUP   0x01 /* Deep, not shallow copies */
 
#define SQLITE_ECEL_FACTOR   0x02 /* Factor out constant terms */
 
#define SQLITE_ECEL_REF   0x04 /* Use ExprList.u.x.iOrderByCol */
 
#define SQLITE_EMPTY   16 /* Database is empty */
 
#define SQLITE_ENABLE_LOCKING_STYLE   0
 
#define SQLITE_EnableTrigger   0x01000000 /* True to enable triggers */
 
#define SQLITE_ERROR   1 /* SQL error or missing database */
 
#define SQLITE_EXPERIMENTAL
 
#define SQLITE_EXTENSION_INIT1   /*no-op*/
 
#define SQLITE_EXTENSION_INIT2(v)   (void)v; /* unused parameter */
 
#define SQLITE_EXTENSION_INIT3   /*no-op*/
 
#define SQLITE_EXTERN   extern
 
#define SQLITE_FactorOutConst   0x0008 /* Constant factoring */
 
#define SQLITE_FAIL   3
 
#define SQLITE_FAULTINJECTOR_COUNT   1
 
#define SQLITE_FAULTINJECTOR_MALLOC   0
 
#define SQLITE_FCNTL_BUSYHANDLER   15
 
#define SQLITE_FCNTL_CHUNK_SIZE   6
 
#define SQLITE_FCNTL_COMMIT_PHASETWO   22
 
#define SQLITE_FCNTL_DB_UNCHANGED   0xca093fa0
 
#define SQLITE_FCNTL_FILE_POINTER   7
 
#define SQLITE_FCNTL_GET_LOCKPROXYFILE   2
 
#define SQLITE_FCNTL_HAS_MOVED   20
 
#define SQLITE_FCNTL_JOURNAL_POINTER   28
 
#define SQLITE_FCNTL_LAST_ERRNO   4
 
#define SQLITE_FCNTL_LOCKSTATE   1
 
#define SQLITE_FCNTL_MMAP_SIZE   18
 
#define SQLITE_FCNTL_OVERWRITE   11
 
#define SQLITE_FCNTL_PERSIST_WAL   10
 
#define SQLITE_FCNTL_POWERSAFE_OVERWRITE   13
 
#define SQLITE_FCNTL_PRAGMA   14
 
#define SQLITE_FCNTL_RBU   26
 
#define SQLITE_FCNTL_SET_LOCKPROXYFILE   3
 
#define SQLITE_FCNTL_SIZE_HINT   5
 
#define SQLITE_FCNTL_SYNC   21
 
#define SQLITE_FCNTL_SYNC_OMITTED   8
 
#define SQLITE_FCNTL_TEMPFILENAME   16
 
#define SQLITE_FCNTL_TRACE   19
 
#define SQLITE_FCNTL_VFS_POINTER   27
 
#define SQLITE_FCNTL_VFSNAME   12
 
#define SQLITE_FCNTL_WAL_BLOCK   24
 
#define SQLITE_FCNTL_WIN32_AV_RETRY   9
 
#define SQLITE_FCNTL_WIN32_SET_HANDLE   23
 
#define SQLITE_FCNTL_ZIPVFS   25
 
#define SQLITE_FILE_HEADER   "SQLite format 3"
 
#define SQLITE_FLOAT   2
 
#define SQLITE_ForeignKeys   0x00080000 /* Enforce foreign key constraints */
 
#define SQLITE_FORMAT   24 /* Auxiliary database format error */
 
#define SQLITE_FREE(x)   free(x)
 
#define SQLITE_FSFLAGS_IS_MSDOS   0x1
 
#define SQLITE_Fts3Tokenizer   0x40000000 /* Enable fts3_tokenizer(2) */
 
#define SQLITE_FULL   13 /* Insertion failed because database is full */
 
#define SQLITE_FullColNames   0x00000004 /* Show full column names on SELECT */
 
#define SQLITE_FullFSync   0x00000008 /* Use full fsync on the backend */
 
#define SQLITE_FUNC_CASE   0x0008 /* Case-sensitive LIKE-type function */
 
#define SQLITE_FUNC_COALESCE   0x0200 /* Built-in coalesce() or ifnull() */
 
#define SQLITE_FUNC_CONSTANT   0x0800 /* Constant inputs give a constant output */
 
#define SQLITE_FUNC_COUNT   0x0100 /* Built-in count(*) aggregate */
 
#define SQLITE_FUNC_ENCMASK   0x0003 /* SQLITE_UTF8, SQLITE_UTF16BE or UTF16LE */
 
#define SQLITE_FUNC_EPHEM   0x0010 /* Ephemeral. Delete with VDBE */
 
#define SQLITE_FUNC_HASH_SZ   23
 
#define SQLITE_FUNC_LENGTH   0x0040 /* Built-in length() function */
 
#define SQLITE_FUNC_LIKE   0x0004 /* Candidate for the LIKE optimization */
 
#define SQLITE_FUNC_MINMAX   0x1000 /* True for min() and max() aggregates */
 
#define SQLITE_FUNC_NEEDCOLL   0x0020 /* sqlite3GetFuncCollSeq() might be called*/
 
#define SQLITE_FUNC_SLOCHNG
 
#define SQLITE_FUNC_TYPEOF   0x0080 /* Built-in typeof() function */
 
#define SQLITE_FUNC_UNLIKELY   0x0400 /* Built-in unlikely() function */
 
#define SQLITE_FUNCTION   31 /* NULL Function Name */
 
#define SQLITE_GET_LOCKPROXYFILE   SQLITE_FCNTL_GET_LOCKPROXYFILE
 
#define SQLITE_GroupByOrder   0x0004 /* GROUPBY cover of ORDERBY */
 
#define SQLITE_IDXTYPE_APPDEF   0 /* Created using CREATE INDEX */
 
#define SQLITE_IDXTYPE_PRIMARYKEY   2 /* Is the PRIMARY KEY for the table */
 
#define SQLITE_IDXTYPE_UNIQUE   1 /* Implements a UNIQUE constraint */
 
#define SQLITE_IGNORE   2 /* Don't allow access, but don't generate an error */
 
#define SQLITE_IgnoreChecks   0x00002000 /* Do not enforce check constraints */
 
#define SQLITE_INDEX_CONSTRAINT_EQ   2
 
#define SQLITE_INDEX_CONSTRAINT_GE   32
 
#define SQLITE_INDEX_CONSTRAINT_GLOB   66
 
#define SQLITE_INDEX_CONSTRAINT_GT   4
 
#define SQLITE_INDEX_CONSTRAINT_LE   8
 
#define SQLITE_INDEX_CONSTRAINT_LIKE   65
 
#define SQLITE_INDEX_CONSTRAINT_LT   16
 
#define SQLITE_INDEX_CONSTRAINT_MATCH   64
 
#define SQLITE_INDEX_CONSTRAINT_REGEXP   67
 
#define SQLITE_INDEX_SCAN_UNIQUE   1 /* Scan visits at most 1 row */
 
#define SQLITE_INSERT   18 /* Table Name NULL */
 
#define SQLITE_INT_TO_PTR(X)   ((void*)&((char*)0)[X])
 
#define SQLITE_INTEGER   1
 
#define SQLITE_INTEGRITY_CHECK_ERROR_MAX   100
 
#define SQLITE_INTERNAL   2 /* Internal logic error in SQLite */
 
#define SQLITE_InternChanges   0x00000002 /* Uncommitted Hash table changes */
 
#define SQLITE_INTERRUPT   9 /* Operation terminated by sqlite3_interrupt()*/
 
#define SQLITE_IOCAP_ATOMIC   0x00000001
 
#define SQLITE_IOCAP_ATOMIC16K   0x00000040
 
#define SQLITE_IOCAP_ATOMIC1K   0x00000004
 
#define SQLITE_IOCAP_ATOMIC2K   0x00000008
 
#define SQLITE_IOCAP_ATOMIC32K   0x00000080
 
#define SQLITE_IOCAP_ATOMIC4K   0x00000010
 
#define SQLITE_IOCAP_ATOMIC512   0x00000002
 
#define SQLITE_IOCAP_ATOMIC64K   0x00000100
 
#define SQLITE_IOCAP_ATOMIC8K   0x00000020
 
#define SQLITE_IOCAP_IMMUTABLE   0x00002000
 
#define SQLITE_IOCAP_POWERSAFE_OVERWRITE   0x00001000
 
#define SQLITE_IOCAP_SAFE_APPEND   0x00000200
 
#define SQLITE_IOCAP_SEQUENTIAL   0x00000400
 
#define SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN   0x00000800
 
#define SQLITE_IOERR   10 /* Some kind of disk I/O error occurred */
 
#define SQLITE_IOERR_ACCESS   (SQLITE_IOERR | (13<<8))
 
#define SQLITE_IOERR_AUTH   (SQLITE_IOERR | (28<<8))
 
#define SQLITE_IOERR_BLOCKED   (SQLITE_IOERR | (11<<8))
 
#define SQLITE_IOERR_CHECKRESERVEDLOCK   (SQLITE_IOERR | (14<<8))
 
#define SQLITE_IOERR_CLOSE   (SQLITE_IOERR | (16<<8))
 
#define SQLITE_IOERR_CONVPATH   (SQLITE_IOERR | (26<<8))
 
#define SQLITE_IOERR_DELETE   (SQLITE_IOERR | (10<<8))
 
#define SQLITE_IOERR_DELETE_NOENT   (SQLITE_IOERR | (23<<8))
 
#define SQLITE_IOERR_DIR_CLOSE   (SQLITE_IOERR | (17<<8))
 
#define SQLITE_IOERR_DIR_FSYNC   (SQLITE_IOERR | (5<<8))
 
#define SQLITE_IOERR_FSTAT   (SQLITE_IOERR | (7<<8))
 
#define SQLITE_IOERR_FSYNC   (SQLITE_IOERR | (4<<8))
 
#define SQLITE_IOERR_GETTEMPPATH   (SQLITE_IOERR | (25<<8))
 
#define SQLITE_IOERR_LOCK   (SQLITE_IOERR | (15<<8))
 
#define SQLITE_IOERR_MMAP   (SQLITE_IOERR | (24<<8))
 
#define SQLITE_IOERR_NOMEM   (SQLITE_IOERR | (12<<8))
 
#define SQLITE_IOERR_NOMEM_BKPT   SQLITE_IOERR_NOMEM
 
#define SQLITE_IOERR_RDLOCK   (SQLITE_IOERR | (9<<8))
 
#define SQLITE_IOERR_READ   (SQLITE_IOERR | (1<<8))
 
#define SQLITE_IOERR_SEEK   (SQLITE_IOERR | (22<<8))
 
#define SQLITE_IOERR_SHMLOCK   (SQLITE_IOERR | (20<<8))
 
#define SQLITE_IOERR_SHMMAP   (SQLITE_IOERR | (21<<8))
 
#define SQLITE_IOERR_SHMOPEN   (SQLITE_IOERR | (18<<8))
 
#define SQLITE_IOERR_SHMSIZE   (SQLITE_IOERR | (19<<8))
 
#define SQLITE_IOERR_SHORT_READ   (SQLITE_IOERR | (2<<8))
 
#define SQLITE_IOERR_TRUNCATE   (SQLITE_IOERR | (6<<8))
 
#define SQLITE_IOERR_UNLOCK   (SQLITE_IOERR | (8<<8))
 
#define SQLITE_IOERR_VNODE   (SQLITE_IOERR | (27<<8))
 
#define SQLITE_IOERR_WRITE   (SQLITE_IOERR | (3<<8))
 
#define SQLITE_JUMPIFNULL   0x10 /* jumps if either operand is NULL */
 
#define SQLITE_LAST_ERRNO   SQLITE_FCNTL_LAST_ERRNO
 
#define SQLITE_LegacyFileFmt   0x00008000 /* Create new databases in format 1 */
 
#define SQLITE_LIMIT_ATTACHED   7
 
#define SQLITE_LIMIT_COLUMN   2
 
#define SQLITE_LIMIT_COMPOUND_SELECT   4
 
#define SQLITE_LIMIT_EXPR_DEPTH   3
 
#define SQLITE_LIMIT_FUNCTION_ARG   6
 
#define SQLITE_LIMIT_LENGTH   0
 
#define SQLITE_LIMIT_LIKE_PATTERN_LENGTH   8
 
#define SQLITE_LIMIT_SQL_LENGTH   1
 
#define SQLITE_LIMIT_TRIGGER_DEPTH   10
 
#define SQLITE_LIMIT_VARIABLE_NUMBER   9
 
#define SQLITE_LIMIT_VDBE_OP   5
 
#define SQLITE_LIMIT_WORKER_THREADS   11
 
#define SQLITE_LITTLEENDIAN   (*(char *)(&sqlite3one)==1)
 
#define SQLITE_LoadExtension   0x00400000 /* Enable load_extension */
 
#define SQLITE_LoadExtFunc   0x00800000 /* Enable load_extension() SQL func */
 
#define SQLITE_LOCK_EXCLUSIVE   4
 
#define SQLITE_LOCK_NONE   0
 
#define SQLITE_LOCK_PENDING   3
 
#define SQLITE_LOCK_RESERVED   2
 
#define SQLITE_LOCK_SHARED   1
 
#define SQLITE_LOCKED   6 /* A table in the database is locked */
 
#define SQLITE_LOCKED_SHAREDCACHE   (SQLITE_LOCKED | (1<<8))
 
#define SQLITE_MAGIC_BUSY   0xf03b7906 /* Database currently in use */
 
#define SQLITE_MAGIC_CLOSED   0x9f3c2d33 /* Database is closed */
 
#define SQLITE_MAGIC_ERROR   0xb5357930 /* An SQLITE_MISUSE error occurred */
 
#define SQLITE_MAGIC_OPEN   0xa029a697 /* Database is open */
 
#define SQLITE_MAGIC_SICK   0x4b771290 /* Error and awaiting close */
 
#define SQLITE_MAGIC_ZOMBIE   0x64cffc7f /* Close with last statement close */
 
#define SQLITE_MALLOC(x)   malloc(x)
 
#define SQLITE_MALLOC_SOFT_LIMIT   1024
 
#define SQLITE_MAX_ATTACHED   10
 
#define SQLITE_MAX_COLUMN   2000
 
#define SQLITE_MAX_COMPOUND_SELECT   500
 
#define SQLITE_MAX_DEFAULT_PAGE_SIZE   8192
 
#define SQLITE_MAX_EXPR_DEPTH   1000
 
#define SQLITE_MAX_FILE_FORMAT   4
 
#define SQLITE_MAX_FUNCTION_ARG   127
 
#define SQLITE_MAX_LENGTH   1000000000
 
#define SQLITE_MAX_LIKE_PATTERN_LENGTH   50000
 
#define SQLITE_MAX_MMAP_SIZE   0
 
#define SQLITE_MAX_MMAP_SIZE_xc   1 /* exclude from ctime.c */
 
#define SQLITE_MAX_PAGE_COUNT   1073741823
 
#define SQLITE_MAX_PAGE_SIZE   65536
 
#define SQLITE_MAX_PMASZ   (1<<29)
 
#define SQLITE_MAX_SCHEMA_RETRY   50
 
#define SQLITE_MAX_SQL_LENGTH   1000000000
 
#define SQLITE_MAX_SYMLINKS   100
 
#define SQLITE_MAX_TRIGGER_DEPTH   1000
 
#define SQLITE_MAX_U32   ((((u64)1)<<32)-1)
 
#define SQLITE_MAX_VARIABLE_NUMBER   999
 
#define SQLITE_MAX_VDBE_OP   25000
 
#define SQLITE_MAX_WORKER_THREADS   8
 
#define SQLITE_MINIMUM_FILE_DESCRIPTOR   3
 
#define SQLITE_MISMATCH   20 /* Data type mismatch */
 
#define SQLITE_MISUSE   21 /* Library used incorrectly */
 
#define SQLITE_MISUSE_BKPT   sqlite3MisuseError(__LINE__)
 
#define SQLITE_MUTEX_FAST   0
 
#define SQLITE_MUTEX_NREF   0
 
#define SQLITE_MUTEX_PTHREADS
 
#define SQLITE_MUTEX_RECURSIVE   1
 
#define SQLITE_MUTEX_STATIC_APP1   8 /* For use by application */
 
#define SQLITE_MUTEX_STATIC_APP2   9 /* For use by application */
 
#define SQLITE_MUTEX_STATIC_APP3   10 /* For use by application */
 
#define SQLITE_MUTEX_STATIC_LRU   6 /* lru page list */
 
#define SQLITE_MUTEX_STATIC_LRU2   7 /* NOT USED */
 
#define SQLITE_MUTEX_STATIC_MASTER   2
 
#define SQLITE_MUTEX_STATIC_MEM   3 /* sqlite3_malloc() */
 
#define SQLITE_MUTEX_STATIC_MEM2   4 /* NOT USED */
 
#define SQLITE_MUTEX_STATIC_OPEN   4 /* sqlite3BtreeOpen() */
 
#define SQLITE_MUTEX_STATIC_PMEM   7 /* sqlite3PageMalloc() */
 
#define SQLITE_MUTEX_STATIC_PRNG   5 /* sqlite3_random() */
 
#define SQLITE_MUTEX_STATIC_VFS1   11 /* For use by built-in VFS */
 
#define SQLITE_MUTEX_STATIC_VFS2   12 /* For use by extension VFS */
 
#define SQLITE_MUTEX_STATIC_VFS3   13 /* For use by application VFS */
 
#define SQLITE_MX_JUMP_OPCODE   69 /* Maximum JUMP opcode */
 
#define SQLITE_N_BTREE_META   16
 
#define SQLITE_N_COLCACHE   10
 
#define SQLITE_N_KEYWORD   124
 
#define SQLITE_N_LIMIT   (SQLITE_LIMIT_WORKER_THREADS+1)
 
#define SQLITE_NOINLINE
 
#define SQLITE_NOLFS   22 /* Uses OS features not supported on host */
 
#define SQLITE_NOMEM   7 /* A malloc() failed */
 
#define SQLITE_NOMEM_BKPT   SQLITE_NOMEM
 
#define SQLITE_NOTADB   26 /* File opened that is not a database file */
 
#define SQLITE_NOTFOUND   12 /* Unknown opcode in sqlite3_file_control() */
 
#define SQLITE_NOTICE   27 /* Notifications from sqlite3_log() */
 
#define SQLITE_NOTICE_RECOVER_ROLLBACK   (SQLITE_NOTICE | (2<<8))
 
#define SQLITE_NOTICE_RECOVER_WAL   (SQLITE_NOTICE | (1<<8))
 
#define SQLITE_NOTNULL   0x90 /* Assert that operands are never NULL */
 
#define SQLITE_NULL   5
 
#define SQLITE_NullCallback   0x00000100 /* Invoke the callback once if the */
 
#define SQLITE_NULLEQ   0x80 /* NULL=NULL */
 
#define SQLITE_OK   0 /* Successful result */
 
#define SQLITE_OmitNoopJoin   0x0400 /* Omit unused tables in joins */
 
#define SQLITE_OPEN_AUTOPROXY   0x00000020 /* VFS only */
 
#define SQLITE_OPEN_CREATE   0x00000004 /* Ok for sqlite3_open_v2() */
 
#define SQLITE_OPEN_DELETEONCLOSE   0x00000008 /* VFS only */
 
#define SQLITE_OPEN_EXCLUSIVE   0x00000010 /* VFS only */
 
#define SQLITE_OPEN_FULLMUTEX   0x00010000 /* Ok for sqlite3_open_v2() */
 
#define SQLITE_OPEN_MAIN_DB   0x00000100 /* VFS only */
 
#define SQLITE_OPEN_MAIN_JOURNAL   0x00000800 /* VFS only */
 
#define SQLITE_OPEN_MASTER_JOURNAL   0x00004000 /* VFS only */
 
#define SQLITE_OPEN_MEMORY   0x00000080 /* Ok for sqlite3_open_v2() */
 
#define SQLITE_OPEN_NOMUTEX   0x00008000 /* Ok for sqlite3_open_v2() */
 
#define SQLITE_OPEN_PRIVATECACHE   0x00040000 /* Ok for sqlite3_open_v2() */
 
#define SQLITE_OPEN_READONLY   0x00000001 /* Ok for sqlite3_open_v2() */
 
#define SQLITE_OPEN_READWRITE   0x00000002 /* Ok for sqlite3_open_v2() */
 
#define SQLITE_OPEN_SHAREDCACHE   0x00020000 /* Ok for sqlite3_open_v2() */
 
#define SQLITE_OPEN_SUBJOURNAL   0x00002000 /* VFS only */
 
#define SQLITE_OPEN_TEMP_DB   0x00000200 /* VFS only */
 
#define SQLITE_OPEN_TEMP_JOURNAL   0x00001000 /* VFS only */
 
#define SQLITE_OPEN_TRANSIENT_DB   0x00000400 /* VFS only */
 
#define SQLITE_OPEN_URI   0x00000040 /* Ok for sqlite3_open_v2() */
 
#define SQLITE_OPEN_WAL   0x00080000 /* VFS only */
 
#define SQLITE_OrderByIdxJoin   0x0080 /* ORDER BY of joins via index */
 
#define SQLITE_OS_OTHER   0
 
#define SQLITE_OS_UNIX   1
 
#define SQLITE_OS_WIN   0
 
#define SQLITE_PERM   3 /* Access permission denied */
 
#define SQLITE_POWERSAFE_OVERWRITE   1
 
#define SQLITE_PRAGMA   19 /* Pragma Name 1st arg or NULL */
 
#define SQLITE_PreferBuiltin   0x00200000 /* Preference to built-in funcs */
 
#define SQLITE_PRINT_BUF_SIZE   70
 
#define SQLITE_PRINTF_INTERNAL   0x01 /* Internal-use-only converters allowed */
 
#define SQLITE_PRINTF_MALLOCED   0x04 /* True if xText is allocated space */
 
#define SQLITE_PRINTF_SQLFUNC   0x02 /* SQL function arguments to VXPrintf */
 
#define SQLITE_PRIVATE   static
 
#define SQLITE_PROTOCOL   15 /* Database lock protocol error */
 
#define SQLITE_PTR_TO_INT(X)   ((int)(((char*)X)-(char*)0))
 
#define SQLITE_PTRSIZE   8
 
#define SQLITE_QueryFlattener   0x0001 /* Query flattening */
 
#define SQLITE_QueryOnly   0x04000000 /* Disable database changes */
 
#define SQLITE_RANGE   25 /* 2nd parameter to sqlite3_bind out of range */
 
#define SQLITE_READ   20 /* Table Name Column Name */
 
#define SQLITE_READONLY   8 /* Attempt to write a readonly database */
 
#define SQLITE_READONLY_CANTLOCK   (SQLITE_READONLY | (2<<8))
 
#define SQLITE_READONLY_DBMOVED   (SQLITE_READONLY | (4<<8))
 
#define SQLITE_READONLY_RECOVERY   (SQLITE_READONLY | (1<<8))
 
#define SQLITE_READONLY_ROLLBACK   (SQLITE_READONLY | (3<<8))
 
#define SQLITE_ReadUncommitted   0x0004000 /* For shared-cache mode */
 
#define SQLITE_REALLOC(x, y)   realloc((x),(y))
 
#define SQLITE_RecoveryMode   0x00010000 /* Ignore schema errors */
 
#define SQLITE_RecTriggers   0x00040000 /* Enable recursive triggers */
 
#define SQLITE_RECURSIVE   33 /* NULL NULL */
 
#define SQLITE_REINDEX   27 /* Index Name NULL */
 
#define SQLITE_REPLACE   5
 
#define SQLITE_ReverseOrder   0x00020000 /* Reverse unordered SELECTs */
 
#define SQLITE_ROLLBACK   1
 
#define SQLITE_ROW   100 /* sqlite3_step() has another row ready */
 
#define SQLITE_SAVEPOINT   32 /* Operation Savepoint Name */
 
#define SQLITE_SCANSTAT_EST   2
 
#define SQLITE_SCANSTAT_EXPLAIN   4
 
#define SQLITE_SCANSTAT_NAME   3
 
#define SQLITE_SCANSTAT_NLOOP   0
 
#define SQLITE_SCANSTAT_NVISIT   1
 
#define SQLITE_SCANSTAT_SELECTID   5
 
#define SQLITE_SCHEMA   17 /* The database schema changed */
 
#define SQLITE_SELECT   21 /* NULL NULL */
 
#define SQLITE_SET_LOCKPROXYFILE   SQLITE_FCNTL_SET_LOCKPROXYFILE
 
#define SQLITE_SHM_EXCLUSIVE   8
 
#define SQLITE_SHM_LOCK   2
 
#define SQLITE_SHM_NLOCK   8
 
#define SQLITE_SHM_SHARED   4
 
#define SQLITE_SHM_UNLOCK   1
 
#define SQLITE_ShortColNames   0x00000040 /* Show short columns names */
 
#define SQLITE_SKIP_UTF8(zIn)
 
#define SQLITE_SO_ASC   0 /* Sort in ascending order */
 
#define SQLITE_SO_DESC   1 /* Sort in ascending order */
 
#define SQLITE_SO_UNDEFINED   -1 /* No sort order specified */
 
#define SQLITE_SORTER_PMASZ   250
 
#define SQLITE_SOURCE_ID   "2016-05-18 10:57:30 fc49f556e48970561d7ab6a2f24fdd7d9eb81ff2"
 
#define SQLITE_SqlTrace   0x00000200 /* Debug print SQL as it executes */
 
#define SQLITE_Stat34   0x0800 /* Use STAT3 or STAT4 data */
 
#define SQLITE_STAT4_SAMPLES   1
 
#define SQLITE_STATIC   ((sqlite3_destructor_type)0)
 
#define SQLITE_STATUS_MALLOC_COUNT   9
 
#define SQLITE_STATUS_MALLOC_SIZE   5
 
#define SQLITE_STATUS_MEMORY_USED   0
 
#define SQLITE_STATUS_PAGECACHE_OVERFLOW   2
 
#define SQLITE_STATUS_PAGECACHE_SIZE   7
 
#define SQLITE_STATUS_PAGECACHE_USED   1
 
#define SQLITE_STATUS_PARSER_STACK   6
 
#define SQLITE_STATUS_SCRATCH_OVERFLOW   4
 
#define SQLITE_STATUS_SCRATCH_SIZE   8
 
#define SQLITE_STATUS_SCRATCH_USED   3
 
#define SQLITE_STDCALL
 
#define SQLITE_STMTJRNL_SPILL   (64*1024)
 
#define SQLITE_STMTSTATUS_AUTOINDEX   3
 
#define SQLITE_STMTSTATUS_FULLSCAN_STEP   1
 
#define SQLITE_STMTSTATUS_SORT   2
 
#define SQLITE_STMTSTATUS_VM_STEP   4
 
#define SQLITE_STOREP2   0x20 /* Store result in reg[P2] rather than jump */
 
#define SQLITE_SubqCoroutine   0x0100 /* Evaluate subqueries as coroutines */
 
#define SQLITE_SYNC_DATAONLY   0x00010
 
#define SQLITE_SYNC_FULL   0x00003
 
#define SQLITE_SYNC_MASK   0x13 /* Mask off the SQLITE_SYNC_* values */
 
#define SQLITE_SYNC_NORMAL   0x00002
 
#define SQLITE_SYSTEM_MALLOC   1
 
#define SQLITE_TEMP_FILE_PREFIX   "etilqs_"
 
#define SQLITE_TEMP_STORE   1
 
#define SQLITE_TEMP_STORE_xc   1 /* Exclude from ctime.c */
 
#define SQLITE_TESTCTRL_ALWAYS   13
 
#define SQLITE_TESTCTRL_ASSERT   12
 
#define SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS   10
 
#define SQLITE_TESTCTRL_BITVEC_TEST   8
 
#define SQLITE_TESTCTRL_BYTEORDER   22
 
#define SQLITE_TESTCTRL_EXPLAIN_STMT   19 /* NOT USED */
 
#define SQLITE_TESTCTRL_FAULT_INSTALL   9
 
#define SQLITE_TESTCTRL_FIRST   5
 
#define SQLITE_TESTCTRL_IMPOSTER   25
 
#define SQLITE_TESTCTRL_ISINIT   23
 
#define SQLITE_TESTCTRL_ISKEYWORD   16
 
#define SQLITE_TESTCTRL_LAST   25
 
#define SQLITE_TESTCTRL_LOCALTIME_FAULT   18
 
#define SQLITE_TESTCTRL_NEVER_CORRUPT   20
 
#define SQLITE_TESTCTRL_OPTIMIZATIONS   15
 
#define SQLITE_TESTCTRL_PENDING_BYTE   11
 
#define SQLITE_TESTCTRL_PRNG_RESET   7
 
#define SQLITE_TESTCTRL_PRNG_RESTORE   6
 
#define SQLITE_TESTCTRL_PRNG_SAVE   5
 
#define SQLITE_TESTCTRL_RESERVE   14
 
#define SQLITE_TESTCTRL_SCRATCHMALLOC   17
 
#define SQLITE_TESTCTRL_SORTER_MMAP   24
 
#define SQLITE_TESTCTRL_VDBE_COVERAGE   21
 
#define SQLITE_TEXT   3
 
#define SQLITE_THREADS_IMPLEMENTED   1 /* Prevent the single-thread code below */
 
#define SQLITE_THREADSAFE   1 /* IMP: R-07272-22309 */
 
#define SQLITE_TOOBIG   18 /* String or BLOB exceeds size limit */
 
#define SQLITE_TRANSACTION   22 /* Operation NULL */
 
#define SQLITE_TRANSIENT   ((sqlite3_destructor_type)-1)
 
#define SQLITE_Transitive   0x0200 /* Transitive constraints */
 
#define SQLITE_UNIX_THREADS   1
 
#define SQLITE_UPDATE   23 /* Table Name Column Name */
 
#define SQLITE_USE_URI   0
 
#define SQLITE_UTF16   4 /* Use native byte order */
 
#define SQLITE_UTF16_ALIGNED   8 /* sqlite3_create_collation only */
 
#define SQLITE_UTF16BE   3 /* IMP: R-51971-34154 */
 
#define SQLITE_UTF16LE   2 /* IMP: R-03371-37637 */
 
#define SQLITE_UTF16NATIVE   (SQLITE_BIGENDIAN?SQLITE_UTF16BE:SQLITE_UTF16LE)
 
#define SQLITE_UTF8   1 /* IMP: R-37514-35566 */
 
#define SQLITE_Vacuum   0x10000000 /* Currently in a VACUUM */
 
#define SQLITE_VdbeAddopTrace   0x00001000 /* Trace sqlite3VdbeAddOp() calls */
 
#define SQLITE_VdbeEQP   0x08000000 /* Debug EXPLAIN QUERY PLAN */
 
#define SQLITE_VdbeListing   0x00000400 /* Debug listings of VDBE programs */
 
#define SQLITE_VdbeTrace   0x00000001 /* True to trace VDBE execution */
 
#define SQLITE_VERSION   "3.13.0"
 
#define SQLITE_VERSION_NUMBER   3013000
 
#define SQLITE_VTAB_CONSTRAINT_SUPPORT   1
 
#define SQLITE_WARNING   28 /* Warnings from sqlite3_log() */
 
#define SQLITE_WARNING_AUTOINDEX   (SQLITE_WARNING | (1<<8))
 
#define SQLITE_WITHIN(P, S, E)   (((uptr)(P)>=(uptr)(S))&&((uptr)(P)<(uptr)(E)))
 
#define SQLITE_WriteSchema   0x00000800 /* OK to update SQLITE_MASTER */
 
#define SQLITE_WSD
 
#define sqliteHashData(E)   ((E)->data)
 
#define sqliteHashFirst(H)   ((H)->first)
 
#define sqliteHashNext(E)   ((E)->next)
 
#define SRT_Coroutine   13 /* Generate a single row of result */
 
#define SRT_Discard   4 /* Do not save the results anywhere */
 
#define SRT_DistFifo   6 /* Like SRT_Fifo, but unique results only */
 
#define SRT_DistQueue   8 /* Like SRT_Queue, but unique results only */
 
#define SRT_EphemTab   12 /* Create transient tab and store like SRT_Table */
 
#define SRT_Except   2 /* Remove result from a UNION index */
 
#define SRT_Exists   3 /* Store 1 if the result is not empty */
 
#define SRT_Fifo   5 /* Store result as data with an automatic rowid */
 
#define SRT_Mem   10 /* Store result in a memory cell */
 
#define SRT_Output   9 /* Output each row of result */
 
#define SRT_Queue   7 /* Store result in an queue */
 
#define SRT_Set   11 /* Store results as keys in an index */
 
#define SRT_Table   14 /* Store result as data with an automatic rowid */
 
#define SRT_Union   1 /* Store result as keys in an index */
 
#define SRVAL(p)   ((void*)((SorterRecord*)(p) + 1))
 
#define STAT_GET_NDLT   4 /* "ndlt" column of stat[34] entry */
 
#define STAT_GET_NEQ   2 /* "neq" column of stat[34] entry */
 
#define STAT_GET_NLT   3 /* "nlt" column of stat[34] entry */
 
#define STAT_GET_ROWID   1 /* "rowid" column of stat[34] entry */
 
#define STAT_GET_STAT1   0 /* "stat" column of stat1 table */
 
#define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc)
 
#define STRACCUM_NOMEM   1
 
#define STRACCUM_TOOBIG   2
 
#define Stringify(P, enc)
 
#define SWAP(TYPE, A, B)   {TYPE t=A; A=B; B=t;}
 
#define swapMixedEndianFloat(X)
 
#define TEMP_MASTER_NAME   "sqlite_temp_master"
 
#define TERM_ANDINFO   0x20 /* Need to free the WhereTerm.u.pAndInfo obj */
 
#define TERM_CODED   0x04 /* This term is already coded */
 
#define TERM_COPIED   0x08 /* Has a child */
 
#define TERM_DYNAMIC   0x01 /* Need to call sqlite3ExprDelete(db, pExpr) */
 
#define TERM_IS   0x800 /* Term.pExpr is an IS operator */
 
#define TERM_LIKE   0x400 /* The original LIKE operator */
 
#define TERM_LIKECOND   0x200 /* Conditionally this LIKE operator term */
 
#define TERM_LIKEOPT   0x100 /* Virtual terms from the LIKE optimization */
 
#define TERM_OR_OK   0x40 /* Used during OR-clause processing */
 
#define TERM_ORINFO   0x10 /* Need to free the WhereTerm.u.pOrInfo object */
 
#define TERM_VIRTUAL   0x02 /* Added by the optimizer. Do not code */
 
#define TERM_VNULL   0x00 /* Disabled if not using stat3 */
 
#define TESTBIT(V, I)   (V[I>>3]&(1<<(I&7)))!=0
 
#define testcase(X)
 
#define TESTONLY(X)
 
#define TF_Autoincrement   0x08 /* Integer primary key is autoincrement */
 
#define TF_Ephemeral   0x02 /* An ephemeral table */
 
#define TF_HasPrimaryKey   0x04 /* Table has a primary key */
 
#define TF_NoVisibleRowid   0x40 /* No user-visible "rowid" column */
 
#define TF_OOOHidden   0x80 /* Out-of-Order hidden columns */
 
#define TF_Readonly   0x01 /* Read-only system table */
 
#define TF_Virtual   0x10 /* Is a virtual table */
 
#define TF_WithoutRowid   0x20 /* No rowid. PRIMARY KEY is the key */
 
#define threadid   pthread_self()
 
#define THREE_BYTE_INT(x)   (65536*(i8)((x)[0])|((x)[1]<<8)|(x)[2])
 
#define TIMER_ELAPSED   ((sqlite_uint64)0)
 
#define TIMER_END
 
#define TIMER_START
 
#define TK_ABORT   57
 
#define TK_ACTION   58
 
#define TK_ADD   142
 
#define TK_AFTER   59
 
#define TK_AGG_COLUMN   154
 
#define TK_AGG_FUNCTION   153
 
#define TK_ALL   116
 
#define TK_ALTER   141
 
#define TK_ANALYZE   60
 
#define TK_AND   28
 
#define TK_ANY   96
 
#define TK_AS   24
 
#define TK_ASC   61
 
#define TK_ASTERISK   158
 
#define TK_ATTACH   62
 
#define TK_AUTOINCR   106
 
#define TK_BEFORE   63
 
#define TK_BEGIN   5
 
#define TK_BETWEEN   32
 
#define TK_BITAND   43
 
#define TK_BITNOT   54
 
#define TK_BITOR   44
 
#define TK_BLOB   134
 
#define TK_BY   64
 
#define TK_CASCADE   65
 
#define TK_CASE   136
 
#define TK_CAST   66
 
#define TK_CHECK   104
 
#define TK_COLLATE   53
 
#define TK_COLUMN   152
 
#define TK_COLUMNKW   67
 
#define TK_COMMA   26
 
#define TK_COMMIT   10
 
#define TK_CONCAT   52
 
#define TK_CONFLICT   68
 
#define TK_CONSTRAINT   99
 
#define TK_CREATE   17
 
#define TK_CTIME_KW   95
 
#define TK_DATABASE   69
 
#define TK_DEFAULT   100
 
#define TK_DEFERRABLE   112
 
#define TK_DEFERRED   7
 
#define TK_DELETE   109
 
#define TK_DESC   70
 
#define TK_DETACH   71
 
#define TK_DISTINCT   121
 
#define TK_DOT   122
 
#define TK_DROP   114
 
#define TK_EACH   72
 
#define TK_ELSE   139
 
#define TK_END   11
 
#define TK_END_OF_FILE   149
 
#define TK_EQ   37
 
#define TK_ESCAPE   42
 
#define TK_EXCEPT   117
 
#define TK_EXCLUSIVE   9
 
#define TK_EXISTS   20
 
#define TK_EXPLAIN   2
 
#define TK_FAIL   73
 
#define TK_FLOAT   133
 
#define TK_FOR   74
 
#define TK_FOREIGN   113
 
#define TK_FROM   123
 
#define TK_FUNCTION   151
 
#define TK_GE   41
 
#define TK_GROUP   127
 
#define TK_GT   38
 
#define TK_HAVING   128
 
#define TK_ID   55
 
#define TK_IF   18
 
#define TK_IGNORE   75
 
#define TK_ILLEGAL   161
 
#define TK_IMMEDIATE   8
 
#define TK_IN   33
 
#define TK_INDEX   140
 
#define TK_INDEXED   56
 
#define TK_INITIALLY   76
 
#define TK_INSERT   108
 
#define TK_INSTEAD   77
 
#define TK_INTEGER   132
 
#define TK_INTERSECT   118
 
#define TK_INTO   131
 
#define TK_IS   29
 
#define TK_ISNOT   148
 
#define TK_ISNULL   34
 
#define TK_JOIN   124
 
#define TK_JOIN_KW   98
 
#define TK_KEY   79
 
#define TK_LE   39
 
#define TK_LIKE_KW   31
 
#define TK_LIMIT   129
 
#define TK_LP   22
 
#define TK_LSHIFT   45
 
#define TK_LT   40
 
#define TK_MATCH   30
 
#define TK_MINUS   48
 
#define TK_NE   36
 
#define TK_NO   78
 
#define TK_NOT   19
 
#define TK_NOTNULL   35
 
#define TK_NULL   101
 
#define TK_OF   80
 
#define TK_OFFSET   81
 
#define TK_ON   107
 
#define TK_OR   27
 
#define TK_ORDER   126
 
#define TK_PLAN   4
 
#define TK_PLUS   47
 
#define TK_PRAGMA   82
 
#define TK_PRIMARY   102
 
#define TK_QUERY   3
 
#define TK_RAISE   83
 
#define TK_RECURSIVE   84
 
#define TK_REFERENCES   105
 
#define TK_REGISTER   157
 
#define TK_REINDEX   93
 
#define TK_RELEASE   14
 
#define TK_REM   51
 
#define TK_RENAME   94
 
#define TK_REPLACE   85
 
#define TK_RESTRICT   86
 
#define TK_ROLLBACK   12
 
#define TK_ROW   87
 
#define TK_RP   23
 
#define TK_RSHIFT   46
 
#define TK_SAVEPOINT   13
 
#define TK_SELECT   119
 
#define TK_SEMI   1
 
#define TK_SET   111
 
#define TK_SLASH   50
 
#define TK_SPACE   160
 
#define TK_SPAN   159
 
#define TK_STAR   49
 
#define TK_STRING   97
 
#define TK_TABLE   16
 
#define TK_TEMP   21
 
#define TK_THEN   138
 
#define TK_TO   15
 
#define TK_TO_BLOB   144
 
#define TK_TO_INT   146
 
#define TK_TO_NUMERIC   145
 
#define TK_TO_REAL   147
 
#define TK_TO_TEXT   143
 
#define TK_TRANSACTION   6
 
#define TK_TRIGGER   88
 
#define TK_UMINUS   155
 
#define TK_UNCLOSED_STRING   150
 
#define TK_UNION   115
 
#define TK_UNIQUE   103
 
#define TK_UPDATE   110
 
#define TK_UPLUS   156
 
#define TK_USING   125
 
#define TK_VACUUM   89
 
#define TK_VALUES   120
 
#define TK_VARIABLE   135
 
#define TK_VIEW   90
 
#define TK_VIRTUAL   91
 
#define TK_WHEN   137
 
#define TK_WHERE   130
 
#define TK_WITH   92
 
#define TK_WITHOUT   25
 
#define tkCREATE   4
 
#define tkEND   7
 
#define tkEXPLAIN   3
 
#define TKFLG_DONTFOLD   0x100 /* Omit constant folding optimizations */
 
#define TKFLG_MASK   0xff
 
#define tkOTHER   2
 
#define tkSEMI   0
 
#define tkTEMP   5
 
#define tkTRIGGER   6
 
#define tkWS   1
 
#define TOKEN   yyminor
 
#define TRACE(X)
 
#define TRACE_IDX_INPUTS(A)
 
#define TRACE_IDX_OUTPUTS(A)
 
#define TRANS_NONE   0
 
#define TRANS_READ   1
 
#define TRANS_WRITE   2
 
#define TRIGGER_AFTER   2
 
#define TRIGGER_BEFORE   1
 
#define TWO_BYTE_INT(x)   (256*(i8)((x)[0])|(x)[1])
 
#define TWOPOWER31   (((i64)1)<<31)
 
#define TWOPOWER32   (((i64)1)<<32)
 
#define UINT16_TYPE   unsigned short int
 
#define UINT32_TYPE   unsigned int
 
#define UINT8_TYPE   unsigned char
 
#define UNIX_SHM_BASE   ((22+SQLITE_SHM_NLOCK)*4) /* first lock byte */
 
#define UNIX_SHM_DMS   (UNIX_SHM_BASE+SQLITE_SHM_NLOCK) /* deadman switch */
 
#define unixDlClose   0
 
#define unixDlError   0
 
#define unixDlOpen   0
 
#define unixDlSym   0
 
#define UNIXFILE_DELETE   0x20 /* Delete on close */
 
#define UNIXFILE_DIRSYNC   0x08 /* Directory sync needed */
 
#define UNIXFILE_EXCL   0x01 /* Connections from one process only */
 
#define UNIXFILE_NOLOCK   0x80 /* Do no file locking */
 
#define UNIXFILE_PERSIST_WAL   0x04 /* Persistent WAL mode */
 
#define UNIXFILE_PSOW   0x10 /* SQLITE_IOCAP_POWERSAFE_OVERWRITE */
 
#define UNIXFILE_RDONLY   0x02 /* Connection is read only */
 
#define UNIXFILE_URI   0x40 /* Filename might have query parameters */
 
#define unixLogError(a, b, c)   unixLogErrorAtLine(a,b,c,__LINE__)
 
#define UNIXVFS(VFSNAME, FINDER)
 
#define UNKNOWN_LOCK   (EXCLUSIVE_LOCK+1)
 
#define unlikely(X)   (X)
 
#define UNUSED_PARAMETER(x)   (void)(x)
 
#define UNUSED_PARAMETER2(x, y)   UNUSED_PARAMETER(x),UNUSED_PARAMETER(y)
 
#define UPDATE_MAX_BLOBSIZE(P)
 
#define UpperToLower   sqlite3UpperToLower
 
#define USEFETCH(x)   0
 
#define Utf8Read(A)   (A[0]<0x80?*(A++):sqlite3Utf8Read(&A))
 
#define valueFromFunction(a, b, c, d, e, f)   SQLITE_OK
 
#define VDBE_DISPLAY_P4   1
 
#define VDBE_MAGIC_DEAD   0xb606c3c8 /* The VDBE has been deallocated */
 
#define VDBE_MAGIC_HALT   0x519c2973 /* VDBE has completed execution */
 
#define VDBE_MAGIC_INIT   0x26bceaa5 /* Building a VDBE program */
 
#define VDBE_MAGIC_RUN   0xbdf20da3 /* VDBE is ready to execute */
 
#define VDBE_OFFSET_LINENO(x)   0
 
#define vdbeAssertFieldCountWithinLimits(A, B, C)
 
#define VdbeBranchTaken(I, M)
 
#define VdbeComment(X)
 
#define VdbeCoverage(v)
 
#define VdbeCoverageAlwaysTaken(v)
 
#define VdbeCoverageIf(v, x)
 
#define VdbeCoverageNeverTaken(v)
 
#define VdbeFrameMem(p)   ((Mem *)&((u8 *)p)[ROUND8(sizeof(VdbeFrame))])
 
#define vdbeInvokeSqllog(x)
 
#define VdbeMemDynamic(X)   (((X)->flags&(MEM_Agg|MEM_Dyn|MEM_RowSet|MEM_Frame))!=0)
 
#define VdbeModuleComment(X)
 
#define VdbeNoopComment(X)
 
#define vdbeSorterBlockDebug(x, y, z)
 
#define vdbeSorterExtendFile(x, y, z)
 
#define vdbeSorterPopulateDebug(x, y)
 
#define vdbeSorterRewindDebug(y)
 
#define vdbeSorterWorkDebug(x, y)
 
#define vfsList   GLOBAL(sqlite3_vfs *, vfsList)
 
#define VFUNCTION(zName, nArg, iArg, bNC, xFunc)
 
#define VisibleRowid(X)   (((X)->tabFlags & TF_NoVisibleRowid)==0)
 
#define VVA_ONLY(X)
 
#define WAL_ALL_BUT_WRITE   1
 
#define WAL_CKPT_LOCK   1
 
#define WAL_EXCLUSIVE_MODE   1
 
#define WAL_FRAME_HDRSIZE   24
 
#define WAL_HDRSIZE   32
 
#define WAL_HEAPMEMORY_MODE   2
 
#define WAL_MAGIC   0x377f0682
 
#define WAL_MAX_VERSION   3007000
 
#define WAL_NORMAL_MODE   0
 
#define WAL_NREADER   (SQLITE_SHM_NLOCK-3)
 
#define WAL_RDONLY   1 /* The WAL file is readonly */
 
#define WAL_RDWR   0 /* Normal read/write connection */
 
#define WAL_READ_LOCK(I)   (3+(I))
 
#define WAL_RECOVER_LOCK   2
 
#define WAL_RETRY   (-1)
 
#define WAL_SAVEPOINT_NDATA   4
 
#define WAL_SHM_RDONLY   2 /* The SHM file is readonly */
 
#define WAL_SYNC_TRANSACTIONS   0x20 /* Sync at the end of each transaction */
 
#define WAL_WRITE_LOCK   0
 
#define walFrameOffset(iFrame, szPage)
 
#define WALINDEX_HDR_SIZE   (sizeof(WalIndexHdr)*2+sizeof(WalCkptInfo))
 
#define WALINDEX_LOCK_OFFSET   (sizeof(WalIndexHdr)*2+offsetof(WalCkptInfo,aLock))
 
#define WALINDEX_MAX_VERSION   3007000
 
#define WALINDEX_PGSZ
 
#define WALTRACE(X)
 
#define WHERE_AUTO_INDEX   0x00004000 /* Uses an ephemeral index */
 
#define WHERE_BOTH_LIMIT   0x00000030 /* Both x>EXPR and x<EXPR */
 
#define WHERE_BTM_LIMIT   0x00000020 /* x>EXPR or x>=EXPR constraint */
 
#define WHERE_COLUMN_EQ   0x00000001 /* x=EXPR */
 
#define WHERE_COLUMN_IN   0x00000004 /* x IN (...) */
 
#define WHERE_COLUMN_NULL   0x00000008 /* x IS NULL */
 
#define WHERE_COLUMN_RANGE   0x00000002 /* x<EXPR and/or x>EXPR */
 
#define WHERE_CONSTRAINT   0x0000000f /* Any of the WHERE_COLUMN_xxx values */
 
#define WHERE_DISTINCT_NOOP   0 /* DISTINCT keyword not used */
 
#define WHERE_DISTINCT_ORDERED   2 /* All duplicates are adjacent */
 
#define WHERE_DISTINCT_UNIQUE   1 /* No duplicates */
 
#define WHERE_DISTINCT_UNORDERED   3 /* Duplicates are scattered */
 
#define WHERE_DISTINCTBY   0x0200 /* pOrderby is really a DISTINCT clause */
 
#define WHERE_DUPLICATES_OK   0x0008 /* Ok to return a row more than once */
 
#define WHERE_FORCE_TABLE   0x0020 /* Do not use an index-only search */
 
#define WHERE_GROUPBY   0x0100 /* pOrderBy is really a GROUP BY */
 
#define WHERE_IDX_ONLY   0x00000040 /* Use index only - omit table */
 
#define WHERE_IN_ABLE   0x00000800 /* Able to support an IN operator */
 
#define WHERE_INDEXED   0x00000200 /* WhereLoop.u.btree.pIndex is valid */
 
#define WHERE_IPK   0x00000100 /* x is the INTEGER PRIMARY KEY */
 
#define WHERE_LOOP_XFER_SZ   offsetof(WhereLoop,nLSlot)
 
#define WHERE_MULTI_OR   0x00002000 /* OR using multiple indices */
 
#define WHERE_NO_AUTOINDEX   0x0080 /* Disallow automatic indexes */
 
#define WHERE_OMIT_OPEN_CLOSE   0x0010 /* Table cursors are already open */
 
#define WHERE_ONEPASS_DESIRED   0x0004 /* Want to do one-pass UPDATE/DELETE */
 
#define WHERE_ONEPASS_MULTIROW   0x2000 /* ONEPASS is ok with multiple rows */
 
#define WHERE_ONEROW   0x00001000 /* Selects no more than one row */
 
#define WHERE_ONETABLE_ONLY   0x0040 /* Only code the 1st table in pTabList */
 
#define WHERE_ORDERBY_MAX   0x0002 /* ORDER BY processing for max() func */
 
#define WHERE_ORDERBY_MIN   0x0001 /* ORDER BY processing for min() func */
 
#define WHERE_ORDERBY_NORMAL   0x0000 /* No-op */
 
#define WHERE_PARTIALIDX   0x00020000 /* The automatic index is partial */
 
#define WHERE_REOPEN_IDX   0x1000 /* Try to use OP_ReopenIdx */
 
#define WHERE_SEEK_TABLE   0x8000 /* Do not defer seeks on main table */
 
#define WHERE_SKIPSCAN   0x00008000 /* Uses the skip-scan algorithm */
 
#define WHERE_SORTBYGROUP   0x0800 /* Support sqlite3WhereIsSorted() */
 
#define WHERE_TOP_LIMIT   0x00000010 /* x<EXPR or x<=EXPR constraint */
 
#define WHERE_UNQ_WANTED   0x00010000 /* WHERE_ONEROW would have been helpful*/
 
#define WHERE_USE_LIMIT   0x4000 /* There is a constant LIMIT clause */
 
#define WHERE_VIRTUALTABLE   0x00000400 /* WhereLoop.u.vtab is valid */
 
#define WHERE_WANT_DISTINCT   0x0400 /* All output needs to be distinct */
 
#define WHERETRACE(K, X)
 
#define WO_ALL   0x1fff /* Mask of all possible WO_* values */
 
#define WO_AND   0x0400 /* Two or more AND-connected terms */
 
#define WO_EQ   0x0002
 
#define WO_EQUIV   0x0800 /* Of the form A==B, both columns */
 
#define WO_GE   (WO_EQ<<(TK_GE-TK_EQ))
 
#define WO_GT   (WO_EQ<<(TK_GT-TK_EQ))
 
#define WO_IN   0x0001
 
#define WO_IS   0x0080
 
#define WO_ISNULL   0x0100
 
#define WO_LE   (WO_EQ<<(TK_LE-TK_EQ))
 
#define WO_LT   (WO_EQ<<(TK_LT-TK_EQ))
 
#define WO_MATCH   0x0040
 
#define WO_NOOP   0x1000 /* This term does not restrict search space */
 
#define WO_OR   0x0200 /* Two or more OR-connected terms */
 
#define WO_SINGLE   0x01ff /* Mask of all non-compound WO_* values */
 
#define WRC_Abort   2 /* Abandon the tree walk */
 
#define WRC_Continue   0 /* Continue down into children */
 
#define WRC_Prune   1 /* Omit children but continue walking siblings */
 
#define WRITE_LOCK   2
 
#define WRITE_UTF16BE(zOut, c)
 
#define WRITE_UTF16LE(zOut, c)
 
#define WRITE_UTF8(zOut, c)
 
#define wsdAutoext   sqlite3Autoext
 
#define wsdAutoextInit
 
#define wsdHooks   sqlite3Hooks
 
#define wsdHooksInit
 
#define wsdPrng   sqlite3Prng
 
#define wsdStat   sqlite3Stat
 
#define wsdStatInit
 
#define XN_EXPR   (-2) /* Indexed column is an expression */
 
#define XN_ROWID   (-1) /* Indexed column is the rowid */
 
#define YY_ACCEPT_ACTION   1302
 
#define YY_ACTTAB_COUNT   (1501)
 
#define YY_ERROR_ACTION   1301
 
#define YY_MAX_REDUCE   1300
 
#define YY_MAX_SHIFT   439
 
#define YY_MAX_SHIFTREDUCE   974
 
#define YY_MIN_REDUCE   975
 
#define YY_MIN_SHIFTREDUCE   649
 
#define YY_NO_ACTION   1303
 
#define YY_REDUCE_COUNT   (314)
 
#define YY_REDUCE_MAX   (1237)
 
#define YY_REDUCE_MIN   (-129)
 
#define YY_REDUCE_USE_DFLT   (-130)
 
#define YY_SHIFT_COUNT   (439)
 
#define YY_SHIFT_MAX   (1482)
 
#define YY_SHIFT_MIN   (-94)
 
#define YY_SHIFT_USE_DFLT   (-95)
 
#define YYACTIONTYPE   unsigned short int
 
#define YYCODETYPE   unsigned char
 
#define YYFALLBACK   1
 
#define YYMALLOCARGTYPE   u64
 
#define YYNOCODE   251
 
#define YYNOERRORRECOVERY   1
 
#define YYNRULE   326
 
#define YYNSTATE   440
 
#define YYPARSEFREENEVERNULL   1
 
#define YYSTACKDEPTH   100
 
#define yytestcase(X)   testcase(X)
 
#define yyTraceShift(X, Y)
 
#define YYWILDCARD   96
 

Typedefs

typedef struct AggInfo AggInfo
 
typedef struct analysisInfo analysisInfo
 
typedef struct AuthContext AuthContext
 
typedef struct AutoincInfo AutoincInfo
 
typedef struct AuxData AuxData
 
typedef struct BenignMallocHooks BenignMallocHooks
 
typedef unsigned bft
 
typedef u64 Bitmask
 
typedef struct Bitvec Bitvec
 
typedef unsigned Bool
 
typedef struct BtCursor BtCursor
 
typedef struct BtLock BtLock
 
typedef struct Btree Btree
 
typedef struct BtShared BtShared
 
typedef struct BusyHandler BusyHandler
 
typedef struct CellArray CellArray
 
typedef struct CellInfo CellInfo
 
typedef struct CollSeq CollSeq
 
typedef struct Column Column
 
typedef struct CountCtx CountCtx
 
typedef struct DateTime DateTime
 
typedef struct Db Db
 
typedef struct DbFixer DbFixer
 
typedef struct PgHdr DbPage
 
typedef struct DistinctCtx DistinctCtx
 
typedef struct et_info et_info
 
typedef unsigned char etByte
 
typedef struct Explain Explain
 
typedef struct Expr Expr
 
typedef struct ExprList ExprList
 
typedef struct ExprSpan ExprSpan
 
typedef struct FileChunk FileChunk
 
typedef struct FilePoint FilePoint
 
typedef struct FKey FKey
 
typedef struct fts5_api fts5_api
 
typedef void(* fts5_extension_function) (const Fts5ExtensionApi *pApi, Fts5Context *pFts, sqlite3_context *pCtx, int nVal, sqlite3_value **apVal)
 
typedef struct fts5_tokenizer fts5_tokenizer
 
typedef struct Fts5Context Fts5Context
 
typedef struct Fts5ExtensionApi Fts5ExtensionApi
 
typedef struct Fts5PhraseIter Fts5PhraseIter
 
typedef struct Fts5Tokenizer Fts5Tokenizer
 
typedef struct FuncDef FuncDef
 
typedef struct FuncDefHash FuncDefHash
 
typedef struct FuncDestructor FuncDestructor
 
typedef struct Hash Hash
 
typedef struct HashElem HashElem
 
typedef u16 ht_slot
 
typedef INT16_TYPE i16
 
typedef sqlite_int64 i64
 
typedef INT8_TYPE i8
 
typedef struct IdList IdList
 
typedef struct Incrblob Incrblob
 
typedef struct IncrMerger IncrMerger
 
typedef struct Index Index
 
typedef struct IndexSample IndexSample
 
typedef struct IntegrityCk IntegrityCk
 
typedef struct KeyClass KeyClass
 
typedef struct KeyInfo KeyInfo
 
typedef INT16_TYPE LogEst
 
typedef struct Lookaside Lookaside
 
typedef struct LookasideSlot LookasideSlot
 
typedef struct Mem Mem
 
typedef struct MemJournal MemJournal
 
typedef struct MemPage MemPage
 
typedef struct MergeEngine MergeEngine
 
typedef struct Module Module
 
typedef struct NameContext NameContext
 
typedef struct VdbeOp Op
 
typedef struct Pager Pager
 
typedef struct PagerSavepoint PagerSavepoint
 
typedef struct Parse Parse
 
typedef struct PCache PCache
 
typedef struct PCache1 PCache1
 
typedef struct PgFreeslot PgFreeslot
 
typedef struct PgHdr PgHdr
 
typedef struct PgHdr1 PgHdr1
 
typedef u32 Pgno
 
typedef struct PGroup PGroup
 
typedef struct PmaReader PmaReader
 
typedef struct PmaWriter PmaWriter
 
typedef struct PreUpdate PreUpdate
 
typedef struct PrintfArguments PrintfArguments
 
typedef int(* RecordCompare) (int, const void *, UnpackedRecord *)
 
typedef struct RowSet RowSet
 
typedef struct Savepoint Savepoint
 
typedef struct ScanStatus ScanStatus
 
typedef struct Schema Schema
 
typedef struct ScratchFreeslot ScratchFreeslot
 
typedef struct Select Select
 
typedef struct SelectDest SelectDest
 
typedef struct SortCtx SortCtx
 
typedef int(* SorterCompare) (SortSubtask *, int *, const void *, int, const void *, int)
 
typedef struct SorterFile SorterFile
 
typedef struct SorterList SorterList
 
typedef struct SorterRecord SorterRecord
 
typedef struct SortSubtask SortSubtask
 
typedef struct sqlite3 sqlite3
 
typedef struct sqlite3_api_routines sqlite3_api_routines
 
typedef struct sqlite3_backup sqlite3_backup
 
typedef struct sqlite3_blob sqlite3_blob
 
typedef int(* sqlite3_callback) (void *, int, char **, char **)
 
typedef struct sqlite3_context sqlite3_context
 
typedef void(* sqlite3_destructor_type) (void *)
 
typedef struct sqlite3_file sqlite3_file
 
typedef struct sqlite3_index_info sqlite3_index_info
 
typedef sqlite_int64 sqlite3_int64
 
typedef struct sqlite3_io_methods sqlite3_io_methods
 
typedef struct sqlite3_mem_methods sqlite3_mem_methods
 
typedef struct sqlite3_module sqlite3_module
 
typedef struct sqlite3_mutex sqlite3_mutex
 
typedef struct sqlite3_mutex_methods sqlite3_mutex_methods
 
typedef struct sqlite3_pcache sqlite3_pcache
 
typedef struct sqlite3_pcache_methods sqlite3_pcache_methods
 
typedef struct sqlite3_pcache_methods2 sqlite3_pcache_methods2
 
typedef struct sqlite3_pcache_page sqlite3_pcache_page
 
typedef double sqlite3_rtree_dbl
 
typedef struct sqlite3_rtree_geometry sqlite3_rtree_geometry
 
typedef struct sqlite3_rtree_query_info sqlite3_rtree_query_info
 
typedef struct sqlite3_snapshot sqlite3_snapshot
 
typedef struct sqlite3_stmt sqlite3_stmt
 
typedef void(* sqlite3_syscall_ptr) (void)
 
typedef sqlite_uint64 sqlite3_uint64
 
typedef struct Mem sqlite3_value
 
typedef struct sqlite3_vfs sqlite3_vfs
 
typedef struct sqlite3_vtab sqlite3_vtab
 
typedef struct sqlite3_vtab_cursor sqlite3_vtab_cursor
 
typedef int(* sqlite3_xauth) (void *, int, const char *, const char *, const char *, const char *)
 
typedef struct sqlite3AutoExtList sqlite3AutoExtList
 
typedef struct sqlite3StatType sqlite3StatType
 
typedef sqlite3_int64 sqlite3StatValueType
 
typedef long long int sqlite_int64
 
typedef unsigned long long int sqlite_uint64
 
typedef struct SQLiteThread SQLiteThread
 
typedef struct SrcList SrcList
 
typedef struct Stat4Accum Stat4Accum
 
typedef struct Stat4Sample Stat4Sample
 
typedef struct StrAccum StrAccum
 
typedef struct SubProgram SubProgram
 
typedef struct SumCtx SumCtx
 
typedef struct Table Table
 
typedef struct TableLock TableLock
 
typedef struct TabResult TabResult
 
typedef struct Token Token
 
typedef struct TreeView TreeView
 
typedef struct Trigger Trigger
 
typedef struct TriggerPrg TriggerPrg
 
typedef struct TriggerStep TriggerStep
 
typedef u32 tRowcnt
 
typedef UINT16_TYPE u16
 
typedef UINT32_TYPE u32
 
typedef sqlite_uint64 u64
 
typedef UINT8_TYPE u8
 
typedef struct unixFile unixFile
 
typedef struct unixInodeInfo unixInodeInfo
 
typedef struct unixShm unixShm
 
typedef struct unixShmNode unixShmNode
 
typedef struct UnixUnusedFd UnixUnusedFd
 
typedef struct UnpackedRecord UnpackedRecord
 
typedef u64 uptr
 
typedef struct Vdbe Vdbe
 
typedef struct VdbeCursor VdbeCursor
 
typedef struct VdbeFrame VdbeFrame
 
typedef struct VdbeOp VdbeOp
 
typedef struct VdbeOpList VdbeOpList
 
typedef struct VdbeSorter VdbeSorter
 
typedef struct VtabCtx VtabCtx
 
typedef struct VTable VTable
 
typedef struct Wal Wal
 
typedef struct WalCkptInfo WalCkptInfo
 
typedef struct WalIndexHdr WalIndexHdr
 
typedef struct WalIterator WalIterator
 
typedef struct Walker Walker
 
typedef struct WalWriter WalWriter
 
typedef struct WhereAndInfo WhereAndInfo
 
typedef struct WhereClause WhereClause
 
typedef struct WhereInfo WhereInfo
 
typedef struct WhereLevel WhereLevel
 
typedef struct WhereLoop WhereLoop
 
typedef struct WhereLoopBuilder WhereLoopBuilder
 
typedef struct WhereMaskSet WhereMaskSet
 
typedef struct WhereOrCost WhereOrCost
 
typedef struct WhereOrInfo WhereOrInfo
 
typedef struct WhereOrSet WhereOrSet
 
typedef struct WherePath WherePath
 
typedef struct WhereScan WhereScan
 
typedef struct WhereTerm WhereTerm
 
typedef struct With With
 
typedef unsigned int yDbMask
 
typedef i16 ynVar
 
typedef struct yyParser yyParser
 
typedef struct yyStackEntry yyStackEntry
 

Functions

static void absFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static int accessPayload (BtCursor *pCur, u32 offset, u32 amt, unsigned char *pBuf, int eOp)
 
static const char * actionName (u8 action)
 
static int addAggInfoColumn (sqlite3 *db, AggInfo *pInfo)
 
static int addAggInfoFunc (sqlite3 *db, AggInfo *pInfo)
 
static void addArgumentToVtab (Parse *pParse)
 
static void addModuleArgument (sqlite3 *db, Table *pTable, char *zArg)
 
static int addToSavepointBitvecs (Pager *pPager, Pgno pgno)
 
static void addToVTrans (sqlite3 *db, VTable *pVTab)
 
static void addWhereTerm (Parse *pParse, SrcList *pSrc, int iLeft, int iColLeft, int iRight, int iColRight, int isOuterJoin, Expr **ppWhere)
 
static int allocateBtreePage (BtShared *, MemPage **, Pgno *, Pgno, u8)
 
static VdbeCursorallocateCursor (Vdbe *p, int iCur, int nField, int iDb, u8 eCurType)
 
static sqlite3_index_infoallocateIndexInfo (Parse *pParse, WhereClause *pWC, Bitmask mUnusable, struct SrcList_item *pSrc, ExprList *pOrderBy)
 
static int allocateSpace (MemPage *pPage, int nByte, int *pIdx)
 
static void allocateTempSpace (BtShared *pBt)
 
static voidallocSpace (struct ReusableSpace *p, void *pBuf, int nByte)
 
static SQLITE_NOINLINE VdbeallocVdbe (Parse *pParse)
 
static int allowedOp (int op)
 
static int allSpaces (const char *z, int n)
 
static int analysisLoader (void *pData, int argc, char **argv, char **NotUsed)
 
static int analyzeAggregate (Walker *pWalker, Expr *pExpr)
 
static int analyzeAggregatesInSelect (Walker *pWalker, Select *pSelect)
 
static void analyzeDatabase (Parse *pParse, int iDb)
 
static void analyzeOneTable (Parse *pParse, Table *pTab, Index *pOnlyIdx, int iStatCur, int iMem, int iTab)
 
static void analyzeTable (Parse *pParse, Table *pTab, Index *pOnlyIdx)
 
static SQLITE_NOINLINE int apiOomError (sqlite3 *db)
 
static void applyAffinity (Mem *pRec, char affinity, u8 enc)
 
static void applyNumericAffinity (Mem *pRec, int bTryForInt)
 
static void attachBackupObject (sqlite3_backup *p)
 
static void attachFunc (sqlite3_context *context, int NotUsed, sqlite3_value **argv)
 
static int autoIncBegin (Parse *pParse, int iDb, Table *pTab)
 
static SQLITE_NOINLINE void autoIncrementEnd (Parse *pParse)
 
static void autoIncStep (Parse *pParse, int memId, int regRowid)
 
static int autoVacuumCommit (BtShared *pBt)
 
static void avgFinalize (sqlite3_context *context)
 
static int backupOnePage (sqlite3_backup *p, Pgno iSrcPg, const u8 *zSrcData, int bUpdate)
 
static int backupTruncateFile (sqlite3_file *pFile, i64 iSize)
 
static SQLITE_NOINLINE void backupUpdate (sqlite3_backup *p, Pgno iPage, const u8 *aData)
 
static int balance (BtCursor *pCur)
 
static int balance_deeper (MemPage *pRoot, MemPage **ppChild)
 
static int balance_nonroot (MemPage *pParent, int iParentIdx, u8 *aOvflSpace, int isRoot, int bBulk)
 
static int balance_quick (MemPage *pParent, MemPage *pPage, u8 *pSpace)
 
static u8 binaryCompareP5 (Expr *pExpr1, Expr *pExpr2, int jumpIfNull)
 
static void binaryToUnaryIfNull (Parse *pParse, Expr *pY, Expr *pA, int op)
 
static int binCollFunc (void *padFlag, int nKey1, const void *pKey1, int nKey2, const void *pKey2)
 
static int bindText (sqlite3_stmt *pStmt, int i, const void *zData, int nData, void(*xDel)(void *), u8 encoding)
 
static int blobReadWrite (sqlite3_blob *pBlob, void *z, int n, int iOffset, int(*xCall)(BtCursor *, u32, u32, void *))
 
static int blobSeekToRow (Incrblob *p, sqlite3_int64 iRow, char **pzErr)
 
static void btreeClearHasContent (BtShared *pBt)
 
static int btreeCreateTable (Btree *p, int *piTable, int createTabFlags)
 
static int btreeCursor (Btree *p, int iTable, int wrFlag, struct KeyInfo *pKeyInfo, BtCursor *pCur)
 
static int btreeDropTable (Btree *p, Pgno iTable, int *piMoved)
 
static void btreeEndTransaction (Btree *p)
 
static int btreeGetHasContent (BtShared *pBt, Pgno pgno)
 
static int btreeGetPage (BtShared *pBt, Pgno pgno, MemPage **ppPage, int flags)
 
static int btreeGetUnusedPage (BtShared *pBt, Pgno pgno, MemPage **ppPage, int flags)
 
static void btreeHeapInsert (u32 *aHeap, u32 x)
 
static int btreeHeapPull (u32 *aHeap, u32 *pOut)
 
static int btreeInitPage (MemPage *pPage)
 
static int btreeInvokeBusyHandler (void *pArg)
 
static void SQLITE_NOINLINE btreeLockCarefully (Btree *p)
 
static int btreeMoveto (BtCursor *pCur, const void *pKey, i64 nKey, int bias, int *pRes)
 
static SQLITE_NOINLINE int btreeNext (BtCursor *pCur, int *pRes)
 
static Pgno btreePagecount (BtShared *pBt)
 
static MemPagebtreePageFromDbPage (DbPage *pDbPage, Pgno pgno, BtShared *pBt)
 
static MemPagebtreePageLookup (BtShared *pBt, Pgno pgno)
 
static void btreeParseCell (MemPage *pPage, int iCell, CellInfo *pInfo)
 
static SQLITE_NOINLINE void btreeParseCellAdjustSizeForOverflow (MemPage *pPage, u8 *pCell, CellInfo *pInfo)
 
static void btreeParseCellPtr (MemPage *pPage, u8 *pCell, CellInfo *pInfo)
 
static void btreeParseCellPtrIndex (MemPage *pPage, u8 *pCell, CellInfo *pInfo)
 
static void btreeParseCellPtrNoPayload (MemPage *pPage, u8 *pCell, CellInfo *pInfo)
 
static SQLITE_NOINLINE int btreePrevious (BtCursor *pCur, int *pRes)
 
static void btreeReleaseAllCursorPages (BtCursor *pCur)
 
static int btreeRestoreCursorPosition (BtCursor *pCur)
 
static int btreeSetHasContent (BtShared *pBt, Pgno pgno)
 
static u16 cachedCellSize (CellArray *p, int N)
 
static void cacheEntryClear (Parse *pParse, struct yColCache *p)
 
static void callCollNeeded (sqlite3 *db, int enc, const char *zName)
 
static void callFinaliser (sqlite3 *db, int offset)
 
static void callStatGet (Vdbe *v, int regStat4, int iParam, int regOut)
 
static int cannotBeFunction (Parse *pParse, struct SrcList_item *pFrom)
 
static void cdateFunc (sqlite3_context *context, int NotUsed, sqlite3_value **NotUsed2)
 
static u16 cellSizePtr (MemPage *pPage, u8 *pCell)
 
static u16 cellSizePtrNoPayload (MemPage *pPage, u8 *pCell)
 
static void changes (sqlite3_context *context, int NotUsed, sqlite3_value **NotUsed2)
 
static int changeTempStorage (Parse *pParse, const char *zStorageType)
 
static void charFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static void checkAppendMsg (IntegrityCk *pCheck, const char *zFormat,...)
 
static int checkColumnOverlap (IdList *pIdList, ExprList *pEList)
 
static int checkConstraintExprNode (Walker *pWalker, Expr *pExpr)
 
static int checkConstraintUnchanged (Expr *pExpr, int *aiChng, int chngRowid)
 
static int checkForMultiColumnSelectError (Parse *pParse, SelectDest *pDest, int nExpr)
 
static void checkList (IntegrityCk *pCheck, int isFreeList, int iPage, int N)
 
static void checkPtrmap (IntegrityCk *pCheck, Pgno iChild, u8 eType, Pgno iParent)
 
static int checkReadTransaction (sqlite3 *db, Btree *p)
 
static int checkRef (IntegrityCk *pCheck, Pgno iPage)
 
static int checkTreePage (IntegrityCk *pCheck, int iPage, i64 *piMinKey, i64 maxKey)
 
static void Cleanup (Vdbe *p)
 
static void clearAllSharedCacheTableLocks (Btree *p)
 
static int clearCell (MemPage *pPage, unsigned char *pCell, u16 *pnSize)
 
static int clearDatabasePage (BtShared *pBt, Pgno pgno, int freePageFlag, int *pnChange)
 
static void clearSelect (sqlite3 *db, Select *p, int bFree)
 
static void clearYMD_HMS_TZ (DateTime *p)
 
static void closeAllCursors (Vdbe *p)
 
static void closeCursorsInFrame (Vdbe *p)
 
static void closePendingFds (unixFile *pFile)
 
static int closeUnixFile (sqlite3_file *id)
 
static int codeAllEqualityTerms (Parse *pParse, WhereLevel *pLevel, int bRev, int nExtraReg, char **pzAff)
 
static void codeApplyAffinity (Parse *pParse, int base, int n, char *zAff)
 
static void codeAttach (Parse *pParse, int type, FuncDef const *pFunc, Expr *pAuthArg, Expr *pFilename, Expr *pDbname, Expr *pKey)
 
static int codeCompare (Parse *pParse, Expr *pLeft, Expr *pRight, int opcode, int in1, int in2, int dest, int jumpIfNull)
 
static void codeDeferredSeek (WhereInfo *pWInfo, Index *pIdx, int iCur, int iIdxCur)
 
static void codeDistinct (Parse *pParse, int iTab, int addrRepeat, int N, int iMem)
 
static int codeEqualityTerm (Parse *pParse, WhereTerm *pTerm, WhereLevel *pLevel, int iEq, int bRev, int iTarget)
 
static void codeInteger (Parse *pParse, Expr *pExpr, int negFlag, int iMem)
 
static void codeOffset (Vdbe *v, int iOffset, int iContinue)
 
static void codeReal (Vdbe *v, const char *z, int negateFlag, int iMem)
 
static TriggerPrgcodeRowTrigger (Parse *pParse, Trigger *pTrigger, Table *pTab, int orconf)
 
static void codeTableLocks (Parse *pParse)
 
static int codeTriggerProgram (Parse *pParse, TriggerStep *pStepList, int orconf)
 
static int collationMatch (const char *zColl, Index *pIndex)
 
static int columnIndex (Table *pTab, const char *zCol)
 
static void columnMallocFailure (sqlite3_stmt *pStmt)
 
static MemcolumnMem (sqlite3_stmt *pStmt, int i)
 
static const voidcolumnName (sqlite3_stmt *pStmt, int N, const void *(*xFunc)(Mem *), int useType)
 
static const MemcolumnNullValue (void)
 
static Bitmask columnsInIndex (Index *pIdx)
 
static const char * columnTypeImpl (NameContext *pNC, Expr *pExpr, u8 *pEstWidth)
 
static int compare2pow63 (const char *zNum, int incr)
 
static char comparisonAffinity (Expr *pExpr)
 
static void compileoptiongetFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static void compileoptionusedFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static SQLITE_NOINLINE u16 computeCellSize (CellArray *p, int N)
 
static void computeHMS (DateTime *p)
 
static void computeJD (DateTime *p)
 
static void computeLimitRegisters (Parse *pParse, Select *p, int iBreak)
 
static u16 SQLITE_NOINLINE computeNumericType (Mem *pMem)
 
static void computeYMD (DateTime *p)
 
static void computeYMD_HMS (DateTime *p)
 
static int connectionIsBusy (sqlite3 *db)
 
static void constructAutomaticIndex (Parse *pParse, WhereClause *pWC, struct SrcList_item *pSrc, Bitmask notReady, WhereLevel *pLevel)
 
static voidcontextMalloc (sqlite3_context *context, i64 nByte)
 
static int convertCompoundSelectToSubquery (Walker *pWalker, Select *p)
 
static void convertToWithoutRowidTable (Parse *pParse, Table *pTab)
 
static void copyNodeContent (MemPage *pFrom, MemPage *pTo, int *pRC)
 
static int copyPayload (void *pPayload, void *pBuf, int nByte, int eOp, DbPage *pDbPage)
 
static void corruptSchema (InitData *pData, const char *zObj, const char *zExtra)
 
static void countFinalize (sqlite3_context *context)
 
static void countStep (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static SQLITE_NOINLINE voidcreateAggContext (sqlite3_context *p, int nByte)
 
static int createCollation (sqlite3 *db, const char *zName, u8 enc, void *pCtx, int(*xCompare)(void *, int, const void *, int, const void *), void(*xDel)(void *))
 
static void createMask (WhereMaskSet *pMaskSet, int iCursor)
 
static int createModule (sqlite3 *db, const char *zName, const sqlite3_module *pModule, void *pAux, void(*xDestroy)(void *))
 
static char * createTableStmt (sqlite3 *db, Table *p)
 
static void ctimeFunc (sqlite3_context *context, int NotUsed, sqlite3_value **NotUsed2)
 
static void ctimestampFunc (sqlite3_context *context, int NotUsed, sqlite3_value **NotUsed2)
 
static int databaseIsUnmoved (Pager *pPager)
 
static void dateFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static void datetimeFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static SQLITE_NOINLINE voiddbMallocRawFinish (sqlite3 *db, u64 n)
 
static SQLITE_NOINLINE voiddbReallocFinish (sqlite3 *db, void *p, u64 n)
 
static int decodeFlags (MemPage *pPage, int flagByte)
 
static void decodeIntArray (char *zIntArray, int nOut, tRowcnt *aOut, LogEst *aLog, Index *pIndex)
 
static int defragmentPage (MemPage *pPage)
 
static void SQLITE_NOINLINE deleteTable (sqlite3 *db, Table *pTable)
 
static void destroyRootPage (Parse *pParse, int iTable, int iDb)
 
static void destroyTable (Parse *pParse, Table *pTab)
 
static void detachFunc (sqlite3_context *context, int NotUsed, sqlite3_value **argv)
 
static void disableLookaside (Parse *pParse)
 
static void disableTerm (WhereLevel *pLevel, WhereTerm *pTerm)
 
static void disconnectAllVtab (sqlite3 *db)
 
static char * displayP4 (Op *pOp, char *zTemp, int nTemp)
 
static int dotlockCheckReservedLock (sqlite3_file *id, int *pResOut)
 
static int dotlockClose (sqlite3_file *id)
 
static int dotlockLock (sqlite3_file *id, int eFileLock)
 
static int dotlockUnlock (sqlite3_file *id, int eFileLock)
 
static i64 doubleToInt64 (double r)
 
static int doWalCallbacks (sqlite3 *db)
 
static void downgradeAllSharedCacheTableLocks (Btree *p)
 
static void dropCell (MemPage *pPage, int idx, int sz, int *pRC)
 
static int dupedExprNodeSize (Expr *p, int flags)
 
static int dupedExprSize (Expr *p, int flags)
 
static int dupedExprStructSize (Expr *p, int flags)
 
static int editPage (MemPage *pPg, int iOld, int iNew, int nNew, CellArray *pCArray)
 
static void SQLITE_NOINLINE enlargeAndAppend (StrAccum *p, const char *z, int N)
 
static void errlogFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static void estimateIndexWidth (Index *pIdx)
 
static void estimateTableWidth (Table *pTab)
 
static LogEst estLog (LogEst N)
 
static char et_getdigit (LONGDOUBLE_TYPE *val, int *cnt)
 
static int execExecSql (sqlite3 *db, char **pzErrMsg, const char *zSql)
 
static int execSql (sqlite3 *db, char **pzErrMsg, const char *zSql)
 
static void explainAppendTerm (StrAccum *pStr, int iTerm, const char *zColumn, const char *zOp)
 
static void explainComposite (Parse *pParse, int op, int iSub1, int iSub2, int bUseTmp)
 
static const char * explainIndexColumnName (Index *pIdx, int i)
 
static void explainIndexRange (StrAccum *pStr, WhereLoop *pLoop)
 
static void explainSimpleCount (Parse *pParse, Table *pTab, Index *pIdx)
 
static void explainTempTable (Parse *pParse, const char *zUsage)
 
static int exprAlwaysFalse (Expr *p)
 
static int exprAlwaysTrue (Expr *p)
 
static void exprAnalyze (SrcList *, WhereClause *, int)
 
static void exprAnalyzeOrTerm (SrcList *pSrc, WhereClause *pWC, int idxTerm)
 
static void exprCodeBetween (Parse *pParse, Expr *pExpr, int dest, int jumpIfTrue, int jumpIfNull)
 
static void exprCommute (Parse *pParse, Expr *pExpr)
 
static ExprexprDup (sqlite3 *db, Expr *p, int dupFlags, u8 **pzBuffer)
 
static int exprIsConst (Expr *p, int initFlag, int iCur)
 
static SQLITE_NOINLINE void exprListDeleteNN (sqlite3 *db, ExprList *pList)
 
static int exprMightBeIndexed (SrcList *pFrom, Bitmask mPrereq, Expr *pExpr, int *piCur, int *piColumn)
 
static int exprNodeIsConstant (Walker *pWalker, Expr *pExpr)
 
static void exprNot (Parse *pParse, int doNot, ExprSpan *pSpan)
 
static int exprProbability (Expr *p)
 
static Bitmask exprSelectUsage (WhereMaskSet *pMaskSet, Select *pS)
 
static void exprSetHeight (Expr *p)
 
static int exprSrcCount (Walker *pWalker, Expr *pExpr)
 
static int exprStructSize (Expr *p)
 
static ExprexprTableColumn (sqlite3 *db, Table *pTab, int iCursor, i16 iCol)
 
static ExprexprTableRegister (Parse *pParse, Table *pTab, int regBase, i16 iCol)
 
static void exprToRegister (Expr *p, int iReg)
 
static int fcntlSizeHint (unixFile *pFile, i64 nByte)
 
static const voidfetchPayload (BtCursor *pCur, u32 *pAmt)
 
static int fileHasMoved (unixFile *pFile)
 
static int fillInCell (MemPage *pPage, unsigned char *pCell, const void *pKey, i64 nKey, const void *pData, int nData, int nZero, int *pnSize)
 
static Pgno finalDbSize (BtShared *pBt, Pgno nOrig, Pgno nFree)
 
static void finalizeAggFunctions (Parse *pParse, AggInfo *pAggInfo)
 
static BtreefindBtree (sqlite3 *pErrorDb, sqlite3 *pDb, const char *zDb)
 
static CollSeqfindCollSeqEntry (sqlite3 *db, const char *zName, int create)
 
static int findCreateFileMode (const char *zPath, int flags, mode_t *pMode, uid_t *pUid, gid_t *pGid)
 
static HashElemfindElementWithHash (const Hash *pH, const char *pKey, unsigned int *pHash)
 
static int findIndexCol (Parse *pParse, ExprList *pList, int iBase, Index *pIdx, int iCol)
 
static int findInodeInfo (unixFile *pFile, unixInodeInfo **ppInode)
 
static int findNextHostParameter (const char *zSql, int *pnToken)
 
static UnixUnusedFdfindReusableFd (const char *zPath, int flags)
 
static SelectfindRightmost (Select *p)
 
static TriggerfkActionTrigger (Parse *pParse, Table *pTab, FKey *pFKey, ExprList *pChanges)
 
static int fkChildIsModified (Table *pTab, FKey *p, int *aChange, int bChngRowid)
 
static void fkLookupParent (Parse *pParse, int iDb, Table *pTab, Index *pIdx, FKey *pFKey, int *aiCol, int regData, int nIncr, int isIgnore)
 
static int fkParentIsModified (Table *pTab, FKey *p, int *aChange, int bChngRowid)
 
static void fkScanChildren (Parse *pParse, SrcList *pSrc, Table *pTab, Index *pIdx, FKey *pFKey, int *aiCol, int regData, int nIncr)
 
static void fkTriggerDelete (sqlite3 *dbMem, Trigger *p)
 
static int flattenSubquery (Parse *pParse, Select *p, int iFrom, int isAgg, int subqueryIsAgg)
 
static void freeEphemeralFunction (sqlite3 *db, FuncDef *pDef)
 
static void freeIndex (sqlite3 *db, Index *p)
 
static void freeP4 (sqlite3 *db, int p4type, void *p4)
 
static void freePage (MemPage *pPage, int *pRC)
 
static int freePage2 (BtShared *pBt, MemPage *pMemPage, Pgno iPage)
 
static int freeSpace (MemPage *pPage, u16 iStart, u16 iSize)
 
static void freeTempSpace (BtShared *pBt)
 
static int full_fsync (int fd, int fullSync, int dataOnly)
 
static void functionDestroy (sqlite3 *db, FuncDef *p)
 
static FuncDeffunctionSearch (int h, const char *zFunc)
 
static void generateColumnNames (Parse *pParse, SrcList *pTabList, ExprList *pEList)
 
static void generateColumnTypes (Parse *pParse, SrcList *pTabList, ExprList *pEList)
 
static int generateOutputSubroutine (Parse *pParse, Select *p, SelectDest *pIn, SelectDest *pDest, int regReturn, int regPrev, KeyInfo *pKeyInfo, int iBreak)
 
static void generateSortTail (Parse *pParse, Select *p, SortCtx *pSort, int nColumn, SelectDest *pDest)
 
static void generateWithRecursiveQuery (Parse *pParse, Select *p, SelectDest *pDest)
 
static int getAndInitPage (BtShared *pBt, Pgno pgno, MemPage **ppPage, BtCursor *pCur, int bReadOnly)
 
static int getAutoVacuum (const char *z)
 
static SQLITE_NOINLINE void getCellInfo (BtCursor *pCur)
 
static int getDigits (const char *zDate, const char *zFormat,...)
 
static double getDoubleArg (PrintfArguments *p)
 
static sqlite3_int64 getIntArg (PrintfArguments *p)
 
static int getLockingMode (const char *z)
 
static int getOverflowPage (BtShared *pBt, Pgno ovfl, MemPage **ppPage, Pgno *pPgnoNext)
 
static int getPageReferenced (IntegrityCk *pCheck, Pgno iPg)
 
static TriggerPrggetRowTrigger (Parse *pParse, Trigger *pTrigger, Table *pTab, int orconf)
 
static u8 getSafetyLevel (const char *z, int omitFull, u8 dflt)
 
static int getTempStore (const char *z)
 
static char * getTextArg (PrintfArguments *p)
 
static void groupConcatFinalize (sqlite3_context *context)
 
static void groupConcatStep (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static SQLITE_NOINLINE int growOp3 (Vdbe *p, int op, int p1, int p2, int p3)
 
static int growOpArray (Vdbe *v, int nOp)
 
static int growVTrans (sqlite3 *db)
 
static int SQLITE_NOINLINE handleDeferredMoveto (VdbeCursor *p)
 
static int SQLITE_NOINLINE handleMovedCursor (VdbeCursor *p)
 
static int hasColumn (const i16 *aiCol, int nCol, int x)
 
static int hasHotJournal (Pager *pPager, int *pExists)
 
static void heightOfExpr (Expr *p, int *pnHeight)
 
static void heightOfExprList (ExprList *p, int *pnHeight)
 
static void heightOfSelect (Select *p, int *pnHeight)
 
static void hexFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static int identLength (const char *z)
 
static void identPut (char *z, int *pIdx, char *zSignedIdent)
 
static int incrAggDepth (Walker *pWalker, Expr *pExpr)
 
static void incrAggFunctionDepth (Expr *pExpr, int N)
 
static int incrVacuumStep (BtShared *pBt, Pgno nFin, Pgno iLastPg, int bCommit)
 
static int indexColumnNotNull (Index *pIdx, int iCol)
 
static int indexMightHelpWithOrderBy (WhereLoopBuilder *pBuilder, Index *pIndex, int iCursor)
 
static void insertCell (MemPage *pPage, int i, u8 *pCell, int sz, u8 *pTemp, Pgno iChild, int *pRC)
 
static void insertElement (Hash *pH, struct _ht *pEntry, HashElem *pNew)
 
static void instrFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static void invalidateAllOverflowCache (BtShared *pBt)
 
static void invalidateIncrblobCursors (Btree *pBtree, i64 iRow, int isClearTable)
 
static int invalidateTempStorage (Parse *pParse)
 
static SQLITE_NOINLINE void invokeProfileCallback (sqlite3 *db, Vdbe *p)
 
static int invokeValueDestructor (const void *p, void(*xDel)(void *), sqlite3_context *pCtx)
 
 IOMETHODS (posixIoFinder, posixIoMethods, IOMETHODS(3, unixClose, unixLock, unixUnlock, unixCheckReservedLock, unixShmMap)
 
static SelectisCandidateForInOpt (Expr *pX)
 
static int isDate (sqlite3_context *context, int argc, sqlite3_value **argv, DateTime *p)
 
static int isDistinctRedundant (Parse *pParse, SrcList *pTabList, WhereClause *pWC, ExprList *pDistinct)
 
static int isFatalError (int rc)
 
static int isLikeOrGlob (Parse *pParse, Expr *pExpr, Expr **ppPrefix, int *pisComplete, int *pnoCase)
 
static int isLookaside (sqlite3 *db, void *p)
 
static int isMatchOfColumn (Expr *pExpr, unsigned char *peOp2)
 
static int isSetNullAction (Parse *pParse, FKey *pFKey)
 
static TableisSimpleCount (Select *p, AggInfo *pAggInfo)
 
static int isSystemTable (Parse *pParse, const char *zName)
 
static i64 journalHdrOffset (Pager *pPager)
 
static void juliandayFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static KeyInfokeyInfoFromExprList (Parse *pParse, ExprList *pList, int iStart, int nExtra)
 
static int keywordCode (const char *z, int n, int *pType)
 
static void last_insert_rowid (sqlite3_context *context, int NotUsed, sqlite3_value **NotUsed2)
 
static void lengthFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static void likeFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static void loadAnalysis (Parse *pParse, int iDb)
 
static void loadExt (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static sqlite3_int64 localtimeOffset (DateTime *p, sqlite3_context *pCtx, int *pRc)
 
static int lockBtree (BtShared *pBt)
 
static void lockBtreeMutex (Btree *p)
 
static void logBadConnection (const char *zType)
 
static int lookupName (Parse *pParse, const char *zDb, const char *zTab, const char *zCol, NameContext *pNC, Expr *pExpr)
 
static void lowerFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static int mallocWithAlarm (int n, void **pp)
 
static void markTermAsChild (WhereClause *pWC, int iChild, int iParent)
 
static int matchQuality (FuncDef *p, int nArg, u8 enc)
 
static SQLITE_NOINLINE void measureAllocationSize (sqlite3 *db, void *p)
 
static int memjrnlClose (sqlite3_file *pJfd)
 
static int memjrnlCreateFile (MemJournal *p)
 
static int memjrnlFileSize (sqlite3_file *pJfd, sqlite_int64 *pSize)
 
static void memjrnlFreeChunks (MemJournal *p)
 
static int memjrnlRead (sqlite3_file *pJfd, void *zBuf, int iAmt, sqlite_int64 iOfst)
 
static int memjrnlSync (sqlite3_file *pJfd, int flags)
 
static int memjrnlTruncate (sqlite3_file *pJfd, sqlite_int64 size)
 
static int memjrnlWrite (sqlite3_file *pJfd, const void *zBuf, int iAmt, sqlite_int64 iOfst)
 
static void minMaxFinalize (sqlite3_context *context)
 
static void minmaxFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static u8 minMaxQuery (AggInfo *pAggInfo, ExprList **ppMinMax)
 
static void minmaxStep (sqlite3_context *context, int NotUsed, sqlite3_value **argv)
 
static int mkFullPathname (const char *zPath, char *zOut, int nOut)
 
static int modifyPagePointer (MemPage *pPage, Pgno iFrom, Pgno iTo, u8 eType)
 
static int moveToChild (BtCursor *pCur, u32 newPgno)
 
static int moveToLeftmost (BtCursor *pCur)
 
static void moveToParent (BtCursor *pCur)
 
static int moveToRightmost (BtCursor *pCur)
 
static int moveToRoot (BtCursor *pCur)
 
static int multiSelect (Parse *pParse, Select *p, SelectDest *pDest)
 
static CollSeqmultiSelectCollSeq (Parse *pParse, Select *p, int iCol)
 
static int multiSelectOrderBy (Parse *pParse, Select *p, SelectDest *pDest)
 
static KeyInfomultiSelectOrderByKeyInfo (Parse *pParse, Select *p, int nExtra)
 
static int multiSelectValues (Parse *pParse, Select *p, SelectDest *pDest)
 
static int nameInUsingClause (IdList *pUsing, const char *zCol)
 
static int newDatabase (BtShared *pBt)
 
static int nocaseCollatingFunc (void *NotUsed, int nKey1, const void *pKey1, int nKey2, const void *pKey2)
 
static int nolockCheckReservedLock (sqlite3_file *NotUsed, int *pResOut)
 
static int nolockClose (sqlite3_file *id)
 
static int nolockLock (sqlite3_file *NotUsed, int NotUsed2)
 
static int nolockUnlock (sqlite3_file *NotUsed, int NotUsed2)
 
static sqlite3_mutexnoopMutexAlloc (int id)
 
static int noopMutexEnd (void)
 
static void noopMutexEnter (sqlite3_mutex *p)
 
static void noopMutexFree (sqlite3_mutex *p)
 
static int noopMutexInit (void)
 
static void noopMutexLeave (sqlite3_mutex *p)
 
static int noopMutexTry (sqlite3_mutex *p)
 
static void notValid (Parse *pParse, NameContext *pNC, const char *zMsg, int validMask)
 
static void nullifFunc (sqlite3_context *context, int NotUsed, sqlite3_value **argv)
 
static int numberOfCachePages (PCache *p)
 
static u16 numericType (Mem *pMem)
 
static int openDatabase (const char *zFilename, sqlite3 **ppDb, unsigned int flags, const char *zVfs)
 
static int openDirectory (const char *, int *)
 
static void openStatTable (Parse *pParse, int iDb, int iStatCur, const char *zWhere, const char *zWhereType)
 
static int openSubJournal (Pager *pPager)
 
static u16 operatorMask (int op)
 
static int osLocaltime (time_t *t, struct tm *pTm)
 
static Memout2Prerelease (Vdbe *p, VdbeOp *pOp)
 
static SQLITE_NOINLINE Memout2PrereleaseWithClear (Mem *pOut)
 
static u8pageFindSlot (MemPage *pPg, int nByte, int *pRc)
 
static int pageFreeArray (MemPage *pPg, int iFirst, int nCell, CellArray *pCArray)
 
static int pageInsertArray (MemPage *pPg, u8 *pBegin, u8 **ppData, u8 *pCellptr, int iFirst, int nCell, CellArray *pCArray)
 
static u32 pager_cksum (Pager *pPager, const u8 *aData)
 
static int pager_delmaster (Pager *pPager, const char *zMaster)
 
static int pager_end_transaction (Pager *pPager, int hasMaster, int bCommit)
 
static int pager_error (Pager *pPager, int rc)
 
static int pager_incr_changecounter (Pager *pPager, int isDirectMode)
 
static int pager_open_journal (Pager *pPager)
 
static int pager_playback (Pager *pPager, int isHot)
 
static int pager_playback_one_page (Pager *pPager, i64 *pOffset, Bitvec *pDone, int isMainJrnl, int isSavepnt)
 
static void pager_reset (Pager *pPager)
 
static int pager_truncate (Pager *pPager, Pgno nPage)
 
static void pager_unlock (Pager *pPager)
 
static int pager_wait_on_lock (Pager *pPager, int locktype)
 
static int pager_write (PgHdr *pPg)
 
static void pager_write_changecounter (PgHdr *pPg)
 
static int pager_write_pagelist (Pager *pPager, PgHdr *pList)
 
static int pagerAcquireMapPage (Pager *pPager, Pgno pgno, void *pData, PgHdr **ppPage)
 
static SQLITE_NOINLINE int pagerAddPageToRollbackJournal (PgHdr *pPg)
 
static int pagerBeginReadTransaction (Pager *pPager)
 
static void pageReinit (DbPage *pData)
 
static int pagerExclusiveLock (Pager *pPager)
 
static void pagerFixMaplimit (Pager *pPager)
 
static int pagerFlushOnCommit (Pager *pPager, int bCommit)
 
static void pagerFreeMapHdrs (Pager *pPager)
 
static int pagerLockDb (Pager *pPager, int eLock)
 
static SQLITE_NOINLINE int pagerOpenSavepoint (Pager *pPager, int nSavepoint)
 
static int pagerOpentemp (Pager *pPager, sqlite3_file *pFile, int vfsFlags)
 
static int pagerOpenWal (Pager *pPager)
 
static int pagerOpenWalIfPresent (Pager *pPager)
 
static int pagerPagecount (Pager *pPager, Pgno *pnPage)
 
static int pagerPlaybackSavepoint (Pager *pPager, PagerSavepoint *pSavepoint)
 
static void pagerReleaseMapPage (PgHdr *pPg)
 
static int pagerRollbackWal (Pager *pPager)
 
static int pagerStress (void *p, PgHdr *pPg)
 
static int pagerSyncHotJournal (Pager *pPager)
 
static int pagerUndoCallback (void *pCtx, Pgno iPg)
 
static void pagerUnlockAndRollback (Pager *pPager)
 
static int pagerUnlockDb (Pager *pPager, int eLock)
 
static void pagerUnlockIfUnused (Pager *pPager)
 
static int pagerUseWal (Pager *pPager)
 
static int pagerWalFrames (Pager *pPager, PgHdr *pList, Pgno nTruncate, int isCommit)
 
static SQLITE_NOINLINE int pagerWriteLargeSector (PgHdr *pPg)
 
static int parseDateOrTime (sqlite3_context *context, const char *zDate, DateTime *p)
 
static int parseHhMmSs (const char *zDate, DateTime *p)
 
static int parseModifier (sqlite3_context *pCtx, const char *zMod, DateTime *p)
 
static ExprListparserAddExprIdListTerm (Parse *pParse, ExprList *pPrior, Token *pIdToken, int hasCollate, int sortOrder)
 
static void parserDoubleLinkSelect (Parse *pParse, Select *p)
 
static int parseTimezone (const char *zDate, DateTime *p)
 
static int parseYyyyMmDd (const char *zDate, DateTime *p)
 
static int patternCompare (const u8 *zPattern, const u8 *zString, const struct compareInfo *pInfo, u32 matchOther)
 
static voidpcache1Alloc (int nByte)
 
static PgHdr1pcache1AllocPage (PCache1 *pCache, int benignMalloc)
 
static void pcache1Cachesize (sqlite3_pcache *p, int nMax)
 
static sqlite3_pcachepcache1Create (int szPage, int szExtra, int bPurgeable)
 
static void pcache1Destroy (sqlite3_pcache *p)
 
static void pcache1EnforceMaxPage (PCache1 *pCache)
 
static sqlite3_pcache_pagepcache1Fetch (sqlite3_pcache *p, unsigned int iKey, int createFlag)
 
static PgHdr1pcache1FetchNoMutex (sqlite3_pcache *p, unsigned int iKey, int createFlag)
 
static SQLITE_NOINLINE PgHdr1pcache1FetchStage2 (PCache1 *pCache, unsigned int iKey, int createFlag)
 
static void pcache1Free (void *p)
 
static void pcache1FreePage (PgHdr1 *p)
 
static int pcache1Init (void *NotUsed)
 
static int pcache1InitBulk (PCache1 *pCache)
 
static int pcache1Pagecount (sqlite3_pcache *p)
 
static PgHdr1pcache1PinPage (PgHdr1 *pPage)
 
static void pcache1Rekey (sqlite3_pcache *p, sqlite3_pcache_page *pPg, unsigned int iOld, unsigned int iNew)
 
static void pcache1RemoveFromHash (PgHdr1 *pPage, int freeFlag)
 
static void pcache1ResizeHash (PCache1 *p)
 
static void pcache1Shrink (sqlite3_pcache *p)
 
static void pcache1Shutdown (void *NotUsed)
 
static void pcache1Truncate (sqlite3_pcache *p, unsigned int iLimit)
 
static void pcache1TruncateUnsafe (PCache1 *pCache, unsigned int iLimit)
 
static int pcache1UnderMemoryPressure (PCache1 *pCache)
 
static void pcache1Unpin (sqlite3_pcache *p, sqlite3_pcache_page *pPg, int reuseUnlikely)
 
static SQLITE_NOINLINE PgHdrpcacheFetchFinishWithInit (PCache *pCache, Pgno pgno, sqlite3_pcache_page *pPage)
 
static void pcacheManageDirtyList (PgHdr *pPage, u8 addRemove)
 
static PgHdrpcacheMergeDirtyList (PgHdr *pA, PgHdr *pB)
 
static PgHdrpcacheSortDirtyList (PgHdr *pIn)
 
static void pcacheUnpin (PgHdr *p)
 
static void populateCellCache (CellArray *p, int idx, int N)
 
static int posixOpen (const char *zFile, int flags, int mode)
 
static int posixUnlock (sqlite3_file *id, int eFileLock, int handleNFSUnlock)
 
static void printfFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static sqlite3_mutexpthreadMutexAlloc (int iType)
 
static int pthreadMutexEnd (void)
 
static void pthreadMutexEnter (sqlite3_mutex *p)
 
static void pthreadMutexFree (sqlite3_mutex *p)
 
static int pthreadMutexInit (void)
 
static void pthreadMutexLeave (sqlite3_mutex *p)
 
static int pthreadMutexTry (sqlite3_mutex *p)
 
static int ptrmapGet (BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno)
 
static Pgno ptrmapPageno (BtShared *pBt, Pgno pgno)
 
static void ptrmapPut (BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC)
 
static void ptrmapPutOvflPtr (MemPage *pPage, u8 *pCell, int *pRC)
 
static int pushDownWhereTerms (sqlite3 *db, Select *pSubq, Expr *pWhere, int iCursor)
 
static void pushOntoSorter (Parse *pParse, SortCtx *pSort, Select *pSelect, int regData, int regOrigData, int nData, int nPrefixReg)
 
static int SQLITE_NOINLINE putVarint64 (unsigned char *p, u64 v)
 
static int querySharedCacheTableLock (Btree *p, Pgno iTab, u8 eLock)
 
static void quoteFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static void randomBlob (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static void randomFunc (sqlite3_context *context, int NotUsed, sqlite3_value **NotUsed2)
 
static int read32bits (sqlite3_file *fd, i64 offset, u32 *pRes)
 
static int readDbPage (PgHdr *pPg, u32 iFrame)
 
static int readJournalHdr (Pager *pPager, int isHot, i64 journalSize, u32 *pNRec, u32 *pDbSize)
 
static int readMasterJournal (sqlite3_file *pJrnl, char *zMaster, u32 nMaster)
 
static int readsTable (Parse *p, int iDb, Table *pTab)
 
static int rebuildPage (MemPage *pPg, int nCell, u8 **apCell, u16 *szCell)
 
static int rehash (Hash *pH, unsigned int new_size)
 
static void reindexDatabases (Parse *pParse, char const *zColl)
 
static void reindexTable (Parse *pParse, Table *pTab, char const *zColl)
 
static void releaseAllSavepoints (Pager *pPager)
 
static void releaseInodeInfo (unixFile *pFile)
 
static void releaseMemArray (Mem *p, int N)
 
static void releasePage (MemPage *pPage)
 
static void releasePageNotNull (MemPage *pPage)
 
static void reloadTableSchema (Parse *pParse, Table *pTab, const char *zName)
 
static int relocatePage (BtShared *pBt, MemPage *pDbPage, u8 eType, Pgno iPtrPage, Pgno iFreePage, int isCommit)
 
static void removeElementGivenHash (Hash *pH, HashElem *elem, unsigned int h)
 
static int removeFromSharingList (BtShared *pBt)
 
static void renameParentFunc (sqlite3_context *context, int NotUsed, sqlite3_value **argv)
 
static void renameTableFunc (sqlite3_context *context, int NotUsed, sqlite3_value **argv)
 
static void renameTriggerFunc (sqlite3_context *context, int NotUsed, sqlite3_value **argv)
 
static void renderLogMsg (int iErrCode, const char *zFormat, va_list ap)
 
static void replaceFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static int reportError (int iErr, int lineno, const char *zType)
 
static void resetAccumulator (Parse *pParse, AggInfo *pAggInfo)
 
static int resizeIndexObject (sqlite3 *db, Index *pIdx, int N)
 
static void resolveAlias (Parse *pParse, ExprList *pEList, int iCol, Expr *pExpr, const char *zType, int nSubquery)
 
static int resolveAsName (Parse *pParse, ExprList *pEList, Expr *pE)
 
static int resolveAttachExpr (NameContext *pName, Expr *pExpr)
 
static int resolveCompoundOrderBy (Parse *pParse, Select *pSelect)
 
static int resolveExprStep (Walker *pWalker, Expr *pExpr)
 
static int resolveOrderByTermToExprList (Parse *pParse, Select *pSelect, Expr *pE)
 
static int resolveOrderGroupBy (NameContext *pNC, Select *pSelect, ExprList *pOrderBy, const char *zType)
 
static void resolveOutOfRangeError (Parse *pParse, const char *zType, int i, int mx)
 
static void resolveP2Values (Vdbe *p, int *pMaxFuncArgs)
 
static int resolveSelectStep (Walker *pWalker, Select *p)
 
static void returnSingleInt (Vdbe *v, const char *zLabel, i64 value)
 
static void returnSingleText (Vdbe *v, const char *zLabel, const char *zValue)
 
static void robust_close (unixFile *pFile, int h, int lineno)
 
static int robust_ftruncate (int h, sqlite3_int64 sz)
 
static int robust_open (const char *z, int f, mode_t m)
 
static int robustFchown (int fd, uid_t uid, gid_t gid)
 
static void roundFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static struct RowSetEntryrowSetEntryAlloc (RowSet *p)
 
static struct RowSetEntryrowSetEntryMerge (struct RowSetEntry *pA, struct RowSetEntry *pB)
 
static struct RowSetEntryrowSetEntrySort (struct RowSetEntry *pIn)
 
static struct RowSetEntryrowSetListToTree (struct RowSetEntry *pList)
 
static struct RowSetEntryrowSetNDeepTree (struct RowSetEntry **ppList, int iDepth)
 
static void rowSetTreeToList (struct RowSetEntry *pIn, struct RowSetEntry **ppFirst, struct RowSetEntry **ppLast)
 
static void samplePushPrevious (Stat4Accum *p, int iChng)
 
static int saveAllCursors (BtShared *pBt, Pgno iRoot, BtCursor *pExcept)
 
static int saveCursorKey (BtCursor *pCur)
 
static int saveCursorPosition (BtCursor *pCur)
 
static int SQLITE_NOINLINE saveCursorsOnList (BtCursor *, Pgno, BtCursor *)
 
static void schemaIsValid (Parse *pParse)
 
static struct Cte * searchWith (With *pWith, struct SrcList_item *pItem, With **ppContext)
 
static int seekAndRead (unixFile *id, sqlite3_int64 offset, void *pBuf, int cnt)
 
static int seekAndWrite (unixFile *id, i64 offset, const void *pBuf, int cnt)
 
static int seekAndWriteFd (int fd, i64 iOff, const void *pBuf, int nBuf, int *piErrno)
 
static void selectAddSubqueryTypeInfo (Walker *pWalker, Select *p)
 
static int selectExpander (Walker *pWalker, Select *p)
 
static void selectInnerLoop (Parse *pParse, Select *p, ExprList *pEList, int srcTab, SortCtx *pSort, DistinctCtx *pDistinct, SelectDest *pDest, int iContinue, int iBreak)
 
static int selectNodeIsConstant (Walker *pWalker, Select *NotUsed)
 
static const char * selectOpName (int id)
 
static void selectPopWith (Walker *pWalker, Select *p)
 
static u32 SQLITE_NOINLINE serialGet (const unsigned char *buf, u32 serial_type, Mem *pMem)
 
static void setAllColumnNames (Vdbe *v, int N, const char **azCol)
 
static void setAllPagerFlags (sqlite3 *db)
 
static int setChildPtrmaps (MemPage *pPage)
 
static int setDateTimeToCurrent (sqlite3_context *context, DateTime *p)
 
static int setDestPgsz (sqlite3_backup *p)
 
static void setJoinExpr (Expr *p, int iTable)
 
static void setLikeOptFlag (sqlite3 *db, const char *zName, u8 flagVal)
 
static void setOneColumnName (Vdbe *v, const char *z)
 
static void setPageReferenced (IntegrityCk *pCheck, Pgno iPg)
 
static void setPendingFd (unixFile *pFile)
 
static void setResultStrOrError (sqlite3_context *pCtx, const char *z, int n, u8 enc, void(*xDel)(void *))
 
static void setSectorSize (Pager *pPager)
 
static int setSharedCacheTableLock (Btree *p, Pgno iTable, u8 eLock)
 
static void setStrAccumError (StrAccum *p, u8 eError)
 
static int setupLookaside (sqlite3 *db, void *pBuf, int sz, int cnt)
 
static void sourceidFunc (sqlite3_context *context, int NotUsed, sqlite3_value **NotUsed2)
 
static void spanBinaryExpr (Parse *pParse, int op, ExprSpan *pLeft, ExprSpan *pRight)
 
static void spanExpr (ExprSpan *pOut, Parse *pParse, int op, Token t)
 
static void spanSet (ExprSpan *pOut, Token *pStart, Token *pEnd)
 
static void spanUnaryPostfix (Parse *pParse, int op, ExprSpan *pOperand, Token *pPostOp)
 
static void spanUnaryPrefix (ExprSpan *pOut, Parse *pParse, int op, ExprSpan *pOperand, Token *pPreOp)
 
int sqlite2BtreeKeyCompare (BtCursor *, const void *, int, int, int *)
 
SQLITE_API void *SQLITE_STDCALL sqlite3_aggregate_context (sqlite3_context *, int nBytes)
 
SQLITE_API SQLITE_DEPRECATED int SQLITE_STDCALL sqlite3_aggregate_count (sqlite3_context *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_auto_extension (void(*xEntryPoint)(void))
 
SQLITE_API int SQLITE_STDCALL sqlite3_backup_finish (sqlite3_backup *p)
 
SQLITE_API sqlite3_backup *SQLITE_STDCALL sqlite3_backup_init (sqlite3 *pDest, const char *zDestName, sqlite3 *pSource, const char *zSourceName)
 
SQLITE_API int SQLITE_STDCALL sqlite3_backup_pagecount (sqlite3_backup *p)
 
SQLITE_API int SQLITE_STDCALL sqlite3_backup_remaining (sqlite3_backup *p)
 
SQLITE_API int SQLITE_STDCALL sqlite3_backup_step (sqlite3_backup *p, int nPage)
 
SQLITE_API int SQLITE_STDCALL sqlite3_bind_blob (sqlite3_stmt *, int, const void *, int n, void(*)(void *))
 
SQLITE_API int SQLITE_STDCALL sqlite3_bind_blob64 (sqlite3_stmt *, int, const void *, sqlite3_uint64, void(*)(void *))
 
SQLITE_API int SQLITE_STDCALL sqlite3_bind_double (sqlite3_stmt *, int, double)
 
SQLITE_API int SQLITE_STDCALL sqlite3_bind_int (sqlite3_stmt *, int, int)
 
SQLITE_API int SQLITE_STDCALL sqlite3_bind_int64 (sqlite3_stmt *, int, sqlite3_int64)
 
SQLITE_API int SQLITE_STDCALL sqlite3_bind_null (sqlite3_stmt *, int)
 
SQLITE_API int SQLITE_STDCALL sqlite3_bind_parameter_count (sqlite3_stmt *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_bind_parameter_index (sqlite3_stmt *, const char *zName)
 
SQLITE_API const char *SQLITE_STDCALL sqlite3_bind_parameter_name (sqlite3_stmt *, int)
 
SQLITE_API int SQLITE_STDCALL sqlite3_bind_text (sqlite3_stmt *, int, const char *, int, void(*)(void *))
 
SQLITE_API int SQLITE_STDCALL sqlite3_bind_text16 (sqlite3_stmt *, int, const void *, int, void(*)(void *))
 
SQLITE_API int SQLITE_STDCALL sqlite3_bind_text64 (sqlite3_stmt *, int, const char *, sqlite3_uint64, void(*)(void *), unsigned char encoding)
 
SQLITE_API int SQLITE_STDCALL sqlite3_bind_value (sqlite3_stmt *, int, const sqlite3_value *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_bind_zeroblob (sqlite3_stmt *, int, int n)
 
SQLITE_API int SQLITE_STDCALL sqlite3_bind_zeroblob64 (sqlite3_stmt *, int, sqlite3_uint64)
 
SQLITE_API int SQLITE_STDCALL sqlite3_blob_bytes (sqlite3_blob *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_blob_close (sqlite3_blob *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_blob_open (sqlite3 *, const char *zDb, const char *zTable, const char *zColumn, sqlite3_int64 iRow, int flags, sqlite3_blob **ppBlob)
 
SQLITE_API int SQLITE_STDCALL sqlite3_blob_read (sqlite3_blob *, void *Z, int N, int iOffset)
 
SQLITE_API int SQLITE_STDCALL sqlite3_blob_reopen (sqlite3_blob *, sqlite3_int64)
 
SQLITE_API int SQLITE_STDCALL sqlite3_blob_write (sqlite3_blob *, const void *z, int n, int iOffset)
 
SQLITE_API int SQLITE_STDCALL sqlite3_busy_handler (sqlite3 *, int(*)(void *, int), void *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_busy_timeout (sqlite3 *, int ms)
 
SQLITE_API int SQLITE_STDCALL sqlite3_cancel_auto_extension (void(*xEntryPoint)(void))
 
SQLITE_API int SQLITE_STDCALL sqlite3_changes (sqlite3 *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_clear_bindings (sqlite3_stmt *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_close (sqlite3 *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_close_v2 (sqlite3 *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_collation_needed (sqlite3 *, void *, void(*)(void *, sqlite3 *, int eTextRep, const char *))
 
SQLITE_API int SQLITE_STDCALL sqlite3_collation_needed16 (sqlite3 *, void *, void(*)(void *, sqlite3 *, int eTextRep, const void *))
 
SQLITE_API const void *SQLITE_STDCALL sqlite3_column_blob (sqlite3_stmt *, int iCol)
 
SQLITE_API int SQLITE_STDCALL sqlite3_column_bytes (sqlite3_stmt *, int iCol)
 
SQLITE_API int SQLITE_STDCALL sqlite3_column_bytes16 (sqlite3_stmt *, int iCol)
 
SQLITE_API int SQLITE_STDCALL sqlite3_column_count (sqlite3_stmt *pStmt)
 
SQLITE_API const char *SQLITE_STDCALL sqlite3_column_database_name (sqlite3_stmt *, int)
 
SQLITE_API const void *SQLITE_STDCALL sqlite3_column_database_name16 (sqlite3_stmt *, int)
 
SQLITE_API const char *SQLITE_STDCALL sqlite3_column_decltype (sqlite3_stmt *, int)
 
SQLITE_API const void *SQLITE_STDCALL sqlite3_column_decltype16 (sqlite3_stmt *, int)
 
SQLITE_API double SQLITE_STDCALL sqlite3_column_double (sqlite3_stmt *, int iCol)
 
SQLITE_API int SQLITE_STDCALL sqlite3_column_int (sqlite3_stmt *, int iCol)
 
SQLITE_API sqlite3_int64 SQLITE_STDCALL sqlite3_column_int64 (sqlite3_stmt *, int iCol)
 
SQLITE_API const char *SQLITE_STDCALL sqlite3_column_name (sqlite3_stmt *, int N)
 
SQLITE_API const void *SQLITE_STDCALL sqlite3_column_name16 (sqlite3_stmt *, int N)
 
SQLITE_API const char *SQLITE_STDCALL sqlite3_column_origin_name (sqlite3_stmt *, int)
 
SQLITE_API const void *SQLITE_STDCALL sqlite3_column_origin_name16 (sqlite3_stmt *, int)
 
SQLITE_API const char *SQLITE_STDCALL sqlite3_column_table_name (sqlite3_stmt *, int)
 
SQLITE_API const void *SQLITE_STDCALL sqlite3_column_table_name16 (sqlite3_stmt *, int)
 
SQLITE_API const unsigned char *SQLITE_STDCALL sqlite3_column_text (sqlite3_stmt *, int iCol)
 
SQLITE_API const void *SQLITE_STDCALL sqlite3_column_text16 (sqlite3_stmt *, int iCol)
 
SQLITE_API int SQLITE_STDCALL sqlite3_column_type (sqlite3_stmt *, int iCol)
 
SQLITE_API sqlite3_value *SQLITE_STDCALL sqlite3_column_value (sqlite3_stmt *, int iCol)
 
SQLITE_API void *SQLITE_STDCALL sqlite3_commit_hook (sqlite3 *, int(*)(void *), void *)
 
SQLITE_API const char *SQLITE_STDCALL sqlite3_compileoption_get (int N)
 
SQLITE_API int SQLITE_STDCALL sqlite3_compileoption_used (const char *zOptName)
 
SQLITE_API int SQLITE_STDCALL sqlite3_complete (const char *sql)
 
SQLITE_API int SQLITE_STDCALL sqlite3_complete16 (const void *sql)
 
SQLITE_API int SQLITE_CDECL sqlite3_config (int,...)
 
SQLITE_API sqlite3 *SQLITE_STDCALL sqlite3_context_db_handle (sqlite3_context *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_create_collation (sqlite3 *, const char *zName, int eTextRep, void *pArg, int(*xCompare)(void *, int, const void *, int, const void *))
 
SQLITE_API int SQLITE_STDCALL sqlite3_create_collation16 (sqlite3 *, const void *zName, int eTextRep, void *pArg, int(*xCompare)(void *, int, const void *, int, const void *))
 
SQLITE_API int SQLITE_STDCALL sqlite3_create_collation_v2 (sqlite3 *, const char *zName, int eTextRep, void *pArg, int(*xCompare)(void *, int, const void *, int, const void *), void(*xDestroy)(void *))
 
SQLITE_API int SQLITE_STDCALL sqlite3_create_function (sqlite3 *db, const char *zFunctionName, int nArg, int eTextRep, void *pApp, void(*xFunc)(sqlite3_context *, int, sqlite3_value **), void(*xStep)(sqlite3_context *, int, sqlite3_value **), void(*xFinal)(sqlite3_context *))
 
SQLITE_API int SQLITE_STDCALL sqlite3_create_function16 (sqlite3 *db, const void *zFunctionName, int nArg, int eTextRep, void *pApp, void(*xFunc)(sqlite3_context *, int, sqlite3_value **), void(*xStep)(sqlite3_context *, int, sqlite3_value **), void(*xFinal)(sqlite3_context *))
 
SQLITE_API int SQLITE_STDCALL sqlite3_create_function_v2 (sqlite3 *db, const char *zFunctionName, int nArg, int eTextRep, void *pApp, void(*xFunc)(sqlite3_context *, int, sqlite3_value **), void(*xStep)(sqlite3_context *, int, sqlite3_value **), void(*xFinal)(sqlite3_context *), void(*xDestroy)(void *))
 
SQLITE_API int SQLITE_STDCALL sqlite3_create_module (sqlite3 *db, const char *zName, const sqlite3_module *p, void *pClientData)
 
SQLITE_API int SQLITE_STDCALL sqlite3_create_module_v2 (sqlite3 *db, const char *zName, const sqlite3_module *p, void *pClientData, void(*xDestroy)(void *))
 
SQLITE_API int SQLITE_STDCALL sqlite3_data_count (sqlite3_stmt *pStmt)
 
SQLITE_API int SQLITE_STDCALL sqlite3_db_cacheflush (sqlite3 *)
 
SQLITE_API int SQLITE_CDECL sqlite3_db_config (sqlite3 *, int op,...)
 
SQLITE_API const char *SQLITE_STDCALL sqlite3_db_filename (sqlite3 *db, const char *zDbName)
 
SQLITE_API sqlite3 *SQLITE_STDCALL sqlite3_db_handle (sqlite3_stmt *)
 
SQLITE_API sqlite3_mutex *SQLITE_STDCALL sqlite3_db_mutex (sqlite3 *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_db_readonly (sqlite3 *db, const char *zDbName)
 
SQLITE_API int SQLITE_STDCALL sqlite3_db_release_memory (sqlite3 *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_db_status (sqlite3 *, int op, int *pCur, int *pHiwtr, int resetFlg)
 
SQLITE_API int SQLITE_STDCALL sqlite3_declare_vtab (sqlite3 *, const char *zSQL)
 
SQLITE_API int SQLITE_STDCALL sqlite3_enable_load_extension (sqlite3 *db, int onoff)
 
SQLITE_API int SQLITE_STDCALL sqlite3_enable_shared_cache (int)
 
SQLITE_API int SQLITE_STDCALL sqlite3_errcode (sqlite3 *db)
 
SQLITE_API const char *SQLITE_STDCALL sqlite3_errmsg (sqlite3 *)
 
SQLITE_API const void *SQLITE_STDCALL sqlite3_errmsg16 (sqlite3 *)
 
SQLITE_API const char *SQLITE_STDCALL sqlite3_errstr (int)
 
SQLITE_API int SQLITE_STDCALL sqlite3_exec (sqlite3 *, const char *sql, int(*callback)(void *, int, char **, char **), void *, char **errmsg)
 
SQLITE_API SQLITE_DEPRECATED int SQLITE_STDCALL sqlite3_expired (sqlite3_stmt *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_extended_errcode (sqlite3 *db)
 
SQLITE_API int SQLITE_STDCALL sqlite3_extended_result_codes (sqlite3 *, int onoff)
 
SQLITE_API int SQLITE_STDCALL sqlite3_file_control (sqlite3 *, const char *zDbName, int op, void *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_finalize (sqlite3_stmt *pStmt)
 
SQLITE_API void SQLITE_STDCALL sqlite3_free (void *)
 
SQLITE_API void SQLITE_STDCALL sqlite3_free_table (char **result)
 
SQLITE_API int SQLITE_STDCALL sqlite3_get_autocommit (sqlite3 *)
 
SQLITE_API void *SQLITE_STDCALL sqlite3_get_auxdata (sqlite3_context *, int N)
 
SQLITE_API int SQLITE_STDCALL sqlite3_get_table (sqlite3 *db, const char *zSql, char ***pazResult, int *pnRow, int *pnColumn, char **pzErrmsg)
 
static int sqlite3_get_table_cb (void *pArg, int nCol, char **argv, char **colv)
 
SQLITE_API SQLITE_DEPRECATED int SQLITE_STDCALL sqlite3_global_recover (void)
 
SQLITE_API int SQLITE_STDCALL sqlite3_initialize (void)
 
SQLITE_API void SQLITE_STDCALL sqlite3_interrupt (sqlite3 *)
 
SQLITE_API sqlite3_int64 SQLITE_STDCALL sqlite3_last_insert_rowid (sqlite3 *)
 
SQLITE_API const char *SQLITE_STDCALL sqlite3_libversion (void)
 
SQLITE_API int SQLITE_STDCALL sqlite3_libversion_number (void)
 
SQLITE_API int SQLITE_STDCALL sqlite3_limit (sqlite3 *, int id, int newVal)
 
SQLITE_API int SQLITE_STDCALL sqlite3_load_extension (sqlite3 *db, const char *zFile, const char *zProc, char **pzErrMsg)
 
SQLITE_API void SQLITE_CDECL sqlite3_log (int iErrCode, const char *zFormat,...)
 
SQLITE_API void *SQLITE_STDCALL sqlite3_malloc (int)
 
SQLITE_API void *SQLITE_STDCALL sqlite3_malloc64 (sqlite3_uint64)
 
SQLITE_API SQLITE_DEPRECATED int SQLITE_STDCALL sqlite3_memory_alarm (void(*)(void *, sqlite3_int64, int), void *, sqlite3_int64)
 
SQLITE_API int SQLITE_STDCALL sqlite3_memory_alarm (void(*xCallback)(void *pArg, sqlite3_int64 used, int N), void *pArg, sqlite3_int64 iThreshold)
 
SQLITE_API sqlite3_int64 SQLITE_STDCALL sqlite3_memory_highwater (int resetFlag)
 
SQLITE_API sqlite3_int64 SQLITE_STDCALL sqlite3_memory_used (void)
 
SQLITE_API char *SQLITE_CDECL sqlite3_mprintf (const char *,...)
 
SQLITE_API sqlite3_uint64 SQLITE_STDCALL sqlite3_msize (void *)
 
SQLITE_API sqlite3_mutex *SQLITE_STDCALL sqlite3_mutex_alloc (int)
 
SQLITE_API void SQLITE_STDCALL sqlite3_mutex_enter (sqlite3_mutex *)
 
SQLITE_API void SQLITE_STDCALL sqlite3_mutex_free (sqlite3_mutex *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_mutex_held (sqlite3_mutex *)
 
SQLITE_API void SQLITE_STDCALL sqlite3_mutex_leave (sqlite3_mutex *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_mutex_notheld (sqlite3_mutex *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_mutex_try (sqlite3_mutex *)
 
SQLITE_API sqlite3_stmt *SQLITE_STDCALL sqlite3_next_stmt (sqlite3 *pDb, sqlite3_stmt *pStmt)
 
SQLITE_API int SQLITE_STDCALL sqlite3_open (const char *filename, sqlite3 **ppDb)
 
SQLITE_API int SQLITE_STDCALL sqlite3_open16 (const void *filename, sqlite3 **ppDb)
 
SQLITE_API int SQLITE_STDCALL sqlite3_open_v2 (const char *filename, sqlite3 **ppDb, int flags, const char *zVfs)
 
SQLITE_API int SQLITE_STDCALL sqlite3_os_end (void)
 
SQLITE_API int SQLITE_STDCALL sqlite3_os_init (void)
 
SQLITE_API int SQLITE_STDCALL sqlite3_overload_function (sqlite3 *, const char *zFuncName, int nArg)
 
SQLITE_API int SQLITE_STDCALL sqlite3_prepare (sqlite3 *db, const char *zSql, int nByte, sqlite3_stmt **ppStmt, const char **pzTail)
 
SQLITE_API int SQLITE_STDCALL sqlite3_prepare16 (sqlite3 *db, const void *zSql, int nByte, sqlite3_stmt **ppStmt, const void **pzTail)
 
SQLITE_API int SQLITE_STDCALL sqlite3_prepare16_v2 (sqlite3 *db, const void *zSql, int nByte, sqlite3_stmt **ppStmt, const void **pzTail)
 
SQLITE_API int SQLITE_STDCALL sqlite3_prepare_v2 (sqlite3 *db, const char *zSql, int nByte, sqlite3_stmt **ppStmt, const char **pzTail)
 
SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_preupdate_count (sqlite3 *)
 
SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_preupdate_depth (sqlite3 *)
 
SQLITE_API SQLITE_EXPERIMENTAL void *SQLITE_STDCALL sqlite3_preupdate_hook (sqlite3 *db, void(*xPreUpdate)(void *pCtx, sqlite3 *db, int op, char const *zDb, char const *zName, sqlite3_int64 iKey1, sqlite3_int64 iKey2), void *)
 
SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_preupdate_new (sqlite3 *, int, sqlite3_value **)
 
SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_preupdate_old (sqlite3 *, int, sqlite3_value **)
 
SQLITE_API SQLITE_EXPERIMENTAL void *SQLITE_STDCALL sqlite3_profile (sqlite3 *, void(*xProfile)(void *, const char *, sqlite3_uint64), void *)
 
SQLITE_API void SQLITE_STDCALL sqlite3_progress_handler (sqlite3 *, int, int(*)(void *), void *)
 
SQLITE_API void SQLITE_STDCALL sqlite3_randomness (int N, void *P)
 
SQLITE_API void *SQLITE_STDCALL sqlite3_realloc (void *, int)
 
SQLITE_API void *SQLITE_STDCALL sqlite3_realloc64 (void *, sqlite3_uint64)
 
SQLITE_API int SQLITE_STDCALL sqlite3_release_memory (int)
 
SQLITE_API int SQLITE_STDCALL sqlite3_reset (sqlite3_stmt *pStmt)
 
SQLITE_API void SQLITE_STDCALL sqlite3_reset_auto_extension (void)
 
SQLITE_API void SQLITE_STDCALL sqlite3_result_blob (sqlite3_context *, const void *, int, void(*)(void *))
 
SQLITE_API void SQLITE_STDCALL sqlite3_result_blob64 (sqlite3_context *, const void *, sqlite3_uint64, void(*)(void *))
 
SQLITE_API void SQLITE_STDCALL sqlite3_result_double (sqlite3_context *, double)
 
SQLITE_API void SQLITE_STDCALL sqlite3_result_error (sqlite3_context *, const char *, int)
 
SQLITE_API void SQLITE_STDCALL sqlite3_result_error16 (sqlite3_context *, const void *, int)
 
SQLITE_API void SQLITE_STDCALL sqlite3_result_error_code (sqlite3_context *, int)
 
SQLITE_API void SQLITE_STDCALL sqlite3_result_error_nomem (sqlite3_context *)
 
SQLITE_API void SQLITE_STDCALL sqlite3_result_error_toobig (sqlite3_context *)
 
SQLITE_API void SQLITE_STDCALL sqlite3_result_int (sqlite3_context *, int)
 
SQLITE_API void SQLITE_STDCALL sqlite3_result_int64 (sqlite3_context *, sqlite3_int64)
 
SQLITE_API void SQLITE_STDCALL sqlite3_result_null (sqlite3_context *)
 
SQLITE_API void SQLITE_STDCALL sqlite3_result_subtype (sqlite3_context *, unsigned int)
 
SQLITE_API void SQLITE_STDCALL sqlite3_result_text (sqlite3_context *, const char *, int, void(*)(void *))
 
SQLITE_API void SQLITE_STDCALL sqlite3_result_text16 (sqlite3_context *, const void *, int, void(*)(void *))
 
SQLITE_API void SQLITE_STDCALL sqlite3_result_text16be (sqlite3_context *, const void *, int, void(*)(void *))
 
SQLITE_API void SQLITE_STDCALL sqlite3_result_text16le (sqlite3_context *, const void *, int, void(*)(void *))
 
SQLITE_API void SQLITE_STDCALL sqlite3_result_text64 (sqlite3_context *, const char *, sqlite3_uint64, void(*)(void *), unsigned char encoding)
 
SQLITE_API void SQLITE_STDCALL sqlite3_result_value (sqlite3_context *, sqlite3_value *)
 
SQLITE_API void SQLITE_STDCALL sqlite3_result_zeroblob (sqlite3_context *, int n)
 
SQLITE_API int SQLITE_STDCALL sqlite3_result_zeroblob64 (sqlite3_context *, sqlite3_uint64 n)
 
SQLITE_API void *SQLITE_STDCALL sqlite3_rollback_hook (sqlite3 *, void(*)(void *), void *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_rtree_geometry_callback (sqlite3 *db, const char *zGeom, int(*xGeom)(sqlite3_rtree_geometry *, int, sqlite3_rtree_dbl *, int *), void *pContext)
 
SQLITE_API int SQLITE_STDCALL sqlite3_rtree_query_callback (sqlite3 *db, const char *zQueryFunc, int(*xQueryFunc)(sqlite3_rtree_query_info *), void *pContext, void(*xDestructor)(void *))
 
SQLITE_API int SQLITE_STDCALL sqlite3_set_authorizer (sqlite3 *, int(*xAuth)(void *, int, const char *, const char *, const char *, const char *), void *pUserData)
 
SQLITE_API void SQLITE_STDCALL sqlite3_set_auxdata (sqlite3_context *, int N, void *, void(*)(void *))
 
SQLITE_API int SQLITE_STDCALL sqlite3_shutdown (void)
 
SQLITE_API int SQLITE_STDCALL sqlite3_sleep (int)
 
SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_snapshot_cmp (sqlite3_snapshot *p1, sqlite3_snapshot *p2)
 
SQLITE_API SQLITE_EXPERIMENTAL void SQLITE_STDCALL sqlite3_snapshot_free (sqlite3_snapshot *)
 
SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_snapshot_get (sqlite3 *db, const char *zSchema, sqlite3_snapshot **ppSnapshot)
 
SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_snapshot_open (sqlite3 *db, const char *zSchema, sqlite3_snapshot *pSnapshot)
 
SQLITE_API char *SQLITE_CDECL sqlite3_snprintf (int, char *, const char *,...)
 
SQLITE_API SQLITE_DEPRECATED void SQLITE_STDCALL sqlite3_soft_heap_limit (int N)
 
SQLITE_API sqlite3_int64 SQLITE_STDCALL sqlite3_soft_heap_limit64 (sqlite3_int64 N)
 
SQLITE_API const char *SQLITE_STDCALL sqlite3_sourceid (void)
 
SQLITE_API const char *SQLITE_STDCALL sqlite3_sql (sqlite3_stmt *pStmt)
 
SQLITE_API int SQLITE_STDCALL sqlite3_status (int op, int *pCurrent, int *pHighwater, int resetFlag)
 
SQLITE_API int SQLITE_STDCALL sqlite3_status64 (int op, sqlite3_int64 *pCurrent, sqlite3_int64 *pHighwater, int resetFlag)
 
SQLITE_API int SQLITE_STDCALL sqlite3_step (sqlite3_stmt *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_stmt_busy (sqlite3_stmt *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_stmt_readonly (sqlite3_stmt *pStmt)
 
SQLITE_API int SQLITE_STDCALL sqlite3_stmt_scanstatus (sqlite3_stmt *pStmt, int idx, int iScanStatusOp, void *pOut)
 
SQLITE_API void SQLITE_STDCALL sqlite3_stmt_scanstatus_reset (sqlite3_stmt *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_stmt_status (sqlite3_stmt *, int op, int resetFlg)
 
SQLITE_API int SQLITE_STDCALL sqlite3_strglob (const char *zGlob, const char *zStr)
 
SQLITE_API int SQLITE_STDCALL sqlite3_stricmp (const char *, const char *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_strlike (const char *zGlob, const char *zStr, unsigned int cEsc)
 
SQLITE_API int SQLITE_STDCALL sqlite3_strnicmp (const char *, const char *, int)
 
SQLITE_API int SQLITE_STDCALL sqlite3_system_errno (sqlite3 *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_table_column_metadata (sqlite3 *db, const char *zDbName, const char *zTableName, const char *zColumnName, char const **pzDataType, char const **pzCollSeq, int *pNotNull, int *pPrimaryKey, int *pAutoinc)
 
SQLITE_API int SQLITE_CDECL sqlite3_test_control (int op,...)
 
SQLITE_API SQLITE_DEPRECATED void SQLITE_STDCALL sqlite3_thread_cleanup (void)
 
SQLITE_API int SQLITE_STDCALL sqlite3_threadsafe (void)
 
SQLITE_API int SQLITE_STDCALL sqlite3_total_changes (sqlite3 *)
 
SQLITE_API void *SQLITE_STDCALL sqlite3_trace (sqlite3 *, void(*xTrace)(void *, const char *), void *)
 
SQLITE_API SQLITE_DEPRECATED int SQLITE_STDCALL sqlite3_transfer_bindings (sqlite3_stmt *, sqlite3_stmt *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_unlock_notify (sqlite3 *pBlocked, void(*xNotify)(void **apArg, int nArg), void *pNotifyArg)
 
SQLITE_API void *SQLITE_STDCALL sqlite3_update_hook (sqlite3 *, void(*)(void *, int, char const *, char const *, sqlite3_int64), void *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_uri_boolean (const char *zFile, const char *zParam, int bDefault)
 
SQLITE_API sqlite3_int64 SQLITE_STDCALL sqlite3_uri_int64 (const char *, const char *, sqlite3_int64)
 
SQLITE_API const char *SQLITE_STDCALL sqlite3_uri_parameter (const char *zFilename, const char *zParam)
 
SQLITE_API void *SQLITE_STDCALL sqlite3_user_data (sqlite3_context *)
 
SQLITE_API const void *SQLITE_STDCALL sqlite3_value_blob (sqlite3_value *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_value_bytes (sqlite3_value *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_value_bytes16 (sqlite3_value *)
 
SQLITE_API double SQLITE_STDCALL sqlite3_value_double (sqlite3_value *)
 
SQLITE_API sqlite3_value *SQLITE_STDCALL sqlite3_value_dup (const sqlite3_value *)
 
SQLITE_API void SQLITE_STDCALL sqlite3_value_free (sqlite3_value *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_value_int (sqlite3_value *)
 
SQLITE_API sqlite3_int64 SQLITE_STDCALL sqlite3_value_int64 (sqlite3_value *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_value_numeric_type (sqlite3_value *)
 
SQLITE_API unsigned int SQLITE_STDCALL sqlite3_value_subtype (sqlite3_value *)
 
SQLITE_API const unsigned char *SQLITE_STDCALL sqlite3_value_text (sqlite3_value *)
 
SQLITE_API const void *SQLITE_STDCALL sqlite3_value_text16 (sqlite3_value *)
 
SQLITE_API const void *SQLITE_STDCALL sqlite3_value_text16be (sqlite3_value *)
 
SQLITE_API const void *SQLITE_STDCALL sqlite3_value_text16le (sqlite3_value *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_value_type (sqlite3_value *)
 
SQLITE_API sqlite3_vfs *SQLITE_STDCALL sqlite3_vfs_find (const char *zVfsName)
 
SQLITE_API int SQLITE_STDCALL sqlite3_vfs_register (sqlite3_vfs *, int makeDflt)
 
SQLITE_API int SQLITE_STDCALL sqlite3_vfs_unregister (sqlite3_vfs *)
 
SQLITE_API char *SQLITE_STDCALL sqlite3_vmprintf (const char *, va_list)
 
SQLITE_API char *SQLITE_STDCALL sqlite3_vsnprintf (int, char *, const char *, va_list)
 
SQLITE_API int SQLITE_CDECL sqlite3_vtab_config (sqlite3 *, int op,...)
 
SQLITE_API int SQLITE_STDCALL sqlite3_vtab_on_conflict (sqlite3 *)
 
SQLITE_API int SQLITE_STDCALL sqlite3_wal_autocheckpoint (sqlite3 *db, int N)
 
SQLITE_API int SQLITE_STDCALL sqlite3_wal_checkpoint (sqlite3 *db, const char *zDb)
 
SQLITE_API int SQLITE_STDCALL sqlite3_wal_checkpoint_v2 (sqlite3 *db, const char *zDb, int eMode, int *pnLog, int *pnCkpt)
 
SQLITE_API void *SQLITE_STDCALL sqlite3_wal_hook (sqlite3 *, int(*)(void *, sqlite3 *, const char *, int), void *)
 
SQLITE_PRIVATE int sqlite3AbsInt32 (int)
 
SQLITE_PRIVATE void sqlite3AddCheckConstraint (Parse *, Expr *)
 
SQLITE_PRIVATE void sqlite3AddCollateType (Parse *, Token *)
 
SQLITE_PRIVATE void sqlite3AddColumn (Parse *, Token *, Token *)
 
SQLITE_PRIVATE void sqlite3AddDefaultValue (Parse *, ExprSpan *)
 
SQLITE_PRIVATE int sqlite3AddInt64 (i64 *, i64)
 
SQLITE_PRIVATE void sqlite3AddNotNull (Parse *, int)
 
SQLITE_PRIVATE void sqlite3AddPrimaryKey (Parse *, ExprList *, int, int, int)
 
SQLITE_PRIVATE char sqlite3AffinityType (const char *, u8 *)
 
SQLITE_PRIVATE Indexsqlite3AllocateIndexObject (sqlite3 *, i16, int, char **)
 
SQLITE_PRIVATE void sqlite3AlterBeginAddColumn (Parse *, SrcList *)
 
SQLITE_PRIVATE void sqlite3AlterFinishAddColumn (Parse *, Token *)
 
SQLITE_PRIVATE void sqlite3AlterFunctions (void)
 
SQLITE_PRIVATE void sqlite3AlterRenameTable (Parse *, SrcList *, Token *)
 
SQLITE_PRIVATE int sqlite3AnalysisLoad (sqlite3 *, int iDB)
 
SQLITE_PRIVATE void sqlite3Analyze (Parse *, Token *, Token *)
 
SQLITE_PRIVATE int sqlite3ApiExit (sqlite3 *db, int)
 
SQLITE_PRIVATE void sqlite3AppendChar (StrAccum *, int, char)
 
SQLITE_PRIVATE voidsqlite3ArrayAllocate (sqlite3 *, void *, int, int *, int *)
 
SQLITE_PRIVATE int sqlite3AtoF (const char *z, double *, int, u8)
 
SQLITE_PRIVATE int sqlite3Atoi (const char *)
 
SQLITE_PRIVATE int sqlite3Atoi64 (const char *, i64 *, int, u8)
 
SQLITE_PRIVATE void sqlite3Attach (Parse *, Expr *, Expr *, Expr *)
 
SQLITE_PRIVATE int sqlite3AuthCheck (Parse *, int, const char *, const char *, const char *)
 
SQLITE_PRIVATE void sqlite3AuthContextPop (AuthContext *)
 
SQLITE_PRIVATE void sqlite3AuthContextPush (Parse *, AuthContext *, const char *)
 
SQLITE_PRIVATE void sqlite3AuthRead (Parse *, Expr *, Schema *, SrcList *)
 
SQLITE_PRIVATE int sqlite3AuthReadCol (Parse *, const char *, const char *, int)
 
SQLITE_PRIVATE void sqlite3AutoincrementBegin (Parse *pParse)
 
SQLITE_PRIVATE void sqlite3AutoincrementEnd (Parse *pParse)
 
SQLITE_PRIVATE void sqlite3AutoLoadExtensions (sqlite3 *)
 
SQLITE_PRIVATE void sqlite3BackupRestart (sqlite3_backup *)
 
SQLITE_PRIVATE void sqlite3BackupUpdate (sqlite3_backup *, Pgno, const u8 *)
 
SQLITE_PRIVATE void sqlite3BeginBenignMalloc (void)
 
SQLITE_PRIVATE void sqlite3BeginTransaction (Parse *, int)
 
SQLITE_PRIVATE void sqlite3BeginTrigger (Parse *, Token *, Token *, int, int, IdList *, SrcList *, Expr *, int, int)
 
SQLITE_PRIVATE void sqlite3BeginWriteOperation (Parse *, int, int)
 
SQLITE_PRIVATE void sqlite3BenignMallocHooks (void(*)(void), void(*)(void))
 
SQLITE_PRIVATE CollSeqsqlite3BinaryCompareCollSeq (Parse *, Expr *, Expr *)
 
SQLITE_PRIVATE int sqlite3BitvecBuiltinTest (int, int *)
 
SQLITE_PRIVATE void sqlite3BitvecClear (Bitvec *, u32, void *)
 
SQLITE_PRIVATE Bitvecsqlite3BitvecCreate (u32)
 
SQLITE_PRIVATE void sqlite3BitvecDestroy (Bitvec *)
 
SQLITE_PRIVATE int sqlite3BitvecSet (Bitvec *, u32)
 
SQLITE_PRIVATE u32 sqlite3BitvecSize (Bitvec *)
 
SQLITE_PRIVATE int sqlite3BitvecTest (Bitvec *, u32)
 
SQLITE_PRIVATE int sqlite3BitvecTestNotNull (Bitvec *, u32)
 
static SQLITE_NOINLINE int sqlite3BlobCompare (const Mem *pB1, const Mem *pB2)
 
SQLITE_PRIVATE int sqlite3BtreeBeginStmt (Btree *, int)
 
SQLITE_PRIVATE int sqlite3BtreeBeginTrans (Btree *, int)
 
SQLITE_PRIVATE int sqlite3BtreeCheckpoint (Btree *, int, int *, int *)
 
SQLITE_PRIVATE void sqlite3BtreeClearCursor (BtCursor *)
 
SQLITE_PRIVATE int sqlite3BtreeClearTable (Btree *, int, int *)
 
SQLITE_PRIVATE int sqlite3BtreeClearTableOfCursor (BtCursor *)
 
SQLITE_PRIVATE int sqlite3BtreeClose (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeCloseCursor (BtCursor *)
 
SQLITE_PRIVATE int sqlite3BtreeCommit (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeCommitPhaseOne (Btree *, const char *zMaster)
 
SQLITE_PRIVATE int sqlite3BtreeCommitPhaseTwo (Btree *, int)
 
SQLITE_PRIVATE int sqlite3BtreeCopyFile (Btree *, Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeCount (BtCursor *, i64 *)
 
SQLITE_PRIVATE int sqlite3BtreeCreateTable (Btree *, int *, int flags)
 
SQLITE_PRIVATE int sqlite3BtreeCursor (Btree *, int iTable, int wrFlag, struct KeyInfo *, BtCursor *pCursor)
 
SQLITE_PRIVATE int sqlite3BtreeCursorHasHint (BtCursor *, unsigned int mask)
 
SQLITE_PRIVATE int sqlite3BtreeCursorHasMoved (BtCursor *)
 
SQLITE_PRIVATE void sqlite3BtreeCursorHintFlags (BtCursor *, unsigned)
 
SQLITE_PRIVATE int sqlite3BtreeCursorRestore (BtCursor *, int *)
 
SQLITE_PRIVATE int sqlite3BtreeCursorSize (void)
 
SQLITE_PRIVATE void sqlite3BtreeCursorZero (BtCursor *)
 
SQLITE_PRIVATE int sqlite3BtreeData (BtCursor *, u32 offset, u32 amt, void *)
 
SQLITE_PRIVATE const voidsqlite3BtreeDataFetch (BtCursor *, u32 *pAmt)
 
SQLITE_PRIVATE int sqlite3BtreeDataSize (BtCursor *, u32 *pSize)
 
SQLITE_PRIVATE int sqlite3BtreeDelete (BtCursor *, u8 flags)
 
SQLITE_PRIVATE int sqlite3BtreeDropTable (Btree *, int, int *)
 
SQLITE_PRIVATE void sqlite3BtreeEnter (Btree *)
 
SQLITE_PRIVATE void sqlite3BtreeEnterAll (sqlite3 *)
 
SQLITE_PRIVATE void sqlite3BtreeEnterCursor (BtCursor *)
 
SQLITE_PRIVATE int sqlite3BtreeEof (BtCursor *)
 
SQLITE_PRIVATE int sqlite3BtreeFirst (BtCursor *, int *pRes)
 
SQLITE_PRIVATE int sqlite3BtreeGetAutoVacuum (Btree *)
 
SQLITE_PRIVATE const char * sqlite3BtreeGetFilename (Btree *)
 
SQLITE_PRIVATE const char * sqlite3BtreeGetJournalname (Btree *)
 
SQLITE_PRIVATE void sqlite3BtreeGetMeta (Btree *pBtree, int idx, u32 *pValue)
 
SQLITE_PRIVATE int sqlite3BtreeGetOptimalReserve (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeGetPageSize (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeGetReserveNoMutex (Btree *p)
 
SQLITE_PRIVATE void sqlite3BtreeIncrblobCursor (BtCursor *)
 
SQLITE_PRIVATE int sqlite3BtreeIncrVacuum (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeInsert (BtCursor *, const void *pKey, i64 nKey, const void *pData, int nData, int nZero, int bias, int seekResult)
 
SQLITE_PRIVATE char * sqlite3BtreeIntegrityCheck (Btree *, int *aRoot, int nRoot, int, int *)
 
SQLITE_PRIVATE int sqlite3BtreeIsInBackup (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeIsInReadTrans (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeIsInTrans (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeIsReadonly (Btree *pBt)
 
SQLITE_PRIVATE int sqlite3BtreeKey (BtCursor *, u32 offset, u32 amt, void *)
 
SQLITE_PRIVATE const voidsqlite3BtreeKeyFetch (BtCursor *, u32 *pAmt)
 
SQLITE_PRIVATE int sqlite3BtreeKeySize (BtCursor *, i64 *pSize)
 
SQLITE_PRIVATE int sqlite3BtreeLast (BtCursor *, int *pRes)
 
SQLITE_PRIVATE u32 sqlite3BtreeLastPage (Btree *)
 
SQLITE_PRIVATE void sqlite3BtreeLeave (Btree *)
 
SQLITE_PRIVATE void sqlite3BtreeLeaveAll (sqlite3 *)
 
SQLITE_PRIVATE void sqlite3BtreeLeaveCursor (BtCursor *)
 
SQLITE_PRIVATE int sqlite3BtreeLockTable (Btree *pBtree, int iTab, u8 isWriteLock)
 
SQLITE_PRIVATE int sqlite3BtreeMaxPageCount (Btree *, int)
 
SQLITE_PRIVATE int sqlite3BtreeMovetoUnpacked (BtCursor *, UnpackedRecord *pUnKey, i64 intKey, int bias, int *pRes)
 
SQLITE_PRIVATE int sqlite3BtreeNewDb (Btree *p)
 
SQLITE_PRIVATE int sqlite3BtreeNext (BtCursor *, int *pRes)
 
SQLITE_PRIVATE int sqlite3BtreeOpen (sqlite3_vfs *pVfs, const char *zFilename, sqlite3 *db, Btree **ppBtree, int flags, int vfsFlags)
 
SQLITE_PRIVATE struct Pagersqlite3BtreePager (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreePrevious (BtCursor *, int *pRes)
 
SQLITE_PRIVATE int sqlite3BtreePutData (BtCursor *, u32 offset, u32 amt, void *)
 
SQLITE_PRIVATE int sqlite3BtreeRollback (Btree *, int, int)
 
SQLITE_PRIVATE int sqlite3BtreeSavepoint (Btree *, int, int)
 
SQLITE_PRIVATE voidsqlite3BtreeSchema (Btree *, int, void(*)(void *))
 
SQLITE_PRIVATE int sqlite3BtreeSchemaLocked (Btree *pBtree)
 
SQLITE_PRIVATE int sqlite3BtreeSecureDelete (Btree *, int)
 
SQLITE_PRIVATE int sqlite3BtreeSetAutoVacuum (Btree *, int)
 
SQLITE_PRIVATE int sqlite3BtreeSetCacheSize (Btree *, int)
 
SQLITE_PRIVATE int sqlite3BtreeSetPagerFlags (Btree *, unsigned)
 
SQLITE_PRIVATE int sqlite3BtreeSetPageSize (Btree *p, int nPagesize, int nReserve, int eFix)
 
SQLITE_PRIVATE int sqlite3BtreeSetSpillSize (Btree *, int)
 
SQLITE_PRIVATE int sqlite3BtreeSetVersion (Btree *pBt, int iVersion)
 
SQLITE_PRIVATE int sqlite3BtreeSharable (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeTripAllCursors (Btree *, int, int)
 
SQLITE_PRIVATE int sqlite3BtreeUpdateMeta (Btree *, int idx, u32 value)
 
SQLITE_PRIVATE int sqlite3CantopenError (int)
 
SQLITE_PRIVATE void sqlite3ChangeCookie (Parse *, int)
 
SQLITE_PRIVATE int sqlite3CheckCollSeq (Parse *, CollSeq *)
 
SQLITE_PRIVATE int sqlite3CheckObjectName (Parse *, const char *)
 
SQLITE_PRIVATE int sqlite3Checkpoint (sqlite3 *, int, int, int *, int *)
 
static void sqlite3ClearStatTables (Parse *pParse, int iDb, const char *zType, const char *zName)
 
SQLITE_PRIVATE void sqlite3ClearTempRegCache (Parse *)
 
static int sqlite3Close (sqlite3 *db, int forceZombie)
 
SQLITE_PRIVATE void sqlite3CloseExtensions (sqlite3 *)
 
SQLITE_PRIVATE void sqlite3CloseSavepoints (sqlite3 *)
 
SQLITE_PRIVATE void sqlite3CodeDropTable (Parse *, Table *, int, int)
 
SQLITE_PRIVATE int sqlite3CodeOnce (Parse *)
 
SQLITE_PRIVATE void sqlite3CodeRowTrigger (Parse *, Trigger *, int, ExprList *, int, Table *, int, int, int)
 
SQLITE_PRIVATE void sqlite3CodeRowTriggerDirect (Parse *, Trigger *, Table *, int, int, int)
 
SQLITE_PRIVATE int sqlite3CodeSubselect (Parse *, Expr *, int, int)
 
SQLITE_PRIVATE void sqlite3CodeVerifyNamedSchema (Parse *, const char *zDb)
 
SQLITE_PRIVATE void sqlite3CodeVerifySchema (Parse *, int)
 
SQLITE_PRIVATE void sqlite3CollapseDatabaseArray (sqlite3 *)
 
SQLITE_PRIVATE void sqlite3ColumnDefault (Vdbe *, Table *, int, int)
 
SQLITE_PRIVATE i16 sqlite3ColumnOfIndex (Index *, i16)
 
SQLITE_PRIVATE int sqlite3ColumnsFromExprList (Parse *, ExprList *, i16 *, Column **)
 
SQLITE_PRIVATE char * sqlite3ColumnType (Column *, char *)
 
SQLITE_PRIVATE void sqlite3CommitInternalChanges (sqlite3 *)
 
SQLITE_PRIVATE void sqlite3CommitTransaction (Parse *)
 
SQLITE_PRIVATE char sqlite3CompareAffinity (Expr *pExpr, char aff2)
 
SQLITE_PRIVATE void sqlite3CompleteInsertion (Parse *, Table *, int, int, int, int *, int, int, int)
 
SQLITE_PRIVATE int sqlite3CorruptError (int)
 
SQLITE_PRIVATE Exprsqlite3CreateColumnExpr (sqlite3 *, SrcList *, int, int)
 
SQLITE_PRIVATE void sqlite3CreateForeignKey (Parse *, ExprList *, Token *, ExprList *, int)
 
SQLITE_PRIVATE int sqlite3CreateFunc (sqlite3 *, const char *, int, int, void *, void(*)(sqlite3_context *, int, sqlite3_value **), void(*)(sqlite3_context *, int, sqlite3_value **), void(*)(sqlite3_context *), FuncDestructor *pDestructor)
 
SQLITE_PRIVATE Indexsqlite3CreateIndex (Parse *, Token *, Token *, SrcList *, ExprList *, int, Token *, Expr *, int, int)
 
SQLITE_PRIVATE void sqlite3CreateView (Parse *, Token *, Token *, Token *, ExprList *, Select *, int, int)
 
SQLITE_PRIVATE void sqlite3DbFree (sqlite3 *, void *)
 
SQLITE_PRIVATE voidsqlite3DbMallocRaw (sqlite3 *, u64)
 
SQLITE_PRIVATE voidsqlite3DbMallocRawNN (sqlite3 *, u64)
 
SQLITE_PRIVATE int sqlite3DbMallocSize (sqlite3 *, void *)
 
SQLITE_PRIVATE voidsqlite3DbMallocZero (sqlite3 *, u64)
 
SQLITE_PRIVATE Btreesqlite3DbNameToBtree (sqlite3 *, const char *)
 
SQLITE_PRIVATE voidsqlite3DbRealloc (sqlite3 *, void *, u64)
 
SQLITE_PRIVATE voidsqlite3DbReallocOrFree (sqlite3 *, void *, u64)
 
SQLITE_PRIVATE char * sqlite3DbStrDup (sqlite3 *, const char *)
 
SQLITE_PRIVATE char * sqlite3DbStrNDup (sqlite3 *, const char *, u64)
 
SQLITE_PRIVATE int sqlite3DecOrHexToI64 (const char *, i64 *)
 
SQLITE_PRIVATE sqlite3_mutex_methods const * sqlite3DefaultMutex (void)
 
SQLITE_PRIVATE void sqlite3DefaultRowEst (Index *)
 
SQLITE_PRIVATE void sqlite3DeferForeignKey (Parse *, int)
 
SQLITE_PRIVATE void sqlite3DeleteColumnNames (sqlite3 *, Table *)
 
SQLITE_PRIVATE void sqlite3DeleteFrom (Parse *, SrcList *, Expr *)
 
SQLITE_PRIVATE void sqlite3DeleteIndexSamples (sqlite3 *, Index *)
 
SQLITE_PRIVATE void sqlite3DeleteTable (sqlite3 *, Table *)
 
SQLITE_PRIVATE void sqlite3DeleteTrigger (sqlite3 *, Trigger *)
 
SQLITE_PRIVATE void sqlite3DeleteTriggerStep (sqlite3 *, TriggerStep *)
 
SQLITE_PRIVATE void sqlite3Dequote (char *)
 
SQLITE_PRIVATE void sqlite3Detach (Parse *, Expr *)
 
SQLITE_PRIVATE void sqlite3DropIndex (Parse *, SrcList *, int)
 
SQLITE_PRIVATE void sqlite3DropTable (Parse *, SrcList *, int, int)
 
SQLITE_PRIVATE void sqlite3DropTrigger (Parse *, SrcList *, int)
 
SQLITE_PRIVATE void sqlite3DropTriggerPtr (Parse *, Trigger *)
 
SQLITE_PRIVATE void sqlite3EndBenignMalloc (void)
 
SQLITE_PRIVATE void sqlite3EndTable (Parse *, Token *, Token *, u8, Select *)
 
SQLITE_PRIVATE void sqlite3Error (sqlite3 *, int)
 
static SQLITE_NOINLINE void sqlite3ErrorFinish (sqlite3 *db, int err_code)
 
SQLITE_PRIVATE void sqlite3ErrorMsg (Parse *, const char *,...)
 
SQLITE_PRIVATE void sqlite3ErrorWithMsg (sqlite3 *, int, const char *,...)
 
SQLITE_PRIVATE const char * sqlite3ErrStr (int)
 
SQLITE_PRIVATE void sqlite3ExpirePreparedStatements (sqlite3 *)
 
SQLITE_PRIVATE Exprsqlite3Expr (sqlite3 *, int, const char *)
 
SQLITE_PRIVATE Exprsqlite3ExprAddCollateString (Parse *, Expr *, const char *)
 
SQLITE_PRIVATE Exprsqlite3ExprAddCollateToken (Parse *pParse, Expr *, const Token *, int)
 
SQLITE_PRIVATE char sqlite3ExprAffinity (Expr *pExpr)
 
SQLITE_PRIVATE Exprsqlite3ExprAlloc (sqlite3 *, int, const Token *, int)
 
SQLITE_PRIVATE void sqlite3ExprAnalyzeAggList (NameContext *, ExprList *)
 
SQLITE_PRIVATE void sqlite3ExprAnalyzeAggregates (NameContext *, Expr *)
 
SQLITE_PRIVATE Exprsqlite3ExprAnd (sqlite3 *, Expr *, Expr *)
 
SQLITE_PRIVATE void sqlite3ExprAssignVarNumber (Parse *, Expr *)
 
SQLITE_PRIVATE void sqlite3ExprAttachSubtrees (sqlite3 *, Expr *, Expr *, Expr *)
 
SQLITE_PRIVATE void sqlite3ExprCacheAffinityChange (Parse *, int, int)
 
SQLITE_PRIVATE void sqlite3ExprCacheClear (Parse *)
 
static void sqlite3ExprCachePinRegister (Parse *pParse, int iReg)
 
SQLITE_PRIVATE void sqlite3ExprCachePop (Parse *)
 
SQLITE_PRIVATE void sqlite3ExprCachePush (Parse *)
 
SQLITE_PRIVATE void sqlite3ExprCacheRemove (Parse *, int, int)
 
SQLITE_PRIVATE void sqlite3ExprCacheStore (Parse *, int, int, int)
 
SQLITE_PRIVATE int sqlite3ExprCanBeNull (const Expr *)
 
SQLITE_PRIVATE int sqlite3ExprCheckHeight (Parse *, int)
 
SQLITE_PRIVATE void sqlite3ExprCode (Parse *, Expr *, int)
 
SQLITE_PRIVATE void sqlite3ExprCodeAndCache (Parse *, Expr *, int)
 
SQLITE_PRIVATE void sqlite3ExprCodeAtInit (Parse *, Expr *, int, u8)
 
SQLITE_PRIVATE void sqlite3ExprCodeCopy (Parse *, Expr *, int)
 
SQLITE_PRIVATE int sqlite3ExprCodeExprList (Parse *, ExprList *, int, int, u8)
 
SQLITE_PRIVATE void sqlite3ExprCodeFactorable (Parse *, Expr *, int)
 
SQLITE_PRIVATE int sqlite3ExprCodeGetColumn (Parse *, Table *, int, int, int, u8)
 
SQLITE_PRIVATE void sqlite3ExprCodeGetColumnOfTable (Vdbe *, Table *, int, int, int)
 
SQLITE_PRIVATE void sqlite3ExprCodeGetColumnToReg (Parse *, Table *, int, int, int)
 
static void sqlite3ExprCodeIN (Parse *pParse, Expr *pExpr, int destIfFalse, int destIfNull)
 
SQLITE_PRIVATE void sqlite3ExprCodeLoadIndexColumn (Parse *, Index *, int, int, int)
 
SQLITE_PRIVATE void sqlite3ExprCodeMove (Parse *, int, int, int)
 
SQLITE_PRIVATE int sqlite3ExprCodeTarget (Parse *, Expr *, int)
 
SQLITE_PRIVATE int sqlite3ExprCodeTemp (Parse *, Expr *, int *)
 
SQLITE_PRIVATE CollSeqsqlite3ExprCollSeq (Parse *pParse, Expr *pExpr)
 
SQLITE_PRIVATE int sqlite3ExprCompare (Expr *, Expr *, int)
 
SQLITE_PRIVATE void sqlite3ExprDelete (sqlite3 *, Expr *)
 
static SQLITE_NOINLINE void sqlite3ExprDeleteNN (sqlite3 *db, Expr *p)
 
SQLITE_PRIVATE Exprsqlite3ExprDup (sqlite3 *, Expr *, int)
 
SQLITE_PRIVATE Exprsqlite3ExprFunction (Parse *, ExprList *, Token *)
 
SQLITE_PRIVATE void sqlite3ExprIfFalse (Parse *, Expr *, int, int)
 
SQLITE_PRIVATE void sqlite3ExprIfFalseDup (Parse *, Expr *, int, int)
 
SQLITE_PRIVATE void sqlite3ExprIfTrue (Parse *, Expr *, int, int)
 
SQLITE_PRIVATE int sqlite3ExprImpliesExpr (Expr *, Expr *, int)
 
SQLITE_PRIVATE int sqlite3ExprIsConstant (Expr *)
 
SQLITE_PRIVATE int sqlite3ExprIsConstantNotJoin (Expr *)
 
SQLITE_PRIVATE int sqlite3ExprIsConstantOrFunction (Expr *, u8)
 
SQLITE_PRIVATE int sqlite3ExprIsInteger (Expr *, int *)
 
SQLITE_PRIVATE int sqlite3ExprIsTableConstant (Expr *, int)
 
SQLITE_PRIVATE ExprListsqlite3ExprListAppend (Parse *, ExprList *, Expr *)
 
SQLITE_PRIVATE void sqlite3ExprListCheckLength (Parse *, ExprList *, const char *)
 
SQLITE_PRIVATE int sqlite3ExprListCompare (ExprList *, ExprList *, int)
 
SQLITE_PRIVATE void sqlite3ExprListDelete (sqlite3 *, ExprList *)
 
SQLITE_PRIVATE ExprListsqlite3ExprListDup (sqlite3 *, ExprList *, int)
 
SQLITE_PRIVATE u32 sqlite3ExprListFlags (const ExprList *)
 
SQLITE_PRIVATE void sqlite3ExprListSetName (Parse *, ExprList *, Token *, int)
 
SQLITE_PRIVATE void sqlite3ExprListSetSortOrder (ExprList *, int)
 
SQLITE_PRIVATE void sqlite3ExprListSetSpan (Parse *, ExprList *, ExprSpan *)
 
SQLITE_PRIVATE int sqlite3ExprNeedsNoAffinityChange (const Expr *, char)
 
SQLITE_PRIVATE void sqlite3ExprSetHeightAndFlags (Parse *pParse, Expr *p)
 
SQLITE_PRIVATE Exprsqlite3ExprSkipCollate (Expr *)
 
SQLITE_PRIVATE int sqlite3ExprWalkNoop (Walker *, Expr *)
 
SQLITE_PRIVATE int sqlite3FaultSim (int)
 
SQLITE_PRIVATE CollSeqsqlite3FindCollSeq (sqlite3 *, u8 enc, const char *, int)
 
SQLITE_PRIVATE int sqlite3FindDb (sqlite3 *, Token *)
 
SQLITE_PRIVATE int sqlite3FindDbName (sqlite3 *, const char *)
 
SQLITE_PRIVATE FuncDefsqlite3FindFunction (sqlite3 *, const char *, int, u8, u8)
 
SQLITE_PRIVATE Indexsqlite3FindIndex (sqlite3 *, const char *, const char *)
 
SQLITE_PRIVATE int sqlite3FindInIndex (Parse *, Expr *, u32, int *)
 
SQLITE_PRIVATE Tablesqlite3FindTable (sqlite3 *, const char *, const char *)
 
SQLITE_PRIVATE void sqlite3FinishCoding (Parse *)
 
SQLITE_PRIVATE void sqlite3FinishTrigger (Parse *, TriggerStep *, Token *)
 
SQLITE_PRIVATE int sqlite3FixExpr (DbFixer *, Expr *)
 
SQLITE_PRIVATE int sqlite3FixExprList (DbFixer *, ExprList *)
 
SQLITE_PRIVATE void sqlite3FixInit (DbFixer *, Parse *, int, const char *, const Token *)
 
SQLITE_PRIVATE int sqlite3FixSelect (DbFixer *, Select *)
 
SQLITE_PRIVATE int sqlite3FixSrcList (DbFixer *, SrcList *)
 
SQLITE_PRIVATE int sqlite3FixTriggerStep (DbFixer *, TriggerStep *)
 
SQLITE_PRIVATE void sqlite3FkActions (Parse *, Table *, ExprList *, int, int *, int)
 
SQLITE_PRIVATE void sqlite3FkCheck (Parse *, Table *, int, int, int *, int)
 
SQLITE_PRIVATE void sqlite3FkDelete (sqlite3 *, Table *)
 
SQLITE_PRIVATE void sqlite3FkDropTable (Parse *, SrcList *, Table *)
 
SQLITE_PRIVATE int sqlite3FkLocateIndex (Parse *, Table *, FKey *, Index **, int **)
 
SQLITE_PRIVATE u32 sqlite3FkOldmask (Parse *, Table *)
 
SQLITE_PRIVATE FKeysqlite3FkReferences (Table *)
 
SQLITE_PRIVATE int sqlite3FkRequired (Parse *, Table *, int *, int)
 
SQLITE_PRIVATE int sqlite3FunctionUsesThisSrc (Expr *, SrcList *)
 
SQLITE_PRIVATE void sqlite3GenerateConstraintChecks (Parse *, Table *, int *, int, int, int, int, u8, u8, int, int *, int *)
 
SQLITE_PRIVATE int sqlite3GenerateIndexKey (Parse *, Index *, int, int, int, int *, Index *, int)
 
SQLITE_PRIVATE void sqlite3GenerateRowDelete (Parse *, Table *, Trigger *, int, int, int, i16, u8, u8, u8, int)
 
SQLITE_PRIVATE void sqlite3GenerateRowIndexDelete (Parse *, Table *, int, int, int *, int)
 
SQLITE_PRIVATE u32 sqlite3Get4byte (const u8 *)
 
SQLITE_PRIVATE u8 sqlite3GetBoolean (const char *z, u8)
 
SQLITE_PRIVATE CollSeqsqlite3GetCollSeq (Parse *, u8, CollSeq *, const char *)
 
static CollSeqsqlite3GetFuncCollSeq (sqlite3_context *context)
 
SQLITE_PRIVATE int sqlite3GetInt32 (const char *, int *)
 
SQLITE_PRIVATE int sqlite3GetTempRange (Parse *, int)
 
SQLITE_PRIVATE int sqlite3GetTempReg (Parse *)
 
SQLITE_PRIVATE int sqlite3GetToken (const unsigned char *, int *)
 
SQLITE_PRIVATE u8 sqlite3GetVarint (const unsigned char *, u64 *)
 
SQLITE_PRIVATE u8 sqlite3GetVarint32 (const unsigned char *, u32 *)
 
SQLITE_PRIVATE Vdbesqlite3GetVdbe (Parse *)
 
SQLITE_PRIVATE VTablesqlite3GetVTable (sqlite3 *, Table *)
 
SQLITE_PRIVATE void sqlite3HaltConstraint (Parse *, int, int, char *, i8, u8)
 
SQLITE_PRIVATE void sqlite3HashClear (Hash *)
 
SQLITE_PRIVATE voidsqlite3HashFind (const Hash *, const char *pKey)
 
SQLITE_PRIVATE void sqlite3HashInit (Hash *)
 
SQLITE_PRIVATE voidsqlite3HashInsert (Hash *, const char *pKey, void *pData)
 
SQLITE_PRIVATE int sqlite3HeaderSizeBtree (void)
 
SQLITE_PRIVATE int sqlite3HeaderSizePcache (void)
 
SQLITE_PRIVATE int sqlite3HeaderSizePcache1 (void)
 
SQLITE_PRIVATE int sqlite3HeapNearlyFull (void)
 
SQLITE_PRIVATE voidsqlite3HexToBlob (sqlite3 *, const char *z, int n)
 
SQLITE_PRIVATE u8 sqlite3HexToInt (int h)
 
SQLITE_PRIVATE IdListsqlite3IdListAppend (sqlite3 *, IdList *, Token *)
 
SQLITE_PRIVATE void sqlite3IdListDelete (sqlite3 *, IdList *)
 
SQLITE_PRIVATE IdListsqlite3IdListDup (sqlite3 *, IdList *)
 
SQLITE_PRIVATE int sqlite3IdListIndex (IdList *, const char *)
 
SQLITE_PRIVATE int sqlite3IndexAffinityOk (Expr *pExpr, char idx_affinity)
 
SQLITE_PRIVATE const char * sqlite3IndexAffinityStr (sqlite3 *, Index *)
 
SQLITE_PRIVATE int sqlite3IndexedByLookup (Parse *, struct SrcList_item *)
 
SQLITE_PRIVATE int sqlite3Init (sqlite3 *, char **)
 
SQLITE_PRIVATE int sqlite3InitCallback (void *, int, char **, char **)
 
static int sqlite3InitOne (sqlite3 *db, int iDb, char **pzErrMsg)
 
static int sqlite3InRhsIsConstant (Expr *pIn)
 
SQLITE_PRIVATE void sqlite3Insert (Parse *, SrcList *, Select *, IdList *, int)
 
SQLITE_PRIVATE void sqlite3InsertBuiltinFuncs (FuncDef *, int)
 
static int sqlite3IntFloatCompare (i64 i, double r)
 
SQLITE_PRIVATE void sqlite3InvalidFunction (sqlite3_context *, int, sqlite3_value **)
 
SQLITE_PRIVATE int sqlite3InvokeBusyHandler (BusyHandler *)
 
SQLITE_PRIVATE int sqlite3IsIdChar (u8)
 
SQLITE_PRIVATE int sqlite3IsLikeFunction (sqlite3 *, Expr *, int *, char *)
 
SQLITE_PRIVATE int sqlite3IsNaN (double)
 
SQLITE_PRIVATE int sqlite3IsReadOnly (Parse *, Table *, int)
 
SQLITE_PRIVATE int sqlite3IsRowid (const char *)
 
SQLITE_PRIVATE int sqlite3JoinType (Parse *, Token *, Token *, Token *)
 
SQLITE_PRIVATE int sqlite3JournalIsInMemory (sqlite3_file *p)
 
SQLITE_PRIVATE const char * sqlite3JournalModename (int)
 
SQLITE_PRIVATE int sqlite3JournalOpen (sqlite3_vfs *, const char *, sqlite3_file *, int, int)
 
SQLITE_PRIVATE int sqlite3JournalSize (sqlite3_vfs *)
 
SQLITE_PRIVATE KeyInfosqlite3KeyInfoAlloc (sqlite3 *, int, int)
 
SQLITE_PRIVATE KeyInfosqlite3KeyInfoOfIndex (Parse *, Index *)
 
SQLITE_PRIVATE KeyInfosqlite3KeyInfoRef (KeyInfo *)
 
SQLITE_PRIVATE void sqlite3KeyInfoUnref (KeyInfo *)
 
SQLITE_PRIVATE int sqlite3KeywordCode (const unsigned char *, int)
 
SQLITE_PRIVATE void sqlite3LeaveMutexAndCloseZombie (sqlite3 *)
 
static int sqlite3LoadExtension (sqlite3 *db, const char *zFile, const char *zProc, char **pzErrMsg)
 
SQLITE_PRIVATE CollSeqsqlite3LocateCollSeq (Parse *pParse, const char *zName)
 
SQLITE_PRIVATE Tablesqlite3LocateTable (Parse *, int isView, const char *, const char *)
 
SQLITE_PRIVATE Tablesqlite3LocateTableItem (Parse *, int isView, struct SrcList_item *)
 
static int sqlite3LockAndPrepare (sqlite3 *db, const char *zSql, int nBytes, int saveSqlFlag, Vdbe *pOld, sqlite3_stmt **ppStmt, const char **pzTail)
 
SQLITE_PRIVATE LogEst sqlite3LogEst (u64)
 
SQLITE_PRIVATE LogEst sqlite3LogEstAdd (LogEst, LogEst)
 
SQLITE_PRIVATE LogEst sqlite3LogEstFromDouble (double)
 
SQLITE_PRIVATE voidsqlite3Malloc (u64)
 
static void sqlite3MallocAlarm (int nByte)
 
SQLITE_PRIVATE void sqlite3MallocEnd (void)
 
SQLITE_PRIVATE int sqlite3MallocInit (void)
 
SQLITE_PRIVATE sqlite3_mutexsqlite3MallocMutex (void)
 
SQLITE_PRIVATE int sqlite3MallocSize (void *)
 
SQLITE_PRIVATE voidsqlite3MallocZero (u64)
 
SQLITE_PRIVATE int sqlite3MatchSpanName (const char *, const char *, const char *, const char *)
 
SQLITE_PRIVATE void sqlite3MaterializeView (Parse *, Table *, Expr *, int)
 
SQLITE_PRIVATE void sqlite3MayAbort (Parse *)
 
SQLITE_PRIVATE int sqlite3MemCompare (const Mem *, const Mem *, const CollSeq *)
 
static void sqlite3MemFree (void *pPrior)
 
static int sqlite3MemInit (void *NotUsed)
 
SQLITE_PRIVATE void sqlite3MemJournalOpen (sqlite3_file *)
 
static voidsqlite3MemMalloc (int nByte)
 
SQLITE_PRIVATE void sqlite3MemoryBarrier (void)
 
static voidsqlite3MemRealloc (void *pPrior, int nByte)
 
static int sqlite3MemRoundup (int n)
 
SQLITE_PRIVATE void sqlite3MemSetDefault (void)
 
static void sqlite3MemShutdown (void *NotUsed)
 
static int sqlite3MemSize (void *pPrior)
 
SQLITE_PRIVATE int sqlite3MisuseError (int)
 
SQLITE_PRIVATE char * sqlite3MPrintf (sqlite3 *, const char *,...)
 
SQLITE_PRIVATE int sqlite3MulInt64 (i64 *, i64)
 
SQLITE_PRIVATE void sqlite3MultiWrite (Parse *)
 
SQLITE_PRIVATE sqlite3_mutexsqlite3MutexAlloc (int)
 
SQLITE_PRIVATE int sqlite3MutexEnd (void)
 
SQLITE_PRIVATE int sqlite3MutexInit (void)
 
SQLITE_PRIVATE char * sqlite3NameFromToken (sqlite3 *, Token *)
 
SQLITE_PRIVATE void sqlite3NestedParse (Parse *, const char *,...)
 
SQLITE_PRIVATE sqlite3_mutex_methods const * sqlite3NoopMutex (void)
 
SQLITE_PRIVATE void sqlite3OomClear (sqlite3 *)
 
SQLITE_PRIVATE void sqlite3OomFault (sqlite3 *)
 
SQLITE_PRIVATE const char * sqlite3OpcodeName (int)
 
SQLITE_PRIVATE void sqlite3OpenMasterTable (Parse *, int)
 
SQLITE_PRIVATE void sqlite3OpenTable (Parse *, int iCur, int iDb, Table *, int)
 
SQLITE_PRIVATE int sqlite3OpenTableAndIndices (Parse *, Table *, int, u8, int, u8 *, int *, int *)
 
SQLITE_PRIVATE int sqlite3OpenTempDatabase (Parse *)
 
SQLITE_PRIVATE int sqlite3OsAccess (sqlite3_vfs *, const char *, int, int *pResOut)
 
SQLITE_PRIVATE int sqlite3OsCheckReservedLock (sqlite3_file *id, int *pResOut)
 
SQLITE_PRIVATE void sqlite3OsClose (sqlite3_file *)
 
SQLITE_PRIVATE void sqlite3OsCloseFree (sqlite3_file *)
 
SQLITE_PRIVATE int sqlite3OsCurrentTimeInt64 (sqlite3_vfs *, sqlite3_int64 *)
 
SQLITE_PRIVATE int sqlite3OsDelete (sqlite3_vfs *, const char *, int)
 
SQLITE_PRIVATE int sqlite3OsDeviceCharacteristics (sqlite3_file *id)
 
SQLITE_PRIVATE void sqlite3OsDlClose (sqlite3_vfs *, void *)
 
SQLITE_PRIVATE void sqlite3OsDlError (sqlite3_vfs *, int, char *)
 
SQLITE_PRIVATE voidsqlite3OsDlOpen (sqlite3_vfs *, const char *)
 
SQLITE_PRIVATE int sqlite3OsFetch (sqlite3_file *id, i64, int, void **)
 
SQLITE_PRIVATE int sqlite3OsFileControl (sqlite3_file *, int, void *)
 
SQLITE_PRIVATE void sqlite3OsFileControlHint (sqlite3_file *, int, void *)
 
SQLITE_PRIVATE int sqlite3OsFileSize (sqlite3_file *, i64 *pSize)
 
SQLITE_PRIVATE int sqlite3OsFullPathname (sqlite3_vfs *, const char *, int, char *)
 
SQLITE_PRIVATE int sqlite3OsGetLastError (sqlite3_vfs *)
 
SQLITE_PRIVATE int sqlite3OsInit (void)
 
SQLITE_PRIVATE int sqlite3OsLock (sqlite3_file *, int)
 
SQLITE_PRIVATE int sqlite3OsOpen (sqlite3_vfs *, const char *, sqlite3_file *, int, int *)
 
SQLITE_PRIVATE int sqlite3OsOpenMalloc (sqlite3_vfs *, const char *, sqlite3_file **, int, int *)
 
SQLITE_PRIVATE int sqlite3OsRandomness (sqlite3_vfs *, int, char *)
 
SQLITE_PRIVATE int sqlite3OsRead (sqlite3_file *, void *, int amt, i64 offset)
 
SQLITE_PRIVATE int sqlite3OsSectorSize (sqlite3_file *id)
 
SQLITE_PRIVATE void sqlite3OsShmBarrier (sqlite3_file *id)
 
SQLITE_PRIVATE int sqlite3OsShmLock (sqlite3_file *id, int, int, int)
 
SQLITE_PRIVATE int sqlite3OsShmMap (sqlite3_file *, int, int, int, void volatile **)
 
SQLITE_PRIVATE int sqlite3OsShmUnmap (sqlite3_file *id, int)
 
SQLITE_PRIVATE int sqlite3OsSleep (sqlite3_vfs *, int)
 
SQLITE_PRIVATE int sqlite3OsSync (sqlite3_file *, int)
 
SQLITE_PRIVATE int sqlite3OsTruncate (sqlite3_file *, i64 size)
 
SQLITE_PRIVATE int sqlite3OsUnfetch (sqlite3_file *, i64, void *)
 
SQLITE_PRIVATE int sqlite3OsUnlock (sqlite3_file *, int)
 
SQLITE_PRIVATE int sqlite3OsWrite (sqlite3_file *, const void *, int amt, i64 offset)
 
SQLITE_PRIVATE void sqlite3PageFree (void *)
 
SQLITE_PRIVATE voidsqlite3PageMalloc (int)
 
SQLITE_PRIVATE sqlite3_backup ** sqlite3PagerBackupPtr (Pager *)
 
SQLITE_PRIVATE int sqlite3PagerBegin (Pager *, int exFlag, int)
 
SQLITE_PRIVATE void sqlite3PagerCacheStat (Pager *, int, int, int *)
 
SQLITE_PRIVATE int sqlite3PagerCheckpoint (Pager *pPager, int, int *, int *)
 
SQLITE_PRIVATE void sqlite3PagerClearCache (Pager *)
 
SQLITE_PRIVATE int sqlite3PagerClose (Pager *pPager)
 
SQLITE_PRIVATE int sqlite3PagerCloseWal (Pager *pPager)
 
SQLITE_PRIVATE int sqlite3PagerCommitPhaseOne (Pager *, const char *zMaster, int)
 
SQLITE_PRIVATE int sqlite3PagerCommitPhaseTwo (Pager *)
 
SQLITE_PRIVATE u32 sqlite3PagerDataVersion (Pager *)
 
SQLITE_PRIVATE void sqlite3PagerDontWrite (DbPage *)
 
SQLITE_PRIVATE int sqlite3PagerExclusiveLock (Pager *)
 
SQLITE_PRIVATE sqlite3_filesqlite3PagerFile (Pager *)
 
SQLITE_PRIVATE const char * sqlite3PagerFilename (Pager *, int)
 
SQLITE_PRIVATE int sqlite3PagerFlush (Pager *)
 
SQLITE_PRIVATE int sqlite3PagerGet (Pager *pPager, Pgno pgno, DbPage **ppPage, int clrFlag)
 
SQLITE_PRIVATE voidsqlite3PagerGetData (DbPage *)
 
SQLITE_PRIVATE voidsqlite3PagerGetExtra (DbPage *)
 
SQLITE_PRIVATE int sqlite3PagerGetJournalMode (Pager *)
 
SQLITE_PRIVATE int sqlite3PagerIsMemdb (Pager *)
 
SQLITE_PRIVATE u8 sqlite3PagerIsreadonly (Pager *)
 
SQLITE_PRIVATE const char * sqlite3PagerJournalname (Pager *)
 
SQLITE_PRIVATE i64 sqlite3PagerJournalSizeLimit (Pager *, i64)
 
SQLITE_PRIVATE sqlite3_filesqlite3PagerJrnlFile (Pager *)
 
SQLITE_PRIVATE int sqlite3PagerLockingMode (Pager *, int)
 
SQLITE_PRIVATE DbPagesqlite3PagerLookup (Pager *pPager, Pgno pgno)
 
SQLITE_PRIVATE int sqlite3PagerMaxPageCount (Pager *, int)
 
SQLITE_PRIVATE int sqlite3PagerMemUsed (Pager *)
 
SQLITE_PRIVATE int sqlite3PagerMovepage (Pager *, DbPage *, Pgno, int)
 
SQLITE_PRIVATE int sqlite3PagerOkToChangeJournalMode (Pager *)
 
SQLITE_PRIVATE int sqlite3PagerOpen (sqlite3_vfs *, Pager **ppPager, const char *, int, int, int, void(*)(DbPage *))
 
SQLITE_PRIVATE int sqlite3PagerOpenSavepoint (Pager *pPager, int n)
 
SQLITE_PRIVATE int sqlite3PagerOpenWal (Pager *pPager, int *pisOpen)
 
SQLITE_PRIVATE void sqlite3PagerPagecount (Pager *, int *)
 
SQLITE_PRIVATE int sqlite3PagerPageRefcount (DbPage *)
 
SQLITE_PRIVATE int sqlite3PagerReadFileheader (Pager *, int, unsigned char *)
 
SQLITE_PRIVATE void sqlite3PagerRef (DbPage *)
 
SQLITE_PRIVATE void sqlite3PagerRekey (DbPage *, Pgno, u16)
 
SQLITE_PRIVATE int sqlite3PagerRollback (Pager *)
 
SQLITE_PRIVATE int sqlite3PagerSavepoint (Pager *pPager, int op, int iSavepoint)
 
SQLITE_PRIVATE void sqlite3PagerSetBusyhandler (Pager *, int(*)(void *), void *)
 
SQLITE_PRIVATE void sqlite3PagerSetCachesize (Pager *, int)
 
SQLITE_PRIVATE void sqlite3PagerSetFlags (Pager *, unsigned)
 
SQLITE_PRIVATE int sqlite3PagerSetJournalMode (Pager *, int)
 
SQLITE_PRIVATE void sqlite3PagerSetMmapLimit (Pager *, sqlite3_int64)
 
SQLITE_PRIVATE int sqlite3PagerSetPagesize (Pager *, u32 *, int)
 
SQLITE_PRIVATE int sqlite3PagerSetSpillsize (Pager *, int)
 
SQLITE_PRIVATE int sqlite3PagerSharedLock (Pager *pPager)
 
SQLITE_PRIVATE void sqlite3PagerShrink (Pager *)
 
SQLITE_PRIVATE int sqlite3PagerSync (Pager *pPager, const char *zMaster)
 
SQLITE_PRIVATE voidsqlite3PagerTempSpace (Pager *)
 
SQLITE_PRIVATE void sqlite3PagerTruncateImage (Pager *, Pgno)
 
SQLITE_PRIVATE void sqlite3PagerUnref (DbPage *)
 
SQLITE_PRIVATE void sqlite3PagerUnrefNotNull (DbPage *)
 
SQLITE_PRIVATE sqlite3_vfssqlite3PagerVfs (Pager *)
 
SQLITE_PRIVATE int sqlite3PagerWalCallback (Pager *pPager)
 
SQLITE_PRIVATE int sqlite3PagerWalSupported (Pager *pPager)
 
SQLITE_PRIVATE int sqlite3PagerWrite (DbPage *)
 
SQLITE_PRIVATE void sqlite3Parser (void *, int, Token, Parse *)
 
SQLITE_PRIVATE void sqlite3Parser (void *yyp, int yymajor, sqlite3ParserTOKENTYPE yyminorsqlite3ParserARG_PDECL)
 
SQLITE_PRIVATE voidsqlite3ParserAlloc (void *(*)(u64))
 
SQLITE_PRIVATE voidsqlite3ParserAlloc (void *(*mallocProc)(YYMALLOCARGTYPE))
 
SQLITE_PRIVATE void sqlite3ParserFree (void *, void(*)(void *))
 
SQLITE_PRIVATE void sqlite3ParserReset (Parse *)
 
SQLITE_PRIVATE int sqlite3ParseUri (const char *, const char *, unsigned int *, sqlite3_vfs **, char **, char **)
 
SQLITE_PRIVATE sqlite3_mutexsqlite3Pcache1Mutex (void)
 
SQLITE_PRIVATE void sqlite3PCacheBufferSetup (void *, int sz, int n)
 
SQLITE_PRIVATE void sqlite3PcacheCleanAll (PCache *)
 
SQLITE_PRIVATE void sqlite3PcacheClear (PCache *)
 
SQLITE_PRIVATE void sqlite3PcacheClearSyncFlags (PCache *)
 
SQLITE_PRIVATE void sqlite3PcacheClearWritable (PCache *)
 
SQLITE_PRIVATE void sqlite3PcacheClose (PCache *)
 
SQLITE_PRIVATE PgHdrsqlite3PcacheDirtyList (PCache *)
 
SQLITE_PRIVATE void sqlite3PcacheDrop (PgHdr *)
 
SQLITE_PRIVATE sqlite3_pcache_pagesqlite3PcacheFetch (PCache *, Pgno, int createFlag)
 
SQLITE_PRIVATE PgHdrsqlite3PcacheFetchFinish (PCache *, Pgno, sqlite3_pcache_page *pPage)
 
SQLITE_PRIVATE int sqlite3PcacheFetchStress (PCache *, Pgno, sqlite3_pcache_page **)
 
SQLITE_PRIVATE int sqlite3PcacheInitialize (void)
 
SQLITE_PRIVATE void sqlite3PcacheMakeClean (PgHdr *)
 
SQLITE_PRIVATE void sqlite3PcacheMakeDirty (PgHdr *)
 
SQLITE_PRIVATE void sqlite3PcacheMove (PgHdr *, Pgno)
 
SQLITE_PRIVATE int sqlite3PcacheOpen (int szPage, int szExtra, int bPurgeable, int(*xStress)(void *, PgHdr *), void *pStress, PCache *pToInit)
 
SQLITE_PRIVATE int sqlite3PcachePagecount (PCache *)
 
SQLITE_PRIVATE int sqlite3PcachePageRefcount (PgHdr *)
 
SQLITE_PRIVATE int sqlite3PCachePercentDirty (PCache *)
 
SQLITE_PRIVATE void sqlite3PcacheRef (PgHdr *)
 
SQLITE_PRIVATE int sqlite3PcacheRefCount (PCache *)
 
SQLITE_PRIVATE void sqlite3PcacheRelease (PgHdr *)
 
SQLITE_PRIVATE void sqlite3PcacheSetCachesize (PCache *, int)
 
SQLITE_PRIVATE void sqlite3PCacheSetDefault (void)
 
SQLITE_PRIVATE int sqlite3PcacheSetPageSize (PCache *, int)
 
SQLITE_PRIVATE int sqlite3PcacheSetSpillsize (PCache *, int)
 
SQLITE_PRIVATE void sqlite3PcacheShrink (PCache *)
 
SQLITE_PRIVATE void sqlite3PcacheShutdown (void)
 
SQLITE_PRIVATE int sqlite3PcacheSize (void)
 
SQLITE_PRIVATE void sqlite3PcacheTruncate (PCache *, Pgno x)
 
SQLITE_PRIVATE Exprsqlite3PExpr (Parse *, int, Expr *, Expr *, const Token *)
 
SQLITE_PRIVATE void sqlite3PExprAddSelect (Parse *, Expr *, Select *)
 
SQLITE_PRIVATE void sqlite3Pragma (Parse *, Token *, Token *, Token *, int)
 
static int sqlite3Prepare (sqlite3 *db, const char *zSql, int nBytes, int saveSqlFlag, Vdbe *pReprepare, sqlite3_stmt **ppStmt, const char **pzTail)
 
static int sqlite3Prepare16 (sqlite3 *db, const void *zSql, int nBytes, int saveSqlFlag, sqlite3_stmt **ppStmt, const void **pzTail)
 
SQLITE_PRIVATE Indexsqlite3PrimaryKeyIndex (Table *)
 
SQLITE_PRIVATE void sqlite3PrngRestoreState (void)
 
SQLITE_PRIVATE void sqlite3PrngSaveState (void)
 
SQLITE_PRIVATE void sqlite3Put4byte (u8 *, u32)
 
SQLITE_PRIVATE void sqlite3Put4byte (unsigned char *p, u32 v)
 
SQLITE_PRIVATE int sqlite3PutVarint (unsigned char *, u64)
 
SQLITE_PRIVATE int sqlite3ReadSchema (Parse *pParse)
 
SQLITE_PRIVATE voidsqlite3Realloc (void *, u64)
 
static void sqlite3RefillIndex (Parse *pParse, Index *pIndex, int memRootPage)
 
SQLITE_PRIVATE void sqlite3RegisterBuiltinFunctions (void)
 
SQLITE_PRIVATE void sqlite3RegisterDateTimeFunctions (void)
 
SQLITE_PRIVATE void sqlite3RegisterLikeFunctions (sqlite3 *, int)
 
SQLITE_PRIVATE void sqlite3RegisterPerConnectionBuiltinFunctions (sqlite3 *)
 
SQLITE_PRIVATE void sqlite3Reindex (Parse *, Token *, Token *)
 
SQLITE_PRIVATE void sqlite3ReleaseTempRange (Parse *, int, int)
 
SQLITE_PRIVATE void sqlite3ReleaseTempReg (Parse *, int)
 
SQLITE_PRIVATE int sqlite3Reprepare (Vdbe *)
 
SQLITE_PRIVATE void sqlite3ResetAllSchemasOfConnection (sqlite3 *)
 
SQLITE_PRIVATE void sqlite3ResetOneSchema (sqlite3 *, int)
 
SQLITE_PRIVATE int sqlite3ResolveExprListNames (NameContext *, ExprList *)
 
SQLITE_PRIVATE int sqlite3ResolveExprNames (NameContext *, Expr *)
 
SQLITE_PRIVATE int sqlite3ResolveOrderGroupBy (Parse *, Select *, ExprList *, const char *)
 
SQLITE_PRIVATE void sqlite3ResolvePartIdxLabel (Parse *, int)
 
SQLITE_PRIVATE void sqlite3ResolveSelectNames (Parse *, Select *, NameContext *)
 
SQLITE_PRIVATE void sqlite3ResolveSelfReference (Parse *, Table *, int, Expr *, ExprList *)
 
SQLITE_PRIVATE Tablesqlite3ResultSetOfSelect (Parse *, Select *)
 
SQLITE_PRIVATE void sqlite3RollbackAll (sqlite3 *, int)
 
SQLITE_PRIVATE void sqlite3RollbackTransaction (Parse *)
 
SQLITE_PRIVATE void sqlite3RootPageMoved (sqlite3 *, int, int, int)
 
SQLITE_PRIVATE void sqlite3RowidConstraint (Parse *, int, Table *)
 
SQLITE_PRIVATE void sqlite3RowSetClear (RowSet *)
 
SQLITE_PRIVATE RowSetsqlite3RowSetInit (sqlite3 *, void *, unsigned int)
 
SQLITE_PRIVATE void sqlite3RowSetInsert (RowSet *, i64)
 
SQLITE_PRIVATE int sqlite3RowSetNext (RowSet *, i64 *)
 
SQLITE_PRIVATE int sqlite3RowSetTest (RowSet *, int iBatch, i64)
 
SQLITE_PRIVATE int sqlite3RunParser (Parse *, const char *, char **)
 
SQLITE_PRIVATE int sqlite3RunVacuum (char **, sqlite3 *)
 
SQLITE_PRIVATE int sqlite3SafetyCheckOk (sqlite3 *)
 
SQLITE_PRIVATE int sqlite3SafetyCheckSickOrOk (sqlite3 *)
 
SQLITE_PRIVATE void sqlite3Savepoint (Parse *, int, Token *)
 
SQLITE_PRIVATE void sqlite3SchemaClear (void *)
 
SQLITE_PRIVATE Schemasqlite3SchemaGet (sqlite3 *, Btree *)
 
SQLITE_PRIVATE int sqlite3SchemaToIndex (sqlite3 *db, Schema *)
 
SQLITE_PRIVATE void sqlite3ScratchFree (void *)
 
SQLITE_PRIVATE voidsqlite3ScratchMalloc (int)
 
SQLITE_PRIVATE int sqlite3SectorSize (sqlite3_file *)
 
SQLITE_PRIVATE int sqlite3Select (Parse *, Select *, SelectDest *)
 
SQLITE_PRIVATE void sqlite3SelectAddColumnTypeAndCollation (Parse *, Table *, Select *)
 
static void sqlite3SelectAddTypeInfo (Parse *pParse, Select *pSelect)
 
SQLITE_PRIVATE void sqlite3SelectDelete (sqlite3 *, Select *)
 
SQLITE_PRIVATE void sqlite3SelectDestInit (SelectDest *, int, int)
 
SQLITE_PRIVATE Selectsqlite3SelectDup (sqlite3 *, Select *, int)
 
static void sqlite3SelectExpand (Parse *pParse, Select *pSelect)
 
SQLITE_PRIVATE int sqlite3SelectExprHeight (Select *)
 
SQLITE_PRIVATE Selectsqlite3SelectNew (Parse *, ExprList *, SrcList *, Expr *, ExprList *, Expr *, ExprList *, u32, Expr *, Expr *)
 
SQLITE_PRIVATE void sqlite3SelectPrep (Parse *, Select *, NameContext *)
 
SQLITE_PRIVATE void sqlite3SelectWrongNumTermsError (Parse *pParse, Select *p)
 
static void sqlite3SetHasNullFlag (Vdbe *v, int iCur, int regHasNull)
 
SQLITE_PRIVATE void sqlite3SetString (char **, sqlite3 *, const char *)
 
static void sqlite3SkipAccumulatorLoad (sqlite3_context *context)
 
SQLITE_PRIVATE SrcListsqlite3SrcListAppend (sqlite3 *, SrcList *, Token *, Token *)
 
SQLITE_PRIVATE SrcListsqlite3SrcListAppendFromTerm (Parse *, SrcList *, Token *, Token *, Token *, Select *, Expr *, IdList *)
 
SQLITE_PRIVATE void sqlite3SrcListAssignCursors (Parse *, SrcList *)
 
SQLITE_PRIVATE void sqlite3SrcListDelete (sqlite3 *, SrcList *)
 
SQLITE_PRIVATE SrcListsqlite3SrcListDup (sqlite3 *, SrcList *, int)
 
SQLITE_PRIVATE SrcListsqlite3SrcListEnlarge (sqlite3 *, SrcList *, int, int)
 
SQLITE_PRIVATE void sqlite3SrcListFuncArgs (Parse *, SrcList *, ExprList *)
 
SQLITE_PRIVATE void sqlite3SrcListIndexedBy (Parse *, SrcList *, Token *)
 
SQLITE_PRIVATE Tablesqlite3SrcListLookup (Parse *, SrcList *)
 
SQLITE_PRIVATE void sqlite3SrcListShiftJoinType (SrcList *)
 
SQLITE_PRIVATE void sqlite3StartTable (Parse *, Token *, Token *, int, int, int, int)
 
SQLITE_PRIVATE void sqlite3StatusDown (int, int)
 
SQLITE_PRIVATE void sqlite3StatusHighwater (int, int)
 
SQLITE_PRIVATE void sqlite3StatusUp (int, int)
 
SQLITE_PRIVATE sqlite3_int64 sqlite3StatusValue (int)
 
static int sqlite3Step (Vdbe *p)
 
SQLITE_PRIVATE sqlite3_int64 sqlite3StmtCurrentTime (sqlite3_context *)
 
SQLITE_PRIVATE void sqlite3StrAccumAppend (StrAccum *, const char *, int)
 
SQLITE_PRIVATE void sqlite3StrAccumAppendAll (StrAccum *, const char *)
 
static int sqlite3StrAccumEnlarge (StrAccum *p, int N)
 
SQLITE_PRIVATE char * sqlite3StrAccumFinish (StrAccum *)
 
SQLITE_PRIVATE void sqlite3StrAccumInit (StrAccum *, sqlite3 *, char *, int, int)
 
SQLITE_PRIVATE void sqlite3StrAccumReset (StrAccum *)
 
SQLITE_PRIVATE int sqlite3StrICmp (const char *, const char *)
 
static void sqlite3StringToId (Expr *p)
 
SQLITE_PRIVATE int sqlite3Strlen30 (const char *)
 
SQLITE_PRIVATE int sqlite3SubInt64 (i64 *, i64)
 
SQLITE_PRIVATE void sqlite3SystemError (sqlite3 *, int)
 
SQLITE_PRIVATE void sqlite3TableAffinity (Vdbe *, Table *, int)
 
SQLITE_PRIVATE void sqlite3TableLock (Parse *, int, int, u8, const char *)
 
SQLITE_PRIVATE int sqlite3TempInMemory (const sqlite3 *)
 
SQLITE_PRIVATE int sqlite3ThreadCreate (SQLiteThread **, void *(*)(void *), void *)
 
SQLITE_PRIVATE int sqlite3ThreadCreate (SQLiteThread **ppThread, void *(*xTask)(void *), void *pIn)
 
SQLITE_PRIVATE int sqlite3ThreadJoin (SQLiteThread *, void **)
 
SQLITE_PRIVATE void sqlite3TokenInit (Token *, char *)
 
SQLITE_PRIVATE int sqlite3TransferBindings (sqlite3_stmt *, sqlite3_stmt *)
 
SQLITE_PRIVATE u32 sqlite3TriggerColmask (Parse *, Trigger *, ExprList *, int, int, Table *, int)
 
SQLITE_PRIVATE TriggerStepsqlite3TriggerDeleteStep (sqlite3 *, Token *, Expr *)
 
SQLITE_PRIVATE TriggerStepsqlite3TriggerInsertStep (sqlite3 *, Token *, IdList *, Select *, u8)
 
SQLITE_PRIVATE Triggersqlite3TriggerList (Parse *, Table *)
 
SQLITE_PRIVATE TriggerStepsqlite3TriggerSelectStep (sqlite3 *, Select *)
 
SQLITE_PRIVATE Triggersqlite3TriggersExist (Parse *, Table *, int, ExprList *, int *pMask)
 
SQLITE_PRIVATE TriggerStepsqlite3TriggerUpdateStep (sqlite3 *, Token *, ExprList *, Expr *, u8)
 
SQLITE_PRIVATE int sqlite3TwoPartName (Parse *, Token *, Token *, Token **)
 
SQLITE_PRIVATE void sqlite3UniqueConstraint (Parse *, int, Index *)
 
SQLITE_PRIVATE void sqlite3UnlinkAndDeleteIndex (sqlite3 *, int, const char *)
 
SQLITE_PRIVATE void sqlite3UnlinkAndDeleteTable (sqlite3 *, int, const char *)
 
SQLITE_PRIVATE void sqlite3UnlinkAndDeleteTrigger (sqlite3 *, int, const char *)
 
SQLITE_PRIVATE void sqlite3Update (Parse *, SrcList *, ExprList *, Expr *, int)
 
SQLITE_PRIVATE int sqlite3Utf16ByteLen (const void *pData, int nChar)
 
SQLITE_PRIVATE char * sqlite3Utf16to8 (sqlite3 *, const void *, int, u8)
 
SQLITE_PRIVATE int sqlite3Utf8CharLen (const char *pData, int nByte)
 
SQLITE_PRIVATE u32 sqlite3Utf8Read (const u8 **)
 
SQLITE_PRIVATE u32 sqlite3Utf8Read (const unsigned char **pz)
 
SQLITE_PRIVATE void sqlite3Vacuum (Parse *)
 
SQLITE_PRIVATE void sqlite3ValueApplyAffinity (sqlite3_value *, u8, u8)
 
SQLITE_PRIVATE int sqlite3ValueBytes (sqlite3_value *, u8)
 
SQLITE_PRIVATE void sqlite3ValueFree (sqlite3_value *)
 
SQLITE_PRIVATE int sqlite3ValueFromExpr (sqlite3 *, Expr *, u8, u8, sqlite3_value **)
 
SQLITE_PRIVATE sqlite3_valuesqlite3ValueNew (sqlite3 *)
 
SQLITE_PRIVATE void sqlite3ValueSetNull (sqlite3_value *)
 
SQLITE_PRIVATE void sqlite3ValueSetStr (sqlite3_value *, int, const void *, u8, void(*)(void *))
 
SQLITE_PRIVATE const voidsqlite3ValueText (sqlite3_value *, u8)
 
SQLITE_PRIVATE int sqlite3VarintLen (u64 v)
 
SQLITE_PRIVATE int sqlite3VdbeAddOp0 (Vdbe *, int)
 
SQLITE_PRIVATE int sqlite3VdbeAddOp1 (Vdbe *, int, int)
 
SQLITE_PRIVATE int sqlite3VdbeAddOp2 (Vdbe *, int, int, int)
 
SQLITE_PRIVATE int sqlite3VdbeAddOp3 (Vdbe *, int, int, int, int)
 
SQLITE_PRIVATE int sqlite3VdbeAddOp4 (Vdbe *, int, int, int, int, const char *zP4, int)
 
SQLITE_PRIVATE int sqlite3VdbeAddOp4Dup8 (Vdbe *, int, int, int, int, const u8 *, int)
 
SQLITE_PRIVATE int sqlite3VdbeAddOp4Int (Vdbe *, int, int, int, int, int)
 
SQLITE_PRIVATE VdbeOpsqlite3VdbeAddOpList (Vdbe *, int nOp, VdbeOpList const *aOp, int iLineno)
 
SQLITE_PRIVATE void sqlite3VdbeAddParseSchemaOp (Vdbe *, int, char *)
 
SQLITE_PRIVATE UnpackedRecordsqlite3VdbeAllocUnpackedRecord (KeyInfo *, char *, int, char **)
 
SQLITE_PRIVATE int sqlite3VdbeChangeEncoding (Mem *, int)
 
SQLITE_PRIVATE void sqlite3VdbeChangeOpcode (Vdbe *, u32 addr, u8)
 
SQLITE_PRIVATE void sqlite3VdbeChangeP1 (Vdbe *, u32 addr, int P1)
 
SQLITE_PRIVATE void sqlite3VdbeChangeP2 (Vdbe *, u32 addr, int P2)
 
SQLITE_PRIVATE void sqlite3VdbeChangeP3 (Vdbe *, u32 addr, int P3)
 
SQLITE_PRIVATE void sqlite3VdbeChangeP4 (Vdbe *, int addr, const char *zP4, int N)
 
SQLITE_PRIVATE void sqlite3VdbeChangeP5 (Vdbe *, u8 P5)
 
SQLITE_PRIVATE int sqlite3VdbeChangeToNoop (Vdbe *, int addr)
 
SQLITE_PRIVATE int sqlite3VdbeCheckFk (Vdbe *, int)
 
SQLITE_PRIVATE void sqlite3VdbeClearObject (sqlite3 *, Vdbe *)
 
SQLITE_PRIVATE int sqlite3VdbeCloseStatement (Vdbe *, int)
 
SQLITE_PRIVATE void sqlite3VdbeCountChanges (Vdbe *)
 
SQLITE_PRIVATE Vdbesqlite3VdbeCreate (Parse *)
 
SQLITE_PRIVATE int sqlite3VdbeCurrentAddr (Vdbe *)
 
SQLITE_PRIVATE int sqlite3VdbeCursorMoveto (VdbeCursor **, int *)
 
SQLITE_PRIVATE int sqlite3VdbeCursorRestore (VdbeCursor *)
 
SQLITE_PRIVATE sqlite3sqlite3VdbeDb (Vdbe *)
 
SQLITE_PRIVATE void sqlite3VdbeDelete (Vdbe *)
 
SQLITE_PRIVATE void sqlite3VdbeDeleteAuxData (sqlite3 *, AuxData **, int, int)
 
SQLITE_PRIVATE int sqlite3VdbeDeletePriorOpcode (Vdbe *, u8 op)
 
SQLITE_PRIVATE void sqlite3VdbeEndCoroutine (Vdbe *, int)
 
SQLITE_PRIVATE void sqlite3VdbeEnter (Vdbe *)
 
SQLITE_PRIVATE void sqlite3VdbeError (Vdbe *, const char *,...)
 
SQLITE_PRIVATE int sqlite3VdbeExec (Vdbe *)
 
SQLITE_PRIVATE char * sqlite3VdbeExpandSql (Vdbe *, const char *)
 
SQLITE_PRIVATE int sqlite3VdbeFinalize (Vdbe *)
 
SQLITE_PRIVATE RecordCompare sqlite3VdbeFindCompare (UnpackedRecord *)
 
SQLITE_PRIVATE void sqlite3VdbeFrameDelete (VdbeFrame *)
 
SQLITE_PRIVATE int sqlite3VdbeFrameRestore (VdbeFrame *)
 
SQLITE_PRIVATE void sqlite3VdbeFreeCursor (Vdbe *, VdbeCursor *)
 
SQLITE_PRIVATE sqlite3_valuesqlite3VdbeGetBoundValue (Vdbe *, int, u8)
 
SQLITE_PRIVATE VdbeOpsqlite3VdbeGetOp (Vdbe *, int)
 
SQLITE_PRIVATE int sqlite3VdbeGoto (Vdbe *, int)
 
SQLITE_PRIVATE int sqlite3VdbeHalt (Vdbe *)
 
SQLITE_PRIVATE int sqlite3VdbeIdxKeyCompare (sqlite3 *, VdbeCursor *, UnpackedRecord *, int *)
 
SQLITE_PRIVATE int sqlite3VdbeIdxRowid (sqlite3 *, BtCursor *, i64 *)
 
SQLITE_PRIVATE void sqlite3VdbeIntegerAffinity (Mem *)
 
SQLITE_PRIVATE i64 sqlite3VdbeIntValue (Mem *)
 
SQLITE_PRIVATE void sqlite3VdbeJumpHere (Vdbe *, int addr)
 
SQLITE_PRIVATE void sqlite3VdbeLeave (Vdbe *)
 
SQLITE_PRIVATE void sqlite3VdbeLinkSubProgram (Vdbe *, SubProgram *)
 
SQLITE_PRIVATE int sqlite3VdbeList (Vdbe *)
 
SQLITE_PRIVATE int sqlite3VdbeLoadString (Vdbe *, int, const char *)
 
SQLITE_PRIVATE int sqlite3VdbeMakeLabel (Vdbe *)
 
SQLITE_PRIVATE void sqlite3VdbeMakeReady (Vdbe *, Parse *)
 
SQLITE_PRIVATE void sqlite3VdbeMemCast (Mem *, u8, u8)
 
SQLITE_PRIVATE int sqlite3VdbeMemClearAndResize (Mem *pMem, int n)
 
SQLITE_PRIVATE int sqlite3VdbeMemCopy (Mem *, const Mem *)
 
SQLITE_PRIVATE int sqlite3VdbeMemExpandBlob (Mem *)
 
SQLITE_PRIVATE int sqlite3VdbeMemFinalize (Mem *, FuncDef *)
 
SQLITE_PRIVATE int sqlite3VdbeMemFromBtree (BtCursor *, u32, u32, int, Mem *)
 
SQLITE_PRIVATE int sqlite3VdbeMemGrow (Mem *pMem, int n, int preserve)
 
SQLITE_PRIVATE int sqlite3VdbeMemHandleBom (Mem *pMem)
 
SQLITE_PRIVATE void sqlite3VdbeMemInit (Mem *, sqlite3 *, u16)
 
SQLITE_PRIVATE int sqlite3VdbeMemIntegerify (Mem *)
 
SQLITE_PRIVATE int sqlite3VdbeMemMakeWriteable (Mem *)
 
SQLITE_PRIVATE void sqlite3VdbeMemMove (Mem *, Mem *)
 
SQLITE_PRIVATE int sqlite3VdbeMemNulTerminate (Mem *)
 
SQLITE_PRIVATE int sqlite3VdbeMemNumerify (Mem *)
 
SQLITE_PRIVATE int sqlite3VdbeMemRealify (Mem *)
 
SQLITE_PRIVATE void sqlite3VdbeMemRelease (Mem *p)
 
SQLITE_PRIVATE void sqlite3VdbeMemSetDouble (Mem *, double)
 
SQLITE_PRIVATE void sqlite3VdbeMemSetInt64 (Mem *, i64)
 
SQLITE_PRIVATE void sqlite3VdbeMemSetNull (Mem *)
 
SQLITE_PRIVATE void sqlite3VdbeMemSetRowSet (Mem *)
 
SQLITE_PRIVATE int sqlite3VdbeMemSetStr (Mem *, const char *, int, u8, void(*)(void *))
 
SQLITE_PRIVATE void sqlite3VdbeMemSetZeroBlob (Mem *, int)
 
SQLITE_PRIVATE void sqlite3VdbeMemShallowCopy (Mem *, const Mem *, int)
 
SQLITE_PRIVATE int sqlite3VdbeMemStringify (Mem *, u8, u8)
 
SQLITE_PRIVATE int sqlite3VdbeMemTooBig (Mem *)
 
SQLITE_PRIVATE int sqlite3VdbeMemTranslate (Mem *, u8)
 
SQLITE_PRIVATE void sqlite3VdbeMultiLoad (Vdbe *, int, const char *,...)
 
SQLITE_PRIVATE u8 sqlite3VdbeOneByteSerialTypeLen (u8)
 
SQLITE_PRIVATE int sqlite3VdbeParameterIndex (Vdbe *, const char *, int)
 
SQLITE_PRIVATE double sqlite3VdbeRealValue (Mem *)
 
SQLITE_PRIVATE int sqlite3VdbeRecordCompare (int, const void *, UnpackedRecord *)
 
SQLITE_PRIVATE int sqlite3VdbeRecordCompareWithSkip (int, const void *, UnpackedRecord *, int)
 
SQLITE_PRIVATE void sqlite3VdbeRecordUnpack (KeyInfo *, int, const void *, UnpackedRecord *)
 
SQLITE_PRIVATE int sqlite3VdbeReset (Vdbe *)
 
SQLITE_PRIVATE void sqlite3VdbeResetStepResult (Vdbe *)
 
SQLITE_PRIVATE void sqlite3VdbeResolveLabel (Vdbe *, int)
 
SQLITE_PRIVATE void sqlite3VdbeReusable (Vdbe *)
 
SQLITE_PRIVATE void sqlite3VdbeRewind (Vdbe *)
 
SQLITE_PRIVATE void sqlite3VdbeRunOnlyOnce (Vdbe *)
 
SQLITE_PRIVATE u32 sqlite3VdbeSerialGet (const unsigned char *, u32, Mem *)
 
SQLITE_PRIVATE u32 sqlite3VdbeSerialPut (unsigned char *, Mem *, u32)
 
SQLITE_PRIVATE u32 sqlite3VdbeSerialPut (u8 *buf, Mem *pMem, u32 serial_type)
 
SQLITE_PRIVATE u32 sqlite3VdbeSerialType (Mem *, int, u32 *)
 
SQLITE_PRIVATE u32 sqlite3VdbeSerialTypeLen (u32)
 
SQLITE_PRIVATE void sqlite3VdbeSetChanges (sqlite3 *, int)
 
SQLITE_PRIVATE int sqlite3VdbeSetColName (Vdbe *, int, int, const char *, void(*)(void *))
 
SQLITE_PRIVATE void sqlite3VdbeSetNumCols (Vdbe *, int)
 
SQLITE_PRIVATE void sqlite3VdbeSetP4KeyInfo (Parse *, Index *)
 
SQLITE_PRIVATE void sqlite3VdbeSetSql (Vdbe *, const char *z, int n, int)
 
SQLITE_PRIVATE void sqlite3VdbeSetVarmask (Vdbe *, int)
 
SQLITE_PRIVATE void sqlite3VdbeSorterClose (sqlite3 *, VdbeCursor *)
 
SQLITE_PRIVATE int sqlite3VdbeSorterCompare (const VdbeCursor *, Mem *, int, int *)
 
SQLITE_PRIVATE int sqlite3VdbeSorterInit (sqlite3 *, int, VdbeCursor *)
 
SQLITE_PRIVATE int sqlite3VdbeSorterNext (sqlite3 *, const VdbeCursor *, int *)
 
SQLITE_PRIVATE void sqlite3VdbeSorterReset (sqlite3 *, VdbeSorter *)
 
SQLITE_PRIVATE int sqlite3VdbeSorterRewind (const VdbeCursor *, int *)
 
SQLITE_PRIVATE int sqlite3VdbeSorterRowkey (const VdbeCursor *, Mem *)
 
SQLITE_PRIVATE int sqlite3VdbeSorterWrite (const VdbeCursor *, Mem *)
 
SQLITE_PRIVATE void sqlite3VdbeSwap (Vdbe *, Vdbe *)
 
SQLITE_PRIVATE VdbeOpsqlite3VdbeTakeOpArray (Vdbe *, int *, int *)
 
SQLITE_PRIVATE int sqlite3VdbeTransferError (Vdbe *p)
 
SQLITE_PRIVATE void sqlite3VdbeUsesBtree (Vdbe *, int)
 
SQLITE_PRIVATE int sqlite3ViewGetColumnNames (Parse *, Table *)
 
SQLITE_PRIVATE char * sqlite3VMPrintf (sqlite3 *, const char *, va_list)
 
SQLITE_PRIVATE void sqlite3VtabArgExtend (Parse *, Token *)
 
SQLITE_PRIVATE void sqlite3VtabArgInit (Parse *)
 
SQLITE_PRIVATE int sqlite3VtabBegin (sqlite3 *, VTable *)
 
SQLITE_PRIVATE void sqlite3VtabBeginParse (Parse *, Token *, Token *, Token *, int)
 
SQLITE_PRIVATE int sqlite3VtabCallConnect (Parse *, Table *)
 
SQLITE_PRIVATE int sqlite3VtabCallCreate (sqlite3 *, int, const char *, char **)
 
SQLITE_PRIVATE int sqlite3VtabCallDestroy (sqlite3 *, int, const char *)
 
SQLITE_PRIVATE void sqlite3VtabClear (sqlite3 *db, Table *)
 
SQLITE_PRIVATE int sqlite3VtabCommit (sqlite3 *db)
 
SQLITE_PRIVATE void sqlite3VtabDisconnect (sqlite3 *db, Table *p)
 
SQLITE_PRIVATE void sqlite3VtabEponymousTableClear (sqlite3 *, Module *)
 
SQLITE_PRIVATE int sqlite3VtabEponymousTableInit (Parse *, Module *)
 
SQLITE_PRIVATE void sqlite3VtabFinishParse (Parse *, Token *)
 
SQLITE_PRIVATE void sqlite3VtabImportErrmsg (Vdbe *, sqlite3_vtab *)
 
SQLITE_PRIVATE void sqlite3VtabLock (VTable *)
 
SQLITE_PRIVATE void sqlite3VtabMakeWritable (Parse *, Table *)
 
SQLITE_PRIVATE FuncDefsqlite3VtabOverloadFunction (sqlite3 *, FuncDef *, int nArg, Expr *)
 
SQLITE_PRIVATE int sqlite3VtabRollback (sqlite3 *db)
 
SQLITE_PRIVATE int sqlite3VtabSavepoint (sqlite3 *, int, int)
 
SQLITE_PRIVATE int sqlite3VtabSync (sqlite3 *db, Vdbe *)
 
SQLITE_PRIVATE void sqlite3VtabUnlock (VTable *)
 
SQLITE_PRIVATE void sqlite3VtabUnlockList (sqlite3 *)
 
SQLITE_PRIVATE void sqlite3VXPrintf (StrAccum *, const char *, va_list)
 
SQLITE_PRIVATE int sqlite3WalBeginReadTransaction (Wal *pWal, int *)
 
SQLITE_PRIVATE int sqlite3WalBeginWriteTransaction (Wal *pWal)
 
SQLITE_PRIVATE int sqlite3WalCallback (Wal *pWal)
 
SQLITE_PRIVATE int sqlite3WalCheckpoint (Wal *pWal, int eMode, int(*xBusy)(void *), void *pBusyArg, int sync_flags, int nBuf, u8 *zBuf, int *pnLog, int *pnCkpt)
 
SQLITE_PRIVATE int sqlite3WalClose (Wal *pWal, int sync_flags, int, u8 *)
 
SQLITE_PRIVATE Pgno sqlite3WalDbsize (Wal *pWal)
 
SQLITE_PRIVATE int sqlite3WalDefaultHook (void *, sqlite3 *, const char *, int)
 
SQLITE_PRIVATE void sqlite3WalEndReadTransaction (Wal *pWal)
 
SQLITE_PRIVATE int sqlite3WalEndWriteTransaction (Wal *pWal)
 
SQLITE_PRIVATE int sqlite3WalExclusiveMode (Wal *pWal, int op)
 
SQLITE_PRIVATE sqlite3_filesqlite3WalFile (Wal *pWal)
 
SQLITE_PRIVATE int sqlite3WalFindFrame (Wal *, Pgno, u32 *)
 
SQLITE_PRIVATE int sqlite3WalFrames (Wal *pWal, int, PgHdr *, Pgno, int, int)
 
SQLITE_PRIVATE int sqlite3WalHeapMemory (Wal *pWal)
 
SQLITE_PRIVATE int sqlite3WalkExpr (Walker *, Expr *)
 
SQLITE_PRIVATE int sqlite3WalkExprList (Walker *, ExprList *)
 
SQLITE_PRIVATE int sqlite3WalkSelect (Walker *, Select *)
 
SQLITE_PRIVATE int sqlite3WalkSelectExpr (Walker *, Select *)
 
SQLITE_PRIVATE int sqlite3WalkSelectFrom (Walker *, Select *)
 
SQLITE_PRIVATE void sqlite3WalLimit (Wal *, i64)
 
SQLITE_PRIVATE int sqlite3WalOpen (sqlite3_vfs *, sqlite3_file *, const char *, int, i64, Wal **)
 
SQLITE_PRIVATE int sqlite3WalReadFrame (Wal *, u32, int, u8 *)
 
SQLITE_PRIVATE void sqlite3WalSavepoint (Wal *pWal, u32 *aWalData)
 
SQLITE_PRIVATE int sqlite3WalSavepointUndo (Wal *pWal, u32 *aWalData)
 
SQLITE_PRIVATE int sqlite3WalUndo (Wal *pWal, int(*xUndo)(void *, Pgno), void *pUndoCtx)
 
SQLITE_PRIVATE WhereInfosqlite3WhereBegin (Parse *, SrcList *, Expr *, ExprList *, ExprList *, u16, int)
 
SQLITE_PRIVATE int sqlite3WhereBreakLabel (WhereInfo *)
 
SQLITE_PRIVATE void sqlite3WhereClauseClear (WhereClause *)
 
SQLITE_PRIVATE void sqlite3WhereClauseInit (WhereClause *, WhereInfo *)
 
SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart (WhereInfo *pWInfo, int iLevel, Bitmask notReady)
 
SQLITE_PRIVATE int sqlite3WhereContinueLabel (WhereInfo *)
 
SQLITE_PRIVATE void sqlite3WhereEnd (WhereInfo *)
 
SQLITE_PRIVATE int sqlite3WhereExplainOneScan (Parse *pParse, SrcList *pTabList, WhereLevel *pLevel, int iLevel, int iFrom, u16 wctrlFlags)
 
SQLITE_PRIVATE void sqlite3WhereExprAnalyze (SrcList *, WhereClause *)
 
SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage (WhereMaskSet *, ExprList *)
 
SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage (WhereMaskSet *, Expr *)
 
SQLITE_PRIVATE WhereTermsqlite3WhereFindTerm (WhereClause *pWC, int iCur, int iColumn, Bitmask notReady, u32 op, Index *pIdx)
 
SQLITE_PRIVATE Bitmask sqlite3WhereGetMask (WhereMaskSet *, int)
 
SQLITE_PRIVATE int sqlite3WhereIsDistinct (WhereInfo *)
 
SQLITE_PRIVATE int sqlite3WhereIsOrdered (WhereInfo *)
 
SQLITE_PRIVATE int sqlite3WhereIsSorted (WhereInfo *)
 
SQLITE_PRIVATE int sqlite3WhereOkOnePass (WhereInfo *, int *)
 
SQLITE_PRIVATE LogEst sqlite3WhereOutputRowCount (WhereInfo *)
 
SQLITE_PRIVATE void sqlite3WhereSplit (WhereClause *, Expr *, u8)
 
SQLITE_PRIVATE void sqlite3WhereTabFuncArgs (Parse *, struct SrcList_item *, WhereClause *)
 
SQLITE_PRIVATE Withsqlite3WithAdd (Parse *, With *, Token *, ExprList *, Select *)
 
SQLITE_PRIVATE void sqlite3WithDelete (sqlite3 *, With *)
 
SQLITE_PRIVATE void sqlite3WithPush (Parse *, With *, u8)
 
SQLITE_PRIVATE void sqlite3XPrintf (StrAccum *, const char *,...)
 
static void sqliteAuthBadReturnCode (Parse *pParse)
 
static int sqliteDefaultBusyCallback (void *ptr, int count)
 
static int sqliteErrorFromPosixError (int posixError, int sqliteIOErr)
 
static int sqliteProcessJoin (Parse *pParse, Select *p)
 
void sqliteVdbePopStack (Vdbe *, int)
 
static void sqliteViewResetAll (sqlite3 *db, int idx)
 
void sqliteViewTriggers (Parse *, Table *, Expr *, int, ExprList *)
 
static void stat4Destructor (void *pOld)
 
static void statGet (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static void statInit (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static void statPush (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static void storeLastErrno (unixFile *pFile, int error)
 
static void strftimeFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static unsigned int strHash (const char *z)
 
static int subjournalPage (PgHdr *pPg)
 
static int subjournalPageIfRequired (PgHdr *pPg)
 
static int subjRequiresPage (PgHdr *pPg)
 
static ExprsubstExpr (sqlite3 *db, Expr *pExpr, int iTable, ExprList *pEList)
 
static void substExprList (sqlite3 *, ExprList *, int, ExprList *)
 
static void substrFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static void substSelect (sqlite3 *, Select *, int, ExprList *, int)
 
static void sumFinalize (sqlite3_context *context)
 
static void sumStep (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static int syncJournal (Pager *pPager, int newHdr)
 
static int synthCollSeq (sqlite3 *db, CollSeq *pColl)
 
static int tableAndColumnIndex (SrcList *pSrc, int N, const char *zCol, int *piTab, int *piCol)
 
static TabletableOfTrigger (Trigger *pTrigger)
 
static SrcListtargetSrcList (Parse *pParse, TriggerStep *pStep)
 
static int termCanDriveIndex (WhereTerm *pTerm, struct SrcList_item *pSrc, Bitmask notReady)
 
static int termIsEquivalence (Parse *pParse, Expr *pExpr)
 
static void timeFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static void total_changes (sqlite3_context *context, int NotUsed, sqlite3_value **NotUsed2)
 
static void totalFinalize (sqlite3_context *context)
 
static void transferJoinMarkings (Expr *pDerived, Expr *pBase)
 
static void transferParseError (Parse *pTo, Parse *pFrom)
 
static void translateColumnToCopy (Vdbe *v, int iStart, int iTabCur, int iRegister, int bIncrRowid)
 
static TriggerSteptriggerStepAllocate (sqlite3 *db, u8 op, Token *pName)
 
static void trimFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static void typeofFunc (sqlite3_context *context, int NotUsed, sqlite3_value **argv)
 
static void unicodeFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static int unixAccess (sqlite3_vfs *NotUsed, const char *zPath, int flags, int *pResOut)
 
static int unixCheckReservedLock (sqlite3_file *id, int *pResOut)
 
static int unixClose (sqlite3_file *id)
 
static int unixCurrentTime (sqlite3_vfs *NotUsed, double *prNow)
 
static int unixCurrentTimeInt64 (sqlite3_vfs *NotUsed, sqlite3_int64 *piNow)
 
static int unixDelete (sqlite3_vfs *NotUsed, const char *zPath, int dirSync)
 
static int unixDeviceCharacteristics (sqlite3_file *id)
 
static void unixEnterMutex (void)
 
static int unixFetch (sqlite3_file *fd, i64 iOff, int nAmt, void **pp)
 
static int unixFileControl (sqlite3_file *id, int op, void *pArg)
 
static int unixFileLock (unixFile *pFile, struct flock *pLock)
 
static int unixFileSize (sqlite3_file *id, i64 *pSize)
 
static int unixFullPathname (sqlite3_vfs *pVfs, const char *zPath, int nOut, char *zOut)
 
static int unixGetLastError (sqlite3_vfs *NotUsed, int NotUsed2, char *NotUsed3)
 
static int unixGetpagesize (void)
 
static sqlite3_syscall_ptr unixGetSystemCall (sqlite3_vfs *pNotUsed, const char *zName)
 
static int unixGetTempname (int nBuf, char *zBuf)
 
static void unixLeaveMutex (void)
 
static int unixLock (sqlite3_file *id, int eFileLock)
 
static int unixLogErrorAtLine (int errcode, const char *zFunc, const char *zPath, int iLine)
 
static void unixModeBit (unixFile *pFile, unsigned char mask, int *pArg)
 
static const char * unixNextSystemCall (sqlite3_vfs *p, const char *zName)
 
static int unixOpen (sqlite3_vfs *pVfs, const char *zPath, sqlite3_file *pFile, int flags, int *pOutFlags)
 
static int unixOpenSharedMemory (unixFile *pDbFd)
 
static int unixRandomness (sqlite3_vfs *NotUsed, int nBuf, char *zBuf)
 
static int unixRead (sqlite3_file *id, void *pBuf, int amt, sqlite3_int64 offset)
 
static int unixSectorSize (sqlite3_file *NotUsed)
 
static int unixSetSystemCall (sqlite3_vfs *pNotUsed, const char *zName, sqlite3_syscall_ptr pNewFunc)
 
static void unixShmBarrier (sqlite3_file *fd)
 
static int unixShmLock (sqlite3_file *fd, int ofst, int n, int flags)
 
static int unixShmMap (sqlite3_file *fd, int iRegion, int szRegion, int bExtend, void volatile **pp)
 
static void unixShmPurge (unixFile *pFd)
 
static int unixShmRegionPerMap (void)
 
static int unixShmSystemLock (unixFile *pFile, int lockType, int ofst, int n)
 
static int unixShmUnmap (sqlite3_file *fd, int deleteFlag)
 
static int unixSleep (sqlite3_vfs *NotUsed, int microseconds)
 
static int unixSync (sqlite3_file *id, int flags)
 
static const char * unixTempFileDir (void)
 
static int unixTruncate (sqlite3_file *id, i64 nByte)
 
static int unixUnfetch (sqlite3_file *fd, i64 iOff, void *p)
 
static int unixUnlock (sqlite3_file *id, int eFileLock)
 
static int unixWrite (sqlite3_file *id, const void *pBuf, int amt, sqlite3_int64 offset)
 
static void unlockBtreeIfUnused (BtShared *pBt)
 
static void SQLITE_NOINLINE unlockBtreeMutex (Btree *p)
 
static void updateAccumulator (Parse *pParse, AggInfo *pAggInfo)
 
static void updateVirtualTable (Parse *pParse, SrcList *pSrc, Table *pTab, ExprList *pChanges, Expr *pRowidExpr, int *aXRef, Expr *pWhere, int onError)
 
static void upperFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static int vacuumFinalize (sqlite3 *db, sqlite3_stmt *pStmt, char **pzErrMsg)
 
static SQLITE_NOINLINE int valueBytes (sqlite3_value *pVal, u8 enc)
 
static int valueFromExpr (sqlite3 *db, Expr *pExpr, u8 enc, u8 affinity, sqlite3_value **ppVal, struct ValueNewStat4Ctx *pCtx)
 
static sqlite3_valuevalueNew (sqlite3 *db, struct ValueNewStat4Ctx *p)
 
static SQLITE_NOINLINE const voidvalueToText (sqlite3_value *pVal, u8 enc)
 
static void SQLITE_NOINLINE vdbeChangeP4Full (Vdbe *p, Op *pOp, const char *zP4, int n)
 
static SQLITE_NOINLINE void vdbeClrCopy (Mem *pTo, const Mem *pFrom, int eType)
 
static int vdbeCommit (sqlite3 *db, Vdbe *p)
 
static int vdbeCompareMemString (const Mem *pMem1, const Mem *pMem2, const CollSeq *pColl, u8 *prcErr)
 
static void vdbeFreeOpArray (sqlite3 *, Op *, int)
 
static int vdbeIncrBgPopulate (IncrMerger *pIncr)
 
static void vdbeIncrFree (IncrMerger *)
 
static int vdbeIncrMergerNew (SortSubtask *pTask, MergeEngine *pMerger, IncrMerger **ppOut)
 
static void vdbeIncrMergerSetThreads (IncrMerger *pIncr)
 
static int vdbeIncrPopulate (IncrMerger *pIncr)
 
static voidvdbeIncrPopulateThread (void *pCtx)
 
static int vdbeIncrSwap (IncrMerger *)
 
static SQLITE_NOINLINE void vdbeLeave (Vdbe *p)
 
static SQLITE_NOINLINE int vdbeMemAddTerminator (Mem *pMem)
 
static SQLITE_NOINLINE void vdbeMemClear (Mem *p)
 
static SQLITE_NOINLINE void vdbeMemClearExternAndSetNull (Mem *p)
 
static SQLITE_NOINLINE int vdbeMemFromBtreeResize (BtCursor *pCur, u32 offset, u32 amt, int key, Mem *pMem)
 
static void vdbeMergeEngineCompare (MergeEngine *pMerger, int iOut)
 
static void vdbeMergeEngineFree (MergeEngine *pMerger)
 
static int vdbeMergeEngineInit (SortSubtask *pTask, MergeEngine *pMerger, int eMode)
 
static int vdbeMergeEngineLevel0 (SortSubtask *pTask, int nPMA, i64 *piOffset, MergeEngine **ppOut)
 
static MergeEnginevdbeMergeEngineNew (int nReader)
 
static int vdbeMergeEngineStep (MergeEngine *pMerger, int *pbEof)
 
static int vdbePmaReadBlob (PmaReader *p, int nByte, u8 **ppOut)
 
static voidvdbePmaReaderBgIncrInit (void *pCtx)
 
static void vdbePmaReaderClear (PmaReader *pReadr)
 
static int vdbePmaReaderIncrInit (PmaReader *pReadr, int eMode)
 
static int vdbePmaReaderIncrMergeInit (PmaReader *pReadr, int eMode)
 
static int vdbePmaReaderInit (SortSubtask *pTask, SorterFile *pFile, i64 iStart, PmaReader *pReadr, i64 *pnByte)
 
static int vdbePmaReaderNext (PmaReader *pReadr)
 
static int vdbePmaReaderSeek (SortSubtask *pTask, PmaReader *pReadr, SorterFile *pFile, i64 iOff)
 
static int vdbePmaReadVarint (PmaReader *p, u64 *pnOut)
 
static void vdbePmaWriteBlob (PmaWriter *p, u8 *pData, int nData)
 
static int vdbePmaWriterFinish (PmaWriter *p, i64 *piEof)
 
static void vdbePmaWriterInit (sqlite3_file *pFd, PmaWriter *p, int nBuf, i64 iStart)
 
static void vdbePmaWriteVarint (PmaWriter *p, u64 iVal)
 
static int vdbeRecordCompareInt (int nKey1, const void *pKey1, UnpackedRecord *pPKey2)
 
static int vdbeRecordCompareString (int nKey1, const void *pKey1, UnpackedRecord *pPKey2)
 
static i64 vdbeRecordDecodeInt (u32 serial_type, const u8 *aKey)
 
static SQLITE_NOINLINE void vdbeReleaseAndSetInt64 (Mem *pMem, i64 val)
 
static int vdbeSafety (Vdbe *p)
 
static int vdbeSafetyNotNull (Vdbe *p)
 
static int vdbeSortAllocUnpacked (SortSubtask *pTask)
 
static int vdbeSorterAddToTree (SortSubtask *pTask, int nDepth, int iSeq, MergeEngine *pRoot, MergeEngine *pLeaf)
 
static int vdbeSorterCompare (SortSubtask *pTask, int *pbKey2Cached, const void *pKey1, int nKey1, const void *pKey2, int nKey2)
 
static int vdbeSorterCompareInt (SortSubtask *pTask, int *pbKey2Cached, const void *pKey1, int nKey1, const void *pKey2, int nKey2)
 
static int vdbeSorterCompareTail (SortSubtask *pTask, int *pbKey2Cached, const void *pKey1, int nKey1, const void *pKey2, int nKey2)
 
static int vdbeSorterCompareText (SortSubtask *pTask, int *pbKey2Cached, const void *pKey1, int nKey1, const void *pKey2, int nKey2)
 
static int vdbeSorterCreateThread (SortSubtask *pTask, void *(*xTask)(void *), void *pIn)
 
static int vdbeSorterFlushPMA (VdbeSorter *pSorter)
 
static voidvdbeSorterFlushThread (void *pCtx)
 
static SorterCompare vdbeSorterGetCompare (VdbeSorter *p)
 
static int vdbeSorterJoinAll (VdbeSorter *pSorter, int rcin)
 
static int vdbeSorterJoinThread (SortSubtask *pTask)
 
static int vdbeSorterListToPMA (SortSubtask *pTask, SorterList *pList)
 
static int vdbeSorterMapFile (SortSubtask *pTask, SorterFile *pFile, u8 **pp)
 
static void vdbeSorterMerge (SortSubtask *pTask, SorterRecord *p1, SorterRecord *p2, SorterRecord **ppOut)
 
static int vdbeSorterMergeTreeBuild (VdbeSorter *pSorter, MergeEngine **ppOut)
 
static int vdbeSorterOpenTempFile (sqlite3 *db, i64 nExtend, sqlite3_file **ppFd)
 
static void vdbeSorterRecordFree (sqlite3 *db, SorterRecord *pRecord)
 
static voidvdbeSorterRowkey (const VdbeSorter *pSorter, int *pnKey)
 
static int vdbeSorterSetupMerge (VdbeSorter *pSorter)
 
static int vdbeSorterSort (SortSubtask *pTask, SorterList *pList)
 
static int vdbeSorterTreeDepth (int nPMA)
 
static void vdbeSortSubtaskCleanup (sqlite3 *db, SortSubtask *pTask)
 
static int vdbeUnbind (Vdbe *p, int i)
 
static void verifyDbFile (unixFile *pFile)
 
static void versionFunc (sqlite3_context *context, int NotUsed, sqlite3_value **NotUsed2)
 
static void vfsUnlink (sqlite3_vfs *pVfs)
 
static int vtabBestIndex (Parse *pParse, Table *pTab, sqlite3_index_info *p)
 
static int vtabCallConstructor (sqlite3 *db, Table *pTab, Module *pMod, int(*xConstruct)(sqlite3 *, void *, int, const char *const *, sqlite3_vtab **, char **), char **pzErr)
 
static VTablevtabDisconnectAll (sqlite3 *db, Table *p)
 
static int walBusyLock (Wal *pWal, int(*xBusy)(void *), void *pBusyArg, int lockIdx, int n)
 
static int walCheckpoint (Wal *pWal, int eMode, int(*xBusy)(void *), void *pBusyArg, int sync_flags, u8 *zBuf)
 
static void walChecksumBytes (int nativeCksum, u8 *a, int nByte, const u32 *aIn, u32 *aOut)
 
static volatile WalCkptInfowalCkptInfo (Wal *pWal)
 
static void walCleanupHash (Wal *pWal)
 
static int walDecodeFrame (Wal *pWal, u32 *piPage, u32 *pnTruncate, u8 *aData, u8 *aFrame)
 
static void walEncodeFrame (Wal *pWal, u32 iPage, u32 nTruncate, u8 *aData, u8 *aFrame)
 
static int walFramePage (u32 iFrame)
 
static u32 walFramePgno (Wal *pWal, u32 iFrame)
 
static int walHash (u32 iPage)
 
static int walHashGet (Wal *pWal, int iHash, volatile ht_slot **paHash, volatile u32 **paPgno, u32 *piZero)
 
static int walIndexAppend (Wal *pWal, u32 iFrame, u32 iPage)
 
static void walIndexClose (Wal *pWal, int isDelete)
 
static volatile WalIndexHdrwalIndexHdr (Wal *pWal)
 
static int walIndexPage (Wal *pWal, int iPage, volatile u32 **ppPage)
 
static int walIndexReadHdr (Wal *pWal, int *pChanged)
 
static int walIndexRecover (Wal *pWal)
 
static int walIndexTryHdr (Wal *pWal, int *pChanged)
 
static void walIndexWriteHdr (Wal *pWal)
 
static void walIteratorFree (WalIterator *p)
 
static int walIteratorInit (Wal *pWal, WalIterator **pp)
 
static int walIteratorNext (WalIterator *p, u32 *piPage, u32 *piFrame)
 
static SQLITE_NOINLINE int walkExpr (Walker *pWalker, Expr *pExpr)
 
static void walLimitSize (Wal *pWal, i64 nMax)
 
static int walLockExclusive (Wal *pWal, int lockIdx, int n)
 
static int walLockShared (Wal *pWal, int lockIdx)
 
static void walMerge (const u32 *aContent, ht_slot *aLeft, int nLeft, ht_slot **paRight, int *pnRight, ht_slot *aTmp)
 
static void walMergesort (const u32 *aContent, ht_slot *aBuffer, ht_slot *aList, int *pnList)
 
static int walNextHash (int iPriorHash)
 
static int walPagesize (Wal *pWal)
 
static void walRestartHdr (Wal *pWal, u32 salt1)
 
static int walRestartLog (Wal *pWal)
 
static int walRewriteChecksums (Wal *pWal, u32 iLast)
 
static void walShmBarrier (Wal *pWal)
 
static int walTryBeginRead (Wal *pWal, int *pChanged, int useWal, int cnt)
 
static void walUnlockExclusive (Wal *pWal, int lockIdx, int n)
 
static void walUnlockShared (Wal *pWal, int lockIdx)
 
static int walWriteOneFrame (WalWriter *p, PgHdr *pPage, int nTruncate, sqlite3_int64 iOffset)
 
static int walWriteToLog (WalWriter *p, void *pContent, int iAmt, sqlite3_int64 iOffset)
 
static void whereAndInfoDelete (sqlite3 *db, WhereAndInfo *p)
 
static int whereClauseInsert (WhereClause *pWC, Expr *p, u16 wtFlags)
 
static void whereCombineDisjuncts (SrcList *pSrc, WhereClause *pWC, WhereTerm *pOne, WhereTerm *pTwo)
 
static char * whereForeignKeys (Parse *pParse, Table *pTab)
 
static void whereInfoFree (sqlite3 *db, WhereInfo *pWInfo)
 
static void whereLikeOptimizationStringFixup (Vdbe *v, WhereLevel *pLevel, WhereTerm *pTerm)
 
static int whereLoopAddAll (WhereLoopBuilder *pBuilder)
 
static int whereLoopAddBtree (WhereLoopBuilder *pBuilder, Bitmask mPrereq)
 
static int whereLoopAddBtreeIndex (WhereLoopBuilder *pBuilder, struct SrcList_item *pSrc, Index *pProbe, LogEst nInMul)
 
static int whereLoopAddOr (WhereLoopBuilder *pBuilder, Bitmask mPrereq, Bitmask mUnusable)
 
static int whereLoopAddVirtual (WhereLoopBuilder *pBuilder, Bitmask mPrereq, Bitmask mUnusable)
 
static int whereLoopAddVirtualOne (WhereLoopBuilder *pBuilder, Bitmask mPrereq, Bitmask mUsable, u16 mExclude, sqlite3_index_info *pIdxInfo, int *pbIn)
 
static void whereLoopAdjustCost (const WhereLoop *p, WhereLoop *pTemplate)
 
static int whereLoopCheaperProperSubset (const WhereLoop *pX, const WhereLoop *pY)
 
static void whereLoopClear (sqlite3 *db, WhereLoop *p)
 
static void whereLoopClearUnion (sqlite3 *db, WhereLoop *p)
 
static void whereLoopDelete (sqlite3 *db, WhereLoop *p)
 
static WhereLoop ** whereLoopFindLesser (WhereLoop **ppPrev, const WhereLoop *pTemplate)
 
static void whereLoopInit (WhereLoop *p)
 
static int whereLoopInsert (WhereLoopBuilder *pBuilder, WhereLoop *pTemplate)
 
static void whereLoopOutputAdjust (WhereClause *pWC, WhereLoop *pLoop, LogEst nRow)
 
static int whereLoopResize (sqlite3 *, WhereLoop *, int)
 
static int whereLoopXfer (sqlite3 *db, WhereLoop *pTo, WhereLoop *pFrom)
 
static WhereTermwhereNthSubterm (WhereTerm *pTerm, int N)
 
static void whereOrInfoDelete (sqlite3 *db, WhereOrInfo *p)
 
static int whereOrInsert (WhereOrSet *pSet, Bitmask prereq, LogEst rRun, LogEst nOut)
 
static void whereOrMove (WhereOrSet *pDest, WhereOrSet *pSrc)
 
static char * whereOrName (sqlite3 *db, char *zWhere, char *zConstant)
 
static i8 wherePathSatisfiesOrderBy (WhereInfo *pWInfo, ExprList *pOrderBy, WherePath *pPath, u16 wctrlFlags, u16 nLoop, WhereLoop *pLast, Bitmask *pRevMask)
 
static int wherePathSolver (WhereInfo *pWInfo, LogEst nRowEst)
 
static LogEst whereRangeAdjust (WhereTerm *pTerm, LogEst nNew)
 
static int whereRangeScanEst (Parse *pParse, WhereLoopBuilder *pBuilder, WhereTerm *pLower, WhereTerm *pUpper, WhereLoop *pLoop)
 
static WhereTermwhereScanInit (WhereScan *pScan, WhereClause *pWC, int iCur, int iColumn, u32 opMask, Index *pIdx)
 
static WhereTermwhereScanNext (WhereScan *pScan)
 
static int whereShortCut (WhereLoopBuilder *pBuilder)
 
static LogEst whereSortingCost (WhereInfo *pWInfo, LogEst nRow, int nOrderBy, int nSorted)
 
static char * whereTempTriggers (Parse *pParse, Table *pTab)
 
static int whereUsablePartialIndex (int iTab, WhereClause *pWC, Expr *pWhere)
 
static WithwithDup (sqlite3 *db, With *p)
 
static int withExpand (Walker *pWalker, struct SrcList_item *pFrom)
 
static int write32bits (sqlite3_file *fd, i64 offset, u32 val)
 
static int writeJournalHdr (Pager *pPager)
 
static int writeMasterJournal (Pager *pPager, const char *zMaster)
 
static int xferCompatibleIndex (Index *pDest, Index *pSrc)
 
static int xferOptimization (Parse *pParse, Table *pDest, Select *pSelect, int onError, int iDbDest)
 
static void yy_accept (yyParser *)
 
static void yy_destructor (yyParser *yypParser, YYCODETYPE yymajor, YYMINORTYPE *yypminor)
 
static int yy_find_reduce_action (int stateno, YYCODETYPE iLookAhead)
 
static unsigned int yy_find_shift_action (yyParser *pParser, YYCODETYPE iLookAhead)
 
static void yy_pop_parser_stack (yyParser *pParser)
 
static void yy_reduce (yyParser *yypParser, unsigned int yyruleno)
 
static void yy_shift (yyParser *yypParser, int yyNewState, int yyMajor, sqlite3ParserTOKENTYPE yyMinor)
 
static void yy_syntax_error (yyParser *yypParser, int yymajor, sqlite3ParserTOKENTYPE yyminor)
 
static void yyStackOverflow (yyParser *yypParser)
 
static void zeroblobFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static int zeroJournalHdr (Pager *pPager, int doTruncate)
 
static void zeroPage (MemPage *pPage, int flags)
 

Variables

static const char aDigits [] = "0123456789ABCDEF0123456789abcdef"
 
static const int aHardLimit []
 
static const unsigned char aiClass []
 
static const unsigned char aJournalMagic []
 
static const struct sPragmaNames aPragmaNames []
 
static const char aPrefix [] = "-x0\000X0"
 
static struct unix_syscall aSyscall []
 
static const char *const azCompileOpt []
 
static const et_info fmtinfo []
 
static const struct compareInfo globInfo = { '*', '?', '[', 0 }
 
static const char hexdigits []
 
static unixInodeInfoinodeList = 0
 
static const struct compareInfo likeInfoAlt = { '%', '_', 0, 0 }
 
static const struct compareInfo likeInfoNorm = { '%', '_', 0, 1 }
 
static SQLITE_WSD struct Mem0Global mem0 = { 0, 0, 0, 0, 0, 0 }
 
static const struct sqlite3_io_methods MemJournalMethods
 
static SQLITE_WSD struct PCacheGlobal pcache1_g
 
static pid_t randomnessPid = 0
 
SQLITE_API char * sqlite3_data_directory = 0
 
SQLITE_API char * sqlite3_temp_directory = 0
 
SQLITE_API const char sqlite3_version [] = SQLITE_VERSION
 
static const sqlite3_api_routines sqlite3Apis
 
static SQLITE_WSD struct sqlite3AutoExtList sqlite3Autoext = { 0, 0 }
 
SQLITE_PRIVATE FuncDefHash sqlite3BuiltinFunctions
 
SQLITE_PRIVATE SQLITE_WSD struct Sqlite3Config sqlite3Config
 
SQLITE_PRIVATE const unsigned char sqlite3CtypeMap [256]
 
static SQLITE_WSD struct BenignMallocHooks sqlite3Hooks = { 0, 0 }
 
SQLITE_PRIVATE const Token sqlite3IntTokens []
 
const int sqlite3one = 1
 
SQLITE_PRIVATE const unsigned char sqlite3OpcodeProperty [] = OPFLG_INITIALIZER
 
SQLITE_PRIVATE void(*)(voidsqlite3OsDlSym (sqlite3_vfs *, void *, const char *)
 
SQLITE_PRIVATE int sqlite3PendingByte = 0x40000000
 
static SQLITE_WSD struct sqlite3PrngType sqlite3Prng
 
static SQLITE_WSD struct sqlite3PrngType sqlite3SavedPrng
 
static BtShared *SQLITE_WSD sqlite3SharedCacheList = 0
 
static const u8 sqlite3SmallTypeSizes []
 
static SQLITE_WSD struct sqlite3StatType sqlite3Stat = { {0,}, {0,} }
 
SQLITE_PRIVATE const char sqlite3StrBINARY [] = "BINARY"
 
SQLITE_PRIVATE const unsigned char sqlite3UpperToLower []
 
static const unsigned char sqlite3Utf8Trans1 []
 
static const FuncDef statGetFuncdef
 
static const FuncDef statInitFuncdef
 
static const char statMutex []
 
static const FuncDef statPushFuncdef
 
static sqlite3_vfs *SQLITE_WSD vfsList = 0
 
static const YYACTIONTYPE yy_action []
 
static const YYACTIONTYPE yy_default []
 
static const YYCODETYPE yy_lookahead []
 
static const short yy_reduce_ofst []
 
static const short yy_shift_ofst []
 
static const YYCODETYPE yyFallback []
 
struct {
   YYCODETYPE   lhs
 
   unsigned char   nrhs
 
yyRuleInfo []
 
static const char zMagicHeader [] = SQLITE_FILE_HEADER
 

Macro Definition Documentation

#define _BTREE_H_

Definition at line 11844 of file sqlite3.c.

#define _FILE_OFFSET_BITS   64

Definition at line 194 of file sqlite3.c.

#define _FTS5_H

Definition at line 9881 of file sqlite3.c.

#define _FTSINT_H

Definition at line 140226 of file sqlite3.c.

#define _LARGE_FILE   1

Definition at line 192 of file sqlite3.c.

#define _LARGEFILE_SOURCE   1

Definition at line 196 of file sqlite3.c.

#define _MSVC_H_

Definition at line 101 of file sqlite3.c.

#define _OS_COMMON_H_

Definition at line 29204 of file sqlite3.c.

#define _OS_SETUP_H_

Definition at line 13164 of file sqlite3.c.

#define _PAGER_H_

Definition at line 12710 of file sqlite3.c.

#define _SQLITE3_H_

Definition at line 286 of file sqlite3.c.

#define _SQLITE3EXT_H_

Definition at line 108183 of file sqlite3.c.

#define _SQLITE3RTREE_H_

Definition at line 8476 of file sqlite3.c.

#define _SQLITE_HASH_H_

Definition at line 11015 of file sqlite3.c.

#define _SQLITE_OS_C_   1

Definition at line 19483 of file sqlite3.c.

#define _SQLITE_OS_H_

Definition at line 13140 of file sqlite3.c.

#define _SQLITE_VDBE_H_

Definition at line 12186 of file sqlite3.c.

#define _SQLITEINT_H_

Definition at line 41 of file sqlite3.c.

#define _VDBEINT_H_

Definition at line 17422 of file sqlite3.c.

#define _WAL_H_

Definition at line 45708 of file sqlite3.c.

#define _XOPEN_SOURCE   600

Definition at line 10833 of file sqlite3.c.

#define ADDR (   X)    (-1-(X))

Definition at line 12329 of file sqlite3.c.

#define AGGREGATE (   zName,
  nArg,
  arg,
  nc,
  xStep,
  xFinal 
)
Value:
SQLITE_INT_TO_PTR(arg), 0, xStep,xFinal,#zName, {0}}
#define SQLITE_UTF8
Definition: sqlite3.c:4587
Definition: arg_fwd.hpp:23
#define SQLITE_INT_TO_PTR(X)
Definition: sqlite3.c:10709
#define SQLITE_FUNC_NEEDCOLL
Definition: sqlite3.c:13949

Definition at line 14012 of file sqlite3.c.

#define AGGREGATE2 (   zName,
  nArg,
  arg,
  nc,
  xStep,
  xFinal,
  extraFlags 
)
Value:
{nArg, SQLITE_UTF8|(nc*SQLITE_FUNC_NEEDCOLL)|extraFlags, \
SQLITE_INT_TO_PTR(arg), 0, xStep,xFinal,#zName, {0}}
#define SQLITE_UTF8
Definition: sqlite3.c:4587
Definition: arg_fwd.hpp:23
#define SQLITE_INT_TO_PTR(X)
Definition: sqlite3.c:10709
#define SQLITE_FUNC_NEEDCOLL
Definition: sqlite3.c:13949

Definition at line 14015 of file sqlite3.c.

#define ALLBITS   ((Bitmask)-1)

Definition at line 14870 of file sqlite3.c.

#define ALWAYS (   X)    (X)

Definition at line 10929 of file sqlite3.c.

#define ApplyCostMultiplier (   C,
 
)

Definition at line 128073 of file sqlite3.c.

#define ArraySize (   X)    ((int)(sizeof(X)/sizeof(X[0])))

Definition at line 11708 of file sqlite3.c.

#define assertCellInfo (   x)

Definition at line 61911 of file sqlite3.c.

#define assertParentIndex (   x,
  y,
  z 
)

Definition at line 62470 of file sqlite3.c.

#define assertTruncateConstraint (   pPager)

Definition at line 49695 of file sqlite3.c.

#define BITVEC_HASH (   X)    (((X)*1)%BITVEC_NINT)

Definition at line 42705 of file sqlite3.c.

#define BITVEC_MXHASH   (BITVEC_NINT/2)

Definition at line 42700 of file sqlite3.c.

#define BITVEC_NBIT   (BITVEC_NELEM*BITVEC_SZELEM)

Definition at line 42694 of file sqlite3.c.

#define BITVEC_NELEM   (BITVEC_USIZE/sizeof(BITVEC_TELEM))

Definition at line 42692 of file sqlite3.c.

#define BITVEC_NINT   (BITVEC_USIZE/sizeof(u32))

Definition at line 42697 of file sqlite3.c.

#define BITVEC_NPTR   (BITVEC_USIZE/sizeof(Bitvec *))

Definition at line 42707 of file sqlite3.c.

#define BITVEC_SZ   512

Definition at line 42677 of file sqlite3.c.

#define BITVEC_SZELEM   8

Definition at line 42690 of file sqlite3.c.

#define BITVEC_TELEM   u8

Definition at line 42688 of file sqlite3.c.

#define BITVEC_USIZE   (((BITVEC_SZ-(3*sizeof(u32)))/sizeof(Bitvec*))*sizeof(Bitvec*))

Definition at line 42681 of file sqlite3.c.

#define BMS   ((int)(sizeof(Bitmask)*8))

Definition at line 14863 of file sqlite3.c.

#define BTALLOC_ANY   0 /* Allocate any page */

Definition at line 57719 of file sqlite3.c.

#define BTALLOC_EXACT   1 /* Allocate exact page if possible */

Definition at line 57720 of file sqlite3.c.

#define BTALLOC_LE   2 /* Allocate any page <= the parameter */

Definition at line 57721 of file sqlite3.c.

#define BTCF_AtLast   0x08 /* Cursor is pointing ot the last entry */

Definition at line 57214 of file sqlite3.c.

#define BTCF_Incrblob   0x10 /* True if an incremental I/O handle */

Definition at line 57215 of file sqlite3.c.

#define BTCF_Multiple   0x20 /* Maybe another cursor on the same btree */

Definition at line 57216 of file sqlite3.c.

#define BTCF_ValidNKey   0x02 /* True if info.nKey is valid */

Definition at line 57212 of file sqlite3.c.

#define BTCF_ValidOvfl   0x04 /* True if aOverflow is valid */

Definition at line 57213 of file sqlite3.c.

#define BTCF_WriteFlag   0x01 /* True if a write cursor */

Definition at line 57211 of file sqlite3.c.

#define BTCURSOR_MAX_DEPTH   20

Definition at line 57160 of file sqlite3.c.

#define BTREE_APPLICATION_ID   8

Definition at line 11976 of file sqlite3.c.

#define BTREE_AUTOVACUUM_FULL   1 /* Do full auto-vacuum */

Definition at line 11860 of file sqlite3.c.

#define BTREE_AUTOVACUUM_INCR   2 /* Incremental vacuum */

Definition at line 11861 of file sqlite3.c.

#define BTREE_AUTOVACUUM_NONE   0 /* Do not do auto-vacuum */

Definition at line 11859 of file sqlite3.c.

#define BTREE_AUXDELETE   0x04 /* not the primary delete operation */

Definition at line 12078 of file sqlite3.c.

#define BTREE_BLOBKEY   2 /* Table has keys only - no data */

Definition at line 11939 of file sqlite3.c.

#define BTREE_BULKLOAD   0x00000001 /* Used to full index in sorted order */

Definition at line 12021 of file sqlite3.c.

#define BTREE_DATA_VERSION   15 /* A virtual meta-value */

Definition at line 11977 of file sqlite3.c.

#define BTREE_DEFAULT_CACHE_SIZE   3

Definition at line 11971 of file sqlite3.c.

#define BTREE_FILE_FORMAT   2

Definition at line 11970 of file sqlite3.c.

#define BTREE_FORDELETE   0x00000008 /* Cursor is for seek/delete only */

Definition at line 12048 of file sqlite3.c.

#define BTREE_FREE_PAGE_COUNT   0

Definition at line 11968 of file sqlite3.c.

#define BTREE_HINT_RANGE   0 /* Range constraints on queries */

Definition at line 12006 of file sqlite3.c.

#define BTREE_INCR_VACUUM   7

Definition at line 11975 of file sqlite3.c.

#define BTREE_INTKEY   1 /* Table has only 64-bit signed integer keys */

Definition at line 11938 of file sqlite3.c.

#define BTREE_LARGEST_ROOT_PAGE   4

Definition at line 11972 of file sqlite3.c.

#define BTREE_MEMORY   2 /* This is an in-memory DB */

Definition at line 11887 of file sqlite3.c.

#define BTREE_OMIT_JOURNAL   1 /* Do not create or use a rollback journal */

Definition at line 11886 of file sqlite3.c.

#define BTREE_SAVEPOSITION   0x02 /* Leave cursor pointing at NEXT or PREV */

Definition at line 12077 of file sqlite3.c.

#define BTREE_SCHEMA_VERSION   1

Definition at line 11969 of file sqlite3.c.

#define BTREE_SEEK_EQ   0x00000002 /* EQ seeks only - no range seeks */

Definition at line 12022 of file sqlite3.c.

#define BTREE_SINGLE   4 /* The file contains at most 1 b-tree */

Definition at line 11888 of file sqlite3.c.

#define BTREE_TEXT_ENCODING   5

Definition at line 11973 of file sqlite3.c.

#define BTREE_UNORDERED   8 /* Use of a hash implementation is OK */

Definition at line 11889 of file sqlite3.c.

#define BTREE_USER_VERSION   6

Definition at line 11974 of file sqlite3.c.

#define BTREE_WRCSR   0x00000004 /* read-write cursor */

Definition at line 12047 of file sqlite3.c.

#define btreeIntegrity (   p)
Value:
assert( p->pBt->inTransaction!=TRANS_NONE || p->pBt->nTransaction==0 ); \
assert( p->pBt->inTransaction>=p->inTrans );
GLfloat GLfloat p
Definition: glext.h:12687
#define TRANS_NONE
Definition: sqlite3.c:57050

Definition at line 57318 of file sqlite3.c.

#define BTS_EXCLUSIVE   0x0020 /* pWriter has an exclusive lock */

Definition at line 57135 of file sqlite3.c.

#define BTS_INITIALLY_EMPTY   0x0008 /* Database was empty at trans start */

Definition at line 57133 of file sqlite3.c.

#define BTS_NO_WAL   0x0010 /* Do not open write-ahead-log files */

Definition at line 57134 of file sqlite3.c.

#define BTS_PAGESIZE_FIXED   0x0002 /* Page size can no longer be changed */

Definition at line 57131 of file sqlite3.c.

#define BTS_PENDING   0x0040 /* Waiting for read-locks to clear */

Definition at line 57136 of file sqlite3.c.

#define BTS_READ_ONLY   0x0001 /* Underlying file is readonly */

Definition at line 57130 of file sqlite3.c.

#define BTS_SECURE_DELETE   0x0004 /* PRAGMA secure_delete is enabled */

Definition at line 57132 of file sqlite3.c.

#define BYTESWAP32 (   x)
Value:
( \
(((x)&0x000000FF)<<24) + (((x)&0x0000FF00)<<8) \
+ (((x)&0x00FF0000)>>8) + (((x)&0xFF000000)>>24) \
)
GLdouble x

Definition at line 53816 of file sqlite3.c.

#define CACHE_STALE   0

Definition at line 17584 of file sqlite3.c.

#define CC_AND   24 /* '&' */

Definition at line 134368 of file sqlite3.c.

#define CC_BANG   15 /* '!'. Part of != */

Definition at line 134359 of file sqlite3.c.

#define CC_COMMA   23 /* ',' */

Definition at line 134367 of file sqlite3.c.

#define CC_DIGIT   3 /* Digits */

Definition at line 134347 of file sqlite3.c.

#define CC_DOLLAR   4 /* '$' */

Definition at line 134348 of file sqlite3.c.

#define CC_DOT   26 /* '.' */

Definition at line 134370 of file sqlite3.c.

#define CC_EQ   14 /* '='. Part of = or == */

Definition at line 134358 of file sqlite3.c.

#define CC_GT   13 /* '>'. Part of > or >= */

Definition at line 134357 of file sqlite3.c.

#define CC_ID   2 /* unicode characters usable in IDs */

Definition at line 134346 of file sqlite3.c.

#define CC_ILLEGAL   27 /* Illegal character */

Definition at line 134371 of file sqlite3.c.

#define CC_KYWD   1 /* Alphabetics or '_'. Usable in a keyword */

Definition at line 134345 of file sqlite3.c.

#define CC_LP   17 /* '(' */

Definition at line 134361 of file sqlite3.c.

#define CC_LT   12 /* '<'. Part of < or <= or <> */

Definition at line 134356 of file sqlite3.c.

#define CC_MINUS   11 /* '-'. Minus or SQL-style comment */

Definition at line 134355 of file sqlite3.c.

#define CC_PERCENT   22 /* '%' */

Definition at line 134366 of file sqlite3.c.

#define CC_PIPE   10 /* '|'. Bitwise OR or concatenate */

Definition at line 134354 of file sqlite3.c.

#define CC_PLUS   20 /* '+' */

Definition at line 134364 of file sqlite3.c.

#define CC_QUOTE   8 /* '"', '\'', or '`'. String literals, quoted ids */

Definition at line 134352 of file sqlite3.c.

#define CC_QUOTE2   9 /* '['. [...] style quoted ids */

Definition at line 134353 of file sqlite3.c.

#define CC_RP   18 /* ')' */

Definition at line 134362 of file sqlite3.c.

#define CC_SEMI   19 /* ';' */

Definition at line 134363 of file sqlite3.c.

#define CC_SLASH   16 /* '/'. / or c-style comment */

Definition at line 134360 of file sqlite3.c.

#define CC_SPACE   7 /* Space characters */

Definition at line 134351 of file sqlite3.c.

#define CC_STAR   21 /* '*' */

Definition at line 134365 of file sqlite3.c.

#define CC_TILDA   25 /* '~' */

Definition at line 134369 of file sqlite3.c.

#define CC_VARALPHA   5 /* '@', '#', ':'. Alphabetic SQL variables */

Definition at line 134349 of file sqlite3.c.

#define CC_VARNUM   6 /* '?'. Numeric SQL variables */

Definition at line 134350 of file sqlite3.c.

#define CC_X   0 /* The letter 'x', or start of BLOB literal */

Definition at line 134344 of file sqlite3.c.

#define charMap (   X)    sqlite3UpperToLower[(unsigned char)X]

Definition at line 134424 of file sqlite3.c.

#define CHECK_PAGE (   x)

Definition at line 47034 of file sqlite3.c.

#define checkActiveVdbeCnt (   x)

Definition at line 72330 of file sqlite3.c.

#define checkProfileCallback (   DB,
 
)    if( ((P)->startTime)>0 ){ invokeProfileCallback(DB,P); }

Definition at line 74556 of file sqlite3.c.

#define CKCNSTRNT_COLUMN   0x01 /* CHECK constraint uses a changing column */

Definition at line 106890 of file sqlite3.c.

#define CKCNSTRNT_ROWID   0x02 /* CHECK constraint references the ROWID */

Definition at line 106891 of file sqlite3.c.

#define CLEARBIT (   V,
 
)    V[I>>3] &= ~(1<<(I&7))

Definition at line 42941 of file sqlite3.c.

#define CODEC1 (   P,
  D,
  N,
  X,
 
)    /* NO-OP */

Definition at line 46235 of file sqlite3.c.

#define CODEC2 (   P,
  D,
  N,
  X,
  E,
 
)    O=(char*)D

Definition at line 46236 of file sqlite3.c.

#define codeCursorHint (   A,
  B,
 
)    /* No-op */

Definition at line 123506 of file sqlite3.c.

#define COLFLAG_HASTYPE   0x0004 /* Type name follows column name */

Definition at line 14072 of file sqlite3.c.

#define COLFLAG_HIDDEN   0x0002 /* A hidden column in a virtual table */

Definition at line 14071 of file sqlite3.c.

#define COLFLAG_PRIMKEY   0x0001 /* Column is part of the primary key */

Definition at line 14070 of file sqlite3.c.

#define COLNAME_COLUMN   4

Definition at line 12312 of file sqlite3.c.

#define COLNAME_DATABASE   2

Definition at line 12310 of file sqlite3.c.

#define COLNAME_DECLTYPE   1

Definition at line 12309 of file sqlite3.c.

#define COLNAME_N   2 /* Store the name and decltype */

Definition at line 12319 of file sqlite3.c.

#define COLNAME_NAME   0

Definition at line 12308 of file sqlite3.c.

#define COLNAME_TABLE   3

Definition at line 12311 of file sqlite3.c.

#define COLUMN_MASK (   x)    (((x)>31) ? 0xffffffff : ((u32)1<<(x)))

Definition at line 105444 of file sqlite3.c.

#define columnType (   A,
  B,
  C,
  D,
  E,
 
)    columnTypeImpl(A,B,F)

Definition at line 114138 of file sqlite3.c.

#define ConstFactorOk (   P)    ((P)->okConstFactor)

Definition at line 13874 of file sqlite3.c.

#define CORRUPT_DB   (sqlite3Config.neverCorrupt==0)

Definition at line 15646 of file sqlite3.c.

#define CTIMEOPT_VAL (   opt)    CTIMEOPT_VAL_(opt)
#define CTIMEOPT_VAL_ (   opt)    #opt
#define CURSOR_FAULT   4

Definition at line 57252 of file sqlite3.c.

#define CURSOR_INVALID   0

Definition at line 57248 of file sqlite3.c.

#define CURSOR_REQUIRESEEK   3

Definition at line 57251 of file sqlite3.c.

#define CURSOR_SKIPNEXT   2

Definition at line 57250 of file sqlite3.c.

#define CURSOR_VALID   1

Definition at line 57249 of file sqlite3.c.

#define CURTYPE_BTREE   0

Definition at line 17465 of file sqlite3.c.

#define CURTYPE_PSEUDO   3

Definition at line 17468 of file sqlite3.c.

#define CURTYPE_SORTER   1

Definition at line 17466 of file sqlite3.c.

#define CURTYPE_VTAB   2

Definition at line 17467 of file sqlite3.c.

#define DB_Empty   0x0004 /* The file is empty (length 0 bytes) */

Definition at line 13568 of file sqlite3.c.

#define DB_SchemaLoaded   0x0001 /* The schema has been loaded */

Definition at line 13566 of file sqlite3.c.

#define DB_UnresetViews   0x0002 /* Some views have defined column names */

Definition at line 13567 of file sqlite3.c.

#define DbClearProperty (   D,
  I,
 
)    (D)->aDb[I].pSchema->schemaFlags&=~(P)

Definition at line 13554 of file sqlite3.c.

#define DbHasAnyProperty (   D,
  I,
 
)    (((D)->aDb[I].pSchema->schemaFlags&(P))!=0)

Definition at line 13552 of file sqlite3.c.

#define DbHasProperty (   D,
  I,
 
)    (((D)->aDb[I].pSchema->schemaFlags&(P))==(P))

Definition at line 13551 of file sqlite3.c.

#define DbMaskAllZero (   M)    (M)==0

Definition at line 15252 of file sqlite3.c.

#define DbMaskNonZero (   M)    (M)!=0

Definition at line 15253 of file sqlite3.c.

#define DbMaskSet (   M,
 
)    (M)|=(((yDbMask)1)<<(I))

Definition at line 15251 of file sqlite3.c.

#define DbMaskTest (   M,
 
)    (((M)&(((yDbMask)1)<<(I)))!=0)

Definition at line 15249 of file sqlite3.c.

#define DbMaskZero (   M)    (M)=0

Definition at line 15250 of file sqlite3.c.

#define DbSetProperty (   D,
  I,
 
)    (D)->aDb[I].pSchema->schemaFlags|=(P)

Definition at line 13553 of file sqlite3.c.

#define Deephemeralize (   P)
Value:
if( ((P)->flags&MEM_Ephem)!=0 \
&& sqlite3VdbeMemMakeWriteable(P) ){ goto no_mem;}
GLbitfield flags
#define MEM_Ephem
Definition: sqlite3.c:17656
SQLITE_PRIVATE int sqlite3VdbeMemMakeWriteable(Mem *)
Definition: sqlite3.c:68371

Definition at line 76703 of file sqlite3.c.

#define DFUNCTION (   zName,
  nArg,
  iArg,
  bNC,
  xFunc 
)
Value:
SQLITE_INT_TO_PTR(iArg), 0, xFunc, 0, #zName, {0} }
#define SQLITE_FUNC_SLOCHNG
Definition: sqlite3.c:13957
#define SQLITE_UTF8
Definition: sqlite3.c:4587
#define SQLITE_INT_TO_PTR(X)
Definition: sqlite3.c:10709
#define SQLITE_FUNC_NEEDCOLL
Definition: sqlite3.c:13949

Definition at line 14000 of file sqlite3.c.

#define DIRECT_MODE   0
#define disable_simulated_io_errors ( )

Definition at line 49578 of file sqlite3.c.

#define disable_simulated_io_errors ( )

Definition at line 49578 of file sqlite3.c.

#define DO_OS_MALLOC_TEST (   x)

Definition at line 19542 of file sqlite3.c.

#define DOTLOCK_SUFFIX   ".lock"

Definition at line 31158 of file sqlite3.c.

#define EIGHT_BYTE_ALIGNMENT (   X)    ((((char*)(X) - (char*)0)&7)==0)

Definition at line 11601 of file sqlite3.c.

#define enable_simulated_io_errors ( )

Definition at line 49579 of file sqlite3.c.

#define enable_simulated_io_errors ( )

Definition at line 49579 of file sqlite3.c.

#define ENC (   db)    ((db)->enc)

Definition at line 13793 of file sqlite3.c.

#define EP_Agg   0x000002 /* Contains one or more aggregate functions */

Definition at line 14715 of file sqlite3.c.

#define EP_Alias   0x400000 /* Is an alias for a result set column */

Definition at line 14736 of file sqlite3.c.

#define EP_CanBeNull   0x100000 /* Can be null despite NOT NULL constraint */

Definition at line 14734 of file sqlite3.c.

#define EP_Collate   0x000100 /* Tree contains a TK_COLLATE operator */

Definition at line 14722 of file sqlite3.c.

#define EP_ConstFunc   0x080000 /* A SQLITE_FUNC_CONSTANT or _SLOCHNG function */

Definition at line 14733 of file sqlite3.c.

#define EP_DblQuoted   0x000040 /* token.z was originally in "..." */

Definition at line 14720 of file sqlite3.c.

#define EP_Distinct   0x000010 /* Aggregate function with DISTINCT keyword */

Definition at line 14718 of file sqlite3.c.

#define EP_Error   0x000008 /* Expression contains one or more errors */

Definition at line 14717 of file sqlite3.c.

#define EP_FromJoin   0x000001 /* Originates in ON/USING clause of outer join */

Definition at line 14714 of file sqlite3.c.

#define EP_Generic   0x000200 /* Ignore COLLATE or affinity on this tree */

Definition at line 14723 of file sqlite3.c.

#define EP_InfixFunc   0x000080 /* True for an infix function: LIKE, GLOB, etc */

Definition at line 14721 of file sqlite3.c.

#define EP_IntValue   0x000400 /* Integer value contained in u.iValue */

Definition at line 14724 of file sqlite3.c.

#define EP_MemToken   0x010000 /* Need to sqlite3DbFree() Expr.zToken */

Definition at line 14730 of file sqlite3.c.

#define EP_NoReduce   0x020000 /* Cannot EXPRDUP_REDUCE this Expr */

Definition at line 14731 of file sqlite3.c.

#define EP_Propagate   (EP_Collate|EP_Subquery) /* Propagate these bits up tree */

Definition at line 14741 of file sqlite3.c.

#define EP_Reduced   0x002000 /* Expr struct EXPR_REDUCEDSIZE bytes only */

Definition at line 14727 of file sqlite3.c.

#define EP_Resolved   0x000004 /* IDs have been resolved to COLUMNs */

Definition at line 14716 of file sqlite3.c.

#define EP_Skip   0x001000 /* COLLATE, AS, or UNLIKELY */

Definition at line 14726 of file sqlite3.c.

#define EP_Static   0x008000 /* Held in memory not obtained from malloc() */

Definition at line 14729 of file sqlite3.c.

#define EP_Subquery   0x200000 /* Tree contains a TK_SELECT operator */

Definition at line 14735 of file sqlite3.c.

#define EP_TokenOnly   0x004000 /* Expr struct EXPR_TOKENONLYSIZE bytes only */

Definition at line 14728 of file sqlite3.c.

#define EP_Unlikely   0x040000 /* unlikely() or likelihood() function */

Definition at line 14732 of file sqlite3.c.

#define EP_VarSelect   0x000020 /* pSelect is correlated, not constant */

Definition at line 14719 of file sqlite3.c.

#define EP_xIsSelect   0x000800 /* x.pSelect is valid (otherwise x.pList is) */

Definition at line 14725 of file sqlite3.c.

#define etBUFSIZE   SQLITE_PRINT_BUF_SIZE /* Size of the output buffer */

Definition at line 24605 of file sqlite3.c.

#define etCHARX   8 /* Characters. %c */

Definition at line 24464 of file sqlite3.c.

#define etDYNSTRING   6 /* Dynamically allocated strings. %z */

Definition at line 24462 of file sqlite3.c.

#define etEXP   2 /* Exponentional notation. %e and %E */

Definition at line 24458 of file sqlite3.c.

#define etFLOAT   1 /* Floating point. %f */

Definition at line 24457 of file sqlite3.c.

#define etGENERIC   3 /* Floating or exponential, depending on exponent. %g */

Definition at line 24459 of file sqlite3.c.

#define etINVALID   16 /* Any unrecognized conversion type */

Definition at line 24475 of file sqlite3.c.

#define etORDINAL   15 /* %r -> 1st, 2nd, 3rd, 4th, etc. English only */

Definition at line 24473 of file sqlite3.c.

#define etPERCENT   7 /* Percent symbol. %% */

Definition at line 24463 of file sqlite3.c.

#define etPOINTER   13 /* The %p conversion */

Definition at line 24471 of file sqlite3.c.

#define etRADIX   0 /* Integer types. %d, %x, %o, and so forth */

Definition at line 24456 of file sqlite3.c.

#define etSIZE   4 /* Return number of characters processed so far. %n */

Definition at line 24460 of file sqlite3.c.

#define etSQLESCAPE   9 /* Strings with '\'' doubled. %q */

Definition at line 24466 of file sqlite3.c.

#define etSQLESCAPE2
Value:
10 /* Strings with '\'' doubled and enclosed in '',
NULL pointers replaced by SQL NULL. %Q */

Definition at line 24467 of file sqlite3.c.

#define etSQLESCAPE3   14 /* %w -> Strings with '\"' doubled */

Definition at line 24472 of file sqlite3.c.

#define etSRCLIST   12 /* a pointer to a SrcList */

Definition at line 24470 of file sqlite3.c.

#define etSTRING   5 /* Strings. %s */

Definition at line 24461 of file sqlite3.c.

#define etTOKEN   11 /* a pointer to a Token structure */

Definition at line 24469 of file sqlite3.c.

#define EXCLUSIVE_LOCK   4

Definition at line 13269 of file sqlite3.c.

#define ExpandBlob (   P)    (((P)->flags&MEM_Zero)?sqlite3VdbeMemExpandBlob(P):0)

Definition at line 17958 of file sqlite3.c.

#define explainSetInteger (   a,
  b 
)    a = b

Definition at line 113941 of file sqlite3.c.

#define EXPR_FULLSIZE   sizeof(Expr) /* Full size */

Definition at line 14767 of file sqlite3.c.

#define EXPR_REDUCEDSIZE   offsetof(Expr,iTable) /* Common features */

Definition at line 14768 of file sqlite3.c.

#define EXPR_TOKENONLYSIZE   offsetof(Expr,pLeft) /* Fewer features */

Definition at line 14769 of file sqlite3.c.

#define ExprClearProperty (   E,
 
)    (E)->flags&=~(P)

Definition at line 14750 of file sqlite3.c.

#define EXPRDUP_REDUCE   0x0001 /* Used reduced-size Expr nodes */

Definition at line 14775 of file sqlite3.c.

#define ExprHasAllProperty (   E,
 
)    (((E)->flags&(P))==(P))

Definition at line 14748 of file sqlite3.c.

#define ExprHasProperty (   E,
 
)    (((E)->flags&(P))!=0)

Definition at line 14747 of file sqlite3.c.

#define ExprSetProperty (   E,
 
)    (E)->flags|=(P)

Definition at line 14749 of file sqlite3.c.

#define ExprSetVVAProperty (   E,
 
)

Definition at line 14759 of file sqlite3.c.

#define EXTRA_SIZE   sizeof(MemPage)

Definition at line 56985 of file sqlite3.c.

#define fdatasync   fsync

Definition at line 32471 of file sqlite3.c.

#define fileChunkSize (   nChunkSize)    (sizeof(FileChunk) + ((nChunkSize)-8))

Definition at line 86869 of file sqlite3.c.

#define FILEHANDLEID (   fd)    ((int)fd)

Definition at line 45948 of file sqlite3.c.

#define findCell (   P,
 
)    ((P)->aData + ((P)->maskPage & get2byteAligned(&(P)->aCellIdx[2*(I)])))

Definition at line 58688 of file sqlite3.c.

#define findCellPastPtr (   P,
 
)    ((P)->aDataOfst + ((P)->maskPage & get2byteAligned(&(P)->aCellIdx[2*(I)])))

Definition at line 58690 of file sqlite3.c.

#define FLAG_INTERN   2 /* True if for internal use only */

Definition at line 24500 of file sqlite3.c.

#define FLAG_SIGNED   1 /* True if the value to convert is signed */

Definition at line 24499 of file sqlite3.c.

#define FLAG_STRING   4 /* Allow infinity precision */

Definition at line 24501 of file sqlite3.c.

#define FOUR_BYTE_INT (   x)    (16777216*(i8)((x)[0])|((x)[1]<<16)|((x)[2]<<8)|(x)[3])

Definition at line 73206 of file sqlite3.c.

#define FOUR_BYTE_UINT (   x)    (((u32)(x)[0]<<24)|((x)[1]<<16)|((x)[2]<<8)|(x)[3])

Definition at line 73205 of file sqlite3.c.

#define FTS5_TOKEN_COLOCATED   0x0001 /* Same position as prev. token */

Definition at line 10389 of file sqlite3.c.

#define FTS5_TOKENIZE_AUX   0x0008

Definition at line 10385 of file sqlite3.c.

#define FTS5_TOKENIZE_DOCUMENT   0x0004

Definition at line 10384 of file sqlite3.c.

#define FTS5_TOKENIZE_PREFIX   0x0002

Definition at line 10383 of file sqlite3.c.

#define FTS5_TOKENIZE_QUERY   0x0001

Definition at line 10382 of file sqlite3.c.

#define FULLY_WITHIN   2 /* Object fully contained within query region */

Definition at line 8570 of file sqlite3.c.

#define FUNC_PERFECT_MATCH   6 /* The score for a perfect match */

Definition at line 101432 of file sqlite3.c.

#define FUNCTION (   zName,
  nArg,
  iArg,
  bNC,
  xFunc 
)
Value:
SQLITE_INT_TO_PTR(iArg), 0, xFunc, 0, #zName, {0} }
#define SQLITE_UTF8
Definition: sqlite3.c:4587
#define SQLITE_FUNC_CONSTANT
Definition: sqlite3.c:13955
#define SQLITE_INT_TO_PTR(X)
Definition: sqlite3.c:10709
#define SQLITE_FUNC_NEEDCOLL
Definition: sqlite3.c:13949

Definition at line 13994 of file sqlite3.c.

#define FUNCTION2 (   zName,
  nArg,
  iArg,
  bNC,
  xFunc,
  extraFlags 
)
Value:
SQLITE_INT_TO_PTR(iArg), 0, xFunc, 0, #zName, {0} }
#define SQLITE_UTF8
Definition: sqlite3.c:4587
#define SQLITE_FUNC_CONSTANT
Definition: sqlite3.c:13955
#define SQLITE_INT_TO_PTR(X)
Definition: sqlite3.c:10709
#define SQLITE_FUNC_NEEDCOLL
Definition: sqlite3.c:13949

Definition at line 14003 of file sqlite3.c.

#define GCC_VERSION   0

Definition at line 203 of file sqlite3.c.

#define get2byte (   x)    ((x)[0]<<8 | (x)[1])

Definition at line 57365 of file sqlite3.c.

#define get2byteAligned (   x)    ((x)[0]<<8 | (x)[1])

Definition at line 57384 of file sqlite3.c.

#define get2byteNotZero (   X)    (((((int)get2byte(X))-1)&0xffff)+1)

Definition at line 57714 of file sqlite3.c.

#define get4byte   sqlite3Get4byte

Definition at line 57367 of file sqlite3.c.

#define getVarint   sqlite3GetVarint

Definition at line 16262 of file sqlite3.c.

#define getVarint32 (   A,
 
)    (u8)((*(A)<(u8)0x80)?((B)=(u32)*(A)),1:sqlite3GetVarint32((A),(u32 *)&(B)))

Definition at line 16257 of file sqlite3.c.

#define GLOBAL (   t,
  v 
)    v

Definition at line 11747 of file sqlite3.c.

#define HAS_UPDATE_HOOK (   DB)    ((DB)->xUpdateCallback)

Definition at line 76626 of file sqlite3.c.

#define HASHTABLE_HASH_1   383 /* Should be prime */

Definition at line 53730 of file sqlite3.c.

#define HASHTABLE_NPAGE   4096 /* Must be power of 2 */

Definition at line 53729 of file sqlite3.c.

#define HASHTABLE_NPAGE_ONE   (HASHTABLE_NPAGE - (WALINDEX_HDR_SIZE/sizeof(u32)))

Definition at line 53738 of file sqlite3.c.

#define HASHTABLE_NSLOT   (HASHTABLE_NPAGE*2) /* Must be a power of 2 */

Definition at line 53731 of file sqlite3.c.

#define HasRowid (   X)    (((X)->tabFlags & TF_WithoutRowid)==0)

Definition at line 14278 of file sqlite3.c.

#define HAVE_FCHOWN   1

Definition at line 159 of file sqlite3.c.

#define HAVE_FULLFSYNC   0

Definition at line 32482 of file sqlite3.c.

#define HAVE_LSTAT   1

Definition at line 161 of file sqlite3.c.

#define HAVE_MREMAP   0

Definition at line 29416 of file sqlite3.c.

#define HAVE_READLINK   1

Definition at line 160 of file sqlite3.c.

#define IdChar (   C)    ((sqlite3CtypeMap[(unsigned char)C]&0x46)!=0)

Definition at line 134769 of file sqlite3.c.

#define IfNotOmitAV (   expr)    (expr)

Definition at line 57730 of file sqlite3.c.

#define IgnorableOrderby (   X)    ((X->eDest)<=SRT_DistQueue)

Definition at line 15166 of file sqlite3.c.

#define IN_DECLARE_VTAB   (pParse->declareVtab)

Definition at line 15386 of file sqlite3.c.

#define IN_INDEX_EPH   2 /* Search an ephemeral b-tree */

Definition at line 16538 of file sqlite3.c.

#define IN_INDEX_INDEX_ASC   3 /* Existing index ASCENDING */

Definition at line 16539 of file sqlite3.c.

#define IN_INDEX_INDEX_DESC   4 /* Existing index DESCENDING */

Definition at line 16540 of file sqlite3.c.

#define IN_INDEX_LOOP   0x0004 /* IN operator used as a loop */

Definition at line 16547 of file sqlite3.c.

#define IN_INDEX_MEMBERSHIP   0x0002 /* IN operator used for membership test */

Definition at line 16546 of file sqlite3.c.

#define IN_INDEX_NOOP   5 /* No table available. Use comparisons */

Definition at line 16541 of file sqlite3.c.

#define IN_INDEX_NOOP_OK   0x0001 /* OK to return IN_INDEX_NOOP */

Definition at line 16545 of file sqlite3.c.

#define IN_INDEX_ROWID   1 /* Search the rowid of the table */

Definition at line 16537 of file sqlite3.c.

#define INCRINIT_NORMAL   0

Definition at line 86140 of file sqlite3.c.

#define INCRINIT_ROOT   2

Definition at line 86142 of file sqlite3.c.

#define INCRINIT_TASK   1

Definition at line 86141 of file sqlite3.c.

#define initMaskSet (   P)    (P)->n=0

Definition at line 122614 of file sqlite3.c.

#define INT16_TYPE   short int

Definition at line 11425 of file sqlite3.c.

#define INT8_TYPE   signed char

Definition at line 11439 of file sqlite3.c.

#define INTERFACE   1

Definition at line 130925 of file sqlite3.c.

#define invalidateOverflowCache (   pCur)    (pCur->curFlags &= ~BTCF_ValidOvfl)

Definition at line 58133 of file sqlite3.c.

#define IOMETHODS (   FINDER,
  METHOD,
  VERSION,
  CLOSE,
  LOCK,
  UNLOCK,
  CKLOCK,
  SHMMAP 
)
Value:
static const sqlite3_io_methods METHOD = { \
VERSION, /* iVersion */ \
CLOSE, /* xClose */ \
unixRead, /* xRead */ \
unixWrite, /* xWrite */ \
unixTruncate, /* xTruncate */ \
unixSync, /* xSync */ \
unixFileSize, /* xFileSize */ \
LOCK, /* xLock */ \
UNLOCK, /* xUnlock */ \
CKLOCK, /* xCheckReservedLock */ \
unixFileControl, /* xFileControl */ \
unixSectorSize, /* xSectorSize */ \
unixDeviceCharacteristics, /* xDeviceCapabilities */ \
SHMMAP, /* xShmMap */ \
unixShmLock, /* xShmLock */ \
unixShmBarrier, /* xShmBarrier */ \
unixShmUnmap, /* xShmUnmap */ \
unixFetch, /* xFetch */ \
unixUnfetch, /* xUnfetch */ \
}; \
static const sqlite3_io_methods *FINDER##Impl(const char *z, unixFile *p){ \
return &METHOD; \
} \
static const sqlite3_io_methods *(*const FINDER)(const char*,unixFile *p) \
= FINDER##Impl;
static int unixSectorSize(sqlite3_file *NotUsed)
Definition: sqlite3.c:32962
static void unixShmBarrier(sqlite3_file *fd)
Definition: sqlite3.c:33729
static int unixShmUnmap(sqlite3_file *fd, int deleteFlag)
Definition: sqlite3.c:33745
static int unixFileSize(sqlite3_file *id, i64 *pSize)
Definition: sqlite3.c:32743
static int unixUnfetch(sqlite3_file *fd, i64 iOff, void *p)
Definition: sqlite3.c:33986
GLfloat GLfloat p
Definition: glext.h:12687
static int unixDeviceCharacteristics(sqlite3_file *id)
Definition: sqlite3.c:33061
GLdouble GLdouble z
static const std::string VERSION
Definition: constants.h:44
static int unixFetch(sqlite3_file *fd, i64 iOff, int nAmt, void **pp)
Definition: sqlite3.c:33955
static int unixTruncate(sqlite3_file *id, i64 nByte)
Definition: sqlite3.c:32693
static int unixFileControl(sqlite3_file *id, int op, void *pArg)
Definition: sqlite3.c:32866
static int unixSync(sqlite3_file *id, int flags)
Definition: sqlite3.c:32643
static int unixRead(sqlite3_file *id, void *pBuf, int amt, sqlite3_int64 offset)
Definition: sqlite3.c:32261
static int unixShmLock(sqlite3_file *fd, int ofst, int n, int flags)
Definition: sqlite3.c:33617
#define UNUSED_PARAMETER(x)
Definition: sqlite3.c:11767
static int unixWrite(sqlite3_file *id, const void *pBuf, int amt, sqlite3_int64 offset)
Definition: sqlite3.c:32375

Definition at line 34054 of file sqlite3.c.

#define IOTRACE (   A)

Definition at line 16595 of file sqlite3.c.

#define IS_BIG_INT (   X)    (((X)&~(i64)0xffffffff)!=0)

Definition at line 10986 of file sqlite3.c.

#define IS_LOCK_ERROR (   x)    ((x != SQLITE_OK) && (x != SQLITE_BUSY))

Definition at line 29077 of file sqlite3.c.

#define ISAUTOVACUUM   (pBt->autoVacuum)

Definition at line 57331 of file sqlite3.c.

#define IsHiddenColumn (   X)    (((X)->colFlags & COLFLAG_HIDDEN)!=0)

Definition at line 14269 of file sqlite3.c.

#define isMalloced (   X)    (((X)->printfFlags & SQLITE_PRINTF_MALLOCED)!=0)

Definition at line 15555 of file sqlite3.c.

#define isOpen (   pFd)    ((pFd)->pMethods!=0)

Definition at line 46629 of file sqlite3.c.

#define IsOrdinaryHiddenColumn (   X)    0

Definition at line 14270 of file sqlite3.c.

#define IsPowerOfTwo (   X)    (((X)&((X)-1))==0)

Definition at line 11713 of file sqlite3.c.

#define IsPrimaryKeyIndex (   X)    ((X)->idxType==SQLITE_IDXTYPE_PRIMARYKEY)

Definition at line 14507 of file sqlite3.c.

#define isSorter (   x)    ((x)->eCurType==CURTYPE_SORTER)

Definition at line 76708 of file sqlite3.c.

#define IsStat3   0

Definition at line 94176 of file sqlite3.c.

#define IsStat34   (IsStat3+IsStat4) /* 1 for STAT3 or STAT4. 0 otherwise */

Definition at line 94180 of file sqlite3.c.

#define IsStat4   0

Definition at line 94175 of file sqlite3.c.

#define IsUniqueIndex (   X)    ((X)->onError!=OE_None)

Definition at line 14510 of file sqlite3.c.

#define IsVirtual (   X)    (((X)->tabFlags & TF_Virtual)!=0)

Definition at line 14254 of file sqlite3.c.

#define JOURNAL_HDR_SZ (   pPager)    (pPager->sectorSize)

Definition at line 46588 of file sqlite3.c.

#define JOURNAL_PG_SZ (   pPager)    ((pPager->pageSize) + 8)

Definition at line 46582 of file sqlite3.c.

#define jrnlBufferSize (   x)    0

Definition at line 46991 of file sqlite3.c.

#define JT_CROSS   0x0002 /* Explicit use of the CROSS keyword */

Definition at line 14932 of file sqlite3.c.

#define JT_ERROR   0x0040 /* unknown or unsupported join type */

Definition at line 14937 of file sqlite3.c.

#define JT_INNER   0x0001 /* Any kind of inner or cross join */

Definition at line 14931 of file sqlite3.c.

#define JT_LEFT   0x0008 /* Left outer join */

Definition at line 14934 of file sqlite3.c.

#define JT_NATURAL   0x0004 /* True for a "natural" join */

Definition at line 14933 of file sqlite3.c.

#define JT_OUTER   0x0020 /* The "OUTER" keyword is present */

Definition at line 14936 of file sqlite3.c.

#define JT_RIGHT   0x0010 /* Right outer join */

Definition at line 14935 of file sqlite3.c.

#define LARGEST_INT64   (0xffffffff|(((i64)0x7fffffff)<<32))

Definition at line 11575 of file sqlite3.c.

#define LIKEFUNC (   zName,
  nArg,
  arg,
  flags 
)
Value:
(void *)arg, 0, likeFunc, 0, #zName, {0} }
#define SQLITE_UTF8
Definition: sqlite3.c:4587
Definition: arg_fwd.hpp:23
static void likeFunc(sqlite3_context *context, int argc, sqlite3_value **argv)
Definition: sqlite3.c:103358
GLbitfield flags
#define SQLITE_FUNC_CONSTANT
Definition: sqlite3.c:13955

Definition at line 14009 of file sqlite3.c.

#define likely (   X)    (X)

Definition at line 10995 of file sqlite3.c.

#define LONGDOUBLE_TYPE   long double

Definition at line 11443 of file sqlite3.c.

#define MASKBIT (   n)    (((Bitmask)1)<<(n))

Definition at line 14868 of file sqlite3.c.

#define MASKBIT32 (   n)    (((unsigned int)1)<<(n))

Definition at line 14869 of file sqlite3.c.

#define MASTER_NAME   "sqlite_master"

Definition at line 11691 of file sqlite3.c.

#define MASTER_ROOT   1

Definition at line 11697 of file sqlite3.c.

#define MAX (   A,
 
)    ((A)>(B)?(A):(B))

Definition at line 11382 of file sqlite3.c.

#define MAX_6BYTE   ((((i64)0x00008000)<<32)-1)
#define MAX_PATHNAME   512

Definition at line 29062 of file sqlite3.c.

#define MAX_ROWID   (i64)( (((u64)0x7fffffff)<<32) | (u64)0xffffffff )
#define MAX_SECTOR_SIZE   0x10000

Definition at line 46245 of file sqlite3.c.

#define mem0   GLOBAL(struct Mem0Global, mem0)

Definition at line 23678 of file sqlite3.c.

#define MEM_AffMask   0x001f /* Mask of affinity bits */

Definition at line 17640 of file sqlite3.c.

#define MEM_Agg   0x2000 /* Mem.z points to an agg function context */

Definition at line 17657 of file sqlite3.c.

#define MEM_Blob   0x0010 /* Value is a BLOB */

Definition at line 17639 of file sqlite3.c.

#define MEM_Cleared   0x0100 /* NULL set by OP_Null, not from data */

Definition at line 17644 of file sqlite3.c.

#define MEM_Dyn   0x0400 /* Need to call Mem.xDel() on Mem.z */

Definition at line 17654 of file sqlite3.c.

#define MEM_Ephem   0x1000 /* Mem.z points to an ephemeral string */

Definition at line 17656 of file sqlite3.c.

#define MEM_Frame   0x0040 /* Value is a VdbeFrame object */

Definition at line 17642 of file sqlite3.c.

#define MEM_Int   0x0004 /* Value is an integer */

Definition at line 17637 of file sqlite3.c.

#define MEM_Null   0x0001 /* Value is NULL */

Definition at line 17635 of file sqlite3.c.

#define MEM_Real   0x0008 /* Value is a real number */

Definition at line 17638 of file sqlite3.c.

#define MEM_RowSet   0x0020 /* Value is a RowSet object */

Definition at line 17641 of file sqlite3.c.

#define MEM_Static   0x0800 /* Mem.z points to a static string */

Definition at line 17655 of file sqlite3.c.

#define MEM_Str   0x0002 /* Value is a string */

Definition at line 17636 of file sqlite3.c.

#define MEM_Subtype   0x8000 /* Mem.eSubtype is valid */

Definition at line 17659 of file sqlite3.c.

#define MEM_Term   0x0200 /* String rep is nul terminated */

Definition at line 17653 of file sqlite3.c.

#define MEM_TypeMask   0x81ff /* Mask of type bits */

Definition at line 17645 of file sqlite3.c.

#define MEM_Undefined   0x0080 /* Value is undefined */

Definition at line 17643 of file sqlite3.c.

#define MEM_Zero   0x4000 /* Mem.i contains count of 0s appended to blob */

Definition at line 17658 of file sqlite3.c.

#define memAboutToChange (   P,
 
)

Definition at line 76566 of file sqlite3.c.

#define MEMCELLSIZE   offsetof(Mem,zMalloc)

Definition at line 17621 of file sqlite3.c.

#define MEMDB   pPager->memDb

Definition at line 46599 of file sqlite3.c.

#define MEMJOURNAL_DFLT_FILECHUNKSIZE   1024

Definition at line 86863 of file sqlite3.c.

#define MemSetTypeFlag (   p,
  f 
)    ((p)->flags = ((p)->flags&~(MEM_TypeMask|MEM_Zero))|f)

Definition at line 17674 of file sqlite3.c.

#define MEMTYPE_HEAP   0x01 /* General heap allocations */

Definition at line 16636 of file sqlite3.c.

#define MEMTYPE_LOOKASIDE   0x02 /* Heap that might have been lookaside */

Definition at line 16637 of file sqlite3.c.

#define MEMTYPE_PCACHE   0x08 /* Page cache allocations */

Definition at line 16639 of file sqlite3.c.

#define MEMTYPE_SCRATCH   0x04 /* Scratch allocations */

Definition at line 16638 of file sqlite3.c.

#define MIN (   A,
 
)    ((A)<(B)?(A):(B))

Definition at line 11379 of file sqlite3.c.

#define MUTEX_LOGIC (   X)    X

Definition at line 13464 of file sqlite3.c.

#define MX_CELL (   pBt)    ((pBt->pageSize-8)/6)

Definition at line 56905 of file sqlite3.c.

#define MX_CELL_SIZE (   pBt)    ((int)(pBt->pageSize-8))

Definition at line 56898 of file sqlite3.c.

#define N_OR_COST   3

Definition at line 122395 of file sqlite3.c.

#define N_SORT_BUCKET   32

Definition at line 43777 of file sqlite3.c.

#define NB   (NN*2+1) /* Total pages involved in the balance */

Definition at line 64409 of file sqlite3.c.

#define NC_AllowAgg   0x0001 /* Aggregate functions are allowed here */

Definition at line 15012 of file sqlite3.c.

#define NC_HasAgg   0x0010 /* One or more aggregate functions seen */

Definition at line 15016 of file sqlite3.c.

#define NC_IdxExpr   0x0020 /* True if resolving columns of CREATE INDEX */

Definition at line 15017 of file sqlite3.c.

#define NC_InAggFunc   0x0008 /* True if analyzing arguments to an agg func */

Definition at line 15015 of file sqlite3.c.

#define NC_IsCheck   0x0004 /* True if resolving names in a CHECK constraint */

Definition at line 15014 of file sqlite3.c.

#define NC_MinMaxAgg   0x1000 /* min/max aggregates seen. See note above */

Definition at line 15019 of file sqlite3.c.

#define NC_PartIdx   0x0002 /* True if resolving a partial index WHERE */

Definition at line 15013 of file sqlite3.c.

#define NC_VarSelect   0x0040 /* A correlated subquery has been seen */

Definition at line 15018 of file sqlite3.c.

#define NDEBUG   1

Definition at line 10848 of file sqlite3.c.

#define NEVER (   X)    (X)

Definition at line 10930 of file sqlite3.c.

#define NN   1 /* Number of neighbors on either side of pPage */

Definition at line 64408 of file sqlite3.c.

#define NO_LOCK   0

Definition at line 13265 of file sqlite3.c.

#define noopFunc   versionFunc /* Substitute function - never called */

Definition at line 103036 of file sqlite3.c.

#define NOT_WITHIN   0 /* Object completely outside of query region */

Definition at line 8568 of file sqlite3.c.

#define O_BINARY   0

Definition at line 29396 of file sqlite3.c.

#define O_LARGEFILE   0

Definition at line 29386 of file sqlite3.c.

#define O_NOFOLLOW   0

Definition at line 29393 of file sqlite3.c.

#define OE_Abort   2 /* Back out changes but do no rollback transaction */

Definition at line 14353 of file sqlite3.c.

#define OE_Cascade   9 /* Cascade the changes */

Definition at line 14361 of file sqlite3.c.

#define OE_Default   10 /* Do whatever the default action is */

Definition at line 14363 of file sqlite3.c.

#define OE_Fail   3 /* Stop the operation but leave all prior changes */

Definition at line 14354 of file sqlite3.c.

#define OE_Ignore   4 /* Ignore the error. Do not do the INSERT or UPDATE */

Definition at line 14355 of file sqlite3.c.

#define OE_None   0 /* There is no constraint to check */

Definition at line 14351 of file sqlite3.c.

#define OE_Replace   5 /* Delete existing record, then do INSERT or UPDATE */

Definition at line 14356 of file sqlite3.c.

#define OE_Restrict   6 /* OE_Abort for IMMEDIATE, OE_Rollback for DEFERRED */

Definition at line 14358 of file sqlite3.c.

#define OE_Rollback   1 /* Fail the operation and rollback the transaction */

Definition at line 14352 of file sqlite3.c.

#define OE_SetDflt   8 /* Set the foreign key value to its default */

Definition at line 14360 of file sqlite3.c.

#define OE_SetNull   7 /* Set the foreign key value to NULL */

Definition at line 14359 of file sqlite3.c.

#define offsetof (   STRUCTURE,
  FIELD 
)    ((int)((char*)&((STRUCTURE*)0)->FIELD))

Definition at line 11372 of file sqlite3.c.

#define OMIT_TEMPDB   0

Definition at line 11306 of file sqlite3.c.

#define ONE_BYTE_INT (   x)    ((i8)(x)[0])

Definition at line 73202 of file sqlite3.c.

#define ONEPASS_MULTI   2 /* ONEPASS is valid for multiple rows */

Definition at line 16062 of file sqlite3.c.

#define ONEPASS_OFF   0 /* Use of ONEPASS not allowed */

Definition at line 16060 of file sqlite3.c.

#define ONEPASS_SINGLE   1 /* ONEPASS valid for a single row update */

Definition at line 16061 of file sqlite3.c.

#define ONLY_IF_REALLOC_STRESS (   X)    (0)

Definition at line 10945 of file sqlite3.c.

#define OP_Add   47 /* same as TK_PLUS, synopsis: r[P3]=r[P1]+r[P2] */

Definition at line 12386 of file sqlite3.c.

#define OP_AddImm   89 /* synopsis: r[P1]=r[P1]+P2 */

Definition at line 12428 of file sqlite3.c.

#define OP_Affinity   95 /* synopsis: affinity(r[P1@P2]) */

Definition at line 12434 of file sqlite3.c.

#define OP_AggFinal   147 /* synopsis: accum=r[P1] N=P2 */

Definition at line 12486 of file sqlite3.c.

#define OP_AggStep   146 /* synopsis: accum=r[P3] step(r[P2@P5]) */

Definition at line 12485 of file sqlite3.c.

#define OP_AggStep0   145 /* synopsis: accum=r[P3] step(r[P2@P5]) */

Definition at line 12484 of file sqlite3.c.

#define OP_And   28 /* same as TK_AND, synopsis: r[P3]=(r[P1] && r[P2]) */

Definition at line 12367 of file sqlite3.c.

#define OP_AutoCommit   1

Definition at line 12340 of file sqlite3.c.

#define OP_BitAnd   43 /* same as TK_BITAND, synopsis: r[P3]=r[P1]&r[P2] */

Definition at line 12382 of file sqlite3.c.

#define OP_BitNot   54 /* same as TK_BITNOT, synopsis: r[P1]= ~r[P1] */

Definition at line 12393 of file sqlite3.c.

#define OP_BitOr   44 /* same as TK_BITOR, synopsis: r[P3]=r[P1]|r[P2] */

Definition at line 12383 of file sqlite3.c.

#define OP_Blob   79 /* synopsis: r[P2]=P4 (len=P1) */

Definition at line 12418 of file sqlite3.c.

#define OP_Cast   91 /* synopsis: affinity(r[P1]) */

Definition at line 12430 of file sqlite3.c.

#define OP_Checkpoint   8

Definition at line 12347 of file sqlite3.c.

#define OP_Clear   129

Definition at line 12468 of file sqlite3.c.

#define OP_Close   109

Definition at line 12448 of file sqlite3.c.

#define OP_CollSeq   86

Definition at line 12425 of file sqlite3.c.

#define OP_Column   94 /* synopsis: r[P3]=PX */

Definition at line 12433 of file sqlite3.c.

#define OP_ColumnsUsed   110

Definition at line 12449 of file sqlite3.c.

#define OP_Compare   93 /* synopsis: r[P1@P3] <-> r[P2@P3] */

Definition at line 12432 of file sqlite3.c.

#define OP_Concat   52 /* same as TK_CONCAT, synopsis: r[P3]=r[P2]+r[P1] */

Definition at line 12391 of file sqlite3.c.

#define OP_Copy   82 /* synopsis: r[P2@P3+1]=r[P1@P3+1] */

Definition at line 12421 of file sqlite3.c.

#define OP_Count   98 /* synopsis: r[P2]=count() */

Definition at line 12437 of file sqlite3.c.

#define OP_CreateIndex   131 /* synopsis: r[P2]=root iDb=P1 */

Definition at line 12470 of file sqlite3.c.

#define OP_CreateTable   132 /* synopsis: r[P2]=root iDb=P1 */

Definition at line 12471 of file sqlite3.c.

#define OP_CursorHint   158

Definition at line 12497 of file sqlite3.c.

#define OP_DecrJumpZero   66 /* synopsis: if (--r[P1])==0 goto P2 */

Definition at line 12405 of file sqlite3.c.

#define OP_Delete   115

Definition at line 12454 of file sqlite3.c.

#define OP_Destroy   128

Definition at line 12467 of file sqlite3.c.

#define OP_Divide   50 /* same as TK_SLASH, synopsis: r[P3]=r[P2]/r[P1] */

Definition at line 12389 of file sqlite3.c.

#define OP_DropIndex   137

Definition at line 12476 of file sqlite3.c.

#define OP_DropTable   136

Definition at line 12475 of file sqlite3.c.

#define OP_DropTrigger   138

Definition at line 12477 of file sqlite3.c.

#define OP_EndCoroutine   71

Definition at line 12410 of file sqlite3.c.

#define OP_Eq   37 /* same as TK_EQ, synopsis: if r[P1]==r[P3] goto P2 */

Definition at line 12376 of file sqlite3.c.

#define OP_Expire   148

Definition at line 12487 of file sqlite3.c.

#define OP_Explain   160

Definition at line 12499 of file sqlite3.c.

#define OP_FkCounter   142 /* synopsis: fkctr[P1]+=P2 */

Definition at line 12481 of file sqlite3.c.

#define OP_FkIfZero   63 /* synopsis: if fkctr[P1]==0 goto P2 */

Definition at line 12402 of file sqlite3.c.

#define OP_Found   31 /* synopsis: key=r[P3@P4] */

Definition at line 12370 of file sqlite3.c.

#define OP_Function   88 /* synopsis: r[P3]=func(r[P2@P5]) */

Definition at line 12427 of file sqlite3.c.

#define OP_Function0   87 /* synopsis: r[P3]=func(r[P2@P5]) */

Definition at line 12426 of file sqlite3.c.

#define OP_Ge   41 /* same as TK_GE, synopsis: if r[P1]>=r[P3] goto P2 */

Definition at line 12380 of file sqlite3.c.

#define OP_Gosub   14

Definition at line 12353 of file sqlite3.c.

#define OP_Goto   13

Definition at line 12352 of file sqlite3.c.

#define OP_Gt   38 /* same as TK_GT, synopsis: if r[P1]>r[P3] goto P2 */

Definition at line 12377 of file sqlite3.c.

#define OP_Halt   73

Definition at line 12412 of file sqlite3.c.

#define OP_HaltIfNull   72 /* synopsis: if r[P3]=null halt */

Definition at line 12411 of file sqlite3.c.

#define OP_IdxDelete   125 /* synopsis: key=r[P2@P3] */

Definition at line 12464 of file sqlite3.c.

#define OP_IdxGE   59 /* synopsis: key=r[P3@P4] */

Definition at line 12398 of file sqlite3.c.

#define OP_IdxGT   57 /* synopsis: key=r[P3@P4] */

Definition at line 12396 of file sqlite3.c.

#define OP_IdxInsert   124 /* synopsis: key=r[P2] */

Definition at line 12463 of file sqlite3.c.

#define OP_IdxLE   56 /* synopsis: key=r[P3@P4] */

Definition at line 12395 of file sqlite3.c.

#define OP_IdxLT   58 /* synopsis: key=r[P3@P4] */

Definition at line 12397 of file sqlite3.c.

#define OP_IdxRowid   127 /* synopsis: r[P2]=rowid */

Definition at line 12466 of file sqlite3.c.

#define OP_If   21

Definition at line 12360 of file sqlite3.c.

#define OP_IfNot   22

Definition at line 12361 of file sqlite3.c.

#define OP_IfNotZero   65 /* synopsis: if r[P1]!=0 then r[P1]-=P3, goto P2 */

Definition at line 12404 of file sqlite3.c.

#define OP_IfPos   64 /* synopsis: if r[P1]>0 then r[P1]-=P3, goto P2 */

Definition at line 12403 of file sqlite3.c.

#define OP_IncrVacuum   67

Definition at line 12406 of file sqlite3.c.

#define OP_Init   69 /* synopsis: Start at P2 */

Definition at line 12408 of file sqlite3.c.

#define OP_InitCoroutine   15

Definition at line 12354 of file sqlite3.c.

#define OP_Insert   113 /* synopsis: intkey=r[P3] data=r[P2] */

Definition at line 12452 of file sqlite3.c.

#define OP_InsertInt   114 /* synopsis: intkey=P3 data=r[P2] */

Definition at line 12453 of file sqlite3.c.

#define OP_Int64   75 /* synopsis: r[P2]=P4 */

Definition at line 12414 of file sqlite3.c.

#define OP_IntCopy   84 /* synopsis: r[P2]=r[P1] */

Definition at line 12423 of file sqlite3.c.

#define OP_Integer   74 /* synopsis: r[P2]=P1 */

Definition at line 12413 of file sqlite3.c.

#define OP_IntegrityCk   139

Definition at line 12478 of file sqlite3.c.

#define OP_IsNull   34 /* same as TK_ISNULL, synopsis: if r[P1]==NULL goto P2 */

Definition at line 12373 of file sqlite3.c.

#define OP_JournalMode   9

Definition at line 12348 of file sqlite3.c.

#define OP_Jump   18

Definition at line 12357 of file sqlite3.c.

#define OP_Last   33

Definition at line 12372 of file sqlite3.c.

#define OP_Le   39 /* same as TK_LE, synopsis: if r[P1]<=r[P3] goto P2 */

Definition at line 12378 of file sqlite3.c.

#define OP_LoadAnalysis   135

Definition at line 12474 of file sqlite3.c.

#define OP_Lt   40 /* same as TK_LT, synopsis: if r[P1]<r[P3] goto P2 */

Definition at line 12379 of file sqlite3.c.

#define OP_MakeRecord   96 /* synopsis: r[P3]=mkrec(r[P1@P2]) */

Definition at line 12435 of file sqlite3.c.

#define OP_MaxPgcnt   157

Definition at line 12496 of file sqlite3.c.

#define OP_MemMax   143 /* synopsis: r[P1]=max(r[P1],r[P2]) */

Definition at line 12482 of file sqlite3.c.

#define OP_Move   81 /* synopsis: r[P2@P3]=r[P1@P3] */

Definition at line 12420 of file sqlite3.c.

#define OP_Multiply   49 /* same as TK_STAR, synopsis: r[P3]=r[P1]*r[P2] */

Definition at line 12388 of file sqlite3.c.

#define OP_MustBeInt   17

Definition at line 12356 of file sqlite3.c.

#define OP_Ne   36 /* same as TK_NE, synopsis: if r[P1]!=r[P3] goto P2 */

Definition at line 12375 of file sqlite3.c.

#define OP_NewRowid   112 /* synopsis: r[P2]=rowid */

Definition at line 12451 of file sqlite3.c.

#define OP_Next   7

Definition at line 12346 of file sqlite3.c.

#define OP_NextIfOpen   5

Definition at line 12344 of file sqlite3.c.

#define OP_NoConflict   29 /* synopsis: key=r[P3@P4] */

Definition at line 12368 of file sqlite3.c.

#define OP_Noop   159

Definition at line 12498 of file sqlite3.c.

#define OP_Not   19 /* same as TK_NOT, synopsis: r[P2]= !r[P1] */

Definition at line 12358 of file sqlite3.c.

#define OP_NotExists   32 /* synopsis: intkey=r[P3] */

Definition at line 12371 of file sqlite3.c.

#define OP_NotFound   30 /* synopsis: key=r[P3@P4] */

Definition at line 12369 of file sqlite3.c.

#define OP_NotNull   35 /* same as TK_NOTNULL, synopsis: if r[P1]!=NULL goto P2 */

Definition at line 12374 of file sqlite3.c.

#define OP_Null   77 /* synopsis: r[P2..P3]=NULL */

Definition at line 12416 of file sqlite3.c.

#define OP_NullRow   122

Definition at line 12461 of file sqlite3.c.

#define OP_OffsetLimit   144 /* synopsis: if r[P1]>0 then r[P2]=r[P1]+max(0,r[P3]) else r[P2]=(-1) */

Definition at line 12483 of file sqlite3.c.

#define OP_Once   20

Definition at line 12359 of file sqlite3.c.

#define OP_OpenAutoindex   104 /* synopsis: nColumn=P2 */

Definition at line 12443 of file sqlite3.c.

#define OP_OpenEphemeral   105 /* synopsis: nColumn=P2 */

Definition at line 12444 of file sqlite3.c.

#define OP_OpenPseudo   108 /* synopsis: P3 columns in r[P2] */

Definition at line 12447 of file sqlite3.c.

#define OP_OpenRead   102 /* synopsis: root=P2 iDb=P3 */

Definition at line 12441 of file sqlite3.c.

#define OP_OpenWrite   103 /* synopsis: root=P2 iDb=P3 */

Definition at line 12442 of file sqlite3.c.

#define OP_Or   27 /* same as TK_OR, synopsis: r[P3]=(r[P1] || r[P2]) */

Definition at line 12366 of file sqlite3.c.

#define OP_Pagecount   156

Definition at line 12495 of file sqlite3.c.

#define OP_Param   141

Definition at line 12480 of file sqlite3.c.

#define OP_ParseSchema   134

Definition at line 12473 of file sqlite3.c.

#define OP_Permutation   92

Definition at line 12431 of file sqlite3.c.

#define OP_Prev   6

Definition at line 12345 of file sqlite3.c.

#define OP_PrevIfOpen   4

Definition at line 12343 of file sqlite3.c.

#define OP_Program   62

Definition at line 12401 of file sqlite3.c.

#define OP_ReadCookie   99

Definition at line 12438 of file sqlite3.c.

#define OP_Real   133 /* same as TK_FLOAT, synopsis: r[P2]=P4 */

Definition at line 12472 of file sqlite3.c.

#define OP_RealAffinity   90

Definition at line 12429 of file sqlite3.c.

#define OP_Remainder   51 /* same as TK_REM, synopsis: r[P3]=r[P2]%r[P1] */

Definition at line 12390 of file sqlite3.c.

#define OP_ReopenIdx   101 /* synopsis: root=P2 iDb=P3 */

Definition at line 12440 of file sqlite3.c.

#define OP_ResetCount   116

Definition at line 12455 of file sqlite3.c.

#define OP_ResetSorter   130

Definition at line 12469 of file sqlite3.c.

#define OP_ResultRow   85 /* synopsis: output=r[P1@P2] */

Definition at line 12424 of file sqlite3.c.

#define OP_Return   70

Definition at line 12409 of file sqlite3.c.

#define OP_Rewind   55

Definition at line 12394 of file sqlite3.c.

#define OP_RowData   120 /* synopsis: r[P2]=data */

Definition at line 12459 of file sqlite3.c.

#define OP_Rowid   121 /* synopsis: r[P2]=rowid */

Definition at line 12460 of file sqlite3.c.

#define OP_RowKey   119 /* synopsis: r[P2]=key */

Definition at line 12458 of file sqlite3.c.

#define OP_RowSetAdd   140 /* synopsis: rowset(P1)=r[P2] */

Definition at line 12479 of file sqlite3.c.

#define OP_RowSetRead   60 /* synopsis: r[P3]=rowset(P1) */

Definition at line 12399 of file sqlite3.c.

#define OP_RowSetTest   61 /* synopsis: if r[P3] in rowset(P1) goto P2 */

Definition at line 12400 of file sqlite3.c.

#define OP_Savepoint   0

Definition at line 12339 of file sqlite3.c.

#define OP_SCopy   83 /* synopsis: r[P2]=r[P1] */

Definition at line 12422 of file sqlite3.c.

#define OP_Seek   126 /* synopsis: Move P3 to P1.rowid */

Definition at line 12465 of file sqlite3.c.

#define OP_SeekGE   25 /* synopsis: key=r[P3@P4] */

Definition at line 12364 of file sqlite3.c.

#define OP_SeekGT   26 /* synopsis: key=r[P3@P4] */

Definition at line 12365 of file sqlite3.c.

#define OP_SeekLE   24 /* synopsis: key=r[P3@P4] */

Definition at line 12363 of file sqlite3.c.

#define OP_SeekLT   23 /* synopsis: key=r[P3@P4] */

Definition at line 12362 of file sqlite3.c.

#define OP_Sequence   111 /* synopsis: r[P2]=cursor[P1].ctr++ */

Definition at line 12450 of file sqlite3.c.

#define OP_SequenceTest   107 /* synopsis: if( cursor[P1].ctr++ ) pc = P2 */

Definition at line 12446 of file sqlite3.c.

#define OP_SetCookie   100

Definition at line 12439 of file sqlite3.c.

#define OP_ShiftLeft   45 /* same as TK_LSHIFT, synopsis: r[P3]=r[P2]<<r[P1] */

Definition at line 12384 of file sqlite3.c.

#define OP_ShiftRight   46 /* same as TK_RSHIFT, synopsis: r[P3]=r[P2]>>r[P1] */

Definition at line 12385 of file sqlite3.c.

#define OP_SoftNull   78 /* synopsis: r[P1]=NULL */

Definition at line 12417 of file sqlite3.c.

#define OP_Sort   53

Definition at line 12392 of file sqlite3.c.

#define OP_SorterCompare   117 /* synopsis: if key(P1)!=trim(r[P3],P4) goto P2 */

Definition at line 12456 of file sqlite3.c.

#define OP_SorterData   118 /* synopsis: r[P2]=data */

Definition at line 12457 of file sqlite3.c.

#define OP_SorterInsert   123

Definition at line 12462 of file sqlite3.c.

#define OP_SorterNext   3

Definition at line 12342 of file sqlite3.c.

#define OP_SorterOpen   106

Definition at line 12445 of file sqlite3.c.

#define OP_SorterSort   42

Definition at line 12381 of file sqlite3.c.

#define OP_String   76 /* synopsis: r[P2]='P4' (len=P1) */

Definition at line 12415 of file sqlite3.c.

#define OP_String8   97 /* same as TK_STRING, synopsis: r[P2]='P4' */

Definition at line 12436 of file sqlite3.c.

#define OP_Subtract   48 /* same as TK_MINUS, synopsis: r[P3]=r[P2]-r[P1] */

Definition at line 12387 of file sqlite3.c.

#define OP_TableLock   149 /* synopsis: iDb=P1 root=P2 write=P3 */

Definition at line 12488 of file sqlite3.c.

#define OP_Transaction   2

Definition at line 12341 of file sqlite3.c.

#define OP_Vacuum   10

Definition at line 12349 of file sqlite3.c.

#define OP_Variable   80 /* synopsis: r[P2]=parameter(P1,P4) */

Definition at line 12419 of file sqlite3.c.

#define OP_VBegin   150

Definition at line 12489 of file sqlite3.c.

#define OP_VColumn   154 /* synopsis: r[P3]=vcolumn(P2) */

Definition at line 12493 of file sqlite3.c.

#define OP_VCreate   151

Definition at line 12490 of file sqlite3.c.

#define OP_VDestroy   152

Definition at line 12491 of file sqlite3.c.

#define OP_VFilter   11 /* synopsis: iplan=r[P3] zplan='P4' */

Definition at line 12350 of file sqlite3.c.

#define OP_VNext   68

Definition at line 12407 of file sqlite3.c.

#define OP_VOpen   153

Definition at line 12492 of file sqlite3.c.

#define OP_VRename   155

Definition at line 12494 of file sqlite3.c.

#define OP_VUpdate   12 /* synopsis: data=r[P3@P2] */

Definition at line 12351 of file sqlite3.c.

#define OP_Yield   16

Definition at line 12355 of file sqlite3.c.

#define OpenCounter (   X)

Definition at line 29374 of file sqlite3.c.

#define OPFLAG_APPEND   0x08 /* This is likely to be an append */

Definition at line 15415 of file sqlite3.c.

#define OPFLAG_AUXDELETE   0x04 /* OP_Delete: index in a DELETE op */

Definition at line 15428 of file sqlite3.c.

#define OPFLAG_BULKCSR   0x01 /* OP_Open** used to open bulk cursor */

Definition at line 15422 of file sqlite3.c.

#define OPFLAG_EPHEM   0x01 /* OP_Column: Ephemeral output is ok */

Definition at line 15412 of file sqlite3.c.

#define OPFLAG_FORDELETE   0x08 /* OP_Open should use BTREE_FORDELETE */

Definition at line 15424 of file sqlite3.c.

#define OPFLAG_ISUPDATE   0x04 /* This OP_Insert is an sql UPDATE */

Definition at line 15414 of file sqlite3.c.

#define OPFLAG_LASTROWID   0x02 /* Set to update db->lastRowid */

Definition at line 15413 of file sqlite3.c.

#define OPFLAG_LENGTHARG   0x40 /* OP_Column only used for length() */

Definition at line 15420 of file sqlite3.c.

#define OPFLAG_NCHANGE   0x01 /* OP_Insert: Set to update db->nChange */

Definition at line 15410 of file sqlite3.c.

#define OPFLAG_P2ISREG   0x10 /* P2 to OP_Open** is a register number */

Definition at line 15425 of file sqlite3.c.

#define OPFLAG_PERMUTE   0x01 /* OP_Compare: use the permutation */

Definition at line 15426 of file sqlite3.c.

#define OPFLAG_SAVEPOSITION   0x02 /* OP_Delete: keep cursor position */

Definition at line 15427 of file sqlite3.c.

#define OPFLAG_SEEKEQ   0x02 /* OP_Open** cursor uses EQ seek only */

Definition at line 15423 of file sqlite3.c.

#define OPFLAG_TYPEOFARG   0x80 /* OP_Column only used for typeof() */

Definition at line 15421 of file sqlite3.c.

#define OPFLAG_USESEEKRESULT   0x10 /* Try to avoid a seek in BtreeInsert() */

Definition at line 15416 of file sqlite3.c.

#define OPFLG_IN1   0x02 /* in1: P1 is an input */

Definition at line 12506 of file sqlite3.c.

#define OPFLG_IN2   0x04 /* in2: P2 is an input */

Definition at line 12507 of file sqlite3.c.

#define OPFLG_IN3   0x08 /* in3: P3 is an input */

Definition at line 12508 of file sqlite3.c.

#define OPFLG_INITIALIZER
Value:
{\
/* 0 */ 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01,\
/* 8 */ 0x00, 0x10, 0x00, 0x01, 0x00, 0x01, 0x01, 0x01,\
/* 16 */ 0x03, 0x03, 0x01, 0x12, 0x01, 0x03, 0x03, 0x09,\
/* 24 */ 0x09, 0x09, 0x09, 0x26, 0x26, 0x09, 0x09, 0x09,\
/* 32 */ 0x09, 0x01, 0x03, 0x03, 0x0b, 0x0b, 0x0b, 0x0b,\
/* 40 */ 0x0b, 0x0b, 0x01, 0x26, 0x26, 0x26, 0x26, 0x26,\
/* 48 */ 0x26, 0x26, 0x26, 0x26, 0x26, 0x01, 0x12, 0x01,\
/* 56 */ 0x01, 0x01, 0x01, 0x01, 0x23, 0x0b, 0x01, 0x01,\
/* 64 */ 0x03, 0x03, 0x03, 0x01, 0x01, 0x01, 0x02, 0x02,\
/* 72 */ 0x08, 0x00, 0x10, 0x10, 0x10, 0x10, 0x00, 0x10,\
/* 80 */ 0x10, 0x00, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00,\
/* 88 */ 0x00, 0x02, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00,\
/* 96 */ 0x00, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00,\
/* 104 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10,\
/* 112 */ 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
/* 120 */ 0x00, 0x10, 0x00, 0x04, 0x04, 0x00, 0x00, 0x10,\
/* 128 */ 0x10, 0x00, 0x00, 0x10, 0x10, 0x10, 0x00, 0x00,\
/* 136 */ 0x00, 0x00, 0x00, 0x00, 0x06, 0x10, 0x00, 0x04,\
/* 144 */ 0x1a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
/* 152 */ 0x00, 0x00, 0x00, 0x00, 0x10, 0x10, 0x00, 0x00,\
/* 160 */ 0x00,}

Definition at line 12511 of file sqlite3.c.

#define OPFLG_JUMP   0x01 /* jump: P2 holds jmp target */

Definition at line 12505 of file sqlite3.c.

#define OPFLG_OUT2   0x10 /* out2: P2 is an output */

Definition at line 12509 of file sqlite3.c.

#define OPFLG_OUT3   0x20 /* out3: P3 is an output */

Definition at line 12510 of file sqlite3.c.

#define OpHelp (   X)

Definition at line 28728 of file sqlite3.c.

#define OptimizationDisabled (   db,
  mask 
)    (((db)->dbOptFlags&(mask))!=0)

Definition at line 13863 of file sqlite3.c.

#define OptimizationEnabled (   db,
  mask 
)    (((db)->dbOptFlags&(mask))==0)

Definition at line 13864 of file sqlite3.c.

#define OS_VXWORKS   0

Definition at line 158 of file sqlite3.c.

#define osAccess   ((int(*)(const char*,int))aSyscall[2].pCurrent)
#define osClose   ((int(*)(int))aSyscall[1].pCurrent)
#define osFallocate   ((int(*)(int,off_t,off_t))aSyscall[15].pCurrent)
#define osFchmod   ((int(*)(int,mode_t))aSyscall[14].pCurrent)
#define osFchown   ((int(*)(int,uid_t,gid_t))aSyscall[20].pCurrent)
#define osFcntl   ((int(*)(int,int,...))aSyscall[7].pCurrent)
#define osFstat   ((int(*)(int,struct stat*))aSyscall[5].pCurrent)
#define osFtruncate   ((int(*)(int,off_t))aSyscall[6].pCurrent)
#define osGetcwd   ((char*(*)(char*,size_t))aSyscall[3].pCurrent)
#define osGeteuid   ((uid_t(*)(void))aSyscall[21].pCurrent)
#define osGetpagesize   ((int(*)(void))aSyscall[25].pCurrent)
#define osGetpid (   X)    (pid_t)getpid()

Definition at line 29071 of file sqlite3.c.

#define osLstat   ((int(*)(const char*,struct stat*))aSyscall[27].pCurrent)
#define osMkdir   ((int(*)(const char*,mode_t))aSyscall[18].pCurrent)
#define osMmap   ((void*(*)(void*,size_t,int,int,int,off_t))aSyscall[22].pCurrent)
#define osMremap   ((void*(*)(void*,size_t,size_t,int,...))aSyscall[24].pCurrent)
#define osMunmap   ((void*(*)(void*,size_t))aSyscall[23].pCurrent)
#define osOpen   ((int(*)(const char*,int,int))aSyscall[0].pCurrent)
#define osOpenDirectory   ((int(*)(const char*,int*))aSyscall[17].pCurrent)
#define osPread   ((ssize_t(*)(int,void*,size_t,off_t))aSyscall[9].pCurrent)
#define osPread64   ((ssize_t(*)(int,void*,size_t,off64_t))aSyscall[10].pCurrent)
#define osPwrite
Value:
((ssize_t(*)(int,const void*,size_t,off_t))\
sqlite3_syscall_ptr pCurrent
Definition: sqlite3.c:29452
static struct unix_syscall aSyscall[]
#define osPwrite64
Value:
((ssize_t(*)(int,const void*,size_t,off64_t))\
sqlite3_syscall_ptr pCurrent
Definition: sqlite3.c:29452
static struct unix_syscall aSyscall[]
#define osRead   ((ssize_t(*)(int,void*,size_t))aSyscall[8].pCurrent)
#define osReadlink   ((ssize_t(*)(const char*,char*,size_t))aSyscall[26].pCurrent)
#define osRmdir   ((int(*)(const char*))aSyscall[19].pCurrent)
#define osStat   ((int(*)(const char*,struct stat*))aSyscall[4].pCurrent)
#define OSTRACE (   X)

Definition at line 10957 of file sqlite3.c.

#define osUnlink   ((int(*)(const char*))aSyscall[16].pCurrent)
#define osWrite   ((ssize_t(*)(int,const void*,size_t))aSyscall[11].pCurrent)
#define P4_ADVANCE   (-19) /* P4 is a pointer to BtreeNext() or BtreePrev() */

Definition at line 12294 of file sqlite3.c.

#define P4_COLLSEQ   (-4) /* P4 is a pointer to a CollSeq structure */

Definition at line 12281 of file sqlite3.c.

#define P4_DYNAMIC   (-1) /* Pointer to a string obtained from sqliteMalloc() */

Definition at line 12279 of file sqlite3.c.

#define P4_EXPR   (-7) /* P4 is a pointer to an Expr tree */

Definition at line 12284 of file sqlite3.c.

#define P4_FUNCCTX   (-21) /* P4 is a pointer to an sqlite3_context object */

Definition at line 12296 of file sqlite3.c.

#define P4_FUNCDEF   (-5) /* P4 is a pointer to a FuncDef structure */

Definition at line 12282 of file sqlite3.c.

#define P4_INT32   (-14) /* P4 is a 32-bit signed integer */

Definition at line 12291 of file sqlite3.c.

#define P4_INT64   (-13) /* P4 is a 64-bit signed integer */

Definition at line 12290 of file sqlite3.c.

#define P4_INTARRAY   (-15) /* P4 is a vector of 32-bit integers */

Definition at line 12292 of file sqlite3.c.

#define P4_KEYINFO   (-6) /* P4 is a pointer to a KeyInfo structure */

Definition at line 12283 of file sqlite3.c.

#define P4_MEM   (-8) /* P4 is a pointer to a Mem* structure */

Definition at line 12285 of file sqlite3.c.

#define P4_MPRINTF   (-11) /* P4 is a string obtained from sqlite3_mprintf() */

Definition at line 12288 of file sqlite3.c.

#define P4_NOTUSED   0 /* The P4 parameter is not used */

Definition at line 12278 of file sqlite3.c.

#define P4_REAL   (-12) /* P4 is a 64-bit floating point value */

Definition at line 12289 of file sqlite3.c.

#define P4_STATIC   (-2) /* Pointer to a static string */

Definition at line 12280 of file sqlite3.c.

#define P4_SUBPROGRAM   (-18) /* P4 is a pointer to a SubProgram structure */

Definition at line 12293 of file sqlite3.c.

#define P4_TABLE   (-20) /* P4 is a pointer to a Table structure */

Definition at line 12295 of file sqlite3.c.

#define P4_TRANSIENT   0 /* P4 is a pointer to a transient string */

Definition at line 12286 of file sqlite3.c.

#define P4_VTAB   (-10) /* P4 is a pointer to an sqlite3_vtab structure */

Definition at line 12287 of file sqlite3.c.

#define P5_ConstraintCheck   3

Definition at line 12301 of file sqlite3.c.

#define P5_ConstraintFK   4

Definition at line 12302 of file sqlite3.c.

#define P5_ConstraintNotNull   1

Definition at line 12299 of file sqlite3.c.

#define P5_ConstraintUnique   2

Definition at line 12300 of file sqlite3.c.

#define PAGER_CACHESPILL   0x20 /* PRAGMA cache_spill=ON */

Definition at line 12798 of file sqlite3.c.

#define PAGER_CKPT_FULLFSYNC   0x10 /* PRAGMA checkpoint_fullfsync=ON */

Definition at line 12797 of file sqlite3.c.

#define pager_datahash (   X,
 
)    0

Definition at line 47031 of file sqlite3.c.

#define PAGER_ERROR   6

Definition at line 46173 of file sqlite3.c.

#define PAGER_FLAGS_MASK   0x38 /* All above except SYNCHRONOUS */

Definition at line 12799 of file sqlite3.c.

#define PAGER_FULLFSYNC   0x08 /* PRAGMA fullfsync=ON */

Definition at line 12796 of file sqlite3.c.

#define PAGER_GET_NOCONTENT   0x01 /* Do not load data from disk */

Definition at line 12780 of file sqlite3.c.

#define PAGER_GET_READONLY   0x02 /* Read-only page is acceptable */

Definition at line 12781 of file sqlite3.c.

#define PAGER_INCR (   v)

Definition at line 46546 of file sqlite3.c.

#define PAGER_JOURNALMODE_DELETE   0 /* Commit by deleting journal file */

Definition at line 12770 of file sqlite3.c.

#define PAGER_JOURNALMODE_MEMORY   4 /* In-memory journal file */

Definition at line 12774 of file sqlite3.c.

#define PAGER_JOURNALMODE_OFF   2 /* Journal omitted. */

Definition at line 12772 of file sqlite3.c.

#define PAGER_JOURNALMODE_PERSIST   1 /* Commit by zeroing journal header */

Definition at line 12771 of file sqlite3.c.

#define PAGER_JOURNALMODE_QUERY   (-1) /* Query the value of journalmode */

Definition at line 12769 of file sqlite3.c.

#define PAGER_JOURNALMODE_TRUNCATE   3 /* Commit by truncating journal */

Definition at line 12773 of file sqlite3.c.

#define PAGER_JOURNALMODE_WAL   5 /* Use write-ahead logging */

Definition at line 12775 of file sqlite3.c.

#define PAGER_LOCKINGMODE_EXCLUSIVE   1

Definition at line 12760 of file sqlite3.c.

#define PAGER_LOCKINGMODE_NORMAL   0

Definition at line 12759 of file sqlite3.c.

#define PAGER_LOCKINGMODE_QUERY   -1

Definition at line 12758 of file sqlite3.c.

#define PAGER_MAX_PGNO   2147483647

Definition at line 46615 of file sqlite3.c.

#define PAGER_MEMORY   0x0002 /* In-memory database */

Definition at line 12753 of file sqlite3.c.

#define PAGER_MJ_PGNO (   x)    ((Pgno)((PENDING_BYTE/((x)->pageSize))+1))

Definition at line 12745 of file sqlite3.c.

#define PAGER_OMIT_JOURNAL   0x0001 /* Do not use a rollback journal */

Definition at line 12752 of file sqlite3.c.

#define PAGER_OPEN   0

Definition at line 46167 of file sqlite3.c.

#define pager_pagehash (   X)    0

Definition at line 47032 of file sqlite3.c.

#define PAGER_READER   1

Definition at line 46168 of file sqlite3.c.

#define pager_set_pagehash (   X)

Definition at line 47033 of file sqlite3.c.

#define PAGER_STAT_HIT   0

Definition at line 46531 of file sqlite3.c.

#define PAGER_STAT_MISS   1

Definition at line 46532 of file sqlite3.c.

#define PAGER_STAT_WRITE   2

Definition at line 46533 of file sqlite3.c.

#define PAGER_SYNCHRONOUS_EXTRA   0x04 /* PRAGMA synchronous=EXTRA */

Definition at line 12794 of file sqlite3.c.

#define PAGER_SYNCHRONOUS_FULL   0x03 /* PRAGMA synchronous=FULL */

Definition at line 12793 of file sqlite3.c.

#define PAGER_SYNCHRONOUS_MASK   0x07 /* Mask for four values above */

Definition at line 12795 of file sqlite3.c.

#define PAGER_SYNCHRONOUS_NORMAL   0x02 /* PRAGMA synchronous=NORMAL */

Definition at line 12792 of file sqlite3.c.

#define PAGER_SYNCHRONOUS_OFF   0x01 /* PRAGMA synchronous=OFF */

Definition at line 12791 of file sqlite3.c.

#define PAGER_WRITER_CACHEMOD   3

Definition at line 46170 of file sqlite3.c.

#define PAGER_WRITER_DBMOD   4

Definition at line 46171 of file sqlite3.c.

#define PAGER_WRITER_FINISHED   5

Definition at line 46172 of file sqlite3.c.

#define PAGER_WRITER_LOCKED   2

Definition at line 46169 of file sqlite3.c.

#define PAGERID (   p)    ((int)(p->fd))

Definition at line 45947 of file sqlite3.c.

#define pagerReportSize (   X)    /* No-op if we do not support a codec */

Definition at line 47972 of file sqlite3.c.

#define PAGERTRACE (   X)

Definition at line 45936 of file sqlite3.c.

#define PARTLY_WITHIN   1 /* Object partially overlaps query region */

Definition at line 8569 of file sqlite3.c.

#define pcache1   (GLOBAL(struct PCacheGlobal, pcache1_g))

Definition at line 44140 of file sqlite3.c.

#define PCACHE1_MIGHT_USE_GROUP_MUTEX   0

Definition at line 44148 of file sqlite3.c.

#define pcache1EnterMutex (   X)    assert((X)->mutex==0)

Definition at line 44146 of file sqlite3.c.

#define pcache1LeaveMutex (   X)    assert((X)->mutex==0)

Definition at line 44147 of file sqlite3.c.

#define PCACHE_DIRTYLIST_ADD   2 /* Add pPage to the dirty list */

Definition at line 43200 of file sqlite3.c.

#define PCACHE_DIRTYLIST_FRONT   3 /* Move pPage to the front of the list */

Definition at line 43201 of file sqlite3.c.

#define PCACHE_DIRTYLIST_REMOVE   1 /* Remove pPage from dirty list */

Definition at line 43199 of file sqlite3.c.

#define pcacheDump (   X)

Definition at line 43146 of file sqlite3.c.

#define pcacheTrace (   X)

Definition at line 43145 of file sqlite3.c.

#define PENDING_BYTE   sqlite3PendingByte

Definition at line 13329 of file sqlite3.c.

#define PENDING_BYTE_PAGE (   pBt)    PAGER_MJ_PGNO(pBt)

Definition at line 57257 of file sqlite3.c.

#define PENDING_LOCK   3

Definition at line 13268 of file sqlite3.c.

#define PGHDR_CLEAN   0x001 /* Page not on the PCache.pDirty list */

Definition at line 12979 of file sqlite3.c.

#define PGHDR_DIRTY   0x002 /* Page is on the PCache.pDirty list */

Definition at line 12980 of file sqlite3.c.

#define PGHDR_DONT_WRITE   0x010 /* Do not write content to disk */

Definition at line 12984 of file sqlite3.c.

#define PGHDR_MMAP   0x020 /* This is an mmap page object */

Definition at line 12985 of file sqlite3.c.

#define PGHDR_NEED_SYNC
Value:
0x008 /* Fsync the rollback journal before
** writing this page to the database */

Definition at line 12982 of file sqlite3.c.

#define PGHDR_WAL_APPEND   0x040 /* Appended to wal file */

Definition at line 12987 of file sqlite3.c.

#define PGHDR_WRITEABLE   0x004 /* Journaled and ready to modify */

Definition at line 12981 of file sqlite3.c.

#define PragFlag_NeedSchema   0x01

Definition at line 109563 of file sqlite3.c.

#define PragFlag_ReadOnly   0x02

Definition at line 109564 of file sqlite3.c.

#define PragTyp_ACTIVATE_EXTENSIONS   37

Definition at line 109557 of file sqlite3.c.

#define PragTyp_AUTO_VACUUM   1

Definition at line 109521 of file sqlite3.c.

#define PragTyp_BUSY_TIMEOUT   3

Definition at line 109523 of file sqlite3.c.

#define PragTyp_CACHE_SIZE   4

Definition at line 109524 of file sqlite3.c.

#define PragTyp_CACHE_SPILL   5

Definition at line 109525 of file sqlite3.c.

#define PragTyp_CASE_SENSITIVE_LIKE   6

Definition at line 109526 of file sqlite3.c.

#define PragTyp_COLLATION_LIST   7

Definition at line 109527 of file sqlite3.c.

#define PragTyp_COMPILE_OPTIONS   8

Definition at line 109528 of file sqlite3.c.

#define PragTyp_DATA_STORE_DIRECTORY   9

Definition at line 109529 of file sqlite3.c.

#define PragTyp_DATABASE_LIST   10

Definition at line 109530 of file sqlite3.c.

#define PragTyp_DEFAULT_CACHE_SIZE   11

Definition at line 109531 of file sqlite3.c.

#define PragTyp_ENCODING   12

Definition at line 109532 of file sqlite3.c.

#define PragTyp_FLAG   2

Definition at line 109522 of file sqlite3.c.

#define PragTyp_FOREIGN_KEY_CHECK   13

Definition at line 109533 of file sqlite3.c.

#define PragTyp_FOREIGN_KEY_LIST   14

Definition at line 109534 of file sqlite3.c.

#define PragTyp_HEADER_VALUE   0

Definition at line 109520 of file sqlite3.c.

#define PragTyp_HEXKEY   38

Definition at line 109558 of file sqlite3.c.

#define PragTyp_INCREMENTAL_VACUUM   15

Definition at line 109535 of file sqlite3.c.

#define PragTyp_INDEX_INFO   16

Definition at line 109536 of file sqlite3.c.

#define PragTyp_INDEX_LIST   17

Definition at line 109537 of file sqlite3.c.

#define PragTyp_INTEGRITY_CHECK   18

Definition at line 109538 of file sqlite3.c.

#define PragTyp_JOURNAL_MODE   19

Definition at line 109539 of file sqlite3.c.

#define PragTyp_JOURNAL_SIZE_LIMIT   20

Definition at line 109540 of file sqlite3.c.

#define PragTyp_KEY   39

Definition at line 109559 of file sqlite3.c.

#define PragTyp_LOCK_PROXY_FILE   21

Definition at line 109541 of file sqlite3.c.

#define PragTyp_LOCK_STATUS   41

Definition at line 109561 of file sqlite3.c.

#define PragTyp_LOCKING_MODE   22

Definition at line 109542 of file sqlite3.c.

#define PragTyp_MMAP_SIZE   24

Definition at line 109544 of file sqlite3.c.

#define PragTyp_PAGE_COUNT   23

Definition at line 109543 of file sqlite3.c.

#define PragTyp_PAGE_SIZE   25

Definition at line 109545 of file sqlite3.c.

#define PragTyp_PARSER_TRACE   42

Definition at line 109562 of file sqlite3.c.

#define PragTyp_REKEY   40

Definition at line 109560 of file sqlite3.c.

#define PragTyp_SECURE_DELETE   26

Definition at line 109546 of file sqlite3.c.

#define PragTyp_SHRINK_MEMORY   27

Definition at line 109547 of file sqlite3.c.

#define PragTyp_SOFT_HEAP_LIMIT   28

Definition at line 109548 of file sqlite3.c.

#define PragTyp_STATS   29

Definition at line 109549 of file sqlite3.c.

#define PragTyp_SYNCHRONOUS   30

Definition at line 109550 of file sqlite3.c.

#define PragTyp_TABLE_INFO   31

Definition at line 109551 of file sqlite3.c.

#define PragTyp_TEMP_STORE   32

Definition at line 109552 of file sqlite3.c.

#define PragTyp_TEMP_STORE_DIRECTORY   33

Definition at line 109553 of file sqlite3.c.

#define PragTyp_THREADS   34

Definition at line 109554 of file sqlite3.c.

#define PragTyp_WAL_AUTOCHECKPOINT   35

Definition at line 109555 of file sqlite3.c.

#define PragTyp_WAL_CHECKPOINT   36

Definition at line 109556 of file sqlite3.c.

#define PTF_INTKEY   0x01

Definition at line 56932 of file sqlite3.c.

#define PTF_LEAF   0x08

Definition at line 56935 of file sqlite3.c.

#define PTF_LEAFDATA   0x04

Definition at line 56934 of file sqlite3.c.

#define PTF_ZERODATA   0x02

Definition at line 56933 of file sqlite3.c.

#define PTRMAP_BTREE   5

Definition at line 57313 of file sqlite3.c.

#define PTRMAP_FREEPAGE   2

Definition at line 57310 of file sqlite3.c.

#define PTRMAP_ISPAGE (   pBt,
  pgno 
)    (PTRMAP_PAGENO((pBt),(pgno))==(pgno))

Definition at line 57276 of file sqlite3.c.

#define PTRMAP_OVERFLOW1   3

Definition at line 57311 of file sqlite3.c.

#define PTRMAP_OVERFLOW2   4

Definition at line 57312 of file sqlite3.c.

#define PTRMAP_PAGENO (   pBt,
  pgno 
)    ptrmapPageno(pBt, pgno)

Definition at line 57274 of file sqlite3.c.

#define PTRMAP_PTROFFSET (   pgptrmap,
  pgno 
)    (5*(pgno-pgptrmap-1))

Definition at line 57275 of file sqlite3.c.

#define PTRMAP_ROOTPAGE   1

Definition at line 57309 of file sqlite3.c.

#define put2byte (   p,
  v 
)    ((p)[0] = (u8)((v)>>8), (p)[1] = (u8)(v))

Definition at line 57366 of file sqlite3.c.

#define put32bits (   A,
 
)    sqlite3Put4byte((u8*)A,B)

Definition at line 46888 of file sqlite3.c.

#define put4byte   sqlite3Put4byte

Definition at line 57368 of file sqlite3.c.

#define putVarint   sqlite3PutVarint

Definition at line 16263 of file sqlite3.c.

#define putVarint32 (   A,
 
)
Value:
(u8)(((u32)(B)<(u32)0x80)?(*(A)=(unsigned char)(B)),1:\
UINT8_TYPE u8
Definition: sqlite3.c:11450
UINT32_TYPE u32
Definition: sqlite3.c:11447
SQLITE_PRIVATE int sqlite3PutVarint(unsigned char *, u64)
Definition: sqlite3.c:27780

Definition at line 16259 of file sqlite3.c.

#define READ_LOCK   1

Definition at line 57002 of file sqlite3.c.

#define READ_UTF16BE (   zIn,
  TERM,
  c 
)
Value:
{ \
c = ((*zIn++)<<8); \
c += (*zIn++); \
if( c>=0xD800 && c<0xE000 && TERM ){ \
int c2 = ((*zIn++)<<8); \
c2 += (*zIn++); \
c = (c2&0x03FF) + ((c&0x003F)<<10) + (((c&0x03C0)+0x0040)<<10); \
} \
}
const GLubyte * c
Definition: glext.h:12690

Definition at line 26561 of file sqlite3.c.

#define READ_UTF16LE (   zIn,
  TERM,
  c 
)
Value:
{ \
c = (*zIn++); \
c += ((*zIn++)<<8); \
if( c>=0xD800 && c<0xE000 && TERM ){ \
int c2 = (*zIn++); \
c2 += ((*zIn++)<<8); \
c = (c2&0x03FF) + ((c&0x003F)<<10) + (((c&0x03C0)+0x0040)<<10); \
} \
}
const GLubyte * c
Definition: glext.h:12690

Definition at line 26551 of file sqlite3.c.

#define READ_UTF8 (   zIn,
  zTerm,
  c 
)
Value:
c = *(zIn++); \
if( c>=0xc0 ){ \
while( zIn!=zTerm && (*zIn & 0xc0)==0x80 ){ \
c = (c<<6) + (0x3f & *(zIn++)); \
} \
if( c<0x80 \
|| (c&0xFFFFF800)==0xD800 \
|| (c&0xFFFFFFFE)==0xFFFE ){ c = 0xFFFD; } \
}
static const unsigned char sqlite3Utf8Trans1[]
Definition: sqlite3.c:26495
const GLubyte * c
Definition: glext.h:12690

Definition at line 26598 of file sqlite3.c.

#define READMARK_NOT_USED   0xffffffff

Definition at line 53600 of file sqlite3.c.

#define REGISTER_TRACE (   R,
 
)

Definition at line 77029 of file sqlite3.c.

#define RESERVED_BYTE   (PENDING_BYTE+1)

Definition at line 13331 of file sqlite3.c.

#define RESERVED_LOCK   2

Definition at line 13267 of file sqlite3.c.

#define restoreCursorPosition (   p)
Value:
(p->eState>=CURSOR_REQUIRESEEK ? \
GLfloat GLfloat p
Definition: glext.h:12687
static int btreeRestoreCursorPosition(BtCursor *pCur)
Definition: sqlite3.c:58460
#define SQLITE_OK
Definition: sqlite3.c:656
#define CURSOR_REQUIRESEEK
Definition: sqlite3.c:57251

Definition at line 58482 of file sqlite3.c.

#define ROUND8 (   x)    (((x)+7)&~7)

Definition at line 11582 of file sqlite3.c.

#define ROUNDDOWN8 (   x)    ((x)&~7)

Definition at line 11587 of file sqlite3.c.

#define ROWSET_ALLOCATION_SIZE   1024

Definition at line 45234 of file sqlite3.c.

#define ROWSET_ENTRY_PER_CHUNK   ((ROWSET_ALLOCATION_SIZE-8)/sizeof(struct RowSetEntry))

Definition at line 45239 of file sqlite3.c.

#define ROWSET_NEXT   0x02 /* True if sqlite3RowSetNext() has been called */

Definition at line 45288 of file sqlite3.c.

#define ROWSET_SORTED   0x01 /* True if RowSet.pEntry is sorted */

Definition at line 45287 of file sqlite3.c.

#define SAVE_SZ   (sizeof(Parse) - offsetof(Parse,nVar))
#define SAVEPOINT_BEGIN   0

Definition at line 14036 of file sqlite3.c.

#define SAVEPOINT_RELEASE   1

Definition at line 14037 of file sqlite3.c.

#define SAVEPOINT_ROLLBACK   2

Definition at line 14038 of file sqlite3.c.

#define SCHEMA_ENC (   db)    ((db)->aDb[0].pSchema->enc)

Definition at line 13792 of file sqlite3.c.

#define SCHEMA_TABLE (   x)    ((!OMIT_TEMPDB)&&(x==1)?TEMP_MASTER_NAME:MASTER_NAME)

Definition at line 11702 of file sqlite3.c.

#define SELECTTRACE (   K,
  P,
  S,
 
)

Definition at line 112832 of file sqlite3.c.

#define SELECTTRACE_ENABLED   0

Definition at line 11667 of file sqlite3.c.

#define SET_FULLSYNC (   x,
  y 
)

Definition at line 13213 of file sqlite3.c.

#define SETBIT (   V,
 
)    V[I>>3] |= (1<<(I&7))

Definition at line 42940 of file sqlite3.c.

#define SF_Aggregate   0x00008 /* Contains agg functions or a GROUP BY */

Definition at line 15075 of file sqlite3.c.

#define SF_All   0x00002 /* Includes the ALL keyword */

Definition at line 15073 of file sqlite3.c.

#define SF_Compound   0x00100 /* Part of a compound query */

Definition at line 15080 of file sqlite3.c.

#define SF_Converted   0x10000 /* By convertCompoundSelectToSubquery() */

Definition at line 15088 of file sqlite3.c.

#define SF_Distinct   0x00001 /* Output should be DISTINCT */

Definition at line 15072 of file sqlite3.c.

#define SF_Expanded   0x00040 /* sqlite3SelectExpand() called on this */

Definition at line 15078 of file sqlite3.c.

#define SF_FixedLimit   0x04000 /* nSelectRow set by a constant LIMIT */

Definition at line 15086 of file sqlite3.c.

#define SF_HasAgg   0x00010 /* Contains aggregate functions */

Definition at line 15076 of file sqlite3.c.

#define SF_HasTypeInfo   0x00080 /* FROM subqueries have Table metadata */

Definition at line 15079 of file sqlite3.c.

#define SF_IncludeHidden   0x20000 /* Include hidden columns in output */

Definition at line 15089 of file sqlite3.c.

#define SF_MaybeConvert   0x08000 /* Need convertCompoundSelectToSubquery() */

Definition at line 15087 of file sqlite3.c.

#define SF_MinMaxAgg   0x01000 /* Aggregate containing min() or max() */

Definition at line 15084 of file sqlite3.c.

#define SF_MultiValue   0x00400 /* Single VALUES term with multiple rows */

Definition at line 15082 of file sqlite3.c.

#define SF_NestedFrom   0x00800 /* Part of a parenthesized FROM clause */

Definition at line 15083 of file sqlite3.c.

#define SF_Recursive   0x02000 /* The recursive part of a recursive CTE */

Definition at line 15085 of file sqlite3.c.

#define SF_Resolved   0x00004 /* Identifiers have been resolved */

Definition at line 15074 of file sqlite3.c.

#define SF_UsesEphemeral   0x00020 /* Uses the OpenEphemeral opcode */

Definition at line 15077 of file sqlite3.c.

#define SF_Values   0x00200 /* Synthesized from VALUES clause */

Definition at line 15081 of file sqlite3.c.

#define SHARED_FIRST   (PENDING_BYTE+2)

Definition at line 13332 of file sqlite3.c.

#define SHARED_LOCK   1

Definition at line 13266 of file sqlite3.c.

#define SHARED_SIZE   510

Definition at line 13333 of file sqlite3.c.

#define SimulateDiskfullError (   A)

Definition at line 29364 of file sqlite3.c.

#define SimulateIOError (   A)

Definition at line 29363 of file sqlite3.c.

#define SimulateIOErrorBenign (   X)

Definition at line 29362 of file sqlite3.c.

#define SLOT_2_0   0x001fc07f

Definition at line 27802 of file sqlite3.c.

#define SLOT_4_2_0   0xf01fc07f

Definition at line 27803 of file sqlite3.c.

#define SMALLEST_INT64   (((i64)-1) - LARGEST_INT64)

Definition at line 11576 of file sqlite3.c.

#define SORTER_MAX_MERGE_COUNT   16

Definition at line 84525 of file sqlite3.c.

#define SORTER_TYPE_INTEGER   0x01

Definition at line 84403 of file sqlite3.c.

#define SORTER_TYPE_TEXT   0x02

Definition at line 84404 of file sqlite3.c.

#define SORTFLAG_UseSorter   0x01 /* Use SorterOpen instead of OpenEphemeral */

Definition at line 112864 of file sqlite3.c.

#define SPILLFLAG_NOSYNC   0x04 /* Spill is ok, but do not sync */

Definition at line 46278 of file sqlite3.c.

#define SPILLFLAG_OFF   0x01 /* Never spill cache. Set via pragma */

Definition at line 46276 of file sqlite3.c.

#define SPILLFLAG_ROLLBACK   0x02 /* Current rolling back, so do not spill */

Definition at line 46277 of file sqlite3.c.

#define sqlite3_column_database_name   0

Definition at line 108725 of file sqlite3.c.

#define sqlite3_column_database_name16   0

Definition at line 108726 of file sqlite3.c.

#define sqlite3_column_origin_name   0

Definition at line 108729 of file sqlite3.c.

#define sqlite3_column_origin_name16   0

Definition at line 108730 of file sqlite3.c.

#define sqlite3_column_table_name   0

Definition at line 108727 of file sqlite3.c.

#define sqlite3_column_table_name16   0

Definition at line 108728 of file sqlite3.c.

#define SQLITE3_MUTEX_INITIALIZER   { PTHREAD_MUTEX_INITIALIZER }

Definition at line 22585 of file sqlite3.c.

#define SQLITE3_TEXT   3

Definition at line 4227 of file sqlite3.c.

#define sqlite3ColumnPropertiesFromName (   T,
 
)    /* no-op */

Definition at line 15962 of file sqlite3.c.

#define sqlite3ConnectionBlocked (   x,
  y 
)

Definition at line 16576 of file sqlite3.c.

#define sqlite3ConnectionClosed (   x)

Definition at line 16578 of file sqlite3.c.

#define sqlite3ConnectionUnlocked (   x)

Definition at line 16577 of file sqlite3.c.

#define sqlite3FileSuffix3 (   X,
 
)

Definition at line 16302 of file sqlite3.c.

#define sqlite3GlobalConfig   sqlite3Config

Definition at line 11748 of file sqlite3.c.

#define sqlite3Isalnum (   x)    (sqlite3CtypeMap[(unsigned char)(x)]&0x06)

Definition at line 15778 of file sqlite3.c.

#define sqlite3Isalpha (   x)    (sqlite3CtypeMap[(unsigned char)(x)]&0x02)

Definition at line 15779 of file sqlite3.c.

#define sqlite3Isdigit (   x)    (sqlite3CtypeMap[(unsigned char)(x)]&0x04)

Definition at line 15780 of file sqlite3.c.

#define sqlite3IsNumericAffinity (   X)    ((X)>=SQLITE_AFF_NUMERIC)

Definition at line 14118 of file sqlite3.c.

#define sqlite3Isquote (   x)    (sqlite3CtypeMap[(unsigned char)(x)]&0x80)

Definition at line 15783 of file sqlite3.c.

#define sqlite3Isspace (   x)    (sqlite3CtypeMap[(unsigned char)(x)]&0x01)

Definition at line 15777 of file sqlite3.c.

#define sqlite3IsToplevel (   p)    ((p)->pToplevel==0)

Definition at line 16188 of file sqlite3.c.

#define sqlite3Isxdigit (   x)    (sqlite3CtypeMap[(unsigned char)(x)]&0x08)

Definition at line 15781 of file sqlite3.c.

#define sqlite3MemdebugHasType (   X,
 
)    1

Definition at line 16633 of file sqlite3.c.

#define sqlite3MemdebugNoType (   X,
 
)    1

Definition at line 16634 of file sqlite3.c.

#define sqlite3MemdebugSetType (   X,
 
)    /* no-op */

Definition at line 16632 of file sqlite3.c.

#define sqlite3ParserARG_FETCH   Parse *pParse = yypParser->pParse

Definition at line 130955 of file sqlite3.c.

#define sqlite3ParserARG_PDECL   ,Parse *pParse

Definition at line 130954 of file sqlite3.c.

#define sqlite3ParserARG_SDECL   Parse *pParse;

Definition at line 130953 of file sqlite3.c.

#define sqlite3ParserARG_STORE   yypParser->pParse = pParse

Definition at line 130956 of file sqlite3.c.

#define sqlite3ParserTOKENTYPE   Token

Definition at line 130932 of file sqlite3.c.

#define sqlite3ParseToplevel (   p)    ((p)->pToplevel ? (p)->pToplevel : (p))

Definition at line 16187 of file sqlite3.c.

#define sqlite3SelectSetName (   A,
 
)

Definition at line 16151 of file sqlite3.c.

#define sqlite3StackAllocRaw (   D,
 
)    sqlite3DbMallocRaw(D,N)

Definition at line 15844 of file sqlite3.c.

#define sqlite3StackAllocZero (   D,
 
)    sqlite3DbMallocZero(D,N)

Definition at line 15845 of file sqlite3.c.

#define sqlite3StackFree (   D,
 
)    sqlite3DbFree(D,P)

Definition at line 15846 of file sqlite3.c.

#define sqlite3StrNICmp   sqlite3_strnicmp

Definition at line 15804 of file sqlite3.c.

#define sqlite3Tolower (   x)    (sqlite3UpperToLower[(unsigned char)(x)])

Definition at line 15782 of file sqlite3.c.

#define sqlite3Toupper (   x)    ((x)&~(sqlite3CtypeMap[(unsigned char)(x)]&0x20))

Definition at line 15776 of file sqlite3.c.

#define sqlite3VdbeIOTraceSql (   X)

Definition at line 16596 of file sqlite3.c.

#define sqlite3VdbeScanStatus (   a,
  b,
  c,
  d,
 
)

Definition at line 12684 of file sqlite3.c.

#define sqlite3VdbeVerifyNoMallocRequired (   A,
 
)

Definition at line 12564 of file sqlite3.c.

#define sqlite3VtabInSync (   db)    ((db)->nVTrans>0 && (db)->aVTrans==0)

Definition at line 16448 of file sqlite3.c.

#define sqlite3WhereAddScanStatus (   a,
  b,
  c,
 
)    ((void)d)

Definition at line 122704 of file sqlite3.c.

#define SQLITE_ABORT   4 /* Callback routine requested an abort */

Definition at line 661 of file sqlite3.c.

#define SQLITE_ABORT_ROLLBACK   (SQLITE_ABORT | (2<<8))

Definition at line 746 of file sqlite3.c.

#define SQLITE_ACCESS_EXISTS   0

Definition at line 1508 of file sqlite3.c.

#define SQLITE_ACCESS_READ   2 /* Unused */

Definition at line 1510 of file sqlite3.c.

#define SQLITE_ACCESS_READWRITE   1 /* Used by PRAGMA temp_store_directory */

Definition at line 1509 of file sqlite3.c.

#define SQLITE_AFF_BLOB   'A'

Definition at line 14112 of file sqlite3.c.

#define SQLITE_AFF_INTEGER   'D'

Definition at line 14115 of file sqlite3.c.

#define SQLITE_AFF_MASK   0x47

Definition at line 14124 of file sqlite3.c.

#define SQLITE_AFF_NUMERIC   'C'

Definition at line 14114 of file sqlite3.c.

#define SQLITE_AFF_REAL   'E'

Definition at line 14116 of file sqlite3.c.

#define SQLITE_AFF_TEXT   'B'

Definition at line 14113 of file sqlite3.c.

#define SQLITE_AllOpts   0xffff /* All optimizations */

Definition at line 13857 of file sqlite3.c.

#define SQLITE_ALLOW_COVERING_INDEX_SCAN   1

Definition at line 16809 of file sqlite3.c.

#define SQLITE_ALTER_TABLE   26 /* Database Name Table Name */

Definition at line 2995 of file sqlite3.c.

#define SQLITE_AMALGAMATION   1

Definition at line 21 of file sqlite3.c.

#define SQLITE_ANALYZE   28 /* Table Name NULL */

Definition at line 2997 of file sqlite3.c.

#define SQLITE_ANY   5 /* Deprecated */

Definition at line 4591 of file sqlite3.c.

#define SQLITE_API

Definition at line 304 of file sqlite3.c.

#define SQLITE_ASCII   1

Definition at line 11397 of file sqlite3.c.

#define SQLITE_ATTACH   24 /* Filename NULL */

Definition at line 2993 of file sqlite3.c.

#define SQLITE_AUTH   23 /* Authorization denied */

Definition at line 680 of file sqlite3.c.

#define SQLITE_AUTH_USER   (SQLITE_AUTH | (1<<8))

Definition at line 760 of file sqlite3.c.

#define SQLITE_AutoIndex   0x00100000 /* Enable automatic indexes */

Definition at line 13826 of file sqlite3.c.

#define SQLITE_BIG_DBL   (1e99)

Definition at line 11295 of file sqlite3.c.

#define SQLITE_BIGENDIAN   (*(char *)(&sqlite3one)==0)

Definition at line 11565 of file sqlite3.c.

#define SQLITE_BLOB   4

Definition at line 4220 of file sqlite3.c.

#define SQLITE_BUSY   5 /* The database file is locked */

Definition at line 662 of file sqlite3.c.

#define SQLITE_BUSY_RECOVERY   (SQLITE_BUSY | (1<<8))

Definition at line 735 of file sqlite3.c.

#define SQLITE_BUSY_SNAPSHOT   (SQLITE_BUSY | (2<<8))

Definition at line 736 of file sqlite3.c.

#define SQLITE_BYTEORDER   0 /* 0 means "unknown at compile-time" */

Definition at line 11564 of file sqlite3.c.

#define SQLITE_CacheSpill   0x00000020 /* OK to spill pager cache */

Definition at line 13808 of file sqlite3.c.

#define SQLITE_CANTOPEN   14 /* Unable to open the database file */

Definition at line 671 of file sqlite3.c.

#define SQLITE_CANTOPEN_BKPT   sqlite3CantopenError(__LINE__)

Definition at line 15733 of file sqlite3.c.

#define SQLITE_CANTOPEN_CONVPATH   (SQLITE_CANTOPEN | (4<<8))

Definition at line 740 of file sqlite3.c.

#define SQLITE_CANTOPEN_FULLPATH   (SQLITE_CANTOPEN | (3<<8))

Definition at line 739 of file sqlite3.c.

#define SQLITE_CANTOPEN_ISDIR   (SQLITE_CANTOPEN | (2<<8))

Definition at line 738 of file sqlite3.c.

#define SQLITE_CANTOPEN_NOTEMPDIR   (SQLITE_CANTOPEN | (1<<8))

Definition at line 737 of file sqlite3.c.

#define SQLITE_CDECL

Definition at line 307 of file sqlite3.c.

#define SQLITE_CellSizeCk   0x20000000 /* Check btree cell sizes on load */

Definition at line 13835 of file sqlite3.c.

#define SQLITE_CHECKPOINT_FULL   1 /* Wait for writers, then checkpoint */

Definition at line 7982 of file sqlite3.c.

#define SQLITE_CHECKPOINT_PASSIVE   0 /* Do as much as possible w/o blocking */

Definition at line 7981 of file sqlite3.c.

#define SQLITE_CHECKPOINT_RESTART   2 /* Like FULL but wait for for readers */

Definition at line 7983 of file sqlite3.c.

#define SQLITE_CHECKPOINT_TRUNCATE   3 /* Like RESTART but also truncate WAL */

Definition at line 7984 of file sqlite3.c.

#define SQLITE_CkptFullFSync   0x00000010 /* Use full fsync for checkpoint */

Definition at line 13807 of file sqlite3.c.

#define SQLITE_ColumnCache   0x0002 /* Column cache */

Definition at line 13845 of file sqlite3.c.

#define SQLITE_CONFIG_COVERING_INDEX_SCAN   20 /* int */

Definition at line 2110 of file sqlite3.c.

#define SQLITE_CONFIG_GETMALLOC   5 /* sqlite3_mem_methods* */

Definition at line 2095 of file sqlite3.c.

#define SQLITE_CONFIG_GETMUTEX   11 /* sqlite3_mutex_methods* */

Definition at line 2101 of file sqlite3.c.

#define SQLITE_CONFIG_GETPCACHE   15 /* no-op */

Definition at line 2105 of file sqlite3.c.

#define SQLITE_CONFIG_GETPCACHE2   19 /* sqlite3_pcache_methods2* */

Definition at line 2109 of file sqlite3.c.

#define SQLITE_CONFIG_HEAP   8 /* void*, int nByte, int min */

Definition at line 2098 of file sqlite3.c.

#define SQLITE_CONFIG_LOG   16 /* xFunc, void* */

Definition at line 2106 of file sqlite3.c.

#define SQLITE_CONFIG_LOOKASIDE   13 /* int int */

Definition at line 2103 of file sqlite3.c.

#define SQLITE_CONFIG_MALLOC   4 /* sqlite3_mem_methods* */

Definition at line 2094 of file sqlite3.c.

#define SQLITE_CONFIG_MEMSTATUS   9 /* boolean */

Definition at line 2099 of file sqlite3.c.

#define SQLITE_CONFIG_MMAP_SIZE   22 /* sqlite3_int64, sqlite3_int64 */

Definition at line 2112 of file sqlite3.c.

#define SQLITE_CONFIG_MULTITHREAD   2 /* nil */

Definition at line 2092 of file sqlite3.c.

#define SQLITE_CONFIG_MUTEX   10 /* sqlite3_mutex_methods* */

Definition at line 2100 of file sqlite3.c.

#define SQLITE_CONFIG_PAGECACHE   7 /* void*, int sz, int N */

Definition at line 2097 of file sqlite3.c.

#define SQLITE_CONFIG_PCACHE   14 /* no-op */

Definition at line 2104 of file sqlite3.c.

#define SQLITE_CONFIG_PCACHE2   18 /* sqlite3_pcache_methods2* */

Definition at line 2108 of file sqlite3.c.

#define SQLITE_CONFIG_PCACHE_HDRSZ   24 /* int *psz */

Definition at line 2114 of file sqlite3.c.

#define SQLITE_CONFIG_PMASZ   25 /* unsigned int szPma */

Definition at line 2115 of file sqlite3.c.

#define SQLITE_CONFIG_SCRATCH   6 /* void*, int sz, int N */

Definition at line 2096 of file sqlite3.c.

#define SQLITE_CONFIG_SERIALIZED   3 /* nil */

Definition at line 2093 of file sqlite3.c.

#define SQLITE_CONFIG_SINGLETHREAD   1 /* nil */

Definition at line 2091 of file sqlite3.c.

#define SQLITE_CONFIG_SQLLOG   21 /* xSqllog, void* */

Definition at line 2111 of file sqlite3.c.

#define SQLITE_CONFIG_STMTJRNL_SPILL   26 /* int nByte */

Definition at line 2116 of file sqlite3.c.

#define SQLITE_CONFIG_URI   17 /* int */

Definition at line 2107 of file sqlite3.c.

#define SQLITE_CONFIG_WIN32_HEAPSIZE   23 /* int nByte */

Definition at line 2113 of file sqlite3.c.

#define SQLITE_CONSTRAINT   19 /* Abort due to constraint violation */

Definition at line 676 of file sqlite3.c.

#define SQLITE_CONSTRAINT_CHECK   (SQLITE_CONSTRAINT | (1<<8))

Definition at line 747 of file sqlite3.c.

#define SQLITE_CONSTRAINT_COMMITHOOK   (SQLITE_CONSTRAINT | (2<<8))

Definition at line 748 of file sqlite3.c.

#define SQLITE_CONSTRAINT_FOREIGNKEY   (SQLITE_CONSTRAINT | (3<<8))

Definition at line 749 of file sqlite3.c.

#define SQLITE_CONSTRAINT_FUNCTION   (SQLITE_CONSTRAINT | (4<<8))

Definition at line 750 of file sqlite3.c.

#define SQLITE_CONSTRAINT_NOTNULL   (SQLITE_CONSTRAINT | (5<<8))

Definition at line 751 of file sqlite3.c.

#define SQLITE_CONSTRAINT_PRIMARYKEY   (SQLITE_CONSTRAINT | (6<<8))

Definition at line 752 of file sqlite3.c.

#define SQLITE_CONSTRAINT_ROWID   (SQLITE_CONSTRAINT |(10<<8))

Definition at line 756 of file sqlite3.c.

#define SQLITE_CONSTRAINT_TRIGGER   (SQLITE_CONSTRAINT | (7<<8))

Definition at line 753 of file sqlite3.c.

#define SQLITE_CONSTRAINT_UNIQUE   (SQLITE_CONSTRAINT | (8<<8))

Definition at line 754 of file sqlite3.c.

#define SQLITE_CONSTRAINT_VTAB   (SQLITE_CONSTRAINT | (9<<8))

Definition at line 755 of file sqlite3.c.

#define SQLITE_COPY   0 /* No longer used */

Definition at line 3002 of file sqlite3.c.

#define SQLITE_CORE   1

Definition at line 20 of file sqlite3.c.

#define SQLITE_CORRUPT   11 /* The database disk image is malformed */

Definition at line 668 of file sqlite3.c.

#define SQLITE_CORRUPT_BKPT   sqlite3CorruptError(__LINE__)

Definition at line 15731 of file sqlite3.c.

#define SQLITE_CORRUPT_VTAB   (SQLITE_CORRUPT | (1<<8))

Definition at line 741 of file sqlite3.c.

#define SQLITE_CountRows   0x00000080 /* Count rows changed by INSERT, */

Definition at line 13810 of file sqlite3.c.

#define SQLITE_CoverIdxScan   0x0040 /* Covering index scans */

Definition at line 13850 of file sqlite3.c.

#define SQLITE_CREATE_INDEX   1 /* Index Name Table Name */

Definition at line 2970 of file sqlite3.c.

#define SQLITE_CREATE_TABLE   2 /* Table Name NULL */

Definition at line 2971 of file sqlite3.c.

#define SQLITE_CREATE_TEMP_INDEX   3 /* Index Name Table Name */

Definition at line 2972 of file sqlite3.c.

#define SQLITE_CREATE_TEMP_TABLE   4 /* Table Name NULL */

Definition at line 2973 of file sqlite3.c.

#define SQLITE_CREATE_TEMP_TRIGGER   5 /* Trigger Name Table Name */

Definition at line 2974 of file sqlite3.c.

#define SQLITE_CREATE_TEMP_VIEW   6 /* View Name NULL */

Definition at line 2975 of file sqlite3.c.

#define SQLITE_CREATE_TRIGGER   7 /* Trigger Name Table Name */

Definition at line 2976 of file sqlite3.c.

#define SQLITE_CREATE_VIEW   8 /* View Name NULL */

Definition at line 2977 of file sqlite3.c.

#define SQLITE_CREATE_VTABLE   29 /* Table Name Module Name */

Definition at line 2998 of file sqlite3.c.

#define SQLITE_CursorHints   0x2000 /* Add OP_CursorHint opcodes */

Definition at line 13856 of file sqlite3.c.

#define SQLITE_DBCONFIG_ENABLE_FKEY   1002 /* int int* */

Definition at line 2207 of file sqlite3.c.

#define SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER   1004 /* int int* */

Definition at line 2209 of file sqlite3.c.

#define SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION   1005 /* int int* */

Definition at line 2210 of file sqlite3.c.

#define SQLITE_DBCONFIG_ENABLE_TRIGGER   1003 /* int int* */

Definition at line 2208 of file sqlite3.c.

#define SQLITE_DBCONFIG_LOOKASIDE   1001 /* void* int int */

Definition at line 2206 of file sqlite3.c.

#define SQLITE_DBSTATUS_CACHE_HIT   7

Definition at line 7072 of file sqlite3.c.

#define SQLITE_DBSTATUS_CACHE_MISS   8

Definition at line 7073 of file sqlite3.c.

#define SQLITE_DBSTATUS_CACHE_USED   1

Definition at line 7066 of file sqlite3.c.

#define SQLITE_DBSTATUS_CACHE_WRITE   9

Definition at line 7074 of file sqlite3.c.

#define SQLITE_DBSTATUS_DEFERRED_FKS   10

Definition at line 7075 of file sqlite3.c.

#define SQLITE_DBSTATUS_LOOKASIDE_HIT   4

Definition at line 7069 of file sqlite3.c.

#define SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL   6

Definition at line 7071 of file sqlite3.c.

#define SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE   5

Definition at line 7070 of file sqlite3.c.

#define SQLITE_DBSTATUS_LOOKASIDE_USED   0

Definition at line 7065 of file sqlite3.c.

#define SQLITE_DBSTATUS_MAX   10 /* Largest defined DBSTATUS */

Definition at line 7076 of file sqlite3.c.

#define SQLITE_DBSTATUS_SCHEMA_USED   2

Definition at line 7067 of file sqlite3.c.

#define SQLITE_DBSTATUS_STMT_USED   3

Definition at line 7068 of file sqlite3.c.

#define SQLITE_DEFAULT_AUTOVACUUM   0

Definition at line 11856 of file sqlite3.c.

#define SQLITE_DEFAULT_CACHE_SIZE   -2000

Definition at line 10564 of file sqlite3.c.

#define SQLITE_DEFAULT_FILE_FORMAT   4

Definition at line 11317 of file sqlite3.c.

#define SQLITE_DEFAULT_FILE_PERMISSIONS   0644

Definition at line 29049 of file sqlite3.c.

#define SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT   -1

Definition at line 12718 of file sqlite3.c.

#define SQLITE_DEFAULT_MEMSTATUS   1

Definition at line 10782 of file sqlite3.c.

#define SQLITE_DEFAULT_MMAP_SIZE   0

Definition at line 11638 of file sqlite3.c.

#define SQLITE_DEFAULT_MMAP_SIZE_xc   1 /* Exclude from ctime.c */

Definition at line 11639 of file sqlite3.c.

#define SQLITE_DEFAULT_PAGE_SIZE   4096

Definition at line 10614 of file sqlite3.c.

#define SQLITE_DEFAULT_PCACHE_INITSZ   100

Definition at line 11364 of file sqlite3.c.

#define SQLITE_DEFAULT_PROXYDIR_PERMISSIONS   0755

Definition at line 29056 of file sqlite3.c.

#define SQLITE_DEFAULT_RECURSIVE_TRIGGERS   0

Definition at line 11325 of file sqlite3.c.

#define SQLITE_DEFAULT_SECTOR_SIZE   4096

Definition at line 13220 of file sqlite3.c.

#define SQLITE_DEFAULT_SYNCHRONOUS   (PAGER_SYNCHRONOUS_FULL-1)

Definition at line 13495 of file sqlite3.c.

#define SQLITE_DEFAULT_WAL_AUTOCHECKPOINT   1000

Definition at line 10572 of file sqlite3.c.

#define SQLITE_DEFAULT_WAL_SYNCHRONOUS   SQLITE_DEFAULT_SYNCHRONOUS

Definition at line 13498 of file sqlite3.c.

#define SQLITE_DEFAULT_WORKER_THREADS   0

Definition at line 11350 of file sqlite3.c.

#define SQLITE_DeferFKs   0x02000000 /* Defer all FK constraints */

Definition at line 13831 of file sqlite3.c.

#define SQLITE_DELETE   9 /* Table Name NULL */

Definition at line 2978 of file sqlite3.c.

#define SQLITE_DENY   1 /* Abort the SQL statement with an error */

Definition at line 2947 of file sqlite3.c.

#define SQLITE_DEPRECATED

Definition at line 326 of file sqlite3.c.

#define SQLITE_DETACH   25 /* Database Name NULL */

Definition at line 2994 of file sqlite3.c.

#define SQLITE_DETERMINISTIC   0x800

Definition at line 4602 of file sqlite3.c.

#define SQLITE_DistinctOpt   0x0020 /* DISTINCT using indexes */

Definition at line 13849 of file sqlite3.c.

#define SQLITE_DONE   101 /* sqlite3_step() has finished executing */

Definition at line 687 of file sqlite3.c.

#define SQLITE_DROP_INDEX   10 /* Index Name Table Name */

Definition at line 2979 of file sqlite3.c.

#define SQLITE_DROP_TABLE   11 /* Table Name NULL */

Definition at line 2980 of file sqlite3.c.

#define SQLITE_DROP_TEMP_INDEX   12 /* Index Name Table Name */

Definition at line 2981 of file sqlite3.c.

#define SQLITE_DROP_TEMP_TABLE   13 /* Table Name NULL */

Definition at line 2982 of file sqlite3.c.

#define SQLITE_DROP_TEMP_TRIGGER   14 /* Trigger Name Table Name */

Definition at line 2983 of file sqlite3.c.

#define SQLITE_DROP_TEMP_VIEW   15 /* View Name NULL */

Definition at line 2984 of file sqlite3.c.

#define SQLITE_DROP_TRIGGER   16 /* Trigger Name Table Name */

Definition at line 2985 of file sqlite3.c.

#define SQLITE_DROP_VIEW   17 /* View Name NULL */

Definition at line 2986 of file sqlite3.c.

#define SQLITE_DROP_VTABLE   30 /* Table Name Module Name */

Definition at line 2999 of file sqlite3.c.

#define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)

Definition at line 11723 of file sqlite3.c.

#define SQLITE_ECEL_DUP   0x01 /* Deep, not shallow copies */

Definition at line 16082 of file sqlite3.c.

#define SQLITE_ECEL_FACTOR   0x02 /* Factor out constant terms */

Definition at line 16083 of file sqlite3.c.

#define SQLITE_ECEL_REF   0x04 /* Use ExprList.u.x.iOrderByCol */

Definition at line 16084 of file sqlite3.c.

#define SQLITE_EMPTY   16 /* Database is empty */

Definition at line 673 of file sqlite3.c.

#define SQLITE_ENABLE_LOCKING_STYLE   0

Definition at line 28969 of file sqlite3.c.

#define SQLITE_EnableTrigger   0x01000000 /* True to enable triggers */

Definition at line 13830 of file sqlite3.c.

#define SQLITE_ERROR   1 /* SQL error or missing database */

Definition at line 658 of file sqlite3.c.

#define SQLITE_EXPERIMENTAL

Definition at line 327 of file sqlite3.c.

#define SQLITE_EXTENSION_INIT1   /*no-op*/

Definition at line 108705 of file sqlite3.c.

#define SQLITE_EXTENSION_INIT2 (   v)    (void)v; /* unused parameter */

Definition at line 108706 of file sqlite3.c.

#define SQLITE_EXTENSION_INIT3   /*no-op*/

Definition at line 108707 of file sqlite3.c.

#define SQLITE_EXTERN   extern

Definition at line 301 of file sqlite3.c.

#define SQLITE_FactorOutConst   0x0008 /* Constant factoring */

Definition at line 13847 of file sqlite3.c.

#define SQLITE_FAIL   3

Definition at line 8069 of file sqlite3.c.

#define SQLITE_FAULTINJECTOR_COUNT   1

Definition at line 16519 of file sqlite3.c.

#define SQLITE_FAULTINJECTOR_MALLOC   0

Definition at line 16518 of file sqlite3.c.

#define SQLITE_FCNTL_BUSYHANDLER   15

Definition at line 1258 of file sqlite3.c.

#define SQLITE_FCNTL_CHUNK_SIZE   6

Definition at line 1249 of file sqlite3.c.

#define SQLITE_FCNTL_COMMIT_PHASETWO   22

Definition at line 1264 of file sqlite3.c.

#define SQLITE_FCNTL_DB_UNCHANGED   0xca093fa0

Definition at line 13354 of file sqlite3.c.

#define SQLITE_FCNTL_FILE_POINTER   7

Definition at line 1250 of file sqlite3.c.

#define SQLITE_FCNTL_GET_LOCKPROXYFILE   2

Definition at line 1245 of file sqlite3.c.

#define SQLITE_FCNTL_HAS_MOVED   20

Definition at line 1262 of file sqlite3.c.

#define SQLITE_FCNTL_JOURNAL_POINTER   28

Definition at line 1270 of file sqlite3.c.

#define SQLITE_FCNTL_LAST_ERRNO   4

Definition at line 1247 of file sqlite3.c.

#define SQLITE_FCNTL_LOCKSTATE   1

Definition at line 1244 of file sqlite3.c.

#define SQLITE_FCNTL_MMAP_SIZE   18

Definition at line 1260 of file sqlite3.c.

#define SQLITE_FCNTL_OVERWRITE   11

Definition at line 1254 of file sqlite3.c.

#define SQLITE_FCNTL_PERSIST_WAL   10

Definition at line 1253 of file sqlite3.c.

#define SQLITE_FCNTL_POWERSAFE_OVERWRITE   13

Definition at line 1256 of file sqlite3.c.

#define SQLITE_FCNTL_PRAGMA   14

Definition at line 1257 of file sqlite3.c.

#define SQLITE_FCNTL_RBU   26

Definition at line 1268 of file sqlite3.c.

#define SQLITE_FCNTL_SET_LOCKPROXYFILE   3

Definition at line 1246 of file sqlite3.c.

#define SQLITE_FCNTL_SIZE_HINT   5

Definition at line 1248 of file sqlite3.c.

#define SQLITE_FCNTL_SYNC   21

Definition at line 1263 of file sqlite3.c.

#define SQLITE_FCNTL_SYNC_OMITTED   8

Definition at line 1251 of file sqlite3.c.

#define SQLITE_FCNTL_TEMPFILENAME   16

Definition at line 1259 of file sqlite3.c.

#define SQLITE_FCNTL_TRACE   19

Definition at line 1261 of file sqlite3.c.

#define SQLITE_FCNTL_VFS_POINTER   27

Definition at line 1269 of file sqlite3.c.

#define SQLITE_FCNTL_VFSNAME   12

Definition at line 1255 of file sqlite3.c.

#define SQLITE_FCNTL_WAL_BLOCK   24

Definition at line 1266 of file sqlite3.c.

#define SQLITE_FCNTL_WIN32_AV_RETRY   9

Definition at line 1252 of file sqlite3.c.

#define SQLITE_FCNTL_WIN32_SET_HANDLE   23

Definition at line 1265 of file sqlite3.c.

#define SQLITE_FCNTL_ZIPVFS   25

Definition at line 1267 of file sqlite3.c.

#define SQLITE_FILE_HEADER   "SQLite format 3"

Definition at line 56925 of file sqlite3.c.

#define SQLITE_FLOAT   2

Definition at line 4219 of file sqlite3.c.

#define SQLITE_ForeignKeys   0x00080000 /* Enforce foreign key constraints */

Definition at line 13825 of file sqlite3.c.

#define SQLITE_FORMAT   24 /* Auxiliary database format error */

Definition at line 681 of file sqlite3.c.

#define SQLITE_FREE (   x)    free(x)

Definition at line 20114 of file sqlite3.c.

#define SQLITE_FSFLAGS_IS_MSDOS   0x1

Definition at line 29034 of file sqlite3.c.

#define SQLITE_Fts3Tokenizer   0x40000000 /* Enable fts3_tokenizer(2) */

Definition at line 13836 of file sqlite3.c.

#define SQLITE_FULL   13 /* Insertion failed because database is full */

Definition at line 670 of file sqlite3.c.

#define SQLITE_FullColNames   0x00000004 /* Show full column names on SELECT */

Definition at line 13805 of file sqlite3.c.

#define SQLITE_FullFSync   0x00000008 /* Use full fsync on the backend */

Definition at line 13806 of file sqlite3.c.

#define SQLITE_FUNC_CASE   0x0008 /* Case-sensitive LIKE-type function */

Definition at line 13947 of file sqlite3.c.

#define SQLITE_FUNC_COALESCE   0x0200 /* Built-in coalesce() or ifnull() */

Definition at line 13953 of file sqlite3.c.

#define SQLITE_FUNC_CONSTANT   0x0800 /* Constant inputs give a constant output */

Definition at line 13955 of file sqlite3.c.

#define SQLITE_FUNC_COUNT   0x0100 /* Built-in count(*) aggregate */

Definition at line 13952 of file sqlite3.c.

#define SQLITE_FUNC_ENCMASK   0x0003 /* SQLITE_UTF8, SQLITE_UTF16BE or UTF16LE */

Definition at line 13945 of file sqlite3.c.

#define SQLITE_FUNC_EPHEM   0x0010 /* Ephemeral. Delete with VDBE */

Definition at line 13948 of file sqlite3.c.

#define SQLITE_FUNC_HASH_SZ   23

Definition at line 13618 of file sqlite3.c.

#define SQLITE_FUNC_LENGTH   0x0040 /* Built-in length() function */

Definition at line 13950 of file sqlite3.c.

#define SQLITE_FUNC_LIKE   0x0004 /* Candidate for the LIKE optimization */

Definition at line 13946 of file sqlite3.c.

#define SQLITE_FUNC_MINMAX   0x1000 /* True for min() and max() aggregates */

Definition at line 13956 of file sqlite3.c.

#define SQLITE_FUNC_NEEDCOLL   0x0020 /* sqlite3GetFuncCollSeq() might be called*/

Definition at line 13949 of file sqlite3.c.

#define SQLITE_FUNC_SLOCHNG
Value:
0x2000 /* "Slow Change". Value constant during a
** single query - might change over time */

Definition at line 13957 of file sqlite3.c.

#define SQLITE_FUNC_TYPEOF   0x0080 /* Built-in typeof() function */

Definition at line 13951 of file sqlite3.c.

#define SQLITE_FUNC_UNLIKELY   0x0400 /* Built-in unlikely() function */

Definition at line 13954 of file sqlite3.c.

#define SQLITE_FUNCTION   31 /* NULL Function Name */

Definition at line 3000 of file sqlite3.c.

#define SQLITE_GET_LOCKPROXYFILE   SQLITE_FCNTL_GET_LOCKPROXYFILE

Definition at line 1273 of file sqlite3.c.

#define SQLITE_GroupByOrder   0x0004 /* GROUPBY cover of ORDERBY */

Definition at line 13846 of file sqlite3.c.

#define SQLITE_IDXTYPE_APPDEF   0 /* Created using CREATE INDEX */

Definition at line 14502 of file sqlite3.c.

#define SQLITE_IDXTYPE_PRIMARYKEY   2 /* Is the PRIMARY KEY for the table */

Definition at line 14504 of file sqlite3.c.

#define SQLITE_IDXTYPE_UNIQUE   1 /* Implements a UNIQUE constraint */

Definition at line 14503 of file sqlite3.c.

#define SQLITE_IGNORE   2 /* Don't allow access, but don't generate an error */

Definition at line 2948 of file sqlite3.c.

#define SQLITE_IgnoreChecks   0x00002000 /* Do not enforce check constraints */

Definition at line 13819 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_EQ   2

Definition at line 6060 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_GE   32

Definition at line 6064 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_GLOB   66

Definition at line 6067 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_GT   4

Definition at line 6061 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_LE   8

Definition at line 6062 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_LIKE   65

Definition at line 6066 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_LT   16

Definition at line 6063 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_MATCH   64

Definition at line 6065 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_REGEXP   67

Definition at line 6068 of file sqlite3.c.

#define SQLITE_INDEX_SCAN_UNIQUE   1 /* Scan visits at most 1 row */

Definition at line 6050 of file sqlite3.c.

#define SQLITE_INSERT   18 /* Table Name NULL */

Definition at line 2987 of file sqlite3.c.

#define SQLITE_INT_TO_PTR (   X)    ((void*)&((char*)0)[X])

Definition at line 10709 of file sqlite3.c.

#define SQLITE_INTEGER   1

Definition at line 4218 of file sqlite3.c.

#define SQLITE_INTEGRITY_CHECK_ERROR_MAX   100
#define SQLITE_INTERNAL   2 /* Internal logic error in SQLite */

Definition at line 659 of file sqlite3.c.

#define SQLITE_InternChanges   0x00000002 /* Uncommitted Hash table changes */

Definition at line 13804 of file sqlite3.c.

#define SQLITE_INTERRUPT   9 /* Operation terminated by sqlite3_interrupt()*/

Definition at line 666 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC   0x00000001

Definition at line 820 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC16K   0x00000040

Definition at line 826 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC1K   0x00000004

Definition at line 822 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC2K   0x00000008

Definition at line 823 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC32K   0x00000080

Definition at line 827 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC4K   0x00000010

Definition at line 824 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC512   0x00000002

Definition at line 821 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC64K   0x00000100

Definition at line 828 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC8K   0x00000020

Definition at line 825 of file sqlite3.c.

#define SQLITE_IOCAP_IMMUTABLE   0x00002000

Definition at line 833 of file sqlite3.c.

#define SQLITE_IOCAP_POWERSAFE_OVERWRITE   0x00001000

Definition at line 832 of file sqlite3.c.

#define SQLITE_IOCAP_SAFE_APPEND   0x00000200

Definition at line 829 of file sqlite3.c.

#define SQLITE_IOCAP_SEQUENTIAL   0x00000400

Definition at line 830 of file sqlite3.c.

#define SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN   0x00000800

Definition at line 831 of file sqlite3.c.

#define SQLITE_IOERR   10 /* Some kind of disk I/O error occurred */

Definition at line 667 of file sqlite3.c.

#define SQLITE_IOERR_ACCESS   (SQLITE_IOERR | (13<<8))

Definition at line 718 of file sqlite3.c.

#define SQLITE_IOERR_AUTH   (SQLITE_IOERR | (28<<8))

Definition at line 733 of file sqlite3.c.

#define SQLITE_IOERR_BLOCKED   (SQLITE_IOERR | (11<<8))

Definition at line 716 of file sqlite3.c.

#define SQLITE_IOERR_CHECKRESERVEDLOCK   (SQLITE_IOERR | (14<<8))

Definition at line 719 of file sqlite3.c.

#define SQLITE_IOERR_CLOSE   (SQLITE_IOERR | (16<<8))

Definition at line 721 of file sqlite3.c.

#define SQLITE_IOERR_CONVPATH   (SQLITE_IOERR | (26<<8))

Definition at line 731 of file sqlite3.c.

#define SQLITE_IOERR_DELETE   (SQLITE_IOERR | (10<<8))

Definition at line 715 of file sqlite3.c.

#define SQLITE_IOERR_DELETE_NOENT   (SQLITE_IOERR | (23<<8))

Definition at line 728 of file sqlite3.c.

#define SQLITE_IOERR_DIR_CLOSE   (SQLITE_IOERR | (17<<8))

Definition at line 722 of file sqlite3.c.

#define SQLITE_IOERR_DIR_FSYNC   (SQLITE_IOERR | (5<<8))

Definition at line 710 of file sqlite3.c.

#define SQLITE_IOERR_FSTAT   (SQLITE_IOERR | (7<<8))

Definition at line 712 of file sqlite3.c.

#define SQLITE_IOERR_FSYNC   (SQLITE_IOERR | (4<<8))

Definition at line 709 of file sqlite3.c.

#define SQLITE_IOERR_GETTEMPPATH   (SQLITE_IOERR | (25<<8))

Definition at line 730 of file sqlite3.c.

#define SQLITE_IOERR_LOCK   (SQLITE_IOERR | (15<<8))

Definition at line 720 of file sqlite3.c.

#define SQLITE_IOERR_MMAP   (SQLITE_IOERR | (24<<8))

Definition at line 729 of file sqlite3.c.

#define SQLITE_IOERR_NOMEM   (SQLITE_IOERR | (12<<8))

Definition at line 717 of file sqlite3.c.

#define SQLITE_IOERR_NOMEM_BKPT   SQLITE_IOERR_NOMEM

Definition at line 15741 of file sqlite3.c.

#define SQLITE_IOERR_RDLOCK   (SQLITE_IOERR | (9<<8))

Definition at line 714 of file sqlite3.c.

#define SQLITE_IOERR_READ   (SQLITE_IOERR | (1<<8))

Definition at line 706 of file sqlite3.c.

#define SQLITE_IOERR_SEEK   (SQLITE_IOERR | (22<<8))

Definition at line 727 of file sqlite3.c.

#define SQLITE_IOERR_SHMLOCK   (SQLITE_IOERR | (20<<8))

Definition at line 725 of file sqlite3.c.

#define SQLITE_IOERR_SHMMAP   (SQLITE_IOERR | (21<<8))

Definition at line 726 of file sqlite3.c.

#define SQLITE_IOERR_SHMOPEN   (SQLITE_IOERR | (18<<8))

Definition at line 723 of file sqlite3.c.

#define SQLITE_IOERR_SHMSIZE   (SQLITE_IOERR | (19<<8))

Definition at line 724 of file sqlite3.c.

#define SQLITE_IOERR_SHORT_READ   (SQLITE_IOERR | (2<<8))

Definition at line 707 of file sqlite3.c.

#define SQLITE_IOERR_TRUNCATE   (SQLITE_IOERR | (6<<8))

Definition at line 711 of file sqlite3.c.

#define SQLITE_IOERR_UNLOCK   (SQLITE_IOERR | (8<<8))

Definition at line 713 of file sqlite3.c.

#define SQLITE_IOERR_VNODE   (SQLITE_IOERR | (27<<8))

Definition at line 732 of file sqlite3.c.

#define SQLITE_IOERR_WRITE   (SQLITE_IOERR | (3<<8))

Definition at line 708 of file sqlite3.c.

#define SQLITE_JUMPIFNULL   0x10 /* jumps if either operand is NULL */

Definition at line 14135 of file sqlite3.c.

#define SQLITE_LAST_ERRNO   SQLITE_FCNTL_LAST_ERRNO

Definition at line 1275 of file sqlite3.c.

#define SQLITE_LegacyFileFmt   0x00008000 /* Create new databases in format 1 */

Definition at line 13821 of file sqlite3.c.

#define SQLITE_LIMIT_ATTACHED   7

Definition at line 3536 of file sqlite3.c.

#define SQLITE_LIMIT_COLUMN   2

Definition at line 3531 of file sqlite3.c.

#define SQLITE_LIMIT_COMPOUND_SELECT   4

Definition at line 3533 of file sqlite3.c.

#define SQLITE_LIMIT_EXPR_DEPTH   3

Definition at line 3532 of file sqlite3.c.

#define SQLITE_LIMIT_FUNCTION_ARG   6

Definition at line 3535 of file sqlite3.c.

#define SQLITE_LIMIT_LENGTH   0

Definition at line 3529 of file sqlite3.c.

#define SQLITE_LIMIT_LIKE_PATTERN_LENGTH   8

Definition at line 3537 of file sqlite3.c.

#define SQLITE_LIMIT_SQL_LENGTH   1

Definition at line 3530 of file sqlite3.c.

#define SQLITE_LIMIT_TRIGGER_DEPTH   10

Definition at line 3539 of file sqlite3.c.

#define SQLITE_LIMIT_VARIABLE_NUMBER   9

Definition at line 3538 of file sqlite3.c.

#define SQLITE_LIMIT_VDBE_OP   5

Definition at line 3534 of file sqlite3.c.

#define SQLITE_LIMIT_WORKER_THREADS   11

Definition at line 3540 of file sqlite3.c.

#define SQLITE_LITTLEENDIAN   (*(char *)(&sqlite3one)==1)

Definition at line 11566 of file sqlite3.c.

#define SQLITE_LoadExtension   0x00400000 /* Enable load_extension */

Definition at line 13828 of file sqlite3.c.

#define SQLITE_LoadExtFunc   0x00800000 /* Enable load_extension() SQL func */

Definition at line 13829 of file sqlite3.c.

#define SQLITE_LOCK_EXCLUSIVE   4

Definition at line 846 of file sqlite3.c.

#define SQLITE_LOCK_NONE   0

Definition at line 842 of file sqlite3.c.

#define SQLITE_LOCK_PENDING   3

Definition at line 845 of file sqlite3.c.

#define SQLITE_LOCK_RESERVED   2

Definition at line 844 of file sqlite3.c.

#define SQLITE_LOCK_SHARED   1

Definition at line 843 of file sqlite3.c.

#define SQLITE_LOCKED   6 /* A table in the database is locked */

Definition at line 663 of file sqlite3.c.

#define SQLITE_LOCKED_SHAREDCACHE   (SQLITE_LOCKED | (1<<8))

Definition at line 734 of file sqlite3.c.

#define SQLITE_MAGIC_BUSY   0xf03b7906 /* Database currently in use */

Definition at line 13884 of file sqlite3.c.

#define SQLITE_MAGIC_CLOSED   0x9f3c2d33 /* Database is closed */

Definition at line 13882 of file sqlite3.c.

#define SQLITE_MAGIC_ERROR   0xb5357930 /* An SQLITE_MISUSE error occurred */

Definition at line 13885 of file sqlite3.c.

#define SQLITE_MAGIC_OPEN   0xa029a697 /* Database is open */

Definition at line 13881 of file sqlite3.c.

#define SQLITE_MAGIC_SICK   0x4b771290 /* Error and awaiting close */

Definition at line 13883 of file sqlite3.c.

#define SQLITE_MAGIC_ZOMBIE   0x64cffc7f /* Close with last statement close */

Definition at line 13886 of file sqlite3.c.

#define SQLITE_MALLOC (   x)    malloc(x)

Definition at line 20113 of file sqlite3.c.

#define SQLITE_MALLOC_SOFT_LIMIT   1024

Definition at line 10823 of file sqlite3.c.

#define SQLITE_MAX_ATTACHED   10

Definition at line 10582 of file sqlite3.c.

#define SQLITE_MAX_COLUMN   2000

Definition at line 10499 of file sqlite3.c.

#define SQLITE_MAX_COMPOUND_SELECT   500

Definition at line 10536 of file sqlite3.c.

#define SQLITE_MAX_DEFAULT_PAGE_SIZE   8192

Definition at line 10629 of file sqlite3.c.

#define SQLITE_MAX_EXPR_DEPTH   1000

Definition at line 10524 of file sqlite3.c.

#define SQLITE_MAX_FILE_FORMAT   4

Definition at line 11315 of file sqlite3.c.

#define SQLITE_MAX_FUNCTION_ARG   127

Definition at line 10551 of file sqlite3.c.

#define SQLITE_MAX_LENGTH   1000000000

Definition at line 10478 of file sqlite3.c.

#define SQLITE_MAX_LIKE_PATTERN_LENGTH   50000

Definition at line 10653 of file sqlite3.c.

#define SQLITE_MAX_MMAP_SIZE   0

Definition at line 11627 of file sqlite3.c.

#define SQLITE_MAX_MMAP_SIZE_xc   1 /* exclude from ctime.c */

Definition at line 11629 of file sqlite3.c.

#define SQLITE_MAX_PAGE_COUNT   1073741823

Definition at line 10645 of file sqlite3.c.

#define SQLITE_MAX_PAGE_SIZE   65536

Definition at line 10607 of file sqlite3.c.

#define SQLITE_MAX_PMASZ   (1<<29)

Definition at line 84220 of file sqlite3.c.

#define SQLITE_MAX_SCHEMA_RETRY   50

Definition at line 17429 of file sqlite3.c.

#define SQLITE_MAX_SQL_LENGTH   1000000000

Definition at line 10510 of file sqlite3.c.

#define SQLITE_MAX_SYMLINKS   100

Definition at line 29067 of file sqlite3.c.

#define SQLITE_MAX_TRIGGER_DEPTH   1000

Definition at line 10664 of file sqlite3.c.

#define SQLITE_MAX_U32   ((((u64)1)<<32)-1)

Definition at line 11459 of file sqlite3.c.

#define SQLITE_MAX_VARIABLE_NUMBER   999

Definition at line 10590 of file sqlite3.c.

#define SQLITE_MAX_VDBE_OP   25000

Definition at line 10544 of file sqlite3.c.

#define SQLITE_MAX_WORKER_THREADS   8

Definition at line 11347 of file sqlite3.c.

#define SQLITE_MINIMUM_FILE_DESCRIPTOR   3

Definition at line 29705 of file sqlite3.c.

#define SQLITE_MISMATCH   20 /* Data type mismatch */

Definition at line 677 of file sqlite3.c.

#define SQLITE_MISUSE   21 /* Library used incorrectly */

Definition at line 678 of file sqlite3.c.

#define SQLITE_MISUSE_BKPT   sqlite3MisuseError(__LINE__)

Definition at line 15732 of file sqlite3.c.

#define SQLITE_MUTEX_FAST   0

Definition at line 6703 of file sqlite3.c.

#define SQLITE_MUTEX_NREF   0

Definition at line 22563 of file sqlite3.c.

#define SQLITE_MUTEX_PTHREADS

Definition at line 13440 of file sqlite3.c.

#define SQLITE_MUTEX_RECURSIVE   1

Definition at line 6704 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_APP1   8 /* For use by application */

Definition at line 6713 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_APP2   9 /* For use by application */

Definition at line 6714 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_APP3   10 /* For use by application */

Definition at line 6715 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_LRU   6 /* lru page list */

Definition at line 6710 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_LRU2   7 /* NOT USED */

Definition at line 6711 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_MASTER   2

Definition at line 6705 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_MEM   3 /* sqlite3_malloc() */

Definition at line 6706 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_MEM2   4 /* NOT USED */

Definition at line 6707 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_OPEN   4 /* sqlite3BtreeOpen() */

Definition at line 6708 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_PMEM   7 /* sqlite3PageMalloc() */

Definition at line 6712 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_PRNG   5 /* sqlite3_random() */

Definition at line 6709 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_VFS1   11 /* For use by built-in VFS */

Definition at line 6716 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_VFS2   12 /* For use by extension VFS */

Definition at line 6717 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_VFS3   13 /* For use by application VFS */

Definition at line 6718 of file sqlite3.c.

#define SQLITE_MX_JUMP_OPCODE   69 /* Maximum JUMP opcode */

Definition at line 12540 of file sqlite3.c.

#define SQLITE_N_BTREE_META   16

Definition at line 11849 of file sqlite3.c.

#define SQLITE_N_COLCACHE   10

Definition at line 15208 of file sqlite3.c.

#define SQLITE_N_KEYWORD   124

Definition at line 134746 of file sqlite3.c.

#define SQLITE_N_LIMIT   (SQLITE_LIMIT_WORKER_THREADS+1)

Definition at line 13574 of file sqlite3.c.

#define SQLITE_NOINLINE

Definition at line 10728 of file sqlite3.c.

#define SQLITE_NOLFS   22 /* Uses OS features not supported on host */

Definition at line 679 of file sqlite3.c.

#define SQLITE_NOMEM   7 /* A malloc() failed */

Definition at line 664 of file sqlite3.c.

#define SQLITE_NOMEM_BKPT   SQLITE_NOMEM

Definition at line 15740 of file sqlite3.c.

#define SQLITE_NOTADB   26 /* File opened that is not a database file */

Definition at line 683 of file sqlite3.c.

#define SQLITE_NOTFOUND   12 /* Unknown opcode in sqlite3_file_control() */

Definition at line 669 of file sqlite3.c.

#define SQLITE_NOTICE   27 /* Notifications from sqlite3_log() */

Definition at line 684 of file sqlite3.c.

#define SQLITE_NOTICE_RECOVER_ROLLBACK   (SQLITE_NOTICE | (2<<8))

Definition at line 758 of file sqlite3.c.

#define SQLITE_NOTICE_RECOVER_WAL   (SQLITE_NOTICE | (1<<8))

Definition at line 757 of file sqlite3.c.

#define SQLITE_NOTNULL   0x90 /* Assert that operands are never NULL */

Definition at line 14138 of file sqlite3.c.

#define SQLITE_NULL   5

Definition at line 4221 of file sqlite3.c.

#define SQLITE_NullCallback   0x00000100 /* Invoke the callback once if the */

Definition at line 13813 of file sqlite3.c.

#define SQLITE_NULLEQ   0x80 /* NULL=NULL */

Definition at line 14137 of file sqlite3.c.

#define SQLITE_OK   0 /* Successful result */

Definition at line 656 of file sqlite3.c.

#define SQLITE_OmitNoopJoin   0x0400 /* Omit unused tables in joins */

Definition at line 13854 of file sqlite3.c.

#define SQLITE_OPEN_AUTOPROXY   0x00000020 /* VFS only */

Definition at line 774 of file sqlite3.c.

#define SQLITE_OPEN_CREATE   0x00000004 /* Ok for sqlite3_open_v2() */

Definition at line 771 of file sqlite3.c.

#define SQLITE_OPEN_DELETEONCLOSE   0x00000008 /* VFS only */

Definition at line 772 of file sqlite3.c.

#define SQLITE_OPEN_EXCLUSIVE   0x00000010 /* VFS only */

Definition at line 773 of file sqlite3.c.

#define SQLITE_OPEN_FULLMUTEX   0x00010000 /* Ok for sqlite3_open_v2() */

Definition at line 785 of file sqlite3.c.

#define SQLITE_OPEN_MAIN_DB   0x00000100 /* VFS only */

Definition at line 777 of file sqlite3.c.

#define SQLITE_OPEN_MAIN_JOURNAL   0x00000800 /* VFS only */

Definition at line 780 of file sqlite3.c.

#define SQLITE_OPEN_MASTER_JOURNAL   0x00004000 /* VFS only */

Definition at line 783 of file sqlite3.c.

#define SQLITE_OPEN_MEMORY   0x00000080 /* Ok for sqlite3_open_v2() */

Definition at line 776 of file sqlite3.c.

#define SQLITE_OPEN_NOMUTEX   0x00008000 /* Ok for sqlite3_open_v2() */

Definition at line 784 of file sqlite3.c.

#define SQLITE_OPEN_PRIVATECACHE   0x00040000 /* Ok for sqlite3_open_v2() */

Definition at line 787 of file sqlite3.c.

#define SQLITE_OPEN_READONLY   0x00000001 /* Ok for sqlite3_open_v2() */

Definition at line 769 of file sqlite3.c.

#define SQLITE_OPEN_READWRITE   0x00000002 /* Ok for sqlite3_open_v2() */

Definition at line 770 of file sqlite3.c.

#define SQLITE_OPEN_SHAREDCACHE   0x00020000 /* Ok for sqlite3_open_v2() */

Definition at line 786 of file sqlite3.c.

#define SQLITE_OPEN_SUBJOURNAL   0x00002000 /* VFS only */

Definition at line 782 of file sqlite3.c.

#define SQLITE_OPEN_TEMP_DB   0x00000200 /* VFS only */

Definition at line 778 of file sqlite3.c.

#define SQLITE_OPEN_TEMP_JOURNAL   0x00001000 /* VFS only */

Definition at line 781 of file sqlite3.c.

#define SQLITE_OPEN_TRANSIENT_DB   0x00000400 /* VFS only */

Definition at line 779 of file sqlite3.c.

#define SQLITE_OPEN_URI   0x00000040 /* Ok for sqlite3_open_v2() */

Definition at line 775 of file sqlite3.c.

#define SQLITE_OPEN_WAL   0x00080000 /* VFS only */

Definition at line 788 of file sqlite3.c.

#define SQLITE_OrderByIdxJoin   0x0080 /* ORDER BY of joins via index */

Definition at line 13851 of file sqlite3.c.

#define SQLITE_OS_OTHER   0

Definition at line 13185 of file sqlite3.c.

#define SQLITE_OS_UNIX   1

Definition at line 13193 of file sqlite3.c.

#define SQLITE_OS_WIN   0

Definition at line 13192 of file sqlite3.c.

#define SQLITE_PERM   3 /* Access permission denied */

Definition at line 660 of file sqlite3.c.

#define SQLITE_POWERSAFE_OVERWRITE   1

Definition at line 10773 of file sqlite3.c.

#define SQLITE_PRAGMA   19 /* Pragma Name 1st arg or NULL */

Definition at line 2988 of file sqlite3.c.

#define SQLITE_PreferBuiltin   0x00200000 /* Preference to built-in funcs */

Definition at line 13827 of file sqlite3.c.

#define SQLITE_PRINT_BUF_SIZE   70

Definition at line 24603 of file sqlite3.c.

#define SQLITE_PRINTF_INTERNAL   0x01 /* Internal-use-only converters allowed */

Definition at line 15551 of file sqlite3.c.

#define SQLITE_PRINTF_MALLOCED   0x04 /* True if xText is allocated space */

Definition at line 15553 of file sqlite3.c.

#define SQLITE_PRINTF_SQLFUNC   0x02 /* SQL function arguments to VXPrintf */

Definition at line 15552 of file sqlite3.c.

#define SQLITE_PRIVATE   static

Definition at line 23 of file sqlite3.c.

#define SQLITE_PROTOCOL   15 /* Database lock protocol error */

Definition at line 672 of file sqlite3.c.

#define SQLITE_PTR_TO_INT (   X)    ((int)(((char*)X)-(char*)0))

Definition at line 10710 of file sqlite3.c.

#define SQLITE_PTRSIZE   8

Definition at line 11508 of file sqlite3.c.

#define SQLITE_QueryFlattener   0x0001 /* Query flattening */

Definition at line 13844 of file sqlite3.c.

#define SQLITE_QueryOnly   0x04000000 /* Disable database changes */

Definition at line 13832 of file sqlite3.c.

#define SQLITE_RANGE   25 /* 2nd parameter to sqlite3_bind out of range */

Definition at line 682 of file sqlite3.c.

#define SQLITE_READ   20 /* Table Name Column Name */

Definition at line 2989 of file sqlite3.c.

#define SQLITE_READONLY   8 /* Attempt to write a readonly database */

Definition at line 665 of file sqlite3.c.

#define SQLITE_READONLY_CANTLOCK   (SQLITE_READONLY | (2<<8))

Definition at line 743 of file sqlite3.c.

#define SQLITE_READONLY_DBMOVED   (SQLITE_READONLY | (4<<8))

Definition at line 745 of file sqlite3.c.

#define SQLITE_READONLY_RECOVERY   (SQLITE_READONLY | (1<<8))

Definition at line 742 of file sqlite3.c.

#define SQLITE_READONLY_ROLLBACK   (SQLITE_READONLY | (3<<8))

Definition at line 744 of file sqlite3.c.

#define SQLITE_ReadUncommitted   0x0004000 /* For shared-cache mode */

Definition at line 13820 of file sqlite3.c.

#define SQLITE_REALLOC (   x,
  y 
)    realloc((x),(y))

Definition at line 20115 of file sqlite3.c.

#define SQLITE_RecoveryMode   0x00010000 /* Ignore schema errors */

Definition at line 13822 of file sqlite3.c.

#define SQLITE_RecTriggers   0x00040000 /* Enable recursive triggers */

Definition at line 13824 of file sqlite3.c.

#define SQLITE_RECURSIVE   33 /* NULL NULL */

Definition at line 3003 of file sqlite3.c.

#define SQLITE_REINDEX   27 /* Index Name NULL */

Definition at line 2996 of file sqlite3.c.

#define SQLITE_REPLACE   5

Definition at line 8071 of file sqlite3.c.

#define SQLITE_ReverseOrder   0x00020000 /* Reverse unordered SELECTs */

Definition at line 13823 of file sqlite3.c.

#define SQLITE_ROLLBACK   1

Definition at line 8067 of file sqlite3.c.

#define SQLITE_ROW   100 /* sqlite3_step() has another row ready */

Definition at line 686 of file sqlite3.c.

#define SQLITE_SAVEPOINT   32 /* Operation Savepoint Name */

Definition at line 3001 of file sqlite3.c.

#define SQLITE_SCANSTAT_EST   2

Definition at line 8122 of file sqlite3.c.

#define SQLITE_SCANSTAT_EXPLAIN   4

Definition at line 8124 of file sqlite3.c.

#define SQLITE_SCANSTAT_NAME   3

Definition at line 8123 of file sqlite3.c.

#define SQLITE_SCANSTAT_NLOOP   0

Definition at line 8120 of file sqlite3.c.

#define SQLITE_SCANSTAT_NVISIT   1

Definition at line 8121 of file sqlite3.c.

#define SQLITE_SCANSTAT_SELECTID   5

Definition at line 8125 of file sqlite3.c.

#define SQLITE_SCHEMA   17 /* The database schema changed */

Definition at line 674 of file sqlite3.c.

#define SQLITE_SELECT   21 /* NULL NULL */

Definition at line 2990 of file sqlite3.c.

#define SQLITE_SET_LOCKPROXYFILE   SQLITE_FCNTL_SET_LOCKPROXYFILE

Definition at line 1274 of file sqlite3.c.

#define SQLITE_SHM_EXCLUSIVE   8

Definition at line 1537 of file sqlite3.c.

#define SQLITE_SHM_LOCK   2

Definition at line 1535 of file sqlite3.c.

#define SQLITE_SHM_NLOCK   8

Definition at line 1547 of file sqlite3.c.

#define SQLITE_SHM_SHARED   4

Definition at line 1536 of file sqlite3.c.

#define SQLITE_SHM_UNLOCK   1

Definition at line 1534 of file sqlite3.c.

#define SQLITE_ShortColNames   0x00000040 /* Show short columns names */

Definition at line 13809 of file sqlite3.c.

#define SQLITE_SKIP_UTF8 (   zIn)
Value:
{ \
if( (*(zIn++))>=0xc0 ){ \
while( (*zIn & 0xc0)==0x80 ){ zIn++; } \
} \
}

Definition at line 15715 of file sqlite3.c.

#define SQLITE_SO_ASC   0 /* Sort in ascending order */

Definition at line 14094 of file sqlite3.c.

#define SQLITE_SO_DESC   1 /* Sort in ascending order */

Definition at line 14095 of file sqlite3.c.

#define SQLITE_SO_UNDEFINED   -1 /* No sort order specified */

Definition at line 14096 of file sqlite3.c.

#define SQLITE_SORTER_PMASZ   250

Definition at line 16816 of file sqlite3.c.

#define SQLITE_SOURCE_ID   "2016-05-18 10:57:30 fc49f556e48970561d7ab6a2f24fdd7d9eb81ff2"

Definition at line 368 of file sqlite3.c.

#define SQLITE_SqlTrace   0x00000200 /* Debug print SQL as it executes */

Definition at line 13815 of file sqlite3.c.

#define SQLITE_Stat34   0x0800 /* Use STAT3 or STAT4 data */

Definition at line 13855 of file sqlite3.c.

#define SQLITE_STAT4_SAMPLES   1

Definition at line 94178 of file sqlite3.c.

#define SQLITE_STATIC   ((sqlite3_destructor_type)0)

Definition at line 4858 of file sqlite3.c.

#define SQLITE_STATUS_MALLOC_COUNT   9

Definition at line 6948 of file sqlite3.c.

#define SQLITE_STATUS_MALLOC_SIZE   5

Definition at line 6944 of file sqlite3.c.

#define SQLITE_STATUS_MEMORY_USED   0

Definition at line 6939 of file sqlite3.c.

#define SQLITE_STATUS_PAGECACHE_OVERFLOW   2

Definition at line 6941 of file sqlite3.c.

#define SQLITE_STATUS_PAGECACHE_SIZE   7

Definition at line 6946 of file sqlite3.c.

#define SQLITE_STATUS_PAGECACHE_USED   1

Definition at line 6940 of file sqlite3.c.

#define SQLITE_STATUS_PARSER_STACK   6

Definition at line 6945 of file sqlite3.c.

#define SQLITE_STATUS_SCRATCH_OVERFLOW   4

Definition at line 6943 of file sqlite3.c.

#define SQLITE_STATUS_SCRATCH_SIZE   8

Definition at line 6947 of file sqlite3.c.

#define SQLITE_STATUS_SCRATCH_USED   3

Definition at line 6942 of file sqlite3.c.

#define SQLITE_STDCALL

Definition at line 310 of file sqlite3.c.

#define SQLITE_STMTJRNL_SPILL   (64*1024)

Definition at line 16828 of file sqlite3.c.

#define SQLITE_STMTSTATUS_AUTOINDEX   3

Definition at line 7144 of file sqlite3.c.

#define SQLITE_STMTSTATUS_FULLSCAN_STEP   1

Definition at line 7142 of file sqlite3.c.

#define SQLITE_STMTSTATUS_SORT   2

Definition at line 7143 of file sqlite3.c.

#define SQLITE_STMTSTATUS_VM_STEP   4

Definition at line 7145 of file sqlite3.c.

#define SQLITE_STOREP2   0x20 /* Store result in reg[P2] rather than jump */

Definition at line 14136 of file sqlite3.c.

#define SQLITE_SubqCoroutine   0x0100 /* Evaluate subqueries as coroutines */

Definition at line 13852 of file sqlite3.c.

#define SQLITE_SYNC_DATAONLY   0x00010

Definition at line 876 of file sqlite3.c.

#define SQLITE_SYNC_FULL   0x00003

Definition at line 875 of file sqlite3.c.

#define SQLITE_SYNC_MASK   0x13 /* Mask off the SQLITE_SYNC_* values */

Definition at line 45716 of file sqlite3.c.

#define SQLITE_SYNC_NORMAL   0x00002

Definition at line 874 of file sqlite3.c.

#define SQLITE_SYSTEM_MALLOC   1

Definition at line 10815 of file sqlite3.c.

#define SQLITE_TEMP_FILE_PREFIX   "etilqs_"

Definition at line 13245 of file sqlite3.c.

#define SQLITE_TEMP_STORE   1

Definition at line 11333 of file sqlite3.c.

#define SQLITE_TEMP_STORE_xc   1 /* Exclude from ctime.c */

Definition at line 11334 of file sqlite3.c.

#define SQLITE_TESTCTRL_ALWAYS   13

Definition at line 6806 of file sqlite3.c.

#define SQLITE_TESTCTRL_ASSERT   12

Definition at line 6805 of file sqlite3.c.

#define SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS   10

Definition at line 6803 of file sqlite3.c.

#define SQLITE_TESTCTRL_BITVEC_TEST   8

Definition at line 6801 of file sqlite3.c.

#define SQLITE_TESTCTRL_BYTEORDER   22

Definition at line 6815 of file sqlite3.c.

#define SQLITE_TESTCTRL_EXPLAIN_STMT   19 /* NOT USED */

Definition at line 6812 of file sqlite3.c.

#define SQLITE_TESTCTRL_FAULT_INSTALL   9

Definition at line 6802 of file sqlite3.c.

#define SQLITE_TESTCTRL_FIRST   5

Definition at line 6797 of file sqlite3.c.

#define SQLITE_TESTCTRL_IMPOSTER   25

Definition at line 6818 of file sqlite3.c.

#define SQLITE_TESTCTRL_ISINIT   23

Definition at line 6816 of file sqlite3.c.

#define SQLITE_TESTCTRL_ISKEYWORD   16

Definition at line 6809 of file sqlite3.c.

#define SQLITE_TESTCTRL_LAST   25

Definition at line 6819 of file sqlite3.c.

#define SQLITE_TESTCTRL_LOCALTIME_FAULT   18

Definition at line 6811 of file sqlite3.c.

#define SQLITE_TESTCTRL_NEVER_CORRUPT   20

Definition at line 6813 of file sqlite3.c.

#define SQLITE_TESTCTRL_OPTIMIZATIONS   15

Definition at line 6808 of file sqlite3.c.

#define SQLITE_TESTCTRL_PENDING_BYTE   11

Definition at line 6804 of file sqlite3.c.

#define SQLITE_TESTCTRL_PRNG_RESET   7

Definition at line 6800 of file sqlite3.c.

#define SQLITE_TESTCTRL_PRNG_RESTORE   6

Definition at line 6799 of file sqlite3.c.

#define SQLITE_TESTCTRL_PRNG_SAVE   5

Definition at line 6798 of file sqlite3.c.

#define SQLITE_TESTCTRL_RESERVE   14

Definition at line 6807 of file sqlite3.c.

#define SQLITE_TESTCTRL_SCRATCHMALLOC   17

Definition at line 6810 of file sqlite3.c.

#define SQLITE_TESTCTRL_SORTER_MMAP   24

Definition at line 6817 of file sqlite3.c.

#define SQLITE_TESTCTRL_VDBE_COVERAGE   21

Definition at line 6814 of file sqlite3.c.

#define SQLITE_TEXT   3

Definition at line 4225 of file sqlite3.c.

#define SQLITE_THREADS_IMPLEMENTED   1 /* Prevent the single-thread code below */

Definition at line 26204 of file sqlite3.c.

#define SQLITE_THREADSAFE   1 /* IMP: R-07272-22309 */

Definition at line 10764 of file sqlite3.c.

#define SQLITE_TOOBIG   18 /* String or BLOB exceeds size limit */

Definition at line 675 of file sqlite3.c.

#define SQLITE_TRANSACTION   22 /* Operation NULL */

Definition at line 2991 of file sqlite3.c.

#define SQLITE_TRANSIENT   ((sqlite3_destructor_type)-1)

Definition at line 4859 of file sqlite3.c.

#define SQLITE_Transitive   0x0200 /* Transitive constraints */

Definition at line 13853 of file sqlite3.c.

#define SQLITE_UNIX_THREADS   1

Definition at line 29042 of file sqlite3.c.

#define SQLITE_UPDATE   23 /* Table Name Column Name */

Definition at line 2992 of file sqlite3.c.

#define SQLITE_USE_URI   0

Definition at line 16801 of file sqlite3.c.

#define SQLITE_UTF16   4 /* Use native byte order */

Definition at line 4590 of file sqlite3.c.

#define SQLITE_UTF16_ALIGNED   8 /* sqlite3_create_collation only */

Definition at line 4592 of file sqlite3.c.

#define SQLITE_UTF16BE   3 /* IMP: R-51971-34154 */

Definition at line 4589 of file sqlite3.c.

#define SQLITE_UTF16LE   2 /* IMP: R-03371-37637 */

Definition at line 4588 of file sqlite3.c.

#define SQLITE_UTF16NATIVE   (SQLITE_BIGENDIAN?SQLITE_UTF16BE:SQLITE_UTF16LE)

Definition at line 11567 of file sqlite3.c.

#define SQLITE_UTF8   1 /* IMP: R-37514-35566 */

Definition at line 4587 of file sqlite3.c.

#define SQLITE_Vacuum   0x10000000 /* Currently in a VACUUM */

Definition at line 13834 of file sqlite3.c.

#define SQLITE_VdbeAddopTrace   0x00001000 /* Trace sqlite3VdbeAddOp() calls */

Definition at line 13818 of file sqlite3.c.

#define SQLITE_VdbeEQP   0x08000000 /* Debug EXPLAIN QUERY PLAN */

Definition at line 13833 of file sqlite3.c.

#define SQLITE_VdbeListing   0x00000400 /* Debug listings of VDBE programs */

Definition at line 13816 of file sqlite3.c.

#define SQLITE_VdbeTrace   0x00000001 /* True to trace VDBE execution */

Definition at line 13803 of file sqlite3.c.

#define SQLITE_VERSION   "3.13.0"

Definition at line 366 of file sqlite3.c.

#define SQLITE_VERSION_NUMBER   3013000

Definition at line 367 of file sqlite3.c.

#define SQLITE_VTAB_CONSTRAINT_SUPPORT   1

Definition at line 8041 of file sqlite3.c.

#define SQLITE_WARNING   28 /* Warnings from sqlite3_log() */

Definition at line 685 of file sqlite3.c.

#define SQLITE_WARNING_AUTOINDEX   (SQLITE_WARNING | (1<<8))

Definition at line 759 of file sqlite3.c.

#define SQLITE_WITHIN (   P,
  S,
 
)    (((uptr)(P)>=(uptr)(S))&&((uptr)(P)<(uptr)(E)))

Definition at line 11530 of file sqlite3.c.

#define SQLITE_WriteSchema   0x00000800 /* OK to update SQLITE_MASTER */

Definition at line 13817 of file sqlite3.c.

#define SQLITE_WSD

Definition at line 11746 of file sqlite3.c.

#define sqliteHashData (   E)    ((E)->data)

Definition at line 11086 of file sqlite3.c.

#define sqliteHashFirst (   H)    ((H)->first)

Definition at line 11084 of file sqlite3.c.

#define sqliteHashNext (   E)    ((E)->next)

Definition at line 11085 of file sqlite3.c.

#define SRT_Coroutine   13 /* Generate a single row of result */

Definition at line 15172 of file sqlite3.c.

#define SRT_Discard   4 /* Do not save the results anywhere */

Definition at line 15159 of file sqlite3.c.

#define SRT_DistFifo   6 /* Like SRT_Fifo, but unique results only */

Definition at line 15161 of file sqlite3.c.

#define SRT_DistQueue   8 /* Like SRT_Queue, but unique results only */

Definition at line 15163 of file sqlite3.c.

#define SRT_EphemTab   12 /* Create transient tab and store like SRT_Table */

Definition at line 15171 of file sqlite3.c.

#define SRT_Except   2 /* Remove result from a UNION index */

Definition at line 15157 of file sqlite3.c.

#define SRT_Exists   3 /* Store 1 if the result is not empty */

Definition at line 15158 of file sqlite3.c.

#define SRT_Fifo   5 /* Store result as data with an automatic rowid */

Definition at line 15160 of file sqlite3.c.

#define SRT_Mem   10 /* Store result in a memory cell */

Definition at line 15169 of file sqlite3.c.

#define SRT_Output   9 /* Output each row of result */

Definition at line 15168 of file sqlite3.c.

#define SRT_Queue   7 /* Store result in an queue */

Definition at line 15162 of file sqlite3.c.

#define SRT_Set   11 /* Store results as keys in an index */

Definition at line 15170 of file sqlite3.c.

#define SRT_Table   14 /* Store result as data with an automatic rowid */

Definition at line 15173 of file sqlite3.c.

#define SRT_Union   1 /* Store result as keys in an index */

Definition at line 15156 of file sqlite3.c.

#define SRVAL (   p)    ((void*)((SorterRecord*)(p) + 1))

Definition at line 84521 of file sqlite3.c.

#define STAT_GET_NDLT   4 /* "ndlt" column of stat[34] entry */

Definition at line 94813 of file sqlite3.c.

#define STAT_GET_NEQ   2 /* "neq" column of stat[34] entry */

Definition at line 94811 of file sqlite3.c.

#define STAT_GET_NLT   3 /* "nlt" column of stat[34] entry */

Definition at line 94812 of file sqlite3.c.

#define STAT_GET_ROWID   1 /* "rowid" column of stat[34] entry */

Definition at line 94810 of file sqlite3.c.

#define STAT_GET_STAT1   0 /* "stat" column of stat1 table */

Definition at line 94809 of file sqlite3.c.

#define STR_FUNCTION (   zName,
  nArg,
  pArg,
  bNC,
  xFunc 
)
Value:
pArg, 0, xFunc, 0, #zName, }
#define SQLITE_FUNC_SLOCHNG
Definition: sqlite3.c:13957
#define SQLITE_UTF8
Definition: sqlite3.c:4587
#define SQLITE_FUNC_NEEDCOLL
Definition: sqlite3.c:13949

Definition at line 14006 of file sqlite3.c.

#define STRACCUM_NOMEM   1

Definition at line 15549 of file sqlite3.c.

#define STRACCUM_TOOBIG   2

Definition at line 15550 of file sqlite3.c.

#define Stringify (   P,
  enc 
)
Value:
if(((P)->flags&(MEM_Str|MEM_Blob))==0 && sqlite3VdbeMemStringify(P,enc,0)) \
{ goto no_mem; }
#define MEM_Str
Definition: sqlite3.c:17636
SQLITE_PRIVATE int sqlite3VdbeMemStringify(Mem *, u8, u8)
Definition: sqlite3.c:68464
#define MEM_Blob
Definition: sqlite3.c:17639
GLbitfield flags

Definition at line 76688 of file sqlite3.c.

#define SWAP (   TYPE,
  A,
 
)    {TYPE t=A; A=B; B=t;}

Definition at line 11388 of file sqlite3.c.

#define swapMixedEndianFloat (   X)

Definition at line 73147 of file sqlite3.c.

#define TEMP_MASTER_NAME   "sqlite_temp_master"

Definition at line 11692 of file sqlite3.c.

#define TERM_ANDINFO   0x20 /* Need to free the WhereTerm.u.pAndInfo obj */

Definition at line 122507 of file sqlite3.c.

#define TERM_CODED   0x04 /* This term is already coded */

Definition at line 122504 of file sqlite3.c.

#define TERM_COPIED   0x08 /* Has a child */

Definition at line 122505 of file sqlite3.c.

#define TERM_DYNAMIC   0x01 /* Need to call sqlite3ExprDelete(db, pExpr) */

Definition at line 122502 of file sqlite3.c.

#define TERM_IS   0x800 /* Term.pExpr is an IS operator */

Definition at line 122517 of file sqlite3.c.

#define TERM_LIKE   0x400 /* The original LIKE operator */

Definition at line 122516 of file sqlite3.c.

#define TERM_LIKECOND   0x200 /* Conditionally this LIKE operator term */

Definition at line 122515 of file sqlite3.c.

#define TERM_LIKEOPT   0x100 /* Virtual terms from the LIKE optimization */

Definition at line 122514 of file sqlite3.c.

#define TERM_OR_OK   0x40 /* Used during OR-clause processing */

Definition at line 122508 of file sqlite3.c.

#define TERM_ORINFO   0x10 /* Need to free the WhereTerm.u.pOrInfo object */

Definition at line 122506 of file sqlite3.c.

#define TERM_VIRTUAL   0x02 /* Added by the optimizer. Do not code */

Definition at line 122503 of file sqlite3.c.

#define TERM_VNULL   0x00 /* Disabled if not using stat3 */

Definition at line 122512 of file sqlite3.c.

#define TESTBIT (   V,
 
)    (V[I>>3]&(1<<(I&7)))!=0

Definition at line 42942 of file sqlite3.c.

#define testcase (   X)

Definition at line 10879 of file sqlite3.c.

#define TESTONLY (   X)

Definition at line 10890 of file sqlite3.c.

#define TF_Autoincrement   0x08 /* Integer primary key is autoincrement */

Definition at line 14241 of file sqlite3.c.

#define TF_Ephemeral   0x02 /* An ephemeral table */

Definition at line 14239 of file sqlite3.c.

#define TF_HasPrimaryKey   0x04 /* Table has a primary key */

Definition at line 14240 of file sqlite3.c.

#define TF_NoVisibleRowid   0x40 /* No user-visible "rowid" column */

Definition at line 14244 of file sqlite3.c.

#define TF_OOOHidden   0x80 /* Out-of-Order hidden columns */

Definition at line 14245 of file sqlite3.c.

#define TF_Readonly   0x01 /* Read-only system table */

Definition at line 14238 of file sqlite3.c.

#define TF_Virtual   0x10 /* Is a virtual table */

Definition at line 14242 of file sqlite3.c.

#define TF_WithoutRowid   0x20 /* No rowid. PRIMARY KEY is the key */

Definition at line 14243 of file sqlite3.c.

#define threadid   pthread_self()

Definition at line 29404 of file sqlite3.c.

#define THREE_BYTE_INT (   x)    (65536*(i8)((x)[0])|((x)[1]<<8)|(x)[2])

Definition at line 73204 of file sqlite3.c.

#define TIMER_ELAPSED   ((sqlite_uint64)0)

Definition at line 29324 of file sqlite3.c.

#define TIMER_END

Definition at line 29323 of file sqlite3.c.

#define TIMER_START

Definition at line 29322 of file sqlite3.c.

#define TK_ABORT   57

Definition at line 11157 of file sqlite3.c.

#define TK_ACTION   58

Definition at line 11158 of file sqlite3.c.

#define TK_ADD   142

Definition at line 11242 of file sqlite3.c.

#define TK_AFTER   59

Definition at line 11159 of file sqlite3.c.

#define TK_AGG_COLUMN   154

Definition at line 11254 of file sqlite3.c.

#define TK_AGG_FUNCTION   153

Definition at line 11253 of file sqlite3.c.

#define TK_ALL   116

Definition at line 11216 of file sqlite3.c.

#define TK_ALTER   141

Definition at line 11241 of file sqlite3.c.

#define TK_ANALYZE   60

Definition at line 11160 of file sqlite3.c.

#define TK_AND   28

Definition at line 11128 of file sqlite3.c.

#define TK_ANY   96

Definition at line 11196 of file sqlite3.c.

#define TK_AS   24

Definition at line 11124 of file sqlite3.c.

#define TK_ASC   61

Definition at line 11161 of file sqlite3.c.

#define TK_ASTERISK   158

Definition at line 11258 of file sqlite3.c.

#define TK_ATTACH   62

Definition at line 11162 of file sqlite3.c.

#define TK_AUTOINCR   106

Definition at line 11206 of file sqlite3.c.

#define TK_BEFORE   63

Definition at line 11163 of file sqlite3.c.

#define TK_BEGIN   5

Definition at line 11105 of file sqlite3.c.

#define TK_BETWEEN   32

Definition at line 11132 of file sqlite3.c.

#define TK_BITAND   43

Definition at line 11143 of file sqlite3.c.

#define TK_BITNOT   54

Definition at line 11154 of file sqlite3.c.

#define TK_BITOR   44

Definition at line 11144 of file sqlite3.c.

#define TK_BLOB   134

Definition at line 11234 of file sqlite3.c.

#define TK_BY   64

Definition at line 11164 of file sqlite3.c.

#define TK_CASCADE   65

Definition at line 11165 of file sqlite3.c.

#define TK_CASE   136

Definition at line 11236 of file sqlite3.c.

#define TK_CAST   66

Definition at line 11166 of file sqlite3.c.

#define TK_CHECK   104

Definition at line 11204 of file sqlite3.c.

#define TK_COLLATE   53

Definition at line 11153 of file sqlite3.c.

#define TK_COLUMN   152

Definition at line 11252 of file sqlite3.c.

#define TK_COLUMNKW   67

Definition at line 11167 of file sqlite3.c.

#define TK_COMMA   26

Definition at line 11126 of file sqlite3.c.

#define TK_COMMIT   10

Definition at line 11110 of file sqlite3.c.

#define TK_CONCAT   52

Definition at line 11152 of file sqlite3.c.

#define TK_CONFLICT   68

Definition at line 11168 of file sqlite3.c.

#define TK_CONSTRAINT   99

Definition at line 11199 of file sqlite3.c.

#define TK_CREATE   17

Definition at line 11117 of file sqlite3.c.

#define TK_CTIME_KW   95

Definition at line 11195 of file sqlite3.c.

#define TK_DATABASE   69

Definition at line 11169 of file sqlite3.c.

#define TK_DEFAULT   100

Definition at line 11200 of file sqlite3.c.

#define TK_DEFERRABLE   112

Definition at line 11212 of file sqlite3.c.

#define TK_DEFERRED   7

Definition at line 11107 of file sqlite3.c.

#define TK_DELETE   109

Definition at line 11209 of file sqlite3.c.

#define TK_DESC   70

Definition at line 11170 of file sqlite3.c.

#define TK_DETACH   71

Definition at line 11171 of file sqlite3.c.

#define TK_DISTINCT   121

Definition at line 11221 of file sqlite3.c.

#define TK_DOT   122

Definition at line 11222 of file sqlite3.c.

#define TK_DROP   114

Definition at line 11214 of file sqlite3.c.

#define TK_EACH   72

Definition at line 11172 of file sqlite3.c.

#define TK_ELSE   139

Definition at line 11239 of file sqlite3.c.

#define TK_END   11

Definition at line 11111 of file sqlite3.c.

#define TK_END_OF_FILE   149

Definition at line 11249 of file sqlite3.c.

#define TK_EQ   37

Definition at line 11137 of file sqlite3.c.

#define TK_ESCAPE   42

Definition at line 11142 of file sqlite3.c.

#define TK_EXCEPT   117

Definition at line 11217 of file sqlite3.c.

#define TK_EXCLUSIVE   9

Definition at line 11109 of file sqlite3.c.

#define TK_EXISTS   20

Definition at line 11120 of file sqlite3.c.

#define TK_EXPLAIN   2

Definition at line 11102 of file sqlite3.c.

#define TK_FAIL   73

Definition at line 11173 of file sqlite3.c.

#define TK_FLOAT   133

Definition at line 11233 of file sqlite3.c.

#define TK_FOR   74

Definition at line 11174 of file sqlite3.c.

#define TK_FOREIGN   113

Definition at line 11213 of file sqlite3.c.

#define TK_FROM   123

Definition at line 11223 of file sqlite3.c.

#define TK_FUNCTION   151

Definition at line 11251 of file sqlite3.c.

#define TK_GE   41

Definition at line 11141 of file sqlite3.c.

#define TK_GROUP   127

Definition at line 11227 of file sqlite3.c.

#define TK_GT   38

Definition at line 11138 of file sqlite3.c.

#define TK_HAVING   128

Definition at line 11228 of file sqlite3.c.

#define TK_ID   55

Definition at line 11155 of file sqlite3.c.

#define TK_IF   18

Definition at line 11118 of file sqlite3.c.

#define TK_IGNORE   75

Definition at line 11175 of file sqlite3.c.

#define TK_ILLEGAL   161

Definition at line 11261 of file sqlite3.c.

#define TK_IMMEDIATE   8

Definition at line 11108 of file sqlite3.c.

#define TK_IN   33

Definition at line 11133 of file sqlite3.c.

#define TK_INDEX   140

Definition at line 11240 of file sqlite3.c.

#define TK_INDEXED   56

Definition at line 11156 of file sqlite3.c.

#define TK_INITIALLY   76

Definition at line 11176 of file sqlite3.c.

#define TK_INSERT   108

Definition at line 11208 of file sqlite3.c.

#define TK_INSTEAD   77

Definition at line 11177 of file sqlite3.c.

#define TK_INTEGER   132

Definition at line 11232 of file sqlite3.c.

#define TK_INTERSECT   118

Definition at line 11218 of file sqlite3.c.

#define TK_INTO   131

Definition at line 11231 of file sqlite3.c.

#define TK_IS   29

Definition at line 11129 of file sqlite3.c.

#define TK_ISNOT   148

Definition at line 11248 of file sqlite3.c.

#define TK_ISNULL   34

Definition at line 11134 of file sqlite3.c.

#define TK_JOIN   124

Definition at line 11224 of file sqlite3.c.

#define TK_JOIN_KW   98

Definition at line 11198 of file sqlite3.c.

#define TK_KEY   79

Definition at line 11179 of file sqlite3.c.

#define TK_LE   39

Definition at line 11139 of file sqlite3.c.

#define TK_LIKE_KW   31

Definition at line 11131 of file sqlite3.c.

#define TK_LIMIT   129

Definition at line 11229 of file sqlite3.c.

#define TK_LP   22

Definition at line 11122 of file sqlite3.c.

#define TK_LSHIFT   45

Definition at line 11145 of file sqlite3.c.

#define TK_LT   40

Definition at line 11140 of file sqlite3.c.

#define TK_MATCH   30

Definition at line 11130 of file sqlite3.c.

#define TK_MINUS   48

Definition at line 11148 of file sqlite3.c.

#define TK_NE   36

Definition at line 11136 of file sqlite3.c.

#define TK_NO   78

Definition at line 11178 of file sqlite3.c.

#define TK_NOT   19

Definition at line 11119 of file sqlite3.c.

#define TK_NOTNULL   35

Definition at line 11135 of file sqlite3.c.

#define TK_NULL   101

Definition at line 11201 of file sqlite3.c.

#define TK_OF   80

Definition at line 11180 of file sqlite3.c.

#define TK_OFFSET   81

Definition at line 11181 of file sqlite3.c.

#define TK_ON   107

Definition at line 11207 of file sqlite3.c.

#define TK_OR   27

Definition at line 11127 of file sqlite3.c.

#define TK_ORDER   126

Definition at line 11226 of file sqlite3.c.

#define TK_PLAN   4

Definition at line 11104 of file sqlite3.c.

#define TK_PLUS   47

Definition at line 11147 of file sqlite3.c.

#define TK_PRAGMA   82

Definition at line 11182 of file sqlite3.c.

#define TK_PRIMARY   102

Definition at line 11202 of file sqlite3.c.

#define TK_QUERY   3

Definition at line 11103 of file sqlite3.c.

#define TK_RAISE   83

Definition at line 11183 of file sqlite3.c.

#define TK_RECURSIVE   84

Definition at line 11184 of file sqlite3.c.

#define TK_REFERENCES   105

Definition at line 11205 of file sqlite3.c.

#define TK_REGISTER   157

Definition at line 11257 of file sqlite3.c.

#define TK_REINDEX   93

Definition at line 11193 of file sqlite3.c.

#define TK_RELEASE   14

Definition at line 11114 of file sqlite3.c.

#define TK_REM   51

Definition at line 11151 of file sqlite3.c.

#define TK_RENAME   94

Definition at line 11194 of file sqlite3.c.

#define TK_REPLACE   85

Definition at line 11185 of file sqlite3.c.

#define TK_RESTRICT   86

Definition at line 11186 of file sqlite3.c.

#define TK_ROLLBACK   12

Definition at line 11112 of file sqlite3.c.

#define TK_ROW   87

Definition at line 11187 of file sqlite3.c.

#define TK_RP   23

Definition at line 11123 of file sqlite3.c.

#define TK_RSHIFT   46

Definition at line 11146 of file sqlite3.c.

#define TK_SAVEPOINT   13

Definition at line 11113 of file sqlite3.c.

#define TK_SELECT   119

Definition at line 11219 of file sqlite3.c.

#define TK_SEMI   1

Definition at line 11101 of file sqlite3.c.

#define TK_SET   111

Definition at line 11211 of file sqlite3.c.

#define TK_SLASH   50

Definition at line 11150 of file sqlite3.c.

#define TK_SPACE   160

Definition at line 11260 of file sqlite3.c.

#define TK_SPAN   159

Definition at line 11259 of file sqlite3.c.

#define TK_STAR   49

Definition at line 11149 of file sqlite3.c.

#define TK_STRING   97

Definition at line 11197 of file sqlite3.c.

#define TK_TABLE   16

Definition at line 11116 of file sqlite3.c.

#define TK_TEMP   21

Definition at line 11121 of file sqlite3.c.

#define TK_THEN   138

Definition at line 11238 of file sqlite3.c.

#define TK_TO   15

Definition at line 11115 of file sqlite3.c.

#define TK_TO_BLOB   144

Definition at line 11244 of file sqlite3.c.

#define TK_TO_INT   146

Definition at line 11246 of file sqlite3.c.

#define TK_TO_NUMERIC   145

Definition at line 11245 of file sqlite3.c.

#define TK_TO_REAL   147

Definition at line 11247 of file sqlite3.c.

#define TK_TO_TEXT   143

Definition at line 11243 of file sqlite3.c.

#define TK_TRANSACTION   6

Definition at line 11106 of file sqlite3.c.

#define TK_TRIGGER   88

Definition at line 11188 of file sqlite3.c.

#define TK_UMINUS   155

Definition at line 11255 of file sqlite3.c.

#define TK_UNCLOSED_STRING   150

Definition at line 11250 of file sqlite3.c.

#define TK_UNION   115

Definition at line 11215 of file sqlite3.c.

#define TK_UNIQUE   103

Definition at line 11203 of file sqlite3.c.

#define TK_UPDATE   110

Definition at line 11210 of file sqlite3.c.

#define TK_UPLUS   156

Definition at line 11256 of file sqlite3.c.

#define TK_USING   125

Definition at line 11225 of file sqlite3.c.

#define TK_VACUUM   89

Definition at line 11189 of file sqlite3.c.

#define TK_VALUES   120

Definition at line 11220 of file sqlite3.c.

#define TK_VARIABLE   135

Definition at line 11235 of file sqlite3.c.

#define TK_VIEW   90

Definition at line 11190 of file sqlite3.c.

#define TK_VIRTUAL   91

Definition at line 11191 of file sqlite3.c.

#define TK_WHEN   137

Definition at line 11237 of file sqlite3.c.

#define TK_WHERE   130

Definition at line 11230 of file sqlite3.c.

#define TK_WITH   92

Definition at line 11192 of file sqlite3.c.

#define TK_WITHOUT   25

Definition at line 11125 of file sqlite3.c.

#define tkCREATE   4

Definition at line 135254 of file sqlite3.c.

#define tkEND   7

Definition at line 135257 of file sqlite3.c.

#define tkEXPLAIN   3

Definition at line 135253 of file sqlite3.c.

#define TKFLG_DONTFOLD   0x100 /* Omit constant folding optimizations */

Definition at line 11268 of file sqlite3.c.

#define TKFLG_MASK   0xff

Definition at line 11264 of file sqlite3.c.

#define tkOTHER   2

Definition at line 135251 of file sqlite3.c.

#define tkSEMI   0

Definition at line 135249 of file sqlite3.c.

#define tkTEMP   5

Definition at line 135255 of file sqlite3.c.

#define tkTRIGGER   6

Definition at line 135256 of file sqlite3.c.

#define tkWS   1

Definition at line 135250 of file sqlite3.c.

#define TOKEN   yyminor
#define TRACE (   X)

Definition at line 57702 of file sqlite3.c.

#define TRACE_IDX_INPUTS (   A)

Definition at line 126483 of file sqlite3.c.

#define TRACE_IDX_OUTPUTS (   A)

Definition at line 126484 of file sqlite3.c.

#define TRANS_NONE   0

Definition at line 57050 of file sqlite3.c.

#define TRANS_READ   1

Definition at line 57051 of file sqlite3.c.

#define TRANS_WRITE   2

Definition at line 57052 of file sqlite3.c.

#define TRIGGER_AFTER   2

Definition at line 15467 of file sqlite3.c.

#define TRIGGER_BEFORE   1

Definition at line 15466 of file sqlite3.c.

#define TWO_BYTE_INT (   x)    (256*(i8)((x)[0])|(x)[1])

Definition at line 73203 of file sqlite3.c.

#define TWOPOWER31   (((i64)1)<<31)

Definition at line 28285 of file sqlite3.c.

#define TWOPOWER32   (((i64)1)<<32)

Definition at line 28284 of file sqlite3.c.

#define UINT16_TYPE   unsigned short int

Definition at line 11418 of file sqlite3.c.

#define UINT32_TYPE   unsigned int

Definition at line 11411 of file sqlite3.c.

#define UINT8_TYPE   unsigned char

Definition at line 11432 of file sqlite3.c.

#define UNIX_SHM_BASE   ((22+SQLITE_SHM_NLOCK)*4) /* first lock byte */

Definition at line 33168 of file sqlite3.c.

#define UNIX_SHM_DMS   (UNIX_SHM_BASE+SQLITE_SHM_NLOCK) /* deadman switch */

Definition at line 33169 of file sqlite3.c.

#define unixDlClose   0

Definition at line 35181 of file sqlite3.c.

#define unixDlError   0

Definition at line 35179 of file sqlite3.c.

#define unixDlOpen   0

Definition at line 35178 of file sqlite3.c.

#define unixDlSym   0

Definition at line 35180 of file sqlite3.c.

#define UNIXFILE_DELETE   0x20 /* Delete on close */

Definition at line 29175 of file sqlite3.c.

#define UNIXFILE_DIRSYNC   0x08 /* Directory sync needed */

Definition at line 29170 of file sqlite3.c.

#define UNIXFILE_EXCL   0x01 /* Connections from one process only */

Definition at line 29166 of file sqlite3.c.

#define UNIXFILE_NOLOCK   0x80 /* Do no file locking */

Definition at line 29177 of file sqlite3.c.

#define UNIXFILE_PERSIST_WAL   0x04 /* Persistent WAL mode */

Definition at line 29168 of file sqlite3.c.

#define UNIXFILE_PSOW   0x10 /* SQLITE_IOCAP_POWERSAFE_OVERWRITE */

Definition at line 29174 of file sqlite3.c.

#define UNIXFILE_RDONLY   0x02 /* Connection is read only */

Definition at line 29167 of file sqlite3.c.

#define UNIXFILE_URI   0x40 /* Filename might have query parameters */

Definition at line 29176 of file sqlite3.c.

#define unixLogError (   a,
  b,
  c 
)    unixLogErrorAtLine(a,b,c,__LINE__)

Definition at line 30215 of file sqlite3.c.

#define UNIXVFS (   VFSNAME,
  FINDER 
)
Value:
{ \
3, /* iVersion */ \
sizeof(unixFile), /* szOsFile */ \
MAX_PATHNAME, /* mxPathname */ \
0, /* pNext */ \
VFSNAME, /* zName */ \
(void*)&FINDER, /* pAppData */ \
unixOpen, /* xOpen */ \
unixDelete, /* xDelete */ \
unixAccess, /* xAccess */ \
unixFullPathname, /* xFullPathname */ \
unixDlOpen, /* xDlOpen */ \
unixDlError, /* xDlError */ \
unixDlSym, /* xDlSym */ \
unixDlClose, /* xDlClose */ \
unixRandomness, /* xRandomness */ \
unixSleep, /* xSleep */ \
unixCurrentTime, /* xCurrentTime */ \
unixGetLastError, /* xGetLastError */ \
unixCurrentTimeInt64, /* xCurrentTimeInt64 */ \
unixSetSystemCall, /* xSetSystemCall */ \
unixGetSystemCall, /* xGetSystemCall */ \
unixNextSystemCall, /* xNextSystemCall */ \
}
static const char * unixNextSystemCall(sqlite3_vfs *p, const char *zName)
Definition: sqlite3.c:29684
static int unixSetSystemCall(sqlite3_vfs *pNotUsed, const char *zName, sqlite3_syscall_ptr pNewFunc)
Definition: sqlite3.c:29622
static int unixOpen(sqlite3_vfs *pVfs, const char *zPath, sqlite3_file *pFile, int flags, int *pOutFlags)
Definition: sqlite3.c:34730
static int unixDelete(sqlite3_vfs *NotUsed, const char *zPath, int dirSync)
Definition: sqlite3.c:34986
#define unixDlOpen
Definition: sqlite3.c:35178
static int unixCurrentTimeInt64(sqlite3_vfs *NotUsed, sqlite3_int64 *piNow)
Definition: sqlite3.c:35273
#define unixDlError
Definition: sqlite3.c:35179
static int unixRandomness(sqlite3_vfs *NotUsed, int nBuf, char *zBuf)
Definition: sqlite3.c:35186
static int unixCurrentTime(sqlite3_vfs *NotUsed, double *prNow)
Definition: sqlite3.c:35305
#define unixDlClose
Definition: sqlite3.c:35181
static int unixAccess(sqlite3_vfs *NotUsed, const char *zPath, int flags, int *pResOut)
Definition: sqlite3.c:35034
static int unixFullPathname(sqlite3_vfs *pVfs, const char *zPath, int nOut, char *zOut)
Definition: sqlite3.c:35093
static int unixSleep(sqlite3_vfs *NotUsed, int microseconds)
Definition: sqlite3.c:35233
#define MAX_PATHNAME
Definition: sqlite3.c:29062
static sqlite3_syscall_ptr unixGetSystemCall(sqlite3_vfs *pNotUsed, const char *zName)
Definition: sqlite3.c:29665
static int unixGetLastError(sqlite3_vfs *NotUsed, int NotUsed2, char *NotUsed3)
Definition: sqlite3.c:35323
#define unixDlSym
Definition: sqlite3.c:35180
#define UNKNOWN_LOCK   (EXCLUSIVE_LOCK+1)

Definition at line 46223 of file sqlite3.c.

#define unlikely (   X)    (X)

Definition at line 10996 of file sqlite3.c.

#define UNUSED_PARAMETER (   x)    (void)(x)

Definition at line 11767 of file sqlite3.c.

#define UNUSED_PARAMETER2 (   x,
  y 
)    UNUSED_PARAMETER(x),UNUSED_PARAMETER(y)

Definition at line 11768 of file sqlite3.c.

#define UPDATE_MAX_BLOBSIZE (   P)

Definition at line 76647 of file sqlite3.c.

#define UpperToLower   sqlite3UpperToLower

Definition at line 27253 of file sqlite3.c.

#define USEFETCH (   x)    0

Definition at line 46609 of file sqlite3.c.

#define Utf8Read (   A)    (A[0]<0x80?*(A++):sqlite3Utf8Read(&A))

Definition at line 103157 of file sqlite3.c.

#define valueFromFunction (   a,
  b,
  c,
  d,
  e,
  f 
)    SQLITE_OK

Definition at line 69432 of file sqlite3.c.

#define VDBE_DISPLAY_P4   1

Definition at line 17438 of file sqlite3.c.

#define VDBE_MAGIC_DEAD   0xb606c3c8 /* The VDBE has been deallocated */

Definition at line 17832 of file sqlite3.c.

#define VDBE_MAGIC_HALT   0x519c2973 /* VDBE has completed execution */

Definition at line 17831 of file sqlite3.c.

#define VDBE_MAGIC_INIT   0x26bceaa5 /* Building a VDBE program */

Definition at line 17829 of file sqlite3.c.

#define VDBE_MAGIC_RUN   0xbdf20da3 /* VDBE is ready to execute */

Definition at line 17830 of file sqlite3.c.

#define VDBE_OFFSET_LINENO (   x)    0

Definition at line 12678 of file sqlite3.c.

#define vdbeAssertFieldCountWithinLimits (   A,
  B,
 
)

Definition at line 73562 of file sqlite3.c.

#define VdbeBranchTaken (   I,
 
)

Definition at line 76667 of file sqlite3.c.

#define VdbeComment (   X)

Definition at line 12639 of file sqlite3.c.

#define VdbeCoverage (   v)

Definition at line 12674 of file sqlite3.c.

#define VdbeCoverageAlwaysTaken (   v)

Definition at line 12676 of file sqlite3.c.

#define VdbeCoverageIf (   v,
  x 
)

Definition at line 12675 of file sqlite3.c.

#define VdbeCoverageNeverTaken (   v)

Definition at line 12677 of file sqlite3.c.

#define VdbeFrameMem (   p)    ((Mem *)&((u8 *)p)[ROUND8(sizeof(VdbeFrame))])

Definition at line 17579 of file sqlite3.c.

#define vdbeInvokeSqllog (   x)

Definition at line 72685 of file sqlite3.c.

#define VdbeMemDynamic (   X)    (((X)->flags&(MEM_Agg|MEM_Dyn|MEM_RowSet|MEM_Frame))!=0)

Definition at line 17668 of file sqlite3.c.

#define VdbeModuleComment (   X)

Definition at line 12641 of file sqlite3.c.

#define VdbeNoopComment (   X)

Definition at line 12640 of file sqlite3.c.

#define vdbeSorterBlockDebug (   x,
  y,
  z 
)

Definition at line 85167 of file sqlite3.c.

#define vdbeSorterExtendFile (   x,
  y,
  z 
)

Definition at line 85358 of file sqlite3.c.

#define vdbeSorterPopulateDebug (   x,
  y 
)

Definition at line 85166 of file sqlite3.c.

#define vdbeSorterRewindDebug (   y)

Definition at line 85165 of file sqlite3.c.

#define vdbeSorterWorkDebug (   x,
  y 
)

Definition at line 85164 of file sqlite3.c.

#define vfsList   GLOBAL(sqlite3_vfs *, vfsList)

Definition at line 19796 of file sqlite3.c.

#define VFUNCTION (   zName,
  nArg,
  iArg,
  bNC,
  xFunc 
)
Value:
SQLITE_INT_TO_PTR(iArg), 0, xFunc, 0, #zName, {0} }
#define SQLITE_UTF8
Definition: sqlite3.c:4587
#define SQLITE_INT_TO_PTR(X)
Definition: sqlite3.c:10709
#define SQLITE_FUNC_NEEDCOLL
Definition: sqlite3.c:13949

Definition at line 13997 of file sqlite3.c.

#define VisibleRowid (   X)    (((X)->tabFlags & TF_NoVisibleRowid)==0)

Definition at line 14279 of file sqlite3.c.

#define VVA_ONLY (   X)

Definition at line 10904 of file sqlite3.c.

#define WAL_ALL_BUT_WRITE   1

Definition at line 53494 of file sqlite3.c.

#define WAL_CKPT_LOCK   1

Definition at line 53495 of file sqlite3.c.

#define WAL_EXCLUSIVE_MODE   1

Definition at line 53678 of file sqlite3.c.

#define WAL_FRAME_HDRSIZE   24

Definition at line 53612 of file sqlite3.c.

#define WAL_HDRSIZE   32

Definition at line 53616 of file sqlite3.c.

#define WAL_HEAPMEMORY_MODE   2

Definition at line 53679 of file sqlite3.c.

#define WAL_MAGIC   0x377f0682

Definition at line 53627 of file sqlite3.c.

#define WAL_MAX_VERSION   3007000

Definition at line 53485 of file sqlite3.c.

#define WAL_NORMAL_MODE   0

Definition at line 53677 of file sqlite3.c.

#define WAL_NREADER   (SQLITE_SHM_NLOCK-3)

Definition at line 53498 of file sqlite3.c.

#define WAL_RDONLY   1 /* The WAL file is readonly */

Definition at line 53685 of file sqlite3.c.

#define WAL_RDWR   0 /* Normal read/write connection */

Definition at line 53684 of file sqlite3.c.

#define WAL_READ_LOCK (   I)    (3+(I))

Definition at line 53497 of file sqlite3.c.

#define WAL_RECOVER_LOCK   2

Definition at line 53496 of file sqlite3.c.

#define WAL_RETRY   (-1)

Definition at line 55339 of file sqlite3.c.

#define WAL_SAVEPOINT_NDATA   4

Definition at line 45740 of file sqlite3.c.

#define WAL_SHM_RDONLY   2 /* The SHM file is readonly */

Definition at line 53686 of file sqlite3.c.

#define WAL_SYNC_TRANSACTIONS   0x20 /* Sync at the end of each transaction */

Definition at line 45715 of file sqlite3.c.

#define WAL_WRITE_LOCK   0

Definition at line 53493 of file sqlite3.c.

#define walFrameOffset (   iFrame,
  szPage 
)
Value:
( \
WAL_HDRSIZE + ((iFrame)-1)*(i64)((szPage)+WAL_FRAME_HDRSIZE) \
)
#define WAL_HDRSIZE
Definition: sqlite3.c:53616
#define WAL_FRAME_HDRSIZE
Definition: sqlite3.c:53612
sqlite_int64 i64
Definition: sqlite3.c:11445

Definition at line 53634 of file sqlite3.c.

#define WALINDEX_HDR_SIZE   (sizeof(WalIndexHdr)*2+sizeof(WalCkptInfo))

Definition at line 53609 of file sqlite3.c.

#define WALINDEX_LOCK_OFFSET   (sizeof(WalIndexHdr)*2+offsetof(WalCkptInfo,aLock))

Definition at line 53608 of file sqlite3.c.

#define WALINDEX_MAX_VERSION   3007000

Definition at line 53486 of file sqlite3.c.

#define WALINDEX_PGSZ
Value:
( \
)
#define HASHTABLE_NPAGE
Definition: sqlite3.c:53729
UINT32_TYPE u32
Definition: sqlite3.c:11447
#define HASHTABLE_NSLOT
Definition: sqlite3.c:53731
u16 ht_slot
Definition: sqlite3.c:53692

Definition at line 53741 of file sqlite3.c.

#define WALTRACE (   X)

Definition at line 53469 of file sqlite3.c.

#define WHERE_AUTO_INDEX   0x00004000 /* Uses an ephemeral index */

Definition at line 122776 of file sqlite3.c.

#define WHERE_BOTH_LIMIT   0x00000030 /* Both x>EXPR and x<EXPR */

Definition at line 122768 of file sqlite3.c.

#define WHERE_BTM_LIMIT   0x00000020 /* x>EXPR or x>=EXPR constraint */

Definition at line 122767 of file sqlite3.c.

#define WHERE_COLUMN_EQ   0x00000001 /* x=EXPR */

Definition at line 122761 of file sqlite3.c.

#define WHERE_COLUMN_IN   0x00000004 /* x IN (...) */

Definition at line 122763 of file sqlite3.c.

#define WHERE_COLUMN_NULL   0x00000008 /* x IS NULL */

Definition at line 122764 of file sqlite3.c.

#define WHERE_COLUMN_RANGE   0x00000002 /* x<EXPR and/or x>EXPR */

Definition at line 122762 of file sqlite3.c.

#define WHERE_CONSTRAINT   0x0000000f /* Any of the WHERE_COLUMN_xxx values */

Definition at line 122765 of file sqlite3.c.

#define WHERE_DISTINCT_NOOP   0 /* DISTINCT keyword not used */

Definition at line 14967 of file sqlite3.c.

#define WHERE_DISTINCT_ORDERED   2 /* All duplicates are adjacent */

Definition at line 14969 of file sqlite3.c.

#define WHERE_DISTINCT_UNIQUE   1 /* No duplicates */

Definition at line 14968 of file sqlite3.c.

#define WHERE_DISTINCT_UNORDERED   3 /* Duplicates are scattered */

Definition at line 14970 of file sqlite3.c.

#define WHERE_DISTINCTBY   0x0200 /* pOrderby is really a DISTINCT clause */

Definition at line 14957 of file sqlite3.c.

#define WHERE_DUPLICATES_OK   0x0008 /* Ok to return a row more than once */

Definition at line 14951 of file sqlite3.c.

#define WHERE_FORCE_TABLE   0x0020 /* Do not use an index-only search */

Definition at line 14953 of file sqlite3.c.

#define WHERE_GROUPBY   0x0100 /* pOrderBy is really a GROUP BY */

Definition at line 14956 of file sqlite3.c.

#define WHERE_IDX_ONLY   0x00000040 /* Use index only - omit table */

Definition at line 122769 of file sqlite3.c.

#define WHERE_IN_ABLE   0x00000800 /* Able to support an IN operator */

Definition at line 122773 of file sqlite3.c.

#define WHERE_INDEXED   0x00000200 /* WhereLoop.u.btree.pIndex is valid */

Definition at line 122771 of file sqlite3.c.

#define WHERE_IPK   0x00000100 /* x is the INTEGER PRIMARY KEY */

Definition at line 122770 of file sqlite3.c.

#define WHERE_LOOP_XFER_SZ   offsetof(WhereLoop,nLSlot)

Definition at line 122374 of file sqlite3.c.

#define WHERE_MULTI_OR   0x00002000 /* OR using multiple indices */

Definition at line 122775 of file sqlite3.c.

#define WHERE_NO_AUTOINDEX   0x0080 /* Disallow automatic indexes */

Definition at line 14955 of file sqlite3.c.

#define WHERE_OMIT_OPEN_CLOSE   0x0010 /* Table cursors are already open */

Definition at line 14952 of file sqlite3.c.

#define WHERE_ONEPASS_DESIRED   0x0004 /* Want to do one-pass UPDATE/DELETE */

Definition at line 14950 of file sqlite3.c.

#define WHERE_ONEPASS_MULTIROW   0x2000 /* ONEPASS is ok with multiple rows */

Definition at line 14961 of file sqlite3.c.

#define WHERE_ONEROW   0x00001000 /* Selects no more than one row */

Definition at line 122774 of file sqlite3.c.

#define WHERE_ONETABLE_ONLY   0x0040 /* Only code the 1st table in pTabList */

Definition at line 14954 of file sqlite3.c.

#define WHERE_ORDERBY_MAX   0x0002 /* ORDER BY processing for max() func */

Definition at line 14949 of file sqlite3.c.

#define WHERE_ORDERBY_MIN   0x0001 /* ORDER BY processing for min() func */

Definition at line 14948 of file sqlite3.c.

#define WHERE_ORDERBY_NORMAL   0x0000 /* No-op */

Definition at line 14947 of file sqlite3.c.

#define WHERE_PARTIALIDX   0x00020000 /* The automatic index is partial */

Definition at line 122779 of file sqlite3.c.

#define WHERE_REOPEN_IDX   0x1000 /* Try to use OP_ReopenIdx */

Definition at line 14960 of file sqlite3.c.

#define WHERE_SEEK_TABLE   0x8000 /* Do not defer seeks on main table */

Definition at line 14963 of file sqlite3.c.

#define WHERE_SKIPSCAN   0x00008000 /* Uses the skip-scan algorithm */

Definition at line 122777 of file sqlite3.c.

#define WHERE_SORTBYGROUP   0x0800 /* Support sqlite3WhereIsSorted() */

Definition at line 14959 of file sqlite3.c.

#define WHERE_TOP_LIMIT   0x00000010 /* x<EXPR or x<=EXPR constraint */

Definition at line 122766 of file sqlite3.c.

#define WHERE_UNQ_WANTED   0x00010000 /* WHERE_ONEROW would have been helpful*/

Definition at line 122778 of file sqlite3.c.

#define WHERE_USE_LIMIT   0x4000 /* There is a constant LIMIT clause */

Definition at line 14962 of file sqlite3.c.

#define WHERE_VIRTUALTABLE   0x00000400 /* WhereLoop.u.vtab is valid */

Definition at line 122772 of file sqlite3.c.

#define WHERE_WANT_DISTINCT   0x0400 /* All output needs to be distinct */

Definition at line 14958 of file sqlite3.c.

#define WHERETRACE (   K,
 
)

Definition at line 122264 of file sqlite3.c.

#define WO_ALL   0x1fff /* Mask of all possible WO_* values */

Definition at line 122753 of file sqlite3.c.

#define WO_AND   0x0400 /* Two or more AND-connected terms */

Definition at line 122749 of file sqlite3.c.

#define WO_EQ   0x0002

Definition at line 122740 of file sqlite3.c.

#define WO_EQUIV   0x0800 /* Of the form A==B, both columns */

Definition at line 122750 of file sqlite3.c.

#define WO_GE   (WO_EQ<<(TK_GE-TK_EQ))

Definition at line 122744 of file sqlite3.c.

#define WO_GT   (WO_EQ<<(TK_GT-TK_EQ))

Definition at line 122743 of file sqlite3.c.

#define WO_IN   0x0001

Definition at line 122739 of file sqlite3.c.

#define WO_IS   0x0080

Definition at line 122746 of file sqlite3.c.

#define WO_ISNULL   0x0100

Definition at line 122747 of file sqlite3.c.

#define WO_LE   (WO_EQ<<(TK_LE-TK_EQ))

Definition at line 122742 of file sqlite3.c.

#define WO_LT   (WO_EQ<<(TK_LT-TK_EQ))

Definition at line 122741 of file sqlite3.c.

#define WO_MATCH   0x0040

Definition at line 122745 of file sqlite3.c.

#define WO_NOOP   0x1000 /* This term does not restrict search space */

Definition at line 122751 of file sqlite3.c.

#define WO_OR   0x0200 /* Two or more OR-connected terms */

Definition at line 122748 of file sqlite3.c.

#define WO_SINGLE   0x01ff /* Mask of all non-compound WO_* values */

Definition at line 122754 of file sqlite3.c.

#define WRC_Abort   2 /* Abandon the tree walk */

Definition at line 15683 of file sqlite3.c.

#define WRC_Continue   0 /* Continue down into children */

Definition at line 15681 of file sqlite3.c.

#define WRC_Prune   1 /* Omit children but continue walking siblings */

Definition at line 15682 of file sqlite3.c.

#define WRITE_LOCK   2

Definition at line 57003 of file sqlite3.c.

#define WRITE_UTF16BE (   zOut,
  c 
)
Value:
{ \
if( c<=0xFFFF ){ \
*zOut++ = (u8)((c>>8)&0x00FF); \
*zOut++ = (u8)(c&0x00FF); \
}else{ \
*zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \
*zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \
*zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \
*zOut++ = (u8)(c&0x00FF); \
} \
}
UINT8_TYPE u8
Definition: sqlite3.c:11450
const GLubyte * c
Definition: glext.h:12690

Definition at line 26539 of file sqlite3.c.

#define WRITE_UTF16LE (   zOut,
  c 
)
Value:
{ \
if( c<=0xFFFF ){ \
*zOut++ = (u8)(c&0x00FF); \
*zOut++ = (u8)((c>>8)&0x00FF); \
}else{ \
*zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \
*zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \
*zOut++ = (u8)(c&0x00FF); \
*zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \
} \
}
UINT8_TYPE u8
Definition: sqlite3.c:11450
const GLubyte * c
Definition: glext.h:12690

Definition at line 26527 of file sqlite3.c.

#define WRITE_UTF8 (   zOut,
  c 
)
Value:
{ \
if( c<0x00080 ){ \
*zOut++ = (u8)(c&0xFF); \
} \
else if( c<0x00800 ){ \
*zOut++ = 0xC0 + (u8)((c>>6)&0x1F); \
*zOut++ = 0x80 + (u8)(c & 0x3F); \
} \
else if( c<0x10000 ){ \
*zOut++ = 0xE0 + (u8)((c>>12)&0x0F); \
*zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
*zOut++ = 0x80 + (u8)(c & 0x3F); \
}else{ \
*zOut++ = 0xF0 + (u8)((c>>18) & 0x07); \
*zOut++ = 0x80 + (u8)((c>>12) & 0x3F); \
*zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \
*zOut++ = 0x80 + (u8)(c & 0x3F); \
} \
}
UINT8_TYPE u8
Definition: sqlite3.c:11450
const GLubyte * c
Definition: glext.h:12690

Definition at line 26507 of file sqlite3.c.

#define wsdAutoext   sqlite3Autoext

Definition at line 109348 of file sqlite3.c.

#define wsdAutoextInit

Definition at line 109347 of file sqlite3.c.

#define wsdHooks   sqlite3Hooks

Definition at line 19939 of file sqlite3.c.

#define wsdHooksInit

Definition at line 19938 of file sqlite3.c.

#define wsdPrng   sqlite3Prng
#define wsdStat   sqlite3Stat

Definition at line 18012 of file sqlite3.c.

#define wsdStatInit

Definition at line 18011 of file sqlite3.c.

#define XN_EXPR   (-2) /* Indexed column is an expression */

Definition at line 14516 of file sqlite3.c.

#define XN_ROWID   (-1) /* Indexed column is the rowid */

Definition at line 14515 of file sqlite3.c.

#define YY_ACCEPT_ACTION   1302

Definition at line 130966 of file sqlite3.c.

#define YY_ACTTAB_COUNT   (1501)

Definition at line 131035 of file sqlite3.c.

#define YY_ERROR_ACTION   1301

Definition at line 130965 of file sqlite3.c.

#define YY_MAX_REDUCE   1300

Definition at line 130964 of file sqlite3.c.

#define YY_MAX_SHIFT   439

Definition at line 130960 of file sqlite3.c.

#define YY_MAX_SHIFTREDUCE   974

Definition at line 130962 of file sqlite3.c.

#define YY_MIN_REDUCE   975

Definition at line 130963 of file sqlite3.c.

#define YY_MIN_SHIFTREDUCE   649

Definition at line 130961 of file sqlite3.c.

#define YY_NO_ACTION   1303

Definition at line 130967 of file sqlite3.c.

#define YY_REDUCE_COUNT   (314)

Definition at line 131393 of file sqlite3.c.

#define YY_REDUCE_MAX   (1237)

Definition at line 131395 of file sqlite3.c.

#define YY_REDUCE_MIN   (-129)

Definition at line 131394 of file sqlite3.c.

#define YY_REDUCE_USE_DFLT   (-130)

Definition at line 131392 of file sqlite3.c.

#define YY_SHIFT_COUNT   (439)

Definition at line 131343 of file sqlite3.c.

#define YY_SHIFT_MAX   (1482)

Definition at line 131345 of file sqlite3.c.

#define YY_SHIFT_MIN   (-94)

Definition at line 131344 of file sqlite3.c.

#define YY_SHIFT_USE_DFLT   (-95)

Definition at line 131342 of file sqlite3.c.

#define YYACTIONTYPE   unsigned short int

Definition at line 130930 of file sqlite3.c.

#define YYCODETYPE   unsigned char

Definition at line 130928 of file sqlite3.c.

#define YYFALLBACK   1

Definition at line 130957 of file sqlite3.c.

#define YYMALLOCARGTYPE   u64

Definition at line 130702 of file sqlite3.c.

#define YYNOCODE   251

Definition at line 130929 of file sqlite3.c.

#define YYNOERRORRECOVERY   1

Definition at line 130685 of file sqlite3.c.

#define YYNRULE   326

Definition at line 130959 of file sqlite3.c.

#define YYNSTATE   440

Definition at line 130958 of file sqlite3.c.

#define YYPARSEFREENEVERNULL   1

Definition at line 130696 of file sqlite3.c.

#define YYSTACKDEPTH   100

Definition at line 130951 of file sqlite3.c.

#define yytestcase (   X)    testcase(X)

Definition at line 130690 of file sqlite3.c.

#define yyTraceShift (   X,
 
)

Definition at line 132425 of file sqlite3.c.

#define YYWILDCARD   96

Definition at line 130931 of file sqlite3.c.

Typedef Documentation

typedef struct AggInfo AggInfo

Definition at line 11773 of file sqlite3.c.

typedef struct analysisInfo analysisInfo

Definition at line 95430 of file sqlite3.c.

typedef struct AuthContext AuthContext

Definition at line 11774 of file sqlite3.c.

typedef struct AutoincInfo AutoincInfo

Definition at line 11775 of file sqlite3.c.

typedef struct AuxData AuxData

Definition at line 17462 of file sqlite3.c.

Definition at line 19921 of file sqlite3.c.

typedef unsigned bft

Definition at line 17741 of file sqlite3.c.

typedef u64 Bitmask

Definition at line 14857 of file sqlite3.c.

typedef struct Bitvec Bitvec

Definition at line 11776 of file sqlite3.c.

typedef unsigned Bool

Definition at line 17453 of file sqlite3.c.

typedef struct BtCursor BtCursor

Definition at line 11867 of file sqlite3.c.

typedef struct BtLock BtLock

Definition at line 56909 of file sqlite3.c.

typedef struct Btree Btree

Definition at line 11866 of file sqlite3.c.

typedef struct BtShared BtShared

Definition at line 11868 of file sqlite3.c.

typedef struct BusyHandler BusyHandler

Definition at line 11679 of file sqlite3.c.

typedef struct CellArray CellArray

Definition at line 64075 of file sqlite3.c.

typedef struct CellInfo CellInfo

Definition at line 56910 of file sqlite3.c.

typedef struct CollSeq CollSeq

Definition at line 11777 of file sqlite3.c.

typedef struct Column Column

Definition at line 11778 of file sqlite3.c.

typedef struct CountCtx CountCtx

Definition at line 104055 of file sqlite3.c.

typedef struct DateTime DateTime

Definition at line 18365 of file sqlite3.c.

typedef struct Db Db

Definition at line 11779 of file sqlite3.c.

typedef struct DbFixer DbFixer

Definition at line 15525 of file sqlite3.c.

typedef struct PgHdr DbPage

Definition at line 12735 of file sqlite3.c.

typedef struct DistinctCtx DistinctCtx

Definition at line 112841 of file sqlite3.c.

typedef struct et_info et_info
typedef unsigned char etByte

Definition at line 24481 of file sqlite3.c.

typedef struct Explain Explain

Definition at line 17459 of file sqlite3.c.

typedef struct Expr Expr

Definition at line 11781 of file sqlite3.c.

typedef struct ExprList ExprList

Definition at line 11782 of file sqlite3.c.

typedef struct ExprSpan ExprSpan

Definition at line 11783 of file sqlite3.c.

typedef struct FileChunk FileChunk

Definition at line 86847 of file sqlite3.c.

typedef struct FilePoint FilePoint

Definition at line 86846 of file sqlite3.c.

typedef struct FKey FKey

Definition at line 11784 of file sqlite3.c.

typedef struct fts5_api fts5_api

Definition at line 10398 of file sqlite3.c.

typedef void(* fts5_extension_function) (const Fts5ExtensionApi *pApi,Fts5Context *pFts,sqlite3_context *pCtx,int nVal,sqlite3_value **apVal)

Definition at line 9899 of file sqlite3.c.

Definition at line 10362 of file sqlite3.c.

typedef struct Fts5Context Fts5Context

Definition at line 9896 of file sqlite3.c.

Definition at line 9895 of file sqlite3.c.

Definition at line 9897 of file sqlite3.c.

typedef struct Fts5Tokenizer Fts5Tokenizer

Definition at line 10361 of file sqlite3.c.

typedef struct FuncDef FuncDef

Definition at line 11786 of file sqlite3.c.

typedef struct FuncDefHash FuncDefHash

Definition at line 11787 of file sqlite3.c.

Definition at line 11785 of file sqlite3.c.

typedef struct Hash Hash

Definition at line 11018 of file sqlite3.c.

typedef struct HashElem HashElem

Definition at line 11019 of file sqlite3.c.

typedef u16 ht_slot

Definition at line 53692 of file sqlite3.c.

typedef INT16_TYPE i16

Definition at line 11449 of file sqlite3.c.

typedef sqlite_int64 i64

Definition at line 11445 of file sqlite3.c.

typedef INT8_TYPE i8

Definition at line 11451 of file sqlite3.c.

typedef struct IdList IdList

Definition at line 11788 of file sqlite3.c.

typedef struct Incrblob Incrblob

Definition at line 83581 of file sqlite3.c.

typedef struct IncrMerger IncrMerger

Definition at line 84232 of file sqlite3.c.

typedef struct Index Index

Definition at line 11789 of file sqlite3.c.

typedef struct IndexSample IndexSample

Definition at line 11790 of file sqlite3.c.

typedef struct IntegrityCk IntegrityCk

Definition at line 57347 of file sqlite3.c.

typedef struct KeyClass KeyClass

Definition at line 11791 of file sqlite3.c.

typedef struct KeyInfo KeyInfo

Definition at line 11792 of file sqlite3.c.

typedef INT16_TYPE LogEst

Definition at line 11496 of file sqlite3.c.

typedef struct Lookaside Lookaside

Definition at line 11793 of file sqlite3.c.

typedef struct LookasideSlot LookasideSlot

Definition at line 11794 of file sqlite3.c.

typedef struct Mem Mem

Definition at line 12200 of file sqlite3.c.

typedef struct MemJournal MemJournal

Definition at line 86845 of file sqlite3.c.

typedef struct MemPage MemPage

Definition at line 56908 of file sqlite3.c.

typedef struct MergeEngine MergeEngine

Definition at line 84225 of file sqlite3.c.

typedef struct Module Module

Definition at line 11795 of file sqlite3.c.

typedef struct NameContext NameContext

Definition at line 11796 of file sqlite3.c.

typedef struct VdbeOp Op

Definition at line 17448 of file sqlite3.c.

typedef struct Pager Pager

Definition at line 12730 of file sqlite3.c.

Definition at line 46261 of file sqlite3.c.

typedef struct Parse Parse

Definition at line 11797 of file sqlite3.c.

typedef struct PCache PCache

Definition at line 12949 of file sqlite3.c.

typedef struct PCache1 PCache1

Definition at line 44009 of file sqlite3.c.

typedef struct PgFreeslot PgFreeslot

Definition at line 44011 of file sqlite3.c.

typedef struct PgHdr PgHdr

Definition at line 12948 of file sqlite3.c.

typedef struct PgHdr1 PgHdr1

Definition at line 44010 of file sqlite3.c.

typedef u32 Pgno

Definition at line 12725 of file sqlite3.c.

typedef struct PGroup PGroup

Definition at line 44012 of file sqlite3.c.

typedef struct PmaReader PmaReader

Definition at line 84226 of file sqlite3.c.

typedef struct PmaWriter PmaWriter

Definition at line 84227 of file sqlite3.c.

typedef struct PreUpdate PreUpdate

Definition at line 11798 of file sqlite3.c.

Definition at line 11799 of file sqlite3.c.

typedef int(* RecordCompare) (int, const void *, UnpackedRecord *)

Definition at line 12614 of file sqlite3.c.

typedef struct RowSet RowSet

Definition at line 11800 of file sqlite3.c.

typedef struct Savepoint Savepoint

Definition at line 11801 of file sqlite3.c.

typedef struct ScanStatus ScanStatus

Definition at line 17743 of file sqlite3.c.

typedef struct Schema Schema

Definition at line 11780 of file sqlite3.c.

typedef struct Select Select

Definition at line 11802 of file sqlite3.c.

typedef struct SelectDest SelectDest

Definition at line 11804 of file sqlite3.c.

typedef struct SortCtx SortCtx

Definition at line 112853 of file sqlite3.c.

typedef int(* SorterCompare) (SortSubtask *, int *, const void *, int, const void *, int)

Definition at line 84359 of file sqlite3.c.

typedef struct SorterFile SorterFile

Definition at line 84230 of file sqlite3.c.

typedef struct SorterList SorterList

Definition at line 84231 of file sqlite3.c.

typedef struct SorterRecord SorterRecord

Definition at line 84228 of file sqlite3.c.

typedef struct SortSubtask SortSubtask

Definition at line 84229 of file sqlite3.c.

typedef struct sqlite3 sqlite3

Definition at line 484 of file sqlite3.c.

Definition at line 108186 of file sqlite3.c.

Definition at line 7384 of file sqlite3.c.

typedef struct sqlite3_blob sqlite3_blob

Definition at line 6208 of file sqlite3.c.

typedef int(* sqlite3_callback) (void *, int, char **, char **)

Definition at line 573 of file sqlite3.c.

Definition at line 3768 of file sqlite3.c.

typedef void(* sqlite3_destructor_type) (void *)

Definition at line 4857 of file sqlite3.c.

typedef struct sqlite3_file sqlite3_file

Definition at line 889 of file sqlite3.c.

Definition at line 5866 of file sqlite3.c.

Definition at line 512 of file sqlite3.c.

Definition at line 984 of file sqlite3.c.

Definition at line 1745 of file sqlite3.c.

Definition at line 5868 of file sqlite3.c.

typedef struct sqlite3_mutex sqlite3_mutex

Definition at line 1288 of file sqlite3.c.

Definition at line 6646 of file sqlite3.c.

Definition at line 7158 of file sqlite3.c.

Definition at line 7358 of file sqlite3.c.

Definition at line 7335 of file sqlite3.c.

Definition at line 7170 of file sqlite3.c.

typedef double sqlite3_rtree_dbl

Definition at line 8492 of file sqlite3.c.

Definition at line 8483 of file sqlite3.c.

Definition at line 8484 of file sqlite3.c.

Definition at line 8342 of file sqlite3.c.

typedef struct sqlite3_stmt sqlite3_stmt

Definition at line 3429 of file sqlite3.c.

typedef void(* sqlite3_syscall_ptr) (void)

Definition at line 1448 of file sqlite3.c.

Definition at line 513 of file sqlite3.c.

typedef struct Mem sqlite3_value

Definition at line 3754 of file sqlite3.c.

typedef struct sqlite3_vfs sqlite3_vfs

Definition at line 1447 of file sqlite3.c.

typedef struct sqlite3_vtab sqlite3_vtab

Definition at line 5865 of file sqlite3.c.

Definition at line 5867 of file sqlite3.c.

typedef int(* sqlite3_xauth) (void *, int, const char *, const char *, const char *, const char *)

Definition at line 13657 of file sqlite3.c.

Definition at line 109330 of file sqlite3.c.

Definition at line 17977 of file sqlite3.c.

Definition at line 17973 of file sqlite3.c.

typedef long long int sqlite_int64

Definition at line 509 of file sqlite3.c.

typedef unsigned long long int sqlite_uint64

Definition at line 510 of file sqlite3.c.

typedef struct SQLiteThread SQLiteThread

Definition at line 11803 of file sqlite3.c.

typedef struct SrcList SrcList

Definition at line 11805 of file sqlite3.c.

typedef struct Stat4Accum Stat4Accum

Definition at line 94288 of file sqlite3.c.

typedef struct Stat4Sample Stat4Sample

Definition at line 94289 of file sqlite3.c.

typedef struct StrAccum StrAccum

Definition at line 11806 of file sqlite3.c.

typedef struct SubProgram SubProgram

Definition at line 12201 of file sqlite3.c.

typedef struct SumCtx SumCtx

Definition at line 103984 of file sqlite3.c.

typedef struct Table Table

Definition at line 11807 of file sqlite3.c.

typedef struct TableLock TableLock

Definition at line 11808 of file sqlite3.c.

typedef struct TabResult TabResult
typedef struct Token Token

Definition at line 11809 of file sqlite3.c.

typedef struct TreeView TreeView

Definition at line 11810 of file sqlite3.c.

typedef struct Trigger Trigger

Definition at line 11811 of file sqlite3.c.

typedef struct TriggerPrg TriggerPrg

Definition at line 11812 of file sqlite3.c.

typedef struct TriggerStep TriggerStep

Definition at line 11813 of file sqlite3.c.

typedef u32 tRowcnt

Definition at line 11470 of file sqlite3.c.

typedef UINT16_TYPE u16

Definition at line 11448 of file sqlite3.c.

typedef UINT32_TYPE u32

Definition at line 11447 of file sqlite3.c.

typedef sqlite_uint64 u64

Definition at line 11446 of file sqlite3.c.

typedef UINT8_TYPE u8

Definition at line 11450 of file sqlite3.c.

typedef struct unixFile unixFile

Definition at line 29101 of file sqlite3.c.

typedef struct unixInodeInfo unixInodeInfo

Definition at line 29082 of file sqlite3.c.

typedef struct unixShm unixShm

Definition at line 29080 of file sqlite3.c.

typedef struct unixShmNode unixShmNode

Definition at line 29081 of file sqlite3.c.

typedef struct UnixUnusedFd UnixUnusedFd

Definition at line 29083 of file sqlite3.c.

Definition at line 11814 of file sqlite3.c.

typedef u64 uptr

Definition at line 11519 of file sqlite3.c.

typedef struct Vdbe Vdbe

Definition at line 12194 of file sqlite3.c.

typedef struct VdbeCursor VdbeCursor

Definition at line 17480 of file sqlite3.c.

typedef struct VdbeFrame VdbeFrame

Definition at line 17556 of file sqlite3.c.

typedef struct VdbeOp VdbeOp

Definition at line 12247 of file sqlite3.c.

typedef struct VdbeOpList VdbeOpList

Definition at line 12273 of file sqlite3.c.

typedef struct VdbeSorter VdbeSorter

Definition at line 17456 of file sqlite3.c.

typedef struct VtabCtx VtabCtx

Definition at line 11816 of file sqlite3.c.

typedef struct VTable VTable

Definition at line 11815 of file sqlite3.c.

typedef struct Wal Wal

Definition at line 45745 of file sqlite3.c.

typedef struct WalCkptInfo WalCkptInfo

Definition at line 53504 of file sqlite3.c.

typedef struct WalIndexHdr WalIndexHdr

Definition at line 53502 of file sqlite3.c.

typedef struct WalIterator WalIterator

Definition at line 53503 of file sqlite3.c.

typedef struct Walker Walker

Definition at line 11817 of file sqlite3.c.

typedef struct WalWriter WalWriter
typedef struct WhereAndInfo WhereAndInfo

Definition at line 122272 of file sqlite3.c.

typedef struct WhereClause WhereClause

Definition at line 122269 of file sqlite3.c.

typedef struct WhereInfo WhereInfo

Definition at line 11818 of file sqlite3.c.

typedef struct WhereLevel WhereLevel

Definition at line 122273 of file sqlite3.c.

typedef struct WhereLoop WhereLoop

Definition at line 122274 of file sqlite3.c.

Definition at line 122277 of file sqlite3.c.

typedef struct WhereMaskSet WhereMaskSet

Definition at line 122270 of file sqlite3.c.

typedef struct WhereOrCost WhereOrCost

Definition at line 122279 of file sqlite3.c.

typedef struct WhereOrInfo WhereOrInfo

Definition at line 122271 of file sqlite3.c.

typedef struct WhereOrSet WhereOrSet

Definition at line 122280 of file sqlite3.c.

typedef struct WherePath WherePath

Definition at line 122275 of file sqlite3.c.

typedef struct WhereScan WhereScan

Definition at line 122278 of file sqlite3.c.

typedef struct WhereTerm WhereTerm

Definition at line 122276 of file sqlite3.c.

typedef struct With With

Definition at line 11819 of file sqlite3.c.

typedef unsigned int yDbMask

Definition at line 15248 of file sqlite3.c.

typedef i16 ynVar

Definition at line 14599 of file sqlite3.c.

typedef struct yyParser yyParser

Definition at line 131636 of file sqlite3.c.

typedef struct yyStackEntry yyStackEntry

Definition at line 131616 of file sqlite3.c.

Function Documentation

static void absFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 102705 of file sqlite3.c.

static int accessPayload ( BtCursor pCur,
u32  offset,
u32  amt,
unsigned char *  pBuf,
int  eOp 
)
static

Definition at line 62115 of file sqlite3.c.

static const char* actionName ( u8  action)
static

Definition at line 110191 of file sqlite3.c.

static int addAggInfoColumn ( sqlite3 db,
AggInfo pInfo 
)
static

Definition at line 92927 of file sqlite3.c.

static int addAggInfoFunc ( sqlite3 db,
AggInfo pInfo 
)
static

Definition at line 92943 of file sqlite3.c.

static void addArgumentToVtab ( Parse pParse)
static

Definition at line 121361 of file sqlite3.c.

static void addModuleArgument ( sqlite3 db,
Table pTable,
char *  zArg 
)
static

Definition at line 121292 of file sqlite3.c.

static int addToSavepointBitvecs ( Pager pPager,
Pgno  pgno 
)
static

Definition at line 47548 of file sqlite3.c.

static void addToVTrans ( sqlite3 db,
VTable pVTab 
)
static

Definition at line 121669 of file sqlite3.c.

static void addWhereTerm ( Parse pParse,
SrcList pSrc,
int  iLeft,
int  iColLeft,
int  iRight,
int  iColRight,
int  isOuterJoin,
Expr **  ppWhere 
)
static

Definition at line 113117 of file sqlite3.c.

static int allocateBtreePage ( BtShared pBt,
MemPage **  ppPage,
Pgno pPgno,
Pgno  nearby,
u8  eMode 
)
static

Definition at line 63200 of file sqlite3.c.

static VdbeCursor* allocateCursor ( Vdbe p,
int  iCur,
int  nField,
int  iDb,
u8  eCurType 
)
static

Definition at line 76714 of file sqlite3.c.

static sqlite3_index_info* allocateIndexInfo ( Parse pParse,
WhereClause pWC,
Bitmask  mUnusable,
struct SrcList_item *  pSrc,
ExprList pOrderBy 
)
static

Definition at line 126722 of file sqlite3.c.

static int allocateSpace ( MemPage pPage,
int  nByte,
int *  pIdx 
)
static

Definition at line 59149 of file sqlite3.c.

static void allocateTempSpace ( BtShared pBt)
static

Definition at line 60124 of file sqlite3.c.

static void* allocSpace ( struct ReusableSpace p,
void pBuf,
int  nByte 
)
static

Definition at line 71671 of file sqlite3.c.

static SQLITE_NOINLINE Vdbe* allocVdbe ( Parse pParse)
static

Definition at line 114596 of file sqlite3.c.

static int allowedOp ( int  op)
static

Definition at line 124646 of file sqlite3.c.

static int allSpaces ( const char *  z,
int  n 
)
static

Definition at line 136435 of file sqlite3.c.

static int analysisLoader ( void pData,
int  argc,
char **  argv,
char **  NotUsed 
)
static

Definition at line 95512 of file sqlite3.c.

static int analyzeAggregate ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 92960 of file sqlite3.c.

static int analyzeAggregatesInSelect ( Walker pWalker,
Select pSelect 
)
static

Definition at line 93085 of file sqlite3.c.

static void analyzeDatabase ( Parse pParse,
int  iDb 
)
static

Definition at line 95308 of file sqlite3.c.

static void analyzeOneTable ( Parse pParse,
Table pTab,
Index pOnlyIdx,
int  iStatCur,
int  iMem,
int  iTab 
)
static

Definition at line 94972 of file sqlite3.c.

static void analyzeTable ( Parse pParse,
Table pTab,
Index pOnlyIdx 
)
static

Definition at line 95335 of file sqlite3.c.

static SQLITE_NOINLINE int apiOomError ( sqlite3 db)
static

Definition at line 24406 of file sqlite3.c.

static void applyAffinity ( Mem pRec,
char  affinity,
u8  enc 
)
static

Definition at line 76817 of file sqlite3.c.

static void applyNumericAffinity ( Mem pRec,
int  bTryForInt 
)
static

Definition at line 76783 of file sqlite3.c.

static void attachBackupObject ( sqlite3_backup p)
static

Definition at line 67723 of file sqlite3.c.

static void attachFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 95972 of file sqlite3.c.

static int autoIncBegin ( Parse pParse,
int  iDb,
Table pTab 
)
static

Definition at line 106027 of file sqlite3.c.

static SQLITE_NOINLINE void autoIncrementEnd ( Parse pParse)
static

Definition at line 106127 of file sqlite3.c.

static void autoIncStep ( Parse pParse,
int  memId,
int  regRowid 
)
static

Definition at line 106114 of file sqlite3.c.

static int autoVacuumCommit ( BtShared pBt)
static

Definition at line 61310 of file sqlite3.c.

static void avgFinalize ( sqlite3_context context)
static

Definition at line 104037 of file sqlite3.c.

static int backupOnePage ( sqlite3_backup p,
Pgno  iSrcPg,
const u8 zSrcData,
int  bUpdate 
)
static

Definition at line 67614 of file sqlite3.c.

static int backupTruncateFile ( sqlite3_file pFile,
i64  iSize 
)
static

Definition at line 67710 of file sqlite3.c.

static SQLITE_NOINLINE void backupUpdate ( sqlite3_backup p,
Pgno  iPage,
const u8 aData 
)
static

Definition at line 68067 of file sqlite3.c.

static int balance ( BtCursor pCur)
static

Definition at line 65480 of file sqlite3.c.

static int balance_deeper ( MemPage pRoot,
MemPage **  ppChild 
)
static

Definition at line 65423 of file sqlite3.c.

static int balance_nonroot ( MemPage pParent,
int  iParentIdx,
u8 aOvflSpace,
int  isRoot,
int  bBulk 
)
static

Definition at line 64659 of file sqlite3.c.

static int balance_quick ( MemPage pParent,
MemPage pPage,
u8 pSpace 
)
static

Definition at line 64436 of file sqlite3.c.

static u8 binaryCompareP5 ( Expr pExpr1,
Expr pExpr2,
int  jumpIfNull 
)
static

Definition at line 89151 of file sqlite3.c.

static void binaryToUnaryIfNull ( Parse pParse,
Expr pY,
Expr pA,
int  op 
)
static

Definition at line 130825 of file sqlite3.c.

static int binCollFunc ( void padFlag,
int  nKey1,
const void pKey1,
int  nKey2,
const void pKey2 
)
static

Definition at line 136447 of file sqlite3.c.

static int bindText ( sqlite3_stmt pStmt,
int  i,
const void zData,
int  nData,
void(*)(void *)  xDel,
u8  encoding 
)
static

Definition at line 75744 of file sqlite3.c.

static int blobReadWrite ( sqlite3_blob pBlob,
void z,
int  n,
int  iOffset,
int(*)(BtCursor *, u32, u32, void *)  xCall 
)
static

Definition at line 83927 of file sqlite3.c.

static int blobSeekToRow ( Incrblob p,
sqlite3_int64  iRow,
char **  pzErr 
)
static

Definition at line 83612 of file sqlite3.c.

static void btreeClearHasContent ( BtShared pBt)
static

Definition at line 58251 of file sqlite3.c.

static int btreeCreateTable ( Btree p,
int *  piTable,
int  createTabFlags 
)
static

Definition at line 65949 of file sqlite3.c.

static int btreeCursor ( Btree p,
int  iTable,
int  wrFlag,
struct KeyInfo pKeyInfo,
BtCursor pCur 
)
static

Definition at line 61757 of file sqlite3.c.

static int btreeDropTable ( Btree p,
Pgno  iTable,
int *  piMoved 
)
static

Definition at line 66219 of file sqlite3.c.

static void btreeEndTransaction ( Btree p)
static

Definition at line 61416 of file sqlite3.c.

static int btreeGetHasContent ( BtShared pBt,
Pgno  pgno 
)
static

Definition at line 58242 of file sqlite3.c.

static int btreeGetPage ( BtShared pBt,
Pgno  pgno,
MemPage **  ppPage,
int  flags 
)
static

Definition at line 59588 of file sqlite3.c.

static int btreeGetUnusedPage ( BtShared pBt,
Pgno  pgno,
MemPage **  ppPage,
int  flags 
)
static

Definition at line 59722 of file sqlite3.c.

static void btreeHeapInsert ( u32 aHeap,
u32  x 
)
static

Definition at line 66684 of file sqlite3.c.

static int btreeHeapPull ( u32 aHeap,
u32 pOut 
)
static

Definition at line 66694 of file sqlite3.c.

static int btreeInitPage ( MemPage pPage)
static

Definition at line 59396 of file sqlite3.c.

static int btreeInvokeBusyHandler ( void pArg)
static

Definition at line 59773 of file sqlite3.c.

static void SQLITE_NOINLINE btreeLockCarefully ( Btree p)
static

Definition at line 57475 of file sqlite3.c.

static int btreeMoveto ( BtCursor pCur,
const void pKey,
i64  nKey,
int  bias,
int *  pRes 
)
static

Definition at line 58420 of file sqlite3.c.

static SQLITE_NOINLINE int btreeNext ( BtCursor pCur,
int *  pRes 
)
static

Definition at line 62991 of file sqlite3.c.

static Pgno btreePagecount ( BtShared pBt)
static

Definition at line 59624 of file sqlite3.c.

static MemPage* btreePageFromDbPage ( DbPage pDbPage,
Pgno  pgno,
BtShared pBt 
)
static

Definition at line 59564 of file sqlite3.c.

static MemPage* btreePageLookup ( BtShared pBt,
Pgno  pgno 
)
static

Definition at line 59610 of file sqlite3.c.

static void btreeParseCell ( MemPage pPage,
int  iCell,
CellInfo pInfo 
)
static

Definition at line 58867 of file sqlite3.c.

static SQLITE_NOINLINE void btreeParseCellAdjustSizeForOverflow ( MemPage pPage,
u8 pCell,
CellInfo pInfo 
)
static

Definition at line 58700 of file sqlite3.c.

static void btreeParseCellPtr ( MemPage pPage,
u8 pCell,
CellInfo pInfo 
)
static

Definition at line 58762 of file sqlite3.c.

static void btreeParseCellPtrIndex ( MemPage pPage,
u8 pCell,
CellInfo pInfo 
)
static

Definition at line 58830 of file sqlite3.c.

static void btreeParseCellPtrNoPayload ( MemPage pPage,
u8 pCell,
CellInfo pInfo 
)
static

Definition at line 58745 of file sqlite3.c.

static SQLITE_NOINLINE int btreePrevious ( BtCursor pCur,
int *  pRes 
)
static

Definition at line 63101 of file sqlite3.c.

static void btreeReleaseAllCursorPages ( BtCursor pCur)
static

Definition at line 58259 of file sqlite3.c.

static int btreeRestoreCursorPosition ( BtCursor pCur)
static

Definition at line 58460 of file sqlite3.c.

static int btreeSetHasContent ( BtShared pBt,
Pgno  pgno 
)
static

Definition at line 58220 of file sqlite3.c.

static u16 cachedCellSize ( CellArray p,
int  N 
)
static

Definition at line 64111 of file sqlite3.c.

static void cacheEntryClear ( Parse pParse,
struct yColCache *  p 
)
static

Definition at line 91255 of file sqlite3.c.

static void callCollNeeded ( sqlite3 db,
int  enc,
const char *  zName 
)
static

Definition at line 101205 of file sqlite3.c.

static void callFinaliser ( sqlite3 db,
int  offset 
)
static

Definition at line 121833 of file sqlite3.c.

static void callStatGet ( Vdbe v,
int  regStat4,
int  iParam,
int  regOut 
)
static

Definition at line 94954 of file sqlite3.c.

static int cannotBeFunction ( Parse pParse,
struct SrcList_item *  pFrom 
)
static

Definition at line 116799 of file sqlite3.c.

static void cdateFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 19371 of file sqlite3.c.

static u16 cellSizePtr ( MemPage pPage,
u8 pCell 
)
static

Definition at line 58887 of file sqlite3.c.

static u16 cellSizePtrNoPayload ( MemPage pPage,
u8 pCell 
)
static

Definition at line 58935 of file sqlite3.c.

static void changes ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 103111 of file sqlite3.c.

static int changeTempStorage ( Parse pParse,
const char *  zStorageType 
)
static

Definition at line 110103 of file sqlite3.c.

static void charFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 103632 of file sqlite3.c.

static void checkAppendMsg ( IntegrityCk pCheck,
const char *  zFormat,
  ... 
)
static

Definition at line 66491 of file sqlite3.c.

static int checkColumnOverlap ( IdList pIdList,
ExprList pEList 
)
static

Definition at line 119294 of file sqlite3.c.

static int checkConstraintExprNode ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 106898 of file sqlite3.c.

static int checkConstraintUnchanged ( Expr pExpr,
int *  aiChng,
int  chngRowid 
)
static

Definition at line 106922 of file sqlite3.c.

static int checkForMultiColumnSelectError ( Parse pParse,
SelectDest pDest,
int  nExpr 
)
static

Definition at line 113452 of file sqlite3.c.

static void checkList ( IntegrityCk pCheck,
int  isFreeList,
int  iPage,
int  N 
)
static

Definition at line 66592 of file sqlite3.c.

static void checkPtrmap ( IntegrityCk pCheck,
Pgno  iChild,
u8  eType,
Pgno  iParent 
)
static

Definition at line 66563 of file sqlite3.c.

static int checkReadTransaction ( sqlite3 db,
Btree p 
)
static

Definition at line 67511 of file sqlite3.c.

static int checkRef ( IntegrityCk pCheck,
Pgno  iPage 
)
static

Definition at line 66543 of file sqlite3.c.

static int checkTreePage ( IntegrityCk pCheck,
int  iPage,
i64 piMinKey,
i64  maxKey 
)
static

Definition at line 66728 of file sqlite3.c.

static void Cleanup ( Vdbe p)
static

Definition at line 71969 of file sqlite3.c.

static void clearAllSharedCacheTableLocks ( Btree p)
static

Definition at line 58053 of file sqlite3.c.

static int clearCell ( MemPage pPage,
unsigned char *  pCell,
u16 pnSize 
)
static

Definition at line 63661 of file sqlite3.c.

static int clearDatabasePage ( BtShared pBt,
Pgno  pgno,
int  freePageFlag,
int *  pnChange 
)
static

Definition at line 66104 of file sqlite3.c.

static void clearSelect ( sqlite3 db,
Select p,
int  bFree 
)
static

Definition at line 112870 of file sqlite3.c.

static void clearYMD_HMS_TZ ( DateTime p)
static

Definition at line 18723 of file sqlite3.c.

static void closeAllCursors ( Vdbe p)
static

Definition at line 71942 of file sqlite3.c.

static void closeCursorsInFrame ( Vdbe p)
static

Definition at line 71893 of file sqlite3.c.

static void closePendingFds ( unixFile pFile)
static

Definition at line 30299 of file sqlite3.c.

static int closeUnixFile ( sqlite3_file id)
static

Definition at line 31028 of file sqlite3.c.

static int codeAllEqualityTerms ( Parse pParse,
WhereLevel pLevel,
int  bRev,
int  nExtraReg,
char **  pzAff 
)
static

Definition at line 123226 of file sqlite3.c.

static void codeApplyAffinity ( Parse pParse,
int  base,
int  n,
char *  zAff 
)
static

Definition at line 123069 of file sqlite3.c.

static void codeAttach ( Parse pParse,
int  type,
FuncDef const *  pFunc,
Expr pAuthArg,
Expr pFilename,
Expr pDbname,
Expr pKey 
)
static

Definition at line 96226 of file sqlite3.c.

static int codeCompare ( Parse pParse,
Expr pLeft,
Expr pRight,
int  opcode,
int  in1,
int  in2,
int  dest,
int  jumpIfNull 
)
static

Definition at line 89192 of file sqlite3.c.

static void codeDeferredSeek ( WhereInfo pWInfo,
Index pIdx,
int  iCur,
int  iIdxCur 
)
static

Definition at line 123527 of file sqlite3.c.

static void codeDistinct ( Parse pParse,
int  iTab,
int  addrRepeat,
int  N,
int  iMem 
)
static

Definition at line 113426 of file sqlite3.c.

static int codeEqualityTerm ( Parse pParse,
WhereTerm pTerm,
WhereLevel pLevel,
int  iEq,
int  bRev,
int  iTarget 
)
static

Definition at line 123108 of file sqlite3.c.

static void codeInteger ( Parse pParse,
Expr pExpr,
int  negFlag,
int  iMem 
)
static

Definition at line 91206 of file sqlite3.c.

static void codeOffset ( Vdbe v,
int  iOffset,
int  iContinue 
)
static

Definition at line 113406 of file sqlite3.c.

static void codeReal ( Vdbe v,
const char *  z,
int  negateFlag,
int  iMem 
)
static

Definition at line 91188 of file sqlite3.c.

static TriggerPrg* codeRowTrigger ( Parse pParse,
Trigger pTrigger,
Table pTab,
int  orconf 
)
static

Definition at line 119481 of file sqlite3.c.

static void codeTableLocks ( Parse pParse)
static

Definition at line 96849 of file sqlite3.c.

static int codeTriggerProgram ( Parse pParse,
TriggerStep pStepList,
int  orconf 
)
static

Definition at line 119370 of file sqlite3.c.

static int collationMatch ( const char *  zColl,
Index pIndex 
)
static

Definition at line 100951 of file sqlite3.c.

static int columnIndex ( Table pTab,
const char *  zCol 
)
static

Definition at line 113065 of file sqlite3.c.

static void columnMallocFailure ( sqlite3_stmt pStmt)
static

Definition at line 75459 of file sqlite3.c.

static Mem* columnMem ( sqlite3_stmt pStmt,
int  i 
)
static

Definition at line 75423 of file sqlite3.c.

static const void* columnName ( sqlite3_stmt pStmt,
int  N,
const void *(*)(Mem *)  xFunc,
int  useType 
)
static

Definition at line 75555 of file sqlite3.c.

static const Mem* columnNullValue ( void  )
static

Definition at line 75383 of file sqlite3.c.

static Bitmask columnsInIndex ( Index pIdx)
static

Definition at line 128414 of file sqlite3.c.

static const char* columnTypeImpl ( NameContext pNC,
Expr pExpr,
u8 pEstWidth 
)
static

Definition at line 114140 of file sqlite3.c.

static int compare2pow63 ( const char *  zNum,
int  incr 
)
static

Definition at line 27511 of file sqlite3.c.

static char comparisonAffinity ( Expr pExpr)
static

Definition at line 89112 of file sqlite3.c.

static void compileoptiongetFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 103511 of file sqlite3.c.

static void compileoptionusedFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 103487 of file sqlite3.c.

static SQLITE_NOINLINE u16 computeCellSize ( CellArray p,
int  N 
)
static

Definition at line 64105 of file sqlite3.c.

static void computeHMS ( DateTime p)
static

Definition at line 18697 of file sqlite3.c.

static void computeJD ( DateTime p)
static

Definition at line 18539 of file sqlite3.c.

static void computeLimitRegisters ( Parse pParse,
Select p,
int  iBreak 
)
static

Definition at line 114635 of file sqlite3.c.

static u16 SQLITE_NOINLINE computeNumericType ( Mem pMem)
static

Definition at line 76881 of file sqlite3.c.

static void computeYMD ( DateTime p)
static

Definition at line 18671 of file sqlite3.c.

static void computeYMD_HMS ( DateTime p)
static

Definition at line 18715 of file sqlite3.c.

static int connectionIsBusy ( sqlite3 db)
static

Definition at line 136605 of file sqlite3.c.

static void constructAutomaticIndex ( Parse pParse,
WhereClause pWC,
struct SrcList_item *  pSrc,
Bitmask  notReady,
WhereLevel pLevel 
)
static

Definition at line 126517 of file sqlite3.c.

static void* contextMalloc ( sqlite3_context context,
i64  nByte 
)
static

Definition at line 102968 of file sqlite3.c.

static int convertCompoundSelectToSubquery ( Walker pWalker,
Select p 
)
static

Definition at line 116744 of file sqlite3.c.

static void convertToWithoutRowidTable ( Parse pParse,
Table pTab 
)
static

Definition at line 98435 of file sqlite3.c.

static void copyNodeContent ( MemPage pFrom,
MemPage pTo,
int *  pRC 
)
static

Definition at line 64578 of file sqlite3.c.

static int copyPayload ( void pPayload,
void pBuf,
int  nByte,
int  eOp,
DbPage pDbPage 
)
static

Definition at line 62064 of file sqlite3.c.

static void corruptSchema ( InitData pData,
const char *  zObj,
const char *  zExtra 
)
static

Definition at line 111967 of file sqlite3.c.

static void countFinalize ( sqlite3_context context)
static

Definition at line 104079 of file sqlite3.c.

static void countStep ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 104063 of file sqlite3.c.

static SQLITE_NOINLINE void* createAggContext ( sqlite3_context p,
int  nByte 
)
static

Definition at line 75243 of file sqlite3.c.

static int createCollation ( sqlite3 db,
const char *  zName,
u8  enc,
void pCtx,
int(*)(void *, int, const void *, int, const void *)  xCompare,
void(*)(void *)  xDel 
)
static

Definition at line 137875 of file sqlite3.c.

static void createMask ( WhereMaskSet pMaskSet,
int  iCursor 
)
static

Definition at line 126081 of file sqlite3.c.

static int createModule ( sqlite3 db,
const char *  zName,
const sqlite3_module pModule,
void pAux,
void(*)(void *)  xDestroy 
)
static

Definition at line 121040 of file sqlite3.c.

static char* createTableStmt ( sqlite3 db,
Table p 
)
static

Definition at line 98287 of file sqlite3.c.

static void ctimeFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 19357 of file sqlite3.c.

static void ctimestampFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 19385 of file sqlite3.c.

static int databaseIsUnmoved ( Pager pPager)
static

Definition at line 50678 of file sqlite3.c.

static void dateFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 19186 of file sqlite3.c.

static void datetimeFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 19147 of file sqlite3.c.

static SQLITE_NOINLINE void* dbMallocRawFinish ( sqlite3 db,
u64  n 
)
static

Definition at line 24200 of file sqlite3.c.

static SQLITE_NOINLINE void * dbReallocFinish ( sqlite3 db,
void p,
u64  n 
)
static

Definition at line 24288 of file sqlite3.c.

static int decodeFlags ( MemPage pPage,
int  flagByte 
)
static

Definition at line 59338 of file sqlite3.c.

static void decodeIntArray ( char *  zIntArray,
int  nOut,
tRowcnt aOut,
LogEst aLog,
Index pIndex 
)
static

Definition at line 95441 of file sqlite3.c.

static int defragmentPage ( MemPage pPage)
static

Definition at line 58996 of file sqlite3.c.

static void SQLITE_NOINLINE deleteTable ( sqlite3 db,
Table pTable 
)
static

Definition at line 97355 of file sqlite3.c.

static void destroyRootPage ( Parse pParse,
int  iTable,
int  iDb 
)
static

Definition at line 99067 of file sqlite3.c.

static void destroyTable ( Parse pParse,
Table pTab 
)
static

Definition at line 99096 of file sqlite3.c.

static void detachFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 96174 of file sqlite3.c.

static void disableLookaside ( Parse pParse)
static

Definition at line 130742 of file sqlite3.c.

static void disableTerm ( WhereLevel pLevel,
WhereTerm pTerm 
)
static

Definition at line 123038 of file sqlite3.c.

static void disconnectAllVtab ( sqlite3 db)
static

Definition at line 136574 of file sqlite3.c.

static char* displayP4 ( Op pOp,
char *  zTemp,
int  nTemp 
)
static

Definition at line 71123 of file sqlite3.c.

static int dotlockCheckReservedLock ( sqlite3_file id,
int *  pResOut 
)
static

Definition at line 31170 of file sqlite3.c.

static int dotlockClose ( sqlite3_file id)
static

Definition at line 31304 of file sqlite3.c.

static int dotlockLock ( sqlite3_file id,
int  eFileLock 
)
static

Definition at line 31211 of file sqlite3.c.

static int dotlockUnlock ( sqlite3_file id,
int  eFileLock 
)
static

Definition at line 31261 of file sqlite3.c.

static i64 doubleToInt64 ( double  r)
static

Definition at line 68603 of file sqlite3.c.

static int doWalCallbacks ( sqlite3 db)
static

Definition at line 74964 of file sqlite3.c.

static void downgradeAllSharedCacheTableLocks ( Btree p)
static

Definition at line 58097 of file sqlite3.c.

static void dropCell ( MemPage pPage,
int  idx,
int  sz,
int *  pRC 
)
static

Definition at line 63930 of file sqlite3.c.

static int dupedExprNodeSize ( Expr p,
int  flags 
)
static

Definition at line 89736 of file sqlite3.c.

static int dupedExprSize ( Expr p,
int  flags 
)
static

Definition at line 89757 of file sqlite3.c.

static int dupedExprStructSize ( Expr p,
int  flags 
)
static

Definition at line 89709 of file sqlite3.c.

static int editPage ( MemPage pPg,
int  iOld,
int  iNew,
int  nNew,
CellArray pCArray 
)
static

Definition at line 64302 of file sqlite3.c.

static void SQLITE_NOINLINE enlargeAndAppend ( StrAccum p,
const char *  z,
int  N 
)
static

Definition at line 25262 of file sqlite3.c.

static void errlogFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 103471 of file sqlite3.c.

static void estimateIndexWidth ( Index pIdx)
static

Definition at line 98393 of file sqlite3.c.

static void estimateTableWidth ( Table pTab)
static

Definition at line 98379 of file sqlite3.c.

static LogEst estLog ( LogEst  N)
static

Definition at line 126395 of file sqlite3.c.

static char et_getdigit ( LONGDOUBLE_TYPE val,
int *  cnt 
)
static

Definition at line 24559 of file sqlite3.c.

static int execExecSql ( sqlite3 db,
char **  pzErrMsg,
const char *  zSql 
)
static

Definition at line 120684 of file sqlite3.c.

static int execSql ( sqlite3 db,
char **  pzErrMsg,
const char *  zSql 
)
static

Definition at line 120665 of file sqlite3.c.

static void explainAppendTerm ( StrAccum pStr,
int  iTerm,
const char *  zColumn,
const char *  zOp 
)
static

Definition at line 122793 of file sqlite3.c.

static void explainComposite ( Parse pParse,
int  op,
int  iSub1,
int  iSub2,
int  bUseTmp 
)
static

Definition at line 113964 of file sqlite3.c.

static const char* explainIndexColumnName ( Index pIdx,
int  i 
)
static

Definition at line 122808 of file sqlite3.c.

static void explainIndexRange ( StrAccum pStr,
WhereLoop pLoop 
)
static

Definition at line 122829 of file sqlite3.c.

static void explainSimpleCount ( Parse pParse,
Table pTab,
Index pIdx 
)
static

Definition at line 117577 of file sqlite3.c.

static void explainTempTable ( Parse pParse,
const char *  zUsage 
)
static

Definition at line 113926 of file sqlite3.c.

static int exprAlwaysFalse ( Expr p)
static

Definition at line 89500 of file sqlite3.c.

static int exprAlwaysTrue ( Expr p)
static

Definition at line 89494 of file sqlite3.c.

static void exprAnalyze ( SrcList pSrc,
WhereClause pWC,
int  idxTerm 
)
static

Definition at line 125429 of file sqlite3.c.

static void exprAnalyzeOrTerm ( SrcList pSrc,
WhereClause pWC,
int  idxTerm 
)
static

Definition at line 125054 of file sqlite3.c.

static void exprCodeBetween ( Parse pParse,
Expr pExpr,
int  dest,
int  jumpIfTrue,
int  jumpIfNull 
)
static

Definition at line 92396 of file sqlite3.c.

static void exprCommute ( Parse pParse,
Expr pExpr 
)
static

Definition at line 124666 of file sqlite3.c.

static Expr* exprDup ( sqlite3 db,
Expr p,
int  dupFlags,
u8 **  pzBuffer 
)
static

Definition at line 89776 of file sqlite3.c.

static int exprIsConst ( Expr p,
int  initFlag,
int  iCur 
)
static

Definition at line 90297 of file sqlite3.c.

static SQLITE_NOINLINE void exprListDeleteNN ( sqlite3 db,
ExprList pList 
)
static

Definition at line 90180 of file sqlite3.c.

static int exprMightBeIndexed ( SrcList pFrom,
Bitmask  mPrereq,
Expr pExpr,
int *  piCur,
int *  piColumn 
)
static

Definition at line 125378 of file sqlite3.c.

static int exprNodeIsConstant ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 90238 of file sqlite3.c.

static void exprNot ( Parse pParse,
int  doNot,
ExprSpan pSpan 
)
static

Definition at line 130805 of file sqlite3.c.

static int exprProbability ( Expr p)
static

Definition at line 87948 of file sqlite3.c.

static Bitmask exprSelectUsage ( WhereMaskSet pMaskSet,
Select pS 
)
static

Definition at line 125345 of file sqlite3.c.

static void exprSetHeight ( Expr p)
static

Definition at line 89278 of file sqlite3.c.

static int exprSrcCount ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 92880 of file sqlite3.c.

static int exprStructSize ( Expr p)
static

Definition at line 89669 of file sqlite3.c.

static Expr* exprTableColumn ( sqlite3 db,
Table pTab,
int  iCursor,
i16  iCol 
)
static

Definition at line 104888 of file sqlite3.c.

static Expr* exprTableRegister ( Parse pParse,
Table pTab,
int  regBase,
i16  iCol 
)
static

Definition at line 104856 of file sqlite3.c.

static void exprToRegister ( Expr p,
int  iReg 
)
static

Definition at line 91562 of file sqlite3.c.

static int fcntlSizeHint ( unixFile pFile,
i64  nByte 
)
static

Definition at line 32781 of file sqlite3.c.

static const void* fetchPayload ( BtCursor pCur,
u32 pAmt 
)
static

Definition at line 62382 of file sqlite3.c.

static int fileHasMoved ( unixFile pFile)
static

Definition at line 30434 of file sqlite3.c.

static int fillInCell ( MemPage pPage,
unsigned char *  pCell,
const void pKey,
i64  nKey,
const void pData,
int  nData,
int  nZero,
int *  pnSize 
)
static

Definition at line 63742 of file sqlite3.c.

static Pgno finalDbSize ( BtShared pBt,
Pgno  nOrig,
Pgno  nFree 
)
static

Definition at line 61242 of file sqlite3.c.

static void finalizeAggFunctions ( Parse pParse,
AggInfo pAggInfo 
)
static

Definition at line 117478 of file sqlite3.c.

static Btree* findBtree ( sqlite3 pErrorDb,
sqlite3 pDb,
const char *  zDb 
)
static

Definition at line 67462 of file sqlite3.c.

static CollSeq* findCollSeqEntry ( sqlite3 db,
const char *  zName,
int  create 
)
static

Definition at line 101333 of file sqlite3.c.

static int findCreateFileMode ( const char *  zPath,
int  flags,
mode_t *  pMode,
uid_t *  pUid,
gid_t *  pGid 
)
static

Definition at line 34650 of file sqlite3.c.

static HashElem* findElementWithHash ( const Hash pH,
const char *  pKey,
unsigned int *  pHash 
)
static

Definition at line 28591 of file sqlite3.c.

static int findIndexCol ( Parse pParse,
ExprList pList,
int  iBase,
Index pIdx,
int  iCol 
)
static

Definition at line 126282 of file sqlite3.c.

static int findInodeInfo ( unixFile pFile,
unixInodeInfo **  ppInode 
)
static

Definition at line 30351 of file sqlite3.c.

static int findNextHostParameter ( const char *  zSql,
int *  pnToken 
)
static

Definition at line 76368 of file sqlite3.c.

static UnixUnusedFd* findReusableFd ( const char *  zPath,
int  flags 
)
static

Definition at line 34587 of file sqlite3.c.

static Select* findRightmost ( Select p)
static

Definition at line 112982 of file sqlite3.c.

static Trigger* fkActionTrigger ( Parse pParse,
Table pTab,
FKey pFKey,
ExprList pChanges 
)
static

Definition at line 105550 of file sqlite3.c.

static int fkChildIsModified ( Table pTab,
FKey p,
int *  aChange,
int  bChngRowid 
)
static

Definition at line 105161 of file sqlite3.c.

static void fkLookupParent ( Parse pParse,
int  iDb,
Table pTab,
Index pIdx,
FKey pFKey,
int *  aiCol,
int  regData,
int  nIncr,
int  isIgnore 
)
static

Definition at line 104715 of file sqlite3.c.

static int fkParentIsModified ( Table pTab,
FKey p,
int *  aChange,
int  bChngRowid 
)
static

Definition at line 105188 of file sqlite3.c.

static void fkScanChildren ( Parse pParse,
SrcList pSrc,
Table pTab,
Index pIdx,
FKey pFKey,
int *  aiCol,
int  regData,
int  nIncr 
)
static

Definition at line 104935 of file sqlite3.c.

static void fkTriggerDelete ( sqlite3 dbMem,
Trigger p 
)
static

Definition at line 105072 of file sqlite3.c.

static int flattenSubquery ( Parse pParse,
Select p,
int  iFrom,
int  isAgg,
int  subqueryIsAgg 
)
static

Definition at line 116134 of file sqlite3.c.

static void freeEphemeralFunction ( sqlite3 db,
FuncDef pDef 
)
static

Definition at line 70684 of file sqlite3.c.

static void freeIndex ( sqlite3 db,
Index p 
)
static

Definition at line 97195 of file sqlite3.c.

static void freeP4 ( sqlite3 db,
int  p4type,
void p4 
)
static

Definition at line 70695 of file sqlite3.c.

static void freePage ( MemPage pPage,
int *  pRC 
)
static

Definition at line 63650 of file sqlite3.c.

static int freePage2 ( BtShared pBt,
MemPage pMemPage,
Pgno  iPage 
)
static

Definition at line 63522 of file sqlite3.c.

static int freeSpace ( MemPage pPage,
u16  iStart,
u16  iSize 
)
static

Definition at line 59239 of file sqlite3.c.

static void freeTempSpace ( BtShared pBt)
static

Definition at line 60153 of file sqlite3.c.

static int full_fsync ( int  fd,
int  fullSync,
int  dataOnly 
)
static

Definition at line 32510 of file sqlite3.c.

static void functionDestroy ( sqlite3 db,
FuncDef p 
)
static

Definition at line 136559 of file sqlite3.c.

static FuncDef* functionSearch ( int  h,
const char *  zFunc 
)
static

Definition at line 101468 of file sqlite3.c.

static void generateColumnNames ( Parse pParse,
SrcList pTabList,
ExprList pEList 
)
static

Definition at line 114331 of file sqlite3.c.

static void generateColumnTypes ( Parse pParse,
SrcList pTabList,
ExprList pEList 
)
static

Definition at line 114291 of file sqlite3.c.

static int generateOutputSubroutine ( Parse pParse,
Select p,
SelectDest pIn,
SelectDest pDest,
int  regReturn,
int  regPrev,
KeyInfo pKeyInfo,
int  iBreak 
)
static

Definition at line 115384 of file sqlite3.c.

static void generateSortTail ( Parse pParse,
Select p,
SortCtx pSort,
int  nColumn,
SelectDest pDest 
)
static

Definition at line 113992 of file sqlite3.c.

static void generateWithRecursiveQuery ( Parse pParse,
Select p,
SelectDest pDest 
)
static

Definition at line 114782 of file sqlite3.c.

static int getAndInitPage ( BtShared pBt,
Pgno  pgno,
MemPage **  ppPage,
BtCursor pCur,
int  bReadOnly 
)
static

Definition at line 59646 of file sqlite3.c.

static int getAutoVacuum ( const char *  z)
static

Definition at line 110047 of file sqlite3.c.

static SQLITE_NOINLINE void getCellInfo ( BtCursor pCur)
static

Definition at line 61913 of file sqlite3.c.

static int getDigits ( const char *  zDate,
const char *  zFormat,
  ... 
)
static

Definition at line 18407 of file sqlite3.c.

static double getDoubleArg ( PrintfArguments p)
static

Definition at line 24588 of file sqlite3.c.

static sqlite3_int64 getIntArg ( PrintfArguments p)
static

Definition at line 24584 of file sqlite3.c.

static int getLockingMode ( const char *  z)
static

Definition at line 110032 of file sqlite3.c.

static int getOverflowPage ( BtShared pBt,
Pgno  ovfl,
MemPage **  ppPage,
Pgno pPgnoNext 
)
static

Definition at line 61996 of file sqlite3.c.

static int getPageReferenced ( IntegrityCk pCheck,
Pgno  iPg 
)
static

Definition at line 66521 of file sqlite3.c.

static TriggerPrg* getRowTrigger ( Parse pParse,
Trigger pTrigger,
Table pTab,
int  orconf 
)
static

Definition at line 119595 of file sqlite3.c.

static u8 getSafetyLevel ( const char *  z,
int  omitFull,
u8  dflt 
)
static

Definition at line 109994 of file sqlite3.c.

static int getTempStore ( const char *  z)
static

Definition at line 110063 of file sqlite3.c.

static char* getTextArg ( PrintfArguments p)
static

Definition at line 24592 of file sqlite3.c.

static void groupConcatFinalize ( sqlite3_context context)
static

Definition at line 104172 of file sqlite3.c.

static void groupConcatStep ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 104140 of file sqlite3.c.

static SQLITE_NOINLINE int growOp3 ( Vdbe p,
int  op,
int  p1,
int  p2,
int  p3 
)
static

Definition at line 70054 of file sqlite3.c.

static int growOpArray ( Vdbe v,
int  nOp 
)
static

Definition at line 69998 of file sqlite3.c.

static int growVTrans ( sqlite3 db)
static

Definition at line 121647 of file sqlite3.c.

static int SQLITE_NOINLINE handleDeferredMoveto ( VdbeCursor p)
static

Definition at line 72885 of file sqlite3.c.

static int SQLITE_NOINLINE handleMovedCursor ( VdbeCursor p)
static

Definition at line 72911 of file sqlite3.c.

static int hasColumn ( const i16 aiCol,
int  nCol,
int  x 
)
static

Definition at line 98407 of file sqlite3.c.

static int hasHotJournal ( Pager pPager,
int *  pExists 
)
static

Definition at line 50729 of file sqlite3.c.

static void heightOfExpr ( Expr p,
int *  pnHeight 
)
static

Definition at line 89240 of file sqlite3.c.

static void heightOfExprList ( ExprList p,
int *  pnHeight 
)
static

Definition at line 89247 of file sqlite3.c.

static void heightOfSelect ( Select p,
int *  pnHeight 
)
static

Definition at line 89255 of file sqlite3.c.

static void hexFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 103673 of file sqlite3.c.

static int identLength ( const char *  z)
static

Definition at line 98238 of file sqlite3.c.

static void identPut ( char *  z,
int *  pIdx,
char *  zSignedIdent 
)
static

Definition at line 98259 of file sqlite3.c.

static int incrAggDepth ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 87431 of file sqlite3.c.

static void incrAggFunctionDepth ( Expr pExpr,
int  N 
)
static

Definition at line 87435 of file sqlite3.c.

static int incrVacuumStep ( BtShared pBt,
Pgno  nFin,
Pgno  iLastPg,
int  bCommit 
)
static

Definition at line 61146 of file sqlite3.c.

static int indexColumnNotNull ( Index pIdx,
int  iCol 
)
static

Definition at line 126311 of file sqlite3.c.

static int indexMightHelpWithOrderBy ( WhereLoopBuilder pBuilder,
Index pIndex,
int  iCursor 
)
static

Definition at line 128380 of file sqlite3.c.

static void insertCell ( MemPage pPage,
int  i,
u8 pCell,
int  sz,
u8 pTemp,
Pgno  iChild,
int *  pRC 
)
static

Definition at line 63984 of file sqlite3.c.

static void insertElement ( Hash pH,
struct _ht *  pEntry,
HashElem pNew 
)
static

Definition at line 28517 of file sqlite3.c.

static void instrFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 102754 of file sqlite3.c.

static void invalidateAllOverflowCache ( BtShared pBt)
static

Definition at line 58139 of file sqlite3.c.

static void invalidateIncrblobCursors ( Btree pBtree,
i64  iRow,
int  isClearTable 
)
static

Definition at line 58161 of file sqlite3.c.

static int invalidateTempStorage ( Parse pParse)
static

Definition at line 110081 of file sqlite3.c.

static SQLITE_NOINLINE void invokeProfileCallback ( sqlite3 db,
Vdbe p 
)
static

Definition at line 74542 of file sqlite3.c.

static int invokeValueDestructor ( const void p,
void(*)(void *)  xDel,
sqlite3_context pCtx 
)
static

Definition at line 74783 of file sqlite3.c.

IOMETHODS ( posixIoFinder  ,
posixIoMethods  ,
IOMETHODS(  3,
unixClose  ,
unixLock  ,
unixUnlock  ,
unixCheckReservedLock  ,
unixShmMap   
)

Definition at line 34088 of file sqlite3.c.

static Select* isCandidateForInOpt ( Expr pX)
static

Definition at line 90499 of file sqlite3.c.

static int isDate ( sqlite3_context context,
int  argc,
sqlite3_value **  argv,
DateTime p 
)
static

Definition at line 19089 of file sqlite3.c.

static int isDistinctRedundant ( Parse pParse,
SrcList pTabList,
WhereClause pWC,
ExprList pDistinct 
)
static

Definition at line 126334 of file sqlite3.c.

static int isFatalError ( int  rc)
static

Definition at line 67605 of file sqlite3.c.

static int isLikeOrGlob ( Parse pParse,
Expr pExpr,
Expr **  ppPrefix,
int *  pisComplete,
int *  pnoCase 
)
static

Definition at line 124735 of file sqlite3.c.

static int isLookaside ( sqlite3 db,
void p 
)
static

Definition at line 24007 of file sqlite3.c.

static int isMatchOfColumn ( Expr pExpr,
unsigned char *  peOp2 
)
static

Definition at line 124835 of file sqlite3.c.

static int isSetNullAction ( Parse pParse,
FKey pFKey 
)
static

Definition at line 105217 of file sqlite3.c.

static Table* isSimpleCount ( Select p,
AggInfo pAggInfo 
)
static

Definition at line 116674 of file sqlite3.c.

static int isSystemTable ( Parse pParse,
const char *  zName 
)
static

Definition at line 93592 of file sqlite3.c.

static i64 journalHdrOffset ( Pager pPager)
static

Definition at line 47116 of file sqlite3.c.

static void juliandayFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 19130 of file sqlite3.c.

static KeyInfo * keyInfoFromExprList ( Parse pParse,
ExprList pList,
int  iStart,
int  nExtra 
)
static

Definition at line 113874 of file sqlite3.c.

static int keywordCode ( const char *  z,
int  n,
int *  pType 
)
static

Definition at line 134476 of file sqlite3.c.

static void last_insert_rowid ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 103091 of file sqlite3.c.

static void lengthFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 102665 of file sqlite3.c.

static void likeFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 103358 of file sqlite3.c.

static void loadAnalysis ( Parse pParse,
int  iDb 
)
static

Definition at line 95298 of file sqlite3.c.

static void loadExt ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 103953 of file sqlite3.c.

static sqlite3_int64 localtimeOffset ( DateTime p,
sqlite3_context pCtx,
int *  pRc 
)
static

Definition at line 18800 of file sqlite3.c.

static int lockBtree ( BtShared pBt)
static

Definition at line 60475 of file sqlite3.c.

static void lockBtreeMutex ( Btree p)
static

Definition at line 57397 of file sqlite3.c.

static void logBadConnection ( const char *  zType)
static

Definition at line 28199 of file sqlite3.c.

static int lookupName ( Parse pParse,
const char *  zDb,
const char *  zTab,
const char *  zCol,
NameContext pNC,
Expr pExpr 
)
static

Definition at line 87580 of file sqlite3.c.

static void lowerFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 103008 of file sqlite3.c.

static int mallocWithAlarm ( int  n,
void **  pp 
)
static

Definition at line 23831 of file sqlite3.c.

static void markTermAsChild ( WhereClause pWC,
int  iChild,
int  iParent 
)
static

Definition at line 124887 of file sqlite3.c.

static int matchQuality ( FuncDef p,
int  nArg,
u8  enc 
)
static

Definition at line 101433 of file sqlite3.c.

static SQLITE_NOINLINE void measureAllocationSize ( sqlite3 db,
void p 
)
static

Definition at line 24068 of file sqlite3.c.

static int memjrnlClose ( sqlite3_file pJfd)
static

Definition at line 87100 of file sqlite3.c.

static int memjrnlCreateFile ( MemJournal p)
static

Definition at line 86967 of file sqlite3.c.

static int memjrnlFileSize ( sqlite3_file pJfd,
sqlite_int64 pSize 
)
static

Definition at line 87120 of file sqlite3.c.

static void memjrnlFreeChunks ( MemJournal p)
static

Definition at line 86954 of file sqlite3.c.

static int memjrnlRead ( sqlite3_file pJfd,
void zBuf,
int  iAmt,
sqlite_int64  iOfst 
)
static

Definition at line 86903 of file sqlite3.c.

static int memjrnlSync ( sqlite3_file pJfd,
int  flags 
)
static

Definition at line 87112 of file sqlite3.c.

static int memjrnlTruncate ( sqlite3_file pJfd,
sqlite_int64  size 
)
static

Definition at line 87084 of file sqlite3.c.

static int memjrnlWrite ( sqlite3_file pJfd,
const void zBuf,
int  iAmt,
sqlite_int64  iOfst 
)
static

Definition at line 87006 of file sqlite3.c.

static void minMaxFinalize ( sqlite3_context context)
static

Definition at line 104126 of file sqlite3.c.

static void minmaxFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 102614 of file sqlite3.c.

static u8 minMaxQuery ( AggInfo pAggInfo,
ExprList **  ppMinMax 
)
static

Definition at line 116638 of file sqlite3.c.

static void minmaxStep ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 104088 of file sqlite3.c.

static int mkFullPathname ( const char *  zPath,
char *  zOut,
int  nOut 
)
static

Definition at line 35060 of file sqlite3.c.

static int modifyPagePointer ( MemPage pPage,
Pgno  iFrom,
Pgno  iTo,
u8  eType 
)
static

Definition at line 60991 of file sqlite3.c.

static int moveToChild ( BtCursor pCur,
u32  newPgno 
)
static

Definition at line 62433 of file sqlite3.c.

static int moveToLeftmost ( BtCursor pCur)
static

Definition at line 62596 of file sqlite3.c.

static void moveToParent ( BtCursor pCur)
static

Definition at line 62481 of file sqlite3.c.

static int moveToRightmost ( BtCursor pCur)
static

Definition at line 62621 of file sqlite3.c.

static int moveToRoot ( BtCursor pCur)
static

Definition at line 62518 of file sqlite3.c.

static int multiSelect ( Parse pParse,
Select p,
SelectDest pDest 
)
static

Definition at line 114994 of file sqlite3.c.

static CollSeq* multiSelectCollSeq ( Parse pParse,
Select p,
int  iCol 
)
static

Definition at line 114690 of file sqlite3.c.

static int multiSelectOrderBy ( Parse pParse,
Select p,
SelectDest pDest 
)
static

Definition at line 115595 of file sqlite3.c.

static KeyInfo* multiSelectOrderByKeyInfo ( Parse pParse,
Select p,
int  nExtra 
)
static

Definition at line 114716 of file sqlite3.c.

static int multiSelectValues ( Parse pParse,
Select p,
SelectDest pDest 
)
static

Definition at line 114931 of file sqlite3.c.

static int nameInUsingClause ( IdList pUsing,
const char *  zCol 
)
static

Definition at line 87513 of file sqlite3.c.

static int newDatabase ( BtShared pBt)
static

Definition at line 60706 of file sqlite3.c.

static int nocaseCollatingFunc ( void NotUsed,
int  nKey1,
const void pKey1,
int  nKey2,
const void pKey2 
)
static

Definition at line 136484 of file sqlite3.c.

static int nolockCheckReservedLock ( sqlite3_file NotUsed,
int *  pResOut 
)
static

Definition at line 31108 of file sqlite3.c.

static int nolockClose ( sqlite3_file id)
static

Definition at line 31125 of file sqlite3.c.

static int nolockLock ( sqlite3_file NotUsed,
int  NotUsed2 
)
static

Definition at line 31113 of file sqlite3.c.

static int nolockUnlock ( sqlite3_file NotUsed,
int  NotUsed2 
)
static

Definition at line 31117 of file sqlite3.c.

static sqlite3_mutex* noopMutexAlloc ( int  id)
static

Definition at line 22350 of file sqlite3.c.

static int noopMutexEnd ( void  )
static

Definition at line 22349 of file sqlite3.c.

static void noopMutexEnter ( sqlite3_mutex p)
static

Definition at line 22355 of file sqlite3.c.

static void noopMutexFree ( sqlite3_mutex p)
static

Definition at line 22354 of file sqlite3.c.

static int noopMutexInit ( void  )
static

Definition at line 22348 of file sqlite3.c.

static void noopMutexLeave ( sqlite3_mutex p)
static

Definition at line 22360 of file sqlite3.c.

static int noopMutexTry ( sqlite3_mutex p)
static

Definition at line 22356 of file sqlite3.c.

static void notValid ( Parse pParse,
NameContext pNC,
const char *  zMsg,
int  validMask 
)
static

Definition at line 87926 of file sqlite3.c.

static void nullifFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 103423 of file sqlite3.c.

static int numberOfCachePages ( PCache p)
static

Definition at line 43294 of file sqlite3.c.

static u16 numericType ( Mem pMem)
static

Definition at line 76900 of file sqlite3.c.

static int openDatabase ( const char *  zFilename,
sqlite3 **  ppDb,
unsigned int  flags,
const char *  zVfs 
)
static

Definition at line 138310 of file sqlite3.c.

static int openDirectory ( const char *  zFilename,
int *  pFd 
)
static

Definition at line 32606 of file sqlite3.c.

static void openStatTable ( Parse pParse,
int  iDb,
int  iStatCur,
const char *  zWhere,
const char *  zWhereType 
)
static

Definition at line 94195 of file sqlite3.c.

static int openSubJournal ( Pager pPager)
static

Definition at line 50179 of file sqlite3.c.

static u16 operatorMask ( int  op)
static

Definition at line 124697 of file sqlite3.c.

static int osLocaltime ( time_t *  t,
struct tm *  pTm 
)
static

Definition at line 18761 of file sqlite3.c.

static Mem* out2Prerelease ( Vdbe p,
VdbeOp pOp 
)
static

Definition at line 77161 of file sqlite3.c.

static SQLITE_NOINLINE Mem* out2PrereleaseWithClear ( Mem pOut)
static

Definition at line 77156 of file sqlite3.c.

static u8* pageFindSlot ( MemPage pPg,
int  nByte,
int *  pRc 
)
static

Definition at line 59086 of file sqlite3.c.

static int pageFreeArray ( MemPage pPg,
int  iFirst,
int  nCell,
CellArray pCArray 
)
static

Definition at line 64245 of file sqlite3.c.

static int pageInsertArray ( MemPage pPg,
u8 pBegin,
u8 **  ppData,
u8 pCellptr,
int  iFirst,
int  nCell,
CellArray pCArray 
)
static

Definition at line 64199 of file sqlite3.c.

static u32 pager_cksum ( Pager pPager,
const u8 aData 
)
static

Definition at line 47950 of file sqlite3.c.

static int pager_delmaster ( Pager pPager,
const char *  zMaster 
)
static

Definition at line 48271 of file sqlite3.c.

static int pager_end_transaction ( Pager pPager,
int  hasMaster,
int  bCommit 
)
static

Definition at line 47770 of file sqlite3.c.

static int pager_error ( Pager pPager,
int  rc 
)
static

Definition at line 47677 of file sqlite3.c.

static int pager_incr_changecounter ( Pager pPager,
int  isDirectMode 
)
static

Definition at line 51850 of file sqlite3.c.

static int pager_open_journal ( Pager pPager)
static

Definition at line 51366 of file sqlite3.c.

static int pager_playback ( Pager pPager,
int  isHot 
)
static

Definition at line 48524 of file sqlite3.c.

static int pager_playback_one_page ( Pager pPager,
i64 pOffset,
Bitvec pDone,
int  isMainJrnl,
int  isSavepnt 
)
static

Definition at line 48026 of file sqlite3.c.

static void pager_reset ( Pager pPager)
static

Definition at line 47510 of file sqlite3.c.

static int pager_truncate ( Pager pPager,
Pgno  nPage 
)
static

Definition at line 48381 of file sqlite3.c.

static void pager_unlock ( Pager pPager)
static

Definition at line 47580 of file sqlite3.c.

static int pager_wait_on_lock ( Pager pPager,
int  locktype 
)
static

Definition at line 49645 of file sqlite3.c.

static int pager_write ( PgHdr pPg)
static

Definition at line 51581 of file sqlite3.c.

static void pager_write_changecounter ( PgHdr pPg)
static

Definition at line 48794 of file sqlite3.c.

static int pager_write_pagelist ( Pager pPager,
PgHdr pList 
)
static

Definition at line 50087 of file sqlite3.c.

static int pagerAcquireMapPage ( Pager pPager,
Pgno  pgno,
void pData,
PgHdr **  ppPage 
)
static

Definition at line 49761 of file sqlite3.c.

static SQLITE_NOINLINE int pagerAddPageToRollbackJournal ( PgHdr pPg)
static

Definition at line 51524 of file sqlite3.c.

static int pagerBeginReadTransaction ( Pager pPager)
static

Definition at line 48959 of file sqlite3.c.

static void pageReinit ( DbPage pData)
static

Definition at line 59751 of file sqlite3.c.

static int pagerExclusiveLock ( Pager pPager)
static

Definition at line 53025 of file sqlite3.c.

static void pagerFixMaplimit ( Pager pPager)
static

Definition at line 49248 of file sqlite3.c.

static int pagerFlushOnCommit ( Pager pPager,
int  bCommit 
)
static

Definition at line 47710 of file sqlite3.c.

static void pagerFreeMapHdrs ( Pager pPager)
static

Definition at line 49816 of file sqlite3.c.

static int pagerLockDb ( Pager pPager,
int  eLock 
)
static

Definition at line 46937 of file sqlite3.c.

static SQLITE_NOINLINE int pagerOpenSavepoint ( Pager pPager,
int  nSavepoint 
)
static

Definition at line 52387 of file sqlite3.c.

static int pagerOpentemp ( Pager pPager,
sqlite3_file pFile,
int  vfsFlags 
)
static

Definition at line 49390 of file sqlite3.c.

static int pagerOpenWal ( Pager pPager)
static

Definition at line 53045 of file sqlite3.c.

static int pagerOpenWalIfPresent ( Pager pPager)
static

Definition at line 49052 of file sqlite3.c.

static int pagerPagecount ( Pager pPager,
Pgno pnPage 
)
static

Definition at line 48992 of file sqlite3.c.

static int pagerPlaybackSavepoint ( Pager pPager,
PagerSavepoint pSavepoint 
)
static

Definition at line 49121 of file sqlite3.c.

static void pagerReleaseMapPage ( PgHdr pPg)
static

Definition at line 49803 of file sqlite3.c.

static int pagerRollbackWal ( Pager pPager)
static

Definition at line 48860 of file sqlite3.c.

static int pagerStress ( void p,
PgHdr pPg 
)
static

Definition at line 50269 of file sqlite3.c.

static int pagerSyncHotJournal ( Pager pPager)
static

Definition at line 49740 of file sqlite3.c.

static int pagerUndoCallback ( void pCtx,
Pgno  iPg 
)
static

Definition at line 48821 of file sqlite3.c.

static void pagerUnlockAndRollback ( Pager pPager)
static

Definition at line 47916 of file sqlite3.c.

static int pagerUnlockDb ( Pager pPager,
int  eLock 
)
static

Definition at line 46910 of file sqlite3.c.

static void pagerUnlockIfUnused ( Pager pPager)
static

Definition at line 51071 of file sqlite3.c.

static int pagerUseWal ( Pager pPager)
static

Definition at line 46636 of file sqlite3.c.

static int pagerWalFrames ( Pager pPager,
PgHdr pList,
Pgno  nTruncate,
int  isCommit 
)
static

Definition at line 48892 of file sqlite3.c.

static SQLITE_NOINLINE int pagerWriteLargeSector ( PgHdr pPg)
static

Definition at line 51673 of file sqlite3.c.

static int parseDateOrTime ( sqlite3_context context,
const char *  zDate,
DateTime p 
)
static

Definition at line 18648 of file sqlite3.c.

static int parseHhMmSs ( const char *  zDate,
DateTime p 
)
static

Definition at line 18497 of file sqlite3.c.

static int parseModifier ( sqlite3_context pCtx,
const char *  zMod,
DateTime p 
)
static

Definition at line 18879 of file sqlite3.c.

static ExprList* parserAddExprIdListTerm ( Parse pParse,
ExprList pPrior,
Token pIdToken,
int  hasCollate,
int  sortOrder 
)
static

Definition at line 130853 of file sqlite3.c.

static void parserDoubleLinkSelect ( Parse pParse,
Select p 
)
static

Definition at line 130753 of file sqlite3.c.

static int parseTimezone ( const char *  zDate,
DateTime p 
)
static

Definition at line 18461 of file sqlite3.c.

static int parseYyyyMmDd ( const char *  zDate,
DateTime p 
)
static

Definition at line 18585 of file sqlite3.c.

static int patternCompare ( const u8 zPattern,
const u8 zString,
const struct compareInfo pInfo,
u32  matchOther 
)
static

Definition at line 103203 of file sqlite3.c.

static void* pcache1Alloc ( int  nByte)
static

Definition at line 44236 of file sqlite3.c.

static PgHdr1* pcache1AllocPage ( PCache1 pCache,
int  benignMalloc 
)
static

Definition at line 44324 of file sqlite3.c.

static void pcache1Cachesize ( sqlite3_pcache p,
int  nMax 
)
static

Definition at line 44700 of file sqlite3.c.

static sqlite3_pcache* pcache1Create ( int  szPage,
int  szExtra,
int  bPurgeable 
)
static

Definition at line 44653 of file sqlite3.c.

static void pcache1Destroy ( sqlite3_pcache p)
static

Definition at line 45049 of file sqlite3.c.

static void pcache1EnforceMaxPage ( PCache1 pCache)
static

Definition at line 44530 of file sqlite3.c.

static sqlite3_pcache_page* pcache1Fetch ( sqlite3_pcache p,
unsigned int  iKey,
int  createFlag 
)
static

Definition at line 44927 of file sqlite3.c.

static PgHdr1* pcache1FetchNoMutex ( sqlite3_pcache p,
unsigned int  iKey,
int  createFlag 
)
static

Definition at line 44882 of file sqlite3.c.

static SQLITE_NOINLINE PgHdr1* pcache1FetchStage2 ( PCache1 pCache,
unsigned int  iKey,
int  createFlag 
)
static

Definition at line 44754 of file sqlite3.c.

static void pcache1Free ( void p)
static

Definition at line 44274 of file sqlite3.c.

static void pcache1FreePage ( PgHdr1 p)
static

Definition at line 44374 of file sqlite3.c.

static int pcache1Init ( void NotUsed)
static

Definition at line 44586 of file sqlite3.c.

static int pcache1InitBulk ( PCache1 pCache)
static

Definition at line 44193 of file sqlite3.c.

static int pcache1Pagecount ( sqlite3_pcache p)
static

Definition at line 44736 of file sqlite3.c.

static PgHdr1* pcache1PinPage ( PgHdr1 pPage)
static

Definition at line 44484 of file sqlite3.c.

static void pcache1Rekey ( sqlite3_pcache p,
sqlite3_pcache_page pPg,
unsigned int  iOld,
unsigned int  iNew 
)
static

Definition at line 44994 of file sqlite3.c.

static void pcache1RemoveFromHash ( PgHdr1 pPage,
int  freeFlag 
)
static

Definition at line 44512 of file sqlite3.c.

static void pcache1ResizeHash ( PCache1 p)
static

Definition at line 44443 of file sqlite3.c.

static void pcache1Shrink ( sqlite3_pcache p)
static

Definition at line 44719 of file sqlite3.c.

static void pcache1Shutdown ( void NotUsed)
static

Definition at line 44639 of file sqlite3.c.

static void pcache1Truncate ( sqlite3_pcache p,
unsigned int  iLimit 
)
static

Definition at line 45034 of file sqlite3.c.

static void pcache1TruncateUnsafe ( PCache1 pCache,
unsigned int  iLimit 
)
static

Definition at line 44555 of file sqlite3.c.

static int pcache1UnderMemoryPressure ( PCache1 pCache)
static

Definition at line 44426 of file sqlite3.c.

static void pcache1Unpin ( sqlite3_pcache p,
sqlite3_pcache_page pPg,
int  reuseUnlikely 
)
static

Definition at line 44958 of file sqlite3.c.

static SQLITE_NOINLINE PgHdr* pcacheFetchFinishWithInit ( PCache pCache,
Pgno  pgno,
sqlite3_pcache_page pPage 
)
static

Definition at line 43506 of file sqlite3.c.

static void pcacheManageDirtyList ( PgHdr pPage,
u8  addRemove 
)
static

Definition at line 43209 of file sqlite3.c.

static PgHdr* pcacheMergeDirtyList ( PgHdr pA,
PgHdr pB 
)
static

Definition at line 43743 of file sqlite3.c.

static PgHdr* pcacheSortDirtyList ( PgHdr pIn)
static

Definition at line 43778 of file sqlite3.c.

static void pcacheUnpin ( PgHdr p)
static

Definition at line 43282 of file sqlite3.c.

static void populateCellCache ( CellArray p,
int  idx,
int  N 
)
static

Definition at line 64087 of file sqlite3.c.

static int posixOpen ( const char *  zFile,
int  flags,
int  mode 
)
static

Definition at line 29436 of file sqlite3.c.

static int posixUnlock ( sqlite3_file id,
int  eFileLock,
int  handleNFSUnlock 
)
static

Definition at line 30846 of file sqlite3.c.

static void printfFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 102796 of file sqlite3.c.

static sqlite3_mutex* pthreadMutexAlloc ( int  iType)
static

Definition at line 22680 of file sqlite3.c.

static int pthreadMutexEnd ( void  )
static

Definition at line 22630 of file sqlite3.c.

static void pthreadMutexEnter ( sqlite3_mutex p)
static

Definition at line 22772 of file sqlite3.c.

static void pthreadMutexFree ( sqlite3_mutex p)
static

Definition at line 22745 of file sqlite3.c.

static int pthreadMutexInit ( void  )
static

Definition at line 22629 of file sqlite3.c.

static void pthreadMutexLeave ( sqlite3_mutex p)
static

Definition at line 22871 of file sqlite3.c.

static int pthreadMutexTry ( sqlite3_mutex p)
static

Definition at line 22814 of file sqlite3.c.

static int ptrmapGet ( BtShared pBt,
Pgno  key,
u8 pEType,
Pgno pPgno 
)
static

Definition at line 58641 of file sqlite3.c.

static Pgno ptrmapPageno ( BtShared pBt,
Pgno  pgno 
)
static

Definition at line 58565 of file sqlite3.c.

static void ptrmapPut ( BtShared pBt,
Pgno  key,
u8  eType,
Pgno  parent,
int *  pRC 
)
static

Definition at line 58589 of file sqlite3.c.

static void ptrmapPutOvflPtr ( MemPage pPage,
u8 pCell,
int *  pRC 
)
static

Definition at line 58972 of file sqlite3.c.

static int pushDownWhereTerms ( sqlite3 db,
Select pSubq,
Expr pWhere,
int  iCursor 
)
static

Definition at line 116584 of file sqlite3.c.

static void pushOntoSorter ( Parse pParse,
SortCtx pSort,
Select pSelect,
int  regData,
int  regOrigData,
int  nData,
int  nPrefixReg 
)
static

Definition at line 113307 of file sqlite3.c.

static int SQLITE_NOINLINE putVarint64 ( unsigned char *  p,
u64  v 
)
static

Definition at line 27756 of file sqlite3.c.

static int querySharedCacheTableLock ( Btree p,
Pgno  iTab,
u8  eLock 
)
static

Definition at line 57917 of file sqlite3.c.

static void quoteFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 103541 of file sqlite3.c.

static void randomBlob ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 103067 of file sqlite3.c.

static void randomFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 103041 of file sqlite3.c.

static int read32bits ( sqlite3_file fd,
i64  offset,
u32 pRes 
)
static

Definition at line 46876 of file sqlite3.c.

static int readDbPage ( PgHdr pPg,
u32  iFrame 
)
static

Definition at line 48732 of file sqlite3.c.

static int readJournalHdr ( Pager pPager,
int  isHot,
i64  journalSize,
u32 pNRec,
u32 pDbSize 
)
static

Definition at line 47317 of file sqlite3.c.

static int readMasterJournal ( sqlite3_file pJrnl,
char *  zMaster,
u32  nMaster 
)
static

Definition at line 47062 of file sqlite3.c.

static int readsTable ( Parse p,
int  iDb,
Table pTab 
)
static

Definition at line 105972 of file sqlite3.c.

static int rebuildPage ( MemPage pPg,
int  nCell,
u8 **  apCell,
u16 szCell 
)
static

Definition at line 64130 of file sqlite3.c.

static int rehash ( Hash pH,
unsigned int  new_size 
)
static

Definition at line 28551 of file sqlite3.c.

static void reindexDatabases ( Parse pParse,
char const *  zColl 
)
static

Definition at line 100989 of file sqlite3.c.

static void reindexTable ( Parse pParse,
Table pTab,
char const *  zColl 
)
static

Definition at line 100970 of file sqlite3.c.

static void releaseAllSavepoints ( Pager pPager)
static

Definition at line 47529 of file sqlite3.c.

static void releaseInodeInfo ( unixFile pFile)
static

Definition at line 30317 of file sqlite3.c.

static void releaseMemArray ( Mem p,
int  N 
)
static

Definition at line 71349 of file sqlite3.c.

static void releasePage ( MemPage pPage)
static

Definition at line 59709 of file sqlite3.c.

static void releasePageNotNull ( MemPage pPage)
static

Definition at line 59700 of file sqlite3.c.

static void reloadTableSchema ( Parse pParse,
Table pTab,
const char *  zName 
)
static

Definition at line 93543 of file sqlite3.c.

static int relocatePage ( BtShared pBt,
MemPage pDbPage,
u8  eType,
Pgno  iPtrPage,
Pgno  iFreePage,
int  isCommit 
)
static

Definition at line 61053 of file sqlite3.c.

static void removeElementGivenHash ( Hash pH,
HashElem elem,
unsigned int  h 
)
static

Definition at line 28625 of file sqlite3.c.

static int removeFromSharingList ( BtShared pBt)
static

Definition at line 60085 of file sqlite3.c.

static void renameParentFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 93317 of file sqlite3.c.

static void renameTableFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 93252 of file sqlite3.c.

static void renameTriggerFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 93374 of file sqlite3.c.

static void renderLogMsg ( int  iErrCode,
const char *  zFormat,
va_list  ap 
)
static

Definition at line 25478 of file sqlite3.c.

static void replaceFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 103724 of file sqlite3.c.

static int reportError ( int  iErr,
int  lineno,
const char *  zType 
)
static

Definition at line 138841 of file sqlite3.c.

static void resetAccumulator ( Parse pParse,
AggInfo pAggInfo 
)
static

Definition at line 117437 of file sqlite3.c.

static int resizeIndexObject ( sqlite3 db,
Index pIdx,
int  N 
)
static

Definition at line 98355 of file sqlite3.c.

static void resolveAlias ( Parse pParse,
ExprList pEList,
int  iCol,
Expr pExpr,
const char *  zType,
int  nSubquery 
)
static

Definition at line 87464 of file sqlite3.c.

static int resolveAsName ( Parse pParse,
ExprList pEList,
Expr pE 
)
static

Definition at line 88192 of file sqlite3.c.

static int resolveAttachExpr ( NameContext pName,
Expr pExpr 
)
static

Definition at line 95948 of file sqlite3.c.

static int resolveCompoundOrderBy ( Parse pParse,
Select pSelect 
)
static

Definition at line 88304 of file sqlite3.c.

static int resolveExprStep ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 87968 of file sqlite3.c.

static int resolveOrderByTermToExprList ( Parse pParse,
Select pSelect,
Expr pE 
)
static

Definition at line 88231 of file sqlite3.c.

static int resolveOrderGroupBy ( NameContext pNC,
Select pSelect,
ExprList pOrderBy,
const char *  zType 
)
static

Definition at line 88453 of file sqlite3.c.

static void resolveOutOfRangeError ( Parse pParse,
const char *  zType,
int  i,
int  mx 
)
static

Definition at line 88278 of file sqlite3.c.

static void resolveP2Values ( Vdbe p,
int *  pMaxFuncArgs 
)
static

Definition at line 70444 of file sqlite3.c.

static int resolveSelectStep ( Walker pWalker,
Select p 
)
static

Definition at line 88511 of file sqlite3.c.

static void returnSingleInt ( Vdbe v,
const char *  zLabel,
i64  value 
)
static

Definition at line 110136 of file sqlite3.c.

static void returnSingleText ( Vdbe v,
const char *  zLabel,
const char *  zValue 
)
static

Definition at line 110145 of file sqlite3.c.

static void robust_close ( unixFile pFile,
int  h,
int  lineno 
)
static

Definition at line 30281 of file sqlite3.c.

static int robust_ftruncate ( int  h,
sqlite3_int64  sz 
)
static

Definition at line 29874 of file sqlite3.c.

static int robust_open ( const char *  z,
int  f,
mode_t  m 
)
static

Definition at line 29725 of file sqlite3.c.

static int robustFchown ( int  fd,
uid_t  uid,
gid_t  gid 
)
static

Definition at line 29608 of file sqlite3.c.

static void roundFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 102927 of file sqlite3.c.

static struct RowSetEntry* rowSetEntryAlloc ( RowSet p)
static

Definition at line 45345 of file sqlite3.c.

static struct RowSetEntry* rowSetEntryMerge ( struct RowSetEntry pA,
struct RowSetEntry pB 
)
static

Definition at line 45401 of file sqlite3.c.

static struct RowSetEntry* rowSetEntrySort ( struct RowSetEntry pIn)
static

Definition at line 45438 of file sqlite3.c.

static struct RowSetEntry* rowSetListToTree ( struct RowSetEntry pList)
static

Definition at line 45537 of file sqlite3.c.

static struct RowSetEntry* rowSetNDeepTree ( struct RowSetEntry **  ppList,
int  iDepth 
)
static

Definition at line 45501 of file sqlite3.c.

static void rowSetTreeToList ( struct RowSetEntry pIn,
struct RowSetEntry **  ppFirst,
struct RowSetEntry **  ppLast 
)
static

Definition at line 45466 of file sqlite3.c.

static void samplePushPrevious ( Stat4Accum p,
int  iChng 
)
static

Definition at line 94663 of file sqlite3.c.

static int saveAllCursors ( BtShared pBt,
Pgno  iRoot,
BtCursor pExcept 
)
static

Definition at line 58366 of file sqlite3.c.

static int saveCursorKey ( BtCursor pCur)
static

Definition at line 58281 of file sqlite3.c.

static int saveCursorPosition ( BtCursor pCur)
static

Definition at line 58319 of file sqlite3.c.

static int SQLITE_NOINLINE saveCursorsOnList ( BtCursor p,
Pgno  iRoot,
BtCursor pExcept 
)
static

Definition at line 58383 of file sqlite3.c.

static void schemaIsValid ( Parse pParse)
static

Definition at line 112362 of file sqlite3.c.

static struct Cte* searchWith ( With pWith,
struct SrcList_item *  pItem,
With **  ppContext 
)
static

Definition at line 116818 of file sqlite3.c.

static int seekAndRead ( unixFile id,
sqlite3_int64  offset,
void pBuf,
int  cnt 
)
static

Definition at line 32212 of file sqlite3.c.

static int seekAndWrite ( unixFile id,
i64  offset,
const void pBuf,
int  cnt 
)
static

Definition at line 32366 of file sqlite3.c.

static int seekAndWriteFd ( int  fd,
i64  iOff,
const void pBuf,
int  nBuf,
int *  piErrno 
)
static

Definition at line 32320 of file sqlite3.c.

static void selectAddSubqueryTypeInfo ( Walker pWalker,
Select p 
)
static

Definition at line 117354 of file sqlite3.c.

static int selectExpander ( Walker pWalker,
Select p 
)
static

Definition at line 117026 of file sqlite3.c.

static void selectInnerLoop ( Parse pParse,
Select p,
ExprList pEList,
int  srcTab,
SortCtx pSort,
DistinctCtx pDistinct,
SelectDest pDest,
int  iContinue,
int  iBreak 
)
static

Definition at line 113477 of file sqlite3.c.

static int selectNodeIsConstant ( Walker pWalker,
Select NotUsed 
)
static

Definition at line 90292 of file sqlite3.c.

static const char* selectOpName ( int  id)
static

Definition at line 113904 of file sqlite3.c.

static void selectPopWith ( Walker pWalker,
Select p 
)
static

Definition at line 116990 of file sqlite3.c.

static u32 SQLITE_NOINLINE serialGet ( const unsigned char *  buf,
u32  serial_type,
Mem pMem 
)
static

Definition at line 73217 of file sqlite3.c.

static void setAllColumnNames ( Vdbe v,
int  N,
const char **  azCol 
)
static

Definition at line 110118 of file sqlite3.c.

static void setAllPagerFlags ( sqlite3 db)
static

Definition at line 110163 of file sqlite3.c.

static int setChildPtrmaps ( MemPage pPage)
static

Definition at line 60941 of file sqlite3.c.

static int setDateTimeToCurrent ( sqlite3_context context,
DateTime p 
)
static

Definition at line 18622 of file sqlite3.c.

static int setDestPgsz ( sqlite3_backup p)
static

Definition at line 67499 of file sqlite3.c.

static void setJoinExpr ( Expr p,
int  iTable 
)
static

Definition at line 113176 of file sqlite3.c.

static void setLikeOptFlag ( sqlite3 db,
const char *  zName,
u8  flagVal 
)
static

Definition at line 104203 of file sqlite3.c.

static void setOneColumnName ( Vdbe v,
const char *  z 
)
static

Definition at line 110129 of file sqlite3.c.

static void setPageReferenced ( IntegrityCk pCheck,
Pgno  iPg 
)
static

Definition at line 66529 of file sqlite3.c.

static void setPendingFd ( unixFile pFile)
static

Definition at line 30824 of file sqlite3.c.

static void setResultStrOrError ( sqlite3_context pCtx,
const char *  z,
int  n,
u8  enc,
void(*)(void *)  xDel 
)
static

Definition at line 74772 of file sqlite3.c.

static void setSectorSize ( Pager pPager)
static

Definition at line 48451 of file sqlite3.c.

static int setSharedCacheTableLock ( Btree p,
Pgno  iTable,
u8  eLock 
)
static

Definition at line 57989 of file sqlite3.c.

static void setStrAccumError ( StrAccum p,
u8  eError 
)
static

Definition at line 24575 of file sqlite3.c.

static int setupLookaside ( sqlite3 db,
void pBuf,
int  sz,
int  cnt 
)
static

Definition at line 136254 of file sqlite3.c.

static void sourceidFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 103455 of file sqlite3.c.

static void spanBinaryExpr ( Parse pParse,
int  op,
ExprSpan pLeft,
ExprSpan pRight 
)
static

Definition at line 130792 of file sqlite3.c.

static void spanExpr ( ExprSpan pOut,
Parse pParse,
int  op,
Token  t 
)
static

Definition at line 130783 of file sqlite3.c.

static void spanSet ( ExprSpan pOut,
Token pStart,
Token pEnd 
)
static

Definition at line 130774 of file sqlite3.c.

static void spanUnaryPostfix ( Parse pParse,
int  op,
ExprSpan pOperand,
Token pPostOp 
)
static

Definition at line 130813 of file sqlite3.c.

static void spanUnaryPrefix ( ExprSpan pOut,
Parse pParse,
int  op,
ExprSpan pOperand,
Token pPreOp 
)
static

Definition at line 130836 of file sqlite3.c.

int sqlite2BtreeKeyCompare ( BtCursor ,
const void ,
int  ,
int  ,
int *   
)
SQLITE_API void *SQLITE_STDCALL sqlite3_aggregate_context ( sqlite3_context p,
int  nBytes 
)

Definition at line 75265 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_aggregate_count ( sqlite3_context p)

Definition at line 75356 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_auto_extension ( void(*)(void xEntryPoint)

Definition at line 109356 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_backup_finish ( sqlite3_backup p)

Definition at line 67979 of file sqlite3.c.

SQLITE_API sqlite3_backup *SQLITE_STDCALL sqlite3_backup_init ( sqlite3 pDest,
const char *  zDestName,
sqlite3 pSource,
const char *  zSourceName 
)

Definition at line 67527 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_backup_pagecount ( sqlite3_backup p)

Definition at line 68045 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_backup_remaining ( sqlite3_backup p)

Definition at line 68031 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_backup_step ( sqlite3_backup p,
int  nPage 
)

Definition at line 67735 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_bind_blob ( sqlite3_stmt pStmt,
int  i,
const void zData,
int  n,
void(*)(void *)  xDel 
)

Definition at line 75778 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_bind_blob64 ( sqlite3_stmt pStmt,
int  i,
const void zData,
sqlite3_uint64  nData,
void(*)(void *)  xDel 
)

Definition at line 75790 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_bind_double ( sqlite3_stmt pStmt,
int  i,
double  rValue 
)

Definition at line 75804 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_bind_int ( sqlite3_stmt p,
int  i,
int  iValue 
)

Definition at line 75814 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_bind_int64 ( sqlite3_stmt pStmt,
int  i,
sqlite3_int64  iValue 
)

Definition at line 75817 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_bind_null ( sqlite3_stmt pStmt,
int  i 
)

Definition at line 75827 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_bind_parameter_count ( sqlite3_stmt pStmt)

Definition at line 75932 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_bind_parameter_index ( sqlite3_stmt pStmt,
const char *  zName 
)

Definition at line 75971 of file sqlite3.c.

SQLITE_API const char *SQLITE_STDCALL sqlite3_bind_parameter_name ( sqlite3_stmt pStmt,
int  i 
)

Definition at line 75943 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_bind_text ( sqlite3_stmt pStmt,
int  i,
const char *  zData,
int  nData,
void(*)(void *)  xDel 
)

Definition at line 75836 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_bind_text16 ( sqlite3_stmt pStmt,
int  i,
const void zData,
int  nData,
void(*)(void *)  xDel 
)

Definition at line 75862 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_bind_text64 ( sqlite3_stmt pStmt,
int  i,
const char *  zData,
sqlite3_uint64  nData,
void(*)(void *)  xDel,
unsigned char  encoding 
)

Definition at line 75845 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_bind_value ( sqlite3_stmt pStmt,
int  i,
const sqlite3_value pValue 
)

Definition at line 75872 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_bind_zeroblob ( sqlite3_stmt pStmt,
int  i,
int  n 
)

Definition at line 75903 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_bind_zeroblob64 ( sqlite3_stmt pStmt,
int  i,
sqlite3_uint64  n 
)

Definition at line 75913 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_blob_bytes ( sqlite3_blob pBlob)

Definition at line 84017 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_blob_close ( sqlite3_blob pBlob)

Definition at line 83907 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_blob_open ( sqlite3 db,
const char *  zDb,
const char *  zTable,
const char *  zColumn,
sqlite3_int64  iRow,
int  flags,
sqlite3_blob **  ppBlob 
)

Definition at line 83666 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_blob_read ( sqlite3_blob pBlob,
void Z,
int  N,
int  iOffset 
)

Definition at line 84000 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_blob_reopen ( sqlite3_blob pBlob,
sqlite3_int64  iRow 
)

Definition at line 84032 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_blob_write ( sqlite3_blob pBlob,
const void z,
int  n,
int  iOffset 
)

Definition at line 84007 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_busy_handler ( sqlite3 db,
int(*)(void *, int)  xBusy,
void pArg 
)

Definition at line 137083 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_busy_timeout ( sqlite3 db,
int  ms 
)

Definition at line 137137 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_cancel_auto_extension ( void(*)(void xEntryPoint)

Definition at line 109401 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_changes ( sqlite3 db)

Definition at line 136514 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_clear_bindings ( sqlite3_stmt pStmt)

Definition at line 74619 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_close ( sqlite3 db)

Definition at line 136675 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_close_v2 ( sqlite3 db)

Definition at line 136676 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_collation_needed ( sqlite3 db,
void pCollNeededArg,
void(*)(void *, sqlite3 *, int eTextRep, const char *)  xCollNeeded 
)

Definition at line 138766 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_collation_needed16 ( sqlite3 db,
void pCollNeededArg,
void(*)(void *, sqlite3 *, int eTextRep, const void *)  xCollNeeded16 
)

Definition at line 138787 of file sqlite3.c.

SQLITE_API const void *SQLITE_STDCALL sqlite3_column_blob ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 75477 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_column_bytes ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 75487 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_column_bytes16 ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 75492 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_column_count ( sqlite3_stmt pStmt)

Definition at line 75365 of file sqlite3.c.

SQLITE_API const char* SQLITE_STDCALL sqlite3_column_database_name ( sqlite3_stmt ,
int   
)
SQLITE_API const void* SQLITE_STDCALL sqlite3_column_database_name16 ( sqlite3_stmt ,
int   
)
SQLITE_API const char *SQLITE_STDCALL sqlite3_column_decltype ( sqlite3_stmt pStmt,
int  N 
)

Definition at line 75622 of file sqlite3.c.

SQLITE_API const void *SQLITE_STDCALL sqlite3_column_decltype16 ( sqlite3_stmt pStmt,
int  N 
)

Definition at line 75627 of file sqlite3.c.

SQLITE_API double SQLITE_STDCALL sqlite3_column_double ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 75497 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_column_int ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 75502 of file sqlite3.c.

SQLITE_API sqlite_int64 SQLITE_STDCALL sqlite3_column_int64 ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 75507 of file sqlite3.c.

SQLITE_API const char *SQLITE_STDCALL sqlite3_column_name ( sqlite3_stmt pStmt,
int  N 
)

Definition at line 75597 of file sqlite3.c.

SQLITE_API const void *SQLITE_STDCALL sqlite3_column_name16 ( sqlite3_stmt pStmt,
int  N 
)

Definition at line 75602 of file sqlite3.c.

SQLITE_API const char* SQLITE_STDCALL sqlite3_column_origin_name ( sqlite3_stmt ,
int   
)
SQLITE_API const void* SQLITE_STDCALL sqlite3_column_origin_name16 ( sqlite3_stmt ,
int   
)
SQLITE_API const char* SQLITE_STDCALL sqlite3_column_table_name ( sqlite3_stmt ,
int   
)
SQLITE_API const void* SQLITE_STDCALL sqlite3_column_table_name16 ( sqlite3_stmt ,
int   
)
SQLITE_API const unsigned char *SQLITE_STDCALL sqlite3_column_text ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 75512 of file sqlite3.c.

SQLITE_API const void *SQLITE_STDCALL sqlite3_column_text16 ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 75527 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_column_type ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 75533 of file sqlite3.c.

SQLITE_API sqlite3_value *SQLITE_STDCALL sqlite3_column_value ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 75517 of file sqlite3.c.

SQLITE_API void *SQLITE_STDCALL sqlite3_commit_hook ( sqlite3 db,
int(*)(void *)  xCallback,
void pArg 
)

Definition at line 137448 of file sqlite3.c.

SQLITE_API const char *SQLITE_STDCALL sqlite3_compileoption_get ( int  N)

Definition at line 17375 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_compileoption_used ( const char *  zOptName)

Definition at line 17347 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_complete ( const char *  sql)

Definition at line 135313 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_complete16 ( const void sql)

Definition at line 135478 of file sqlite3.c.

SQLITE_API int SQLITE_CDECL sqlite3_config ( int  op,
  ... 
)

Definition at line 135948 of file sqlite3.c.

SQLITE_API sqlite3 *SQLITE_STDCALL sqlite3_context_db_handle ( sqlite3_context p)

Definition at line 75189 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_create_collation ( sqlite3 db,
const char *  zName,
int  eTextRep,
void pArg,
int(*)(void *, int, const void *, int, const void *)  xCompare 
)

Definition at line 138698 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_create_collation16 ( sqlite3 db,
const void zName,
int  eTextRep,
void pArg,
int(*)(void *, int, const void *, int, const void *)  xCompare 
)

Definition at line 138736 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_create_collation_v2 ( sqlite3 db,
const char *  zName,
int  eTextRep,
void pArg,
int(*)(void *, int, const void *, int, const void *)  xCompare,
void(*)(void *)  xDestroy 
)

Definition at line 138711 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_create_function ( sqlite3 db,
const char *  zFunctionName,
int  nArg,
int  eTextRep,
void pApp,
void(*)(sqlite3_context *, int, sqlite3_value **)  xFunc,
void(*)(sqlite3_context *, int, sqlite3_value **)  xStep,
void(*)(sqlite3_context *)  xFinal 
)

Definition at line 137269 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_create_function16 ( sqlite3 db,
const void zFunctionName,
int  nArg,
int  eTextRep,
void pApp,
void(*)(sqlite3_context *, int, sqlite3_value **)  xFunc,
void(*)(sqlite3_context *, int, sqlite3_value **)  xStep,
void(*)(sqlite3_context *)  xFinal 
)

Definition at line 137326 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_create_function_v2 ( sqlite3 db,
const char *  zFunctionName,
int  nArg,
int  eTextRep,
void pApp,
void(*)(sqlite3_context *, int, sqlite3_value **)  xFunc,
void(*)(sqlite3_context *, int, sqlite3_value **)  xStep,
void(*)(sqlite3_context *)  xFinal,
void(*)(void *)  xDestroy 
)

Definition at line 137283 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_create_module ( sqlite3 db,
const char *  zName,
const sqlite3_module p,
void pClientData 
)

Definition at line 121085 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_create_module_v2 ( sqlite3 db,
const char *  zName,
const sqlite3_module p,
void pClientData,
void(*)(void *)  xDestroy 
)

Definition at line 121100 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_data_count ( sqlite3_stmt pStmt)

Definition at line 75374 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_db_cacheflush ( sqlite3 db)

Definition at line 136351 of file sqlite3.c.

SQLITE_API int SQLITE_CDECL sqlite3_db_config ( sqlite3 db,
int  op,
  ... 
)

Definition at line 136380 of file sqlite3.c.

SQLITE_API const char *SQLITE_STDCALL sqlite3_db_filename ( sqlite3 db,
const char *  zDbName 
)

Definition at line 139473 of file sqlite3.c.

SQLITE_API sqlite3 *SQLITE_STDCALL sqlite3_db_handle ( sqlite3_stmt pStmt)

Definition at line 76027 of file sqlite3.c.

SQLITE_API sqlite3_mutex *SQLITE_STDCALL sqlite3_db_mutex ( sqlite3 db)

Definition at line 136313 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_db_readonly ( sqlite3 db,
const char *  zDbName 
)

Definition at line 139489 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_db_release_memory ( sqlite3 db)

Definition at line 136327 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_db_status ( sqlite3 db,
int  op,
int *  pCur,
int *  pHiwtr,
int  resetFlg 
)

Definition at line 18127 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_declare_vtab ( sqlite3 db,
const char *  zSQL 
)

Definition at line 121724 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_enable_load_extension ( sqlite3 db,
int  onoff 
)

Definition at line 109299 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_enable_shared_cache ( int  enable)

Definition at line 57759 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_errcode ( sqlite3 db)

Definition at line 137840 of file sqlite3.c.

SQLITE_API const char *SQLITE_STDCALL sqlite3_errmsg ( sqlite3 db)

Definition at line 137767 of file sqlite3.c.

SQLITE_API const void *SQLITE_STDCALL sqlite3_errmsg16 ( sqlite3 db)

Definition at line 137795 of file sqlite3.c.

SQLITE_API const char *SQLITE_STDCALL sqlite3_errstr ( int  rc)

Definition at line 137867 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_exec ( sqlite3 db,
const char *  sql,
int(*)(void *, int, char **, char **)  callback,
void pArg,
char **  errmsg 
)

Definition at line 108027 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_expired ( sqlite3_stmt pStmt)

Definition at line 74509 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_extended_errcode ( sqlite3 db)

Definition at line 137849 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_extended_result_codes ( sqlite3 db,
int  onoff 
)

Definition at line 139019 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_file_control ( sqlite3 db,
const char *  zDbName,
int  op,
void pArg 
)

Definition at line 139032 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_finalize ( sqlite3_stmt pStmt)

Definition at line 74571 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_free ( void p)

Definition at line 24049 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_free_table ( char **  result)

Definition at line 118677 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_get_autocommit ( sqlite3 db)

Definition at line 138820 of file sqlite3.c.

SQLITE_API void *SQLITE_STDCALL sqlite3_get_auxdata ( sqlite3_context pCtx,
int  N 
)

Definition at line 75280 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_get_table ( sqlite3 db,
const char *  zSql,
char ***  pazResult,
int *  pnRow,
int *  pnColumn,
char **  pzErrmsg 
)

Definition at line 118608 of file sqlite3.c.

static int sqlite3_get_table_cb ( void pArg,
int  nCol,
char **  argv,
char **  colv 
)
static

Definition at line 118534 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_global_recover ( void  )

Definition at line 138809 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_initialize ( void  )

Definition at line 135728 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_interrupt ( sqlite3 db)

Definition at line 137153 of file sqlite3.c.

SQLITE_API sqlite_int64 SQLITE_STDCALL sqlite3_last_insert_rowid ( sqlite3 db)

Definition at line 136501 of file sqlite3.c.

SQLITE_API const char *SQLITE_STDCALL sqlite3_libversion ( void  )

Definition at line 135638 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_libversion_number ( void  )

Definition at line 135649 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_limit ( sqlite3 db,
int  id,
int  newVal 
)

Definition at line 138015 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_load_extension ( sqlite3 db,
const char *  zFile,
const char *  zProc,
char **  pzErrMsg 
)

Definition at line 109268 of file sqlite3.c.

SQLITE_API void SQLITE_CDECL sqlite3_log ( int  iErrCode,
const char *  zFormat,
  ... 
)

Definition at line 25491 of file sqlite3.c.

SQLITE_API void *SQLITE_STDCALL sqlite3_malloc ( int  n)

Definition at line 23891 of file sqlite3.c.

SQLITE_API void *SQLITE_STDCALL sqlite3_malloc64 ( sqlite3_uint64  n)

Definition at line 23897 of file sqlite3.c.

SQLITE_API SQLITE_DEPRECATED int SQLITE_STDCALL sqlite3_memory_alarm ( void(*)(void *, sqlite3_int64, int)  ,
void ,
sqlite3_int64   
)
SQLITE_API int SQLITE_STDCALL sqlite3_memory_alarm ( void(*)(void *pArg, sqlite3_int64 used, int N)  xCallback,
void pArg,
sqlite3_int64  iThreshold 
)

Definition at line 23693 of file sqlite3.c.

SQLITE_API sqlite3_int64 SQLITE_STDCALL sqlite3_memory_highwater ( int  resetFlag)

Definition at line 23811 of file sqlite3.c.

SQLITE_API sqlite3_int64 SQLITE_STDCALL sqlite3_memory_used ( void  )

Definition at line 23800 of file sqlite3.c.

SQLITE_API char *SQLITE_CDECL sqlite3_mprintf ( const char *  zFormat,
  ... 
)

Definition at line 25416 of file sqlite3.c.

SQLITE_API sqlite3_uint64 SQLITE_STDCALL sqlite3_msize ( void p)

Definition at line 24040 of file sqlite3.c.

SQLITE_API sqlite3_mutex *SQLITE_STDCALL sqlite3_mutex_alloc ( int  id)

Definition at line 22227 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_mutex_enter ( sqlite3_mutex p)

Definition at line 22259 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_mutex_free ( sqlite3_mutex p)

Definition at line 22248 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_mutex_held ( sqlite3_mutex )
SQLITE_API void SQLITE_STDCALL sqlite3_mutex_leave ( sqlite3_mutex p)

Definition at line 22285 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_mutex_notheld ( sqlite3_mutex )
SQLITE_API int SQLITE_STDCALL sqlite3_mutex_try ( sqlite3_mutex p)

Definition at line 22270 of file sqlite3.c.

SQLITE_API sqlite3_stmt *SQLITE_STDCALL sqlite3_next_stmt ( sqlite3 pDb,
sqlite3_stmt pStmt 
)

Definition at line 76053 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_open ( const char *  filename,
sqlite3 **  ppDb 
)

Definition at line 138639 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_open16 ( const void filename,
sqlite3 **  ppDb 
)

Definition at line 138659 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_open_v2 ( const char *  filename,
sqlite3 **  ppDb,
int  flags,
const char *  zVfs 
)

Definition at line 138646 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_os_end ( void  )

Definition at line 36627 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_os_init ( void  )

Definition at line 36528 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_overload_function ( sqlite3 db,
const char *  zFuncName,
int  nArg 
)

Definition at line 137366 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_prepare ( sqlite3 db,
const char *  zSql,
int  nByte,
sqlite3_stmt **  ppStmt,
const char **  pzTail 
)

Definition at line 112688 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_prepare16 ( sqlite3 db,
const void zSql,
int  nByte,
sqlite3_stmt **  ppStmt,
const void **  pzTail 
)

Definition at line 112776 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_prepare16_v2 ( sqlite3 db,
const void zSql,
int  nByte,
sqlite3_stmt **  ppStmt,
const void **  pzTail 
)

Definition at line 112788 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_prepare_v2 ( sqlite3 db,
const char *  zSql,
int  nByte,
sqlite3_stmt **  ppStmt,
const char **  pzTail 
)

Definition at line 112700 of file sqlite3.c.

SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_preupdate_count ( sqlite3 )
SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_preupdate_depth ( sqlite3 )
SQLITE_API SQLITE_EXPERIMENTAL void* SQLITE_STDCALL sqlite3_preupdate_hook ( sqlite3 db,
void(*)(void *pCtx, sqlite3 *db, int op, char const *zDb, char const *zName, sqlite3_int64 iKey1, sqlite3_int64 iKey2)  xPreUpdate,
void  
)
SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_preupdate_new ( sqlite3 ,
int  ,
sqlite3_value **   
)
SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_preupdate_old ( sqlite3 ,
int  ,
sqlite3_value **   
)
SQLITE_API void *SQLITE_STDCALL sqlite3_profile ( sqlite3 db,
void(*)(void *, const char *, sqlite3_uint64 xProfile,
void pArg 
)

Definition at line 137421 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_progress_handler ( sqlite3 db,
int  nOps,
int(*)(void *)  xProgress,
void pArg 
)

Definition at line 137106 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_randomness ( int  N,
void P 
)

Definition at line 26062 of file sqlite3.c.

SQLITE_API void *SQLITE_STDCALL sqlite3_realloc ( void pOld,
int  n 
)

Definition at line 24158 of file sqlite3.c.

SQLITE_API void *SQLITE_STDCALL sqlite3_realloc64 ( void pOld,
sqlite3_uint64  n 
)

Definition at line 24165 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_release_memory ( int  n)

Definition at line 23634 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_reset ( sqlite3_stmt pStmt)

Definition at line 74598 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_reset_auto_extension ( void  )

Definition at line 109424 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_result_blob ( sqlite3_context pCtx,
const void z,
int  n,
void(*)(void *)  xDel 
)

Definition at line 74799 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_result_blob64 ( sqlite3_context pCtx,
const void z,
sqlite3_uint64  n,
void(*)(void *)  xDel 
)

Definition at line 74809 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_result_double ( sqlite3_context pCtx,
double  rVal 
)

Definition at line 74823 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_result_error ( sqlite3_context pCtx,
const char *  z,
int  n 
)

Definition at line 74827 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_result_error16 ( sqlite3_context pCtx,
const void z,
int  n 
)

Definition at line 74834 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_result_error_code ( sqlite3_context pCtx,
int  errCode 
)

Definition at line 74930 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_result_error_nomem ( sqlite3_context pCtx)

Definition at line 74952 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_result_error_toobig ( sqlite3_context pCtx)

Definition at line 74943 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_result_int ( sqlite3_context pCtx,
int  iVal 
)

Definition at line 74841 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_result_int64 ( sqlite3_context pCtx,
sqlite3_int64  iVal 
)

Definition at line 74845 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_result_null ( sqlite3_context pCtx)

Definition at line 74849 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_result_subtype ( sqlite3_context pCtx,
unsigned int  eSubtype 
)

Definition at line 74853 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_result_text ( sqlite3_context pCtx,
const char *  z,
int  n,
void(*)(void *)  xDel 
)

Definition at line 74859 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_result_text16 ( sqlite3_context pCtx,
const void z,
int  n,
void(*)(void *)  xDel 
)

Definition at line 74885 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_result_text16be ( sqlite3_context pCtx,
const void z,
int  n,
void(*)(void *)  xDel 
)

Definition at line 74894 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_result_text16le ( sqlite3_context pCtx,
const void z,
int  n,
void(*)(void *)  xDel 
)

Definition at line 74903 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_result_text64 ( sqlite3_context pCtx,
const char *  z,
sqlite3_uint64  n,
void(*)(void *)  xDel,
unsigned char  encoding 
)

Definition at line 74868 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_result_value ( sqlite3_context pCtx,
sqlite3_value pValue 
)

Definition at line 74913 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_result_zeroblob ( sqlite3_context pCtx,
int  n 
)

Definition at line 74917 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_result_zeroblob64 ( sqlite3_context pCtx,
sqlite3_uint64  n 
)

Definition at line 74921 of file sqlite3.c.

SQLITE_API void *SQLITE_STDCALL sqlite3_rollback_hook ( sqlite3 db,
void(*)(void *)  xCallback,
void pArg 
)

Definition at line 137498 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_rtree_geometry_callback ( sqlite3 db,
const char *  zGeom,
int(*)(sqlite3_rtree_geometry *, int, sqlite3_rtree_dbl *, int *)  xGeom,
void pContext 
)
SQLITE_API int SQLITE_STDCALL sqlite3_rtree_query_callback ( sqlite3 db,
const char *  zQueryFunc,
int(*)(sqlite3_rtree_query_info *)  xQueryFunc,
void pContext,
void(*)(void *)  xDestructor 
)
SQLITE_API int SQLITE_STDCALL sqlite3_set_authorizer ( sqlite3 db,
int(*)(void *, int, const char *, const char *, const char *, const char *)  xAuth,
void pUserData 
)

Definition at line 96567 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_set_auxdata ( sqlite3_context pCtx,
int  N,
void pAux,
void(*)(void *)  xDelete 
)

Definition at line 75301 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_shutdown ( void  )

Definition at line 135894 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_sleep ( int  ms)

Definition at line 139003 of file sqlite3.c.

SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_snapshot_cmp ( sqlite3_snapshot p1,
sqlite3_snapshot p2 
)
SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_snapshot_get ( sqlite3 db,
const char *  zSchema,
sqlite3_snapshot **  ppSnapshot 
)
SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_snapshot_open ( sqlite3 db,
const char *  zSchema,
sqlite3_snapshot pSnapshot 
)
SQLITE_API char *SQLITE_CDECL sqlite3_snprintf ( int  n,
char *  zBuf,
const char *  zFormat,
  ... 
)

Definition at line 25455 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_soft_heap_limit ( int  N)

Definition at line 23731 of file sqlite3.c.

SQLITE_API sqlite3_int64 SQLITE_STDCALL sqlite3_soft_heap_limit64 ( sqlite3_int64  N)

Definition at line 23709 of file sqlite3.c.

SQLITE_API const char *SQLITE_STDCALL sqlite3_sourceid ( void  )

Definition at line 135644 of file sqlite3.c.

SQLITE_API const char *SQLITE_STDCALL sqlite3_sql ( sqlite3_stmt pStmt)

Definition at line 69961 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_status ( int  op,
int *  pCurrent,
int *  pHighwater,
int  resetFlag 
)

Definition at line 18110 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_status64 ( int  op,
sqlite3_int64 pCurrent,
sqlite3_int64 pHighwater,
int  resetFlag 
)

Definition at line 18085 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_step ( sqlite3_stmt pStmt)

Definition at line 75123 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_stmt_busy ( sqlite3_stmt pStmt)

Definition at line 76042 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_stmt_readonly ( sqlite3_stmt pStmt)

Definition at line 76035 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_stmt_scanstatus ( sqlite3_stmt pStmt,
int  idx,
int  iScanStatusOp,
void pOut 
)
SQLITE_API void SQLITE_STDCALL sqlite3_stmt_scanstatus_reset ( sqlite3_stmt )
SQLITE_API int SQLITE_STDCALL sqlite3_stmt_status ( sqlite3_stmt pStmt,
int  op,
int  resetFlg 
)

Definition at line 76074 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_strglob ( const char *  zGlob,
const char *  zStr 
)

Definition at line 103325 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_stricmp ( const char *  zLeft,
const char *  zRight 
)

Definition at line 27265 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_strlike ( const char *  zGlob,
const char *  zStr,
unsigned int  cEsc 
)

Definition at line 103332 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_strnicmp ( const char *  zLeft,
const char *  zRight,
int  N 
)

Definition at line 27286 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_system_errno ( sqlite3 db)

Definition at line 137858 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_table_column_metadata ( sqlite3 db,
const char *  zDbName,
const char *  zTableName,
const char *  zColumnName,
char const **  pzDataType,
char const **  pzCollSeq,
int *  pNotNull,
int *  pPrimaryKey,
int *  pAutoinc 
)

Definition at line 138885 of file sqlite3.c.

SQLITE_API int SQLITE_CDECL sqlite3_test_control ( int  op,
  ... 
)

Definition at line 139072 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_thread_cleanup ( void  )

Definition at line 138877 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_threadsafe ( void  )

Definition at line 135655 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_total_changes ( sqlite3 db)

Definition at line 136527 of file sqlite3.c.

SQLITE_API void *SQLITE_STDCALL sqlite3_trace ( sqlite3 db,
void(*)(void *, const char *)  xTrace,
void pArg 
)

Definition at line 137397 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_transfer_bindings ( sqlite3_stmt pFromStmt,
sqlite3_stmt pToStmt 
)

Definition at line 76005 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_unlock_notify ( sqlite3 pBlocked,
void(*)(void **apArg, int nArg)  xNotify,
void pNotifyArg 
)
SQLITE_API void *SQLITE_STDCALL sqlite3_update_hook ( sqlite3 db,
void(*)(void *, int,char const *, char const *, sqlite3_int64 xCallback,
void pArg 
)

Definition at line 137473 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_uri_boolean ( const char *  zFile,
const char *  zParam,
int  bDefault 
)

Definition at line 139432 of file sqlite3.c.

SQLITE_API sqlite3_int64 SQLITE_STDCALL sqlite3_uri_int64 ( const char *  zFilename,
const char *  zParam,
sqlite3_int64  bDflt 
)

Definition at line 139441 of file sqlite3.c.

SQLITE_API const char *SQLITE_STDCALL sqlite3_uri_parameter ( const char *  zFilename,
const char *  zParam 
)

Definition at line 139417 of file sqlite3.c.

SQLITE_API void *SQLITE_STDCALL sqlite3_user_data ( sqlite3_context p)

Definition at line 75174 of file sqlite3.c.

SQLITE_API const void *SQLITE_STDCALL sqlite3_value_blob ( sqlite3_value pVal)

Definition at line 74643 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_value_bytes ( sqlite3_value pVal)

Definition at line 74656 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_value_bytes16 ( sqlite3_value pVal)

Definition at line 74659 of file sqlite3.c.

SQLITE_API double SQLITE_STDCALL sqlite3_value_double ( sqlite3_value pVal)

Definition at line 74662 of file sqlite3.c.

SQLITE_API sqlite3_value *SQLITE_STDCALL sqlite3_value_dup ( const sqlite3_value pOrig)

Definition at line 74733 of file sqlite3.c.

SQLITE_API void SQLITE_STDCALL sqlite3_value_free ( sqlite3_value pOld)

Definition at line 74756 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_value_int ( sqlite3_value pVal)

Definition at line 74665 of file sqlite3.c.

SQLITE_API sqlite_int64 SQLITE_STDCALL sqlite3_value_int64 ( sqlite3_value pVal)

Definition at line 74668 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_value_numeric_type ( sqlite3_value pVal)

Definition at line 76853 of file sqlite3.c.

SQLITE_API unsigned int SQLITE_STDCALL sqlite3_value_subtype ( sqlite3_value pVal)

Definition at line 74671 of file sqlite3.c.

SQLITE_API const unsigned char *SQLITE_STDCALL sqlite3_value_text ( sqlite3_value pVal)

Definition at line 74675 of file sqlite3.c.

SQLITE_API const void *SQLITE_STDCALL sqlite3_value_text16 ( sqlite3_value pVal)

Definition at line 74679 of file sqlite3.c.

SQLITE_API const void *SQLITE_STDCALL sqlite3_value_text16be ( sqlite3_value pVal)

Definition at line 74682 of file sqlite3.c.

SQLITE_API const void *SQLITE_STDCALL sqlite3_value_text16le ( sqlite3_value pVal)

Definition at line 74685 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_value_type ( sqlite3_value pVal)

Definition at line 74693 of file sqlite3.c.

SQLITE_API sqlite3_vfs *SQLITE_STDCALL sqlite3_vfs_find ( const char *  zVfsName)

Definition at line 19802 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_vfs_register ( sqlite3_vfs pVfs,
int  makeDflt 
)

Definition at line 19848 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_vfs_unregister ( sqlite3_vfs pVfs)

Definition at line 19876 of file sqlite3.c.

SQLITE_API char *SQLITE_STDCALL sqlite3_vmprintf ( const char *  zFormat,
va_list  ap 
)

Definition at line 25392 of file sqlite3.c.

SQLITE_API char *SQLITE_STDCALL sqlite3_vsnprintf ( int  n,
char *  zBuf,
const char *  zFormat,
va_list  ap 
)

Definition at line 25441 of file sqlite3.c.

SQLITE_API int SQLITE_CDECL sqlite3_vtab_config ( sqlite3 db,
int  op,
  ... 
)

Definition at line 122179 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_vtab_on_conflict ( sqlite3 db)

Definition at line 122161 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_wal_autocheckpoint ( sqlite3 db,
int  N 
)

Definition at line 137573 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_wal_checkpoint ( sqlite3 db,
const char *  zDb 
)

Definition at line 137676 of file sqlite3.c.

SQLITE_API int SQLITE_STDCALL sqlite3_wal_checkpoint_v2 ( sqlite3 db,
const char *  zDb,
int  eMode,
int *  pnLog,
int *  pnCkpt 
)

Definition at line 137621 of file sqlite3.c.

SQLITE_API void *SQLITE_STDCALL sqlite3_wal_hook ( sqlite3 db,
int(*)(void *, sqlite3 *, const char *, int)  xCallback,
void pArg 
)

Definition at line 137594 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3AbsInt32 ( int  x)

Definition at line 28321 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AddCheckConstraint ( Parse pParse,
Expr pCheckExpr 
)

Definition at line 98114 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AddCollateType ( Parse pParse,
Token pToken 
)

Definition at line 98139 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AddColumn ( Parse pParse,
Token pName,
Token pType 
)

Definition at line 97801 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AddDefaultValue ( Parse pParse,
ExprSpan pSpan 
)

Definition at line 97968 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3AddInt64 ( i64 pA,
i64  iB 
)

Definition at line 28257 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AddNotNull ( Parse pParse,
int  onError 
)

Definition at line 97864 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AddPrimaryKey ( Parse pParse,
ExprList pList,
int  onError,
int  autoInc,
int  sortOrder 
)

Definition at line 98040 of file sqlite3.c.

SQLITE_PRIVATE char sqlite3AffinityType ( const char *  zIn,
u8 pszEst 
)

Definition at line 97896 of file sqlite3.c.

SQLITE_PRIVATE Index * sqlite3AllocateIndexObject ( sqlite3 db,
i16  nCol,
int  nExtra,
char **  ppExtra 
)

Definition at line 99592 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AlterBeginAddColumn ( Parse pParse,
SrcList pSrc 
)

Definition at line 93943 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AlterFinishAddColumn ( Parse pParse,
Token pColDef 
)

Definition at line 93808 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AlterFunctions ( void  )

Definition at line 93446 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AlterRenameTable ( Parse pParse,
SrcList pSrc,
Token pName 
)

Definition at line 93604 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3AnalysisLoad ( sqlite3 db,
int  iDB 
)

Definition at line 95848 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Analyze ( Parse pParse,
Token pName1,
Token pName2 
)

Definition at line 95366 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ApiExit ( sqlite3 db,
int  rc 
)

Definition at line 24424 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AppendChar ( StrAccum p,
int  N,
char  c 
)

Definition at line 25245 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3ArrayAllocate ( sqlite3 db,
void pArray,
int  szEntry,
int *  pnEntry,
int *  pIdx 
)

Definition at line 100294 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3AtoF ( const char *  z,
double *  pResult,
int  length,
u8  enc 
)

Definition at line 27321 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Atoi ( const char *  z)

Definition at line 27721 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Atoi64 ( const char *  zNum,
i64 pNum,
int  length,
u8  enc 
)

Definition at line 27547 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Attach ( Parse pParse,
Expr p,
Expr pDbname,
Expr pKey 
)

Definition at line 96318 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3AuthCheck ( Parse pParse,
int  code,
const char *  zArg1,
const char *  zArg2,
const char *  zArg3 
)

Definition at line 96695 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AuthContextPop ( AuthContext pContext)

Definition at line 96750 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AuthContextPush ( Parse pParse,
AuthContext pContext,
const char *  zContext 
)

Definition at line 96735 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AuthRead ( Parse pParse,
Expr pExpr,
Schema pSchema,
SrcList pTabList 
)

Definition at line 96638 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3AuthReadCol ( Parse pParse,
const char *  zTab,
const char *  zCol,
int  iDb 
)

Definition at line 96601 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AutoincrementBegin ( Parse pParse)

Definition at line 106059 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AutoincrementEnd ( Parse pParse)

Definition at line 106162 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AutoLoadExtensions ( sqlite3 db)

Definition at line 109446 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BackupRestart ( sqlite3_backup pBackup)

Definition at line 68107 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BackupUpdate ( sqlite3_backup pBackup,
Pgno  iPage,
const u8 aData 
)

Definition at line 68092 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BeginBenignMalloc ( void  )

Definition at line 19961 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BeginTransaction ( Parse pParse,
int  type 
)

Definition at line 100669 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BeginTrigger ( Parse pParse,
Token pName1,
Token pName2,
int  tr_tm,
int  op,
IdList pColumns,
SrcList pTableName,
Expr pWhen,
int  isTemp,
int  noErr 
)

Definition at line 118773 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BeginWriteOperation ( Parse pParse,
int  setStatement,
int  iDb 
)

Definition at line 100829 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BenignMallocHooks ( void(*)(void xBenignBegin,
void(*)(void xBenignEnd 
)

Definition at line 19947 of file sqlite3.c.

SQLITE_PRIVATE CollSeq * sqlite3BinaryCompareCollSeq ( Parse pParse,
Expr pLeft,
Expr pRight 
)

Definition at line 89169 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BitvecBuiltinTest ( int  sz,
int *  aOp 
)

Definition at line 42974 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BitvecClear ( Bitvec p,
u32  i,
void pBuf 
)

Definition at line 42877 of file sqlite3.c.

SQLITE_PRIVATE Bitvec * sqlite3BitvecCreate ( u32  iSize)

Definition at line 42752 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BitvecDestroy ( Bitvec p)

Definition at line 42914 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BitvecSet ( Bitvec p,
u32  i 
)

Definition at line 42806 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3BitvecSize ( Bitvec p)

Definition at line 42929 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BitvecTest ( Bitvec p,
u32  i 
)

Definition at line 42790 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BitvecTestNotNull ( Bitvec p,
u32  i 
)

Definition at line 42767 of file sqlite3.c.

static SQLITE_NOINLINE int sqlite3BlobCompare ( const Mem pB1,
const Mem pB2 
)
static

Definition at line 73608 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeBeginStmt ( Btree p,
int  iStatement 
)

Definition at line 61659 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeBeginTrans ( Btree p,
int  wrflag 
)

Definition at line 60794 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCheckpoint ( Btree p,
int  eMode,
int *  pnLog,
int *  pnCkpt 
)

Definition at line 67146 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeClearCursor ( BtCursor pCur)

Definition at line 58408 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeClearTable ( Btree p,
int  iTable,
int *  pnChange 
)

Definition at line 66171 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeClearTableOfCursor ( BtCursor pCur)

Definition at line 66195 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeClose ( Btree p)

Definition at line 60164 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCloseCursor ( BtCursor pCur)

Definition at line 61863 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCommit ( Btree p)

Definition at line 61510 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCommitPhaseOne ( Btree p,
const char *  zMaster 
)

Definition at line 61389 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCommitPhaseTwo ( Btree p,
int  bCleanup 
)

Definition at line 61478 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCopyFile ( Btree pTo,
Btree pFrom 
)

Definition at line 68124 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCount ( BtCursor pCur,
i64 pnEntry 
)

Definition at line 66413 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCreateTable ( Btree p,
int *  piTable,
int  flags 
)

Definition at line 66092 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCursor ( Btree p,
int  iTable,
int  wrFlag,
struct KeyInfo pKeyInfo,
BtCursor pCursor 
)

Definition at line 61817 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCursorHasHint ( BtCursor pCsr,
unsigned int  mask 
)

Definition at line 67354 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCursorHasMoved ( BtCursor pCur)

Definition at line 58499 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeCursorHintFlags ( BtCursor pCur,
unsigned  x 
)

Definition at line 58549 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCursorRestore ( BtCursor pCur,
int *  pDifferentRow 
)

Definition at line 58516 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCursorSize ( void  )

Definition at line 61843 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeCursorZero ( BtCursor p)

Definition at line 61855 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeData ( BtCursor pCur,
u32  offset,
u32  amt,
void pBuf 
)

Definition at line 62343 of file sqlite3.c.

SQLITE_PRIVATE const void * sqlite3BtreeDataFetch ( BtCursor pCur,
u32 pAmt 
)

Definition at line 62419 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeDataSize ( BtCursor pCur,
u32 pSize 
)

Definition at line 61966 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeDelete ( BtCursor pCur,
u8  flags 
)

Definition at line 65786 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeDropTable ( Btree p,
int  iTable,
int *  piMoved 
)

Definition at line 66321 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeEnter ( Btree p)

Definition at line 57441 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeEnterAll ( sqlite3 db)

Definition at line 57556 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeEnterCursor ( BtCursor pCur)

Definition at line 57657 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeEof ( BtCursor pCur)

Definition at line 62962 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeFirst ( BtCursor pCur,
int *  pRes 
)

Definition at line 62644 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeGetAutoVacuum ( Btree p)

Definition at line 60449 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3BtreeGetFilename ( Btree p)

Definition at line 67111 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3BtreeGetJournalname ( Btree p)

Definition at line 67124 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeGetMeta ( Btree pBtree,
int  idx,
u32 pValue 
)

Definition at line 66350 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeGetOptimalReserve ( Btree p)

Definition at line 60376 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeGetPageSize ( Btree p)

Definition at line 60345 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeGetReserveNoMutex ( Btree p)

Definition at line 60360 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeIncrblobCursor ( BtCursor pCur)

Definition at line 67308 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeIncrVacuum ( Btree p)

Definition at line 61268 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeInsert ( BtCursor pCur,
const void pKey,
i64  nKey,
const void pData,
int  nData,
int  nZero,
int  bias,
int  seekResult 
)

Definition at line 65619 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3BtreeIntegrityCheck ( Btree p,
int *  aRoot,
int  nRoot,
int  mxErr,
int *  pnErr 
)

Definition at line 66992 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeIsInBackup ( Btree p)

Definition at line 67171 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeIsInReadTrans ( Btree p)

Definition at line 67165 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeIsInTrans ( Btree p)

Definition at line 67132 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeIsReadonly ( Btree pBt)

Definition at line 67361 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeKey ( BtCursor pCur,
u32  offset,
u32  amt,
void pBuf 
)

Definition at line 62326 of file sqlite3.c.

SQLITE_PRIVATE const void * sqlite3BtreeKeyFetch ( BtCursor pCur,
u32 pAmt 
)

Definition at line 62416 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeKeySize ( BtCursor pCur,
i64 pSize 
)

Definition at line 61946 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeLast ( BtCursor pCur,
int *  pRes 
)

Definition at line 62667 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3BtreeLastPage ( Btree p)

Definition at line 59627 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeLeave ( Btree p)

Definition at line 57513 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeLeaveAll ( sqlite3 db)

Definition at line 57565 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeLeaveCursor ( BtCursor pCur)

Definition at line 57661 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeLockTable ( Btree pBtree,
int  iTab,
u8  isWriteLock 
)

Definition at line 67230 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeMaxPageCount ( Btree p,
int  mxPage 
)

Definition at line 60393 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeMovetoUnpacked ( BtCursor pCur,
UnpackedRecord pUnKey,
i64  intKey,
int  bias,
int *  pRes 
)

Definition at line 62738 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeNewDb ( Btree p)

Definition at line 60750 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeNext ( BtCursor pCur,
int *  pRes 
)

Definition at line 63058 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeOpen ( sqlite3_vfs pVfs,
const char *  zFilename,
sqlite3 db,
Btree **  ppBtree,
int  flags,
int  vfsFlags 
)

Definition at line 59801 of file sqlite3.c.

SQLITE_PRIVATE Pager * sqlite3BtreePager ( Btree p)

Definition at line 66483 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreePrevious ( BtCursor pCur,
int *  pRes 
)

Definition at line 63160 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreePutData ( BtCursor pCsr,
u32  offset,
u32  amt,
void z 
)

Definition at line 67260 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeRollback ( Btree p,
int  tripCode,
int  writeOnly 
)

Definition at line 61590 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSavepoint ( Btree p,
int  op,
int  iSavepoint 
)

Definition at line 61690 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3BtreeSchema ( Btree p,
int  nBytes,
void(*)(void *)  xFree 
)

Definition at line 67197 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSchemaLocked ( Btree pBtree)

Definition at line 67213 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSecureDelete ( Btree p,
int  newFlag 
)

Definition at line 60406 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSetAutoVacuum ( Btree p,
int  autoVacuum 
)

Definition at line 60425 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSetCacheSize ( Btree p,
int  mxPage 
)

Definition at line 60226 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSetPagerFlags ( Btree p,
unsigned  pgFlags 
)

Definition at line 60279 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSetPageSize ( Btree p,
int  nPagesize,
int  nReserve,
int  eFix 
)

Definition at line 60312 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSetSpillSize ( Btree p,
int  mxPage 
)

Definition at line 60245 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSetVersion ( Btree pBt,
int  iVersion 
)

Definition at line 67319 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSharable ( Btree p)

Definition at line 67374 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeTripAllCursors ( Btree pBtree,
int  errCode,
int  writeOnly 
)

Definition at line 61547 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeUpdateMeta ( Btree p,
int  idx,
u32  value 
)

Definition at line 66380 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3CantopenError ( int  lineno)

Definition at line 138854 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ChangeCookie ( Parse pParse,
int  iDb 
)

Definition at line 98222 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3CheckCollSeq ( Parse pParse,
CollSeq pColl 
)

Definition at line 101305 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3CheckObjectName ( Parse pParse,
const char *  zName 
)

Definition at line 97546 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Checkpoint ( sqlite3 db,
int  iDb,
int  eMode,
int *  pnLog,
int *  pnCkpt 
)

Definition at line 137702 of file sqlite3.c.

static void sqlite3ClearStatTables ( Parse pParse,
int  iDb,
const char *  zType,
const char *  zName 
)
static

Definition at line 99154 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ClearTempRegCache ( Parse pParse)

Definition at line 93186 of file sqlite3.c.

static int sqlite3Close ( sqlite3 db,
int  forceZombie 
)
static

Definition at line 136619 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CloseExtensions ( sqlite3 db)

Definition at line 109286 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CloseSavepoints ( sqlite3 db)

Definition at line 136542 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CodeDropTable ( Parse pParse,
Table pTab,
int  iDb,
int  isView 
)

Definition at line 99177 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3CodeOnce ( Parse pParse)

Definition at line 90539 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CodeRowTrigger ( Parse pParse,
Trigger pTrigger,
int  op,
ExprList pChanges,
int  tr_tm,
Table pTab,
int  reg,
int  orconf,
int  ignoreJump 
)

Definition at line 119701 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CodeRowTriggerDirect ( Parse pParse,
Trigger p,
Table pTab,
int  reg,
int  orconf,
int  ignoreJump 
)

Definition at line 119629 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3CodeSubselect ( Parse pParse,
Expr pExpr,
int  rHasNullFlag,
int  isRowid 
)

Definition at line 90799 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CodeVerifyNamedSchema ( Parse pParse,
const char *  zDb 
)

Definition at line 100805 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CodeVerifySchema ( Parse pParse,
int  iDb 
)

Definition at line 100784 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CollapseDatabaseArray ( sqlite3 db)

Definition at line 97248 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ColumnDefault ( Vdbe v,
Table pTab,
int  i,
int  iReg 
)

Definition at line 119856 of file sqlite3.c.

SQLITE_PRIVATE i16 sqlite3ColumnOfIndex ( Index pIdx,
i16  iCol 
)

Definition at line 97569 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ColumnsFromExprList ( Parse pParse,
ExprList pEList,
i16 pnCol,
Column **  paCol 
)

Definition at line 114410 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3ColumnType ( Column pCol,
char *  zDflt 
)

Definition at line 27095 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CommitInternalChanges ( sqlite3 db)

Definition at line 97318 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CommitTransaction ( Parse pParse)

Definition at line 100694 of file sqlite3.c.

SQLITE_PRIVATE char sqlite3CompareAffinity ( Expr pExpr,
char  aff2 
)

Definition at line 89085 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CompleteInsertion ( Parse pParse,
Table pTab,
int  iDataCur,
int  iIdxCur,
int  regNewData,
int *  aRegIdx,
int  isUpdate,
int  appendBias,
int  useSeekResult 
)

Definition at line 107464 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3CorruptError ( int  lineno)

Definition at line 138846 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3CreateColumnExpr ( sqlite3 db,
SrcList pSrc,
int  iSrc,
int  iCol 
)

Definition at line 87903 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CreateForeignKey ( Parse pParse,
ExprList pFromCol,
Token pTo,
ExprList pToCol,
int  flags 
)

Definition at line 99363 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3CreateFunc ( sqlite3 db,
const char *  zFunctionName,
int  nArg,
int  enc,
void pUserData,
void(*)(sqlite3_context *, int, sqlite3_value **)  xSFunc,
void(*)(sqlite3_context *, int, sqlite3_value **)  xStep,
void(*)(sqlite3_context *)  xFinal,
FuncDestructor pDestructor 
)

Definition at line 137170 of file sqlite3.c.

SQLITE_PRIVATE Index * sqlite3CreateIndex ( Parse pParse,
Token pName1,
Token pName2,
SrcList pTblName,
ExprList pList,
int  onError,
Token pStart,
Expr pPIWhere,
int  sortOrder,
int  ifNotExist 
)

Definition at line 99636 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CreateView ( Parse pParse,
Token pBegin,
Token pName1,
Token pName2,
ExprList pCNames,
Select pSelect,
int  isTemp,
int  noErr 
)

Definition at line 98817 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DbFree ( sqlite3 db,
void p 
)

Definition at line 24076 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3DbMallocRaw ( sqlite3 db,
u64  n 
)

Definition at line 24232 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3DbMallocRawNN ( sqlite3 db,
u64  n 
)

Definition at line 24239 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3DbMallocSize ( sqlite3 db,
void p 
)

Definition at line 24022 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3DbMallocZero ( sqlite3 db,
u64  n 
)

Definition at line 24188 of file sqlite3.c.

SQLITE_PRIVATE Btree * sqlite3DbNameToBtree ( sqlite3 db,
const char *  zDbName 
)

Definition at line 139457 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3DbRealloc ( sqlite3 db,
void p,
u64  n 
)

Definition at line 24281 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3DbReallocOrFree ( sqlite3 db,
void p,
u64  n 
)

Definition at line 24318 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3DbStrDup ( sqlite3 db,
const char *  z 
)

Definition at line 24334 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3DbStrNDup ( sqlite3 db,
const char *  z,
u64  n 
)

Definition at line 24348 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3DecOrHexToI64 ( const char *  z,
i64 pOut 
)

Definition at line 27633 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_mutex_methods const * sqlite3DefaultMutex ( void  )

Definition at line 22894 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DefaultRowEst ( Index pIdx)

Definition at line 100185 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeferForeignKey ( Parse pParse,
int  isDeferred 
)

Definition at line 99484 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeleteColumnNames ( sqlite3 db,
Table pTable 
)

Definition at line 97326 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeleteFrom ( Parse pParse,
SrcList pTabList,
Expr pWhere 
)

Definition at line 101878 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeleteIndexSamples ( sqlite3 db,
Index pIdx 
)

Definition at line 95570 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeleteTable ( sqlite3 db,
Table pTable 
)

Definition at line 97398 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeleteTrigger ( sqlite3 db,
Trigger pTrigger 
)

Definition at line 119158 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeleteTriggerStep ( sqlite3 db,
TriggerStep pTriggerStep 
)

Definition at line 118712 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Dequote ( char *  z)

Definition at line 27221 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Detach ( Parse pParse,
Expr pDbname 
)

Definition at line 96299 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DropIndex ( Parse pParse,
SrcList pName,
int  ifExists 
)

Definition at line 100213 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DropTable ( Parse pParse,
SrcList pName,
int  isView,
int  noErr 
)

Definition at line 99248 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DropTrigger ( Parse pParse,
SrcList pName,
int  noErr 
)

Definition at line 119176 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DropTriggerPtr ( Parse pParse,
Trigger pTrigger 
)

Definition at line 119226 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3EndBenignMalloc ( void  )

Definition at line 19967 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3EndTable ( Parse pParse,
Token pCons,
Token pEnd,
u8  tabOpts,
Select pSelect 
)

Definition at line 98575 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Error ( sqlite3 db,
int  err_code 
)

Definition at line 27115 of file sqlite3.c.

static SQLITE_NOINLINE void sqlite3ErrorFinish ( sqlite3 db,
int  err_code 
)
static

Definition at line 27105 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ErrorMsg ( Parse pParse,
const char *  zFormat,
  ... 
)

Definition at line 27187 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ErrorWithMsg ( sqlite3 db,
int  err_code,
const char *  zFormat,
  ... 
)

Definition at line 27154 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3ErrStr ( int  rc)

Definition at line 136968 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExpirePreparedStatements ( sqlite3 db)

Definition at line 74327 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3Expr ( sqlite3 db,
int  op,
const char *  zToken 
)

Definition at line 89396 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprAddCollateString ( Parse pParse,
Expr pExpr,
const char *  zC 
)

Definition at line 88986 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprAddCollateToken ( Parse pParse,
Expr pExpr,
const Token pCollName,
int  dequote 
)

Definition at line 88970 of file sqlite3.c.

SQLITE_PRIVATE char sqlite3ExprAffinity ( Expr pExpr)

Definition at line 88934 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprAlloc ( sqlite3 db,
int  op,
const Token pToken,
int  dequote 
)

Definition at line 89347 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprAnalyzeAggList ( NameContext pNC,
ExprList pList 
)

Definition at line 93116 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprAnalyzeAggregates ( NameContext pNC,
Expr pExpr 
)

Definition at line 93100 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprAnd ( sqlite3 db,
Expr pLeft,
Expr pRight 
)

Definition at line 89515 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprAssignVarNumber ( Parse pParse,
Expr pExpr 
)

Definition at line 89566 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprAttachSubtrees ( sqlite3 db,
Expr pRoot,
Expr pLeft,
Expr pRight 
)

Definition at line 89413 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCacheAffinityChange ( Parse pParse,
int  iStart,
int  iCount 
)

Definition at line 91525 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCacheClear ( Parse pParse)

Definition at line 91505 of file sqlite3.c.

static void sqlite3ExprCachePinRegister ( Parse pParse,
int  iReg 
)
static

Definition at line 91393 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCachePop ( Parse pParse)

Definition at line 91370 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCachePush ( Parse pParse)

Definition at line 91356 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCacheRemove ( Parse pParse,
int  iReg,
int  nReg 
)

Definition at line 91340 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCacheStore ( Parse pParse,
int  iTab,
int  iCol,
int  iReg 
)

Definition at line 91272 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCanBeNull ( const Expr p)

Definition at line 90421 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCheckHeight ( Parse pParse,
int  nHeight 
)

Definition at line 89219 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCode ( Parse pParse,
Expr pExpr,
int  target 
)

Definition at line 92262 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeAndCache ( Parse pParse,
Expr pExpr,
int  target 
)

Definition at line 92315 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeAtInit ( Parse pParse,
Expr pExpr,
int  regDest,
u8  reusable 
)

Definition at line 92192 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeCopy ( Parse pParse,
Expr pExpr,
int  target 
)

Definition at line 92282 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCodeExprList ( Parse pParse,
ExprList pList,
int  target,
int  srcReg,
u8  flags 
)

Definition at line 92343 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeFactorable ( Parse pParse,
Expr pExpr,
int  target 
)

Definition at line 92295 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCodeGetColumn ( Parse pParse,
Table pTab,
int  iColumn,
int  iTable,
int  iReg,
u8  p5 
)

Definition at line 91462 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeGetColumnOfTable ( Vdbe v,
Table pTab,
int  iTabCur,
int  iCol,
int  regOut 
)

Definition at line 91428 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeGetColumnToReg ( Parse pParse,
Table pTab,
int  iColumn,
int  iTable,
int  iReg 
)

Definition at line 91490 of file sqlite3.c.

static void sqlite3ExprCodeIN ( Parse pParse,
Expr pExpr,
int  destIfFalse,
int  destIfNull 
)
static

Definition at line 91029 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeLoadIndexColumn ( Parse pParse,
Index pIdx,
int  iTabCur,
int  iIdxCol,
int  regOut 
)

Definition at line 91406 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeMove ( Parse pParse,
int  iFrom,
int  iTo,
int  nReg 
)

Definition at line 91533 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCodeTarget ( Parse pParse,
Expr pExpr,
int  target 
)

Definition at line 91580 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCodeTemp ( Parse pParse,
Expr pExpr,
int *  pReg 
)

Definition at line 92224 of file sqlite3.c.

SQLITE_PRIVATE CollSeq * sqlite3ExprCollSeq ( Parse pParse,
Expr pExpr 
)

Definition at line 89021 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCompare ( Expr pA,
Expr pB,
int  iTab 
)

Definition at line 92754 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprDelete ( sqlite3 db,
Expr p 
)

Definition at line 89660 of file sqlite3.c.

static SQLITE_NOINLINE void sqlite3ExprDeleteNN ( sqlite3 db,
Expr p 
)
static

Definition at line 89640 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprDup ( sqlite3 db,
Expr p,
int  flags 
)

Definition at line 89907 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprFunction ( Parse pParse,
ExprList pList,
Token pToken 
)

Definition at line 89535 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprIfFalse ( Parse pParse,
Expr pExpr,
int  dest,
int  jumpIfNull 
)

Definition at line 92574 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprIfFalseDup ( Parse pParse,
Expr pExpr,
int  dest,
int  jumpIfNull 
)

Definition at line 92722 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprIfTrue ( Parse pParse,
Expr pExpr,
int  dest,
int  jumpIfNull 
)

Definition at line 92453 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprImpliesExpr ( Expr pE1,
Expr pE2,
int  iTab 
)

Definition at line 92846 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprIsConstant ( Expr p)

Definition at line 90316 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprIsConstantNotJoin ( Expr p)

Definition at line 90326 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprIsConstantOrFunction ( Expr p,
u8  isInit 
)

Definition at line 90349 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprIsInteger ( Expr p,
int *  pValue 
)

Definition at line 90376 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprIsTableConstant ( Expr p,
int  iCur 
)

Definition at line 90336 of file sqlite3.c.

SQLITE_PRIVATE ExprList * sqlite3ExprListAppend ( Parse pParse,
ExprList pList,
Expr pExpr 
)

Definition at line 90057 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprListCheckLength ( Parse pParse,
ExprList pEList,
const char *  zObject 
)

Definition at line 90164 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprListCompare ( ExprList pA,
ExprList pB,
int  iTab 
)

Definition at line 92812 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprListDelete ( sqlite3 db,
ExprList pList 
)

Definition at line 90192 of file sqlite3.c.

SQLITE_PRIVATE ExprList * sqlite3ExprListDup ( sqlite3 db,
ExprList p,
int  flags 
)

Definition at line 89911 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3ExprListFlags ( const ExprList pList)

Definition at line 90200 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprListSetName ( Parse pParse,
ExprList pList,
Token pName,
int  dequote 
)

Definition at line 90118 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprListSetSortOrder ( ExprList p,
int  iSortOrder 
)

Definition at line 90099 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprListSetSpan ( Parse pParse,
ExprList pList,
ExprSpan pSpan 
)

Definition at line 90143 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprNeedsNoAffinityChange ( const Expr p,
char  aff 
)

Definition at line 90451 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprSetHeightAndFlags ( Parse pParse,
Expr p 
)

Definition at line 89299 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprSkipCollate ( Expr pExpr)

Definition at line 88997 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprWalkNoop ( Walker NotUsed,
Expr NotUsed2 
)

Definition at line 117305 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FaultSim ( int  iTest)

Definition at line 27022 of file sqlite3.c.

SQLITE_PRIVATE CollSeq * sqlite3FindCollSeq ( sqlite3 db,
u8  enc,
const char *  zName,
int  create 
)

Definition at line 101386 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FindDb ( sqlite3 db,
Token pName 
)

Definition at line 97485 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FindDbName ( sqlite3 db,
const char *  zName 
)

Definition at line 97468 of file sqlite3.c.

SQLITE_PRIVATE FuncDef * sqlite3FindFunction ( sqlite3 db,
const char *  zName,
int  nArg,
u8  enc,
u8  createFlag 
)

Definition at line 101528 of file sqlite3.c.

SQLITE_PRIVATE Index * sqlite3FindIndex ( sqlite3 db,
const char *  zName,
const char *  zDb 
)

Definition at line 97175 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FindInIndex ( Parse pParse,
Expr pX,
u32  inFlags,
int *  prRhsHasNull 
)

Definition at line 90649 of file sqlite3.c.

SQLITE_PRIVATE Table * sqlite3FindTable ( sqlite3 db,
const char *  zName,
const char *  zDatabase 
)

Definition at line 97066 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FinishCoding ( Parse pParse)

Definition at line 96890 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FinishTrigger ( Parse pParse,
TriggerStep pStepList,
Token pAll 
)

Definition at line 118962 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FixExpr ( DbFixer pFix,
Expr pExpr 
)

Definition at line 96433 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FixExprList ( DbFixer pFix,
ExprList pList 
)

Definition at line 96459 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FixInit ( DbFixer pFix,
Parse pParse,
int  iDb,
const char *  zType,
const Token pName 
)

Definition at line 96337 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FixSelect ( DbFixer pFix,
Select pSelect 
)

Definition at line 96400 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FixSrcList ( DbFixer pFix,
SrcList pList 
)

Definition at line 96370 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FixTriggerStep ( DbFixer pFix,
TriggerStep pStep 
)

Definition at line 96476 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FkActions ( Parse pParse,
Table pTab,
ExprList pChanges,
int  regOld,
int *  aChange,
int  bChngRowid 
)

Definition at line 105736 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FkCheck ( Parse pParse,
Table pTab,
int  regOld,
int  regNew,
int *  aChange,
int  bChngRowid 
)

Definition at line 105250 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FkDelete ( sqlite3 db,
Table pTab 
)

Definition at line 105768 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FkDropTable ( Parse pParse,
SrcList pName,
Table pTab 
)

Definition at line 105100 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FkLocateIndex ( Parse pParse,
Table pParent,
FKey pFKey,
Index **  ppIdx,
int **  paiCol 
)

Definition at line 104580 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3FkOldmask ( Parse pParse,
Table pTab 
)

Definition at line 105450 of file sqlite3.c.

SQLITE_PRIVATE FKey * sqlite3FkReferences ( Table pTab)

Definition at line 105060 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FkRequired ( Parse pParse,
Table pTab,
int *  aChange,
int  chngRowid 
)

Definition at line 105490 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FunctionUsesThisSrc ( Expr pExpr,
SrcList pSrcList 
)

Definition at line 92909 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3GenerateConstraintChecks ( Parse pParse,
Table pTab,
int *  aRegIdx,
int  iDataCur,
int  iIdxCur,
int  regNewData,
int  regOldData,
u8  pkChng,
u8  overrideError,
int  ignoreDest,
int *  pbMayReplace,
int *  aiChng 
)

Definition at line 107023 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3GenerateIndexKey ( Parse pParse,
Index pIdx,
int  iDataCur,
int  regOut,
int  prefixOnly,
int *  piPartIdxLabel,
Index pPrior,
int  regPrior 
)

Definition at line 102504 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3GenerateRowDelete ( Parse pParse,
Table pTab,
Trigger pTrigger,
int  iDataCur,
int  iIdxCur,
int  iPk,
i16  nPk,
u8  count,
u8  onconf,
u8  eMode,
int  iIdxNoSeek 
)

Definition at line 102296 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3GenerateRowIndexDelete ( Parse pParse,
Table pTab,
int  iDataCur,
int  iIdxCur,
int *  aRegIdx,
int  iIdxNoSeek 
)

Definition at line 102440 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3Get4byte ( const u8 p)

Definition at line 28114 of file sqlite3.c.

SQLITE_PRIVATE u8 sqlite3GetBoolean ( const char *  z,
u8  dflt 
)

Definition at line 110019 of file sqlite3.c.

SQLITE_PRIVATE CollSeq * sqlite3GetCollSeq ( Parse pParse,
u8  enc,
CollSeq pColl,
const char *  zName 
)

Definition at line 101264 of file sqlite3.c.

static CollSeq* sqlite3GetFuncCollSeq ( sqlite3_context context)
static

Definition at line 102594 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3GetInt32 ( const char *  zNum,
int *  pValue 
)

Definition at line 27663 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3GetTempRange ( Parse pParse,
int  nReg 
)

Definition at line 93161 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3GetTempReg ( Parse pParse)

Definition at line 93129 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3GetToken ( const unsigned char *  z,
int *  tokenType 
)

Definition at line 134800 of file sqlite3.c.

SQLITE_PRIVATE u8 sqlite3GetVarint ( const unsigned char *  p,
u64 v 
)

Definition at line 27810 of file sqlite3.c.

SQLITE_PRIVATE u8 sqlite3GetVarint32 ( const unsigned char *  p,
u32 v 
)

Definition at line 27981 of file sqlite3.c.

SQLITE_PRIVATE Vdbe * sqlite3GetVdbe ( Parse pParse)

Definition at line 114606 of file sqlite3.c.

SQLITE_PRIVATE VTable * sqlite3GetVTable ( sqlite3 db,
Table pTab 
)

Definition at line 121131 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3HaltConstraint ( Parse pParse,
int  errCode,
int  onError,
char *  p4,
i8  p4type,
u8  p5Errmsg 
)

Definition at line 100874 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3HashClear ( Hash pH)

Definition at line 28484 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3HashFind ( const Hash pH,
const char *  pKey 
)

Definition at line 28660 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3HashInit ( Hash pNew)

Definition at line 28472 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3HashInsert ( Hash pH,
const char *  pKey,
void pData 
)

Definition at line 28684 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3HeaderSizeBtree ( void  )

Definition at line 67368 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3HeaderSizePcache ( void  )

Definition at line 43895 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3HeaderSizePcache1 ( void  )

Definition at line 45094 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3HeapNearlyFull ( void  )

Definition at line 23783 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3HexToBlob ( sqlite3 db,
const char *  z,
int  n 
)

Definition at line 28178 of file sqlite3.c.

SQLITE_PRIVATE u8 sqlite3HexToInt ( int  h)

Definition at line 28160 of file sqlite3.c.

SQLITE_PRIVATE IdList * sqlite3IdListAppend ( sqlite3 db,
IdList pList,
Token pToken 
)

Definition at line 100325 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3IdListDelete ( sqlite3 db,
IdList pList 
)

Definition at line 100349 of file sqlite3.c.

SQLITE_PRIVATE IdList * sqlite3IdListDup ( sqlite3 db,
IdList p 
)

Definition at line 89989 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IdListIndex ( IdList pList,
const char *  zName 
)

Definition at line 100363 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IndexAffinityOk ( Expr pExpr,
char  idx_affinity 
)

Definition at line 89135 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3IndexAffinityStr ( sqlite3 db,
Index pIdx 
)

Definition at line 105879 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IndexedByLookup ( Parse pParse,
struct SrcList_item *  pFrom 
)

Definition at line 116705 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Init ( sqlite3 db,
char **  pzErrMsg 
)

Definition at line 112298 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3InitCallback ( void pInit,
int  argc,
char **  argv,
char **  NotUsed 
)

Definition at line 111996 of file sqlite3.c.

static int sqlite3InitOne ( sqlite3 db,
int  iDb,
char **  pzErrMsg 
)
static

Definition at line 112078 of file sqlite3.c.

static int sqlite3InRhsIsConstant ( Expr pIn)
static

Definition at line 90566 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Insert ( Parse pParse,
SrcList pTabList,
Select pSelect,
IdList pColumn,
int  onError 
)

Definition at line 106281 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3InsertBuiltinFuncs ( FuncDef aDef,
int  nDef 
)

Definition at line 101484 of file sqlite3.c.

static int sqlite3IntFloatCompare ( i64  i,
double  r 
)
static

Definition at line 73619 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3InvalidFunction ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)

Definition at line 75225 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3InvokeBusyHandler ( BusyHandler p)

Definition at line 137067 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IsIdChar ( u8  c)

Definition at line 134792 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IsLikeFunction ( sqlite3 db,
Expr pExpr,
int *  pIsNocase,
char *  aWc 
)

Definition at line 104244 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IsNaN ( double  x)

Definition at line 27035 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IsReadOnly ( Parse pParse,
Table pTab,
int  viewOk 
)

Definition at line 101722 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IsRowid ( const char *  z)

Definition at line 90484 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3JoinType ( Parse pParse,
Token pA,
Token pB,
Token pC 
)

Definition at line 113004 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3JournalIsInMemory ( sqlite3_file p)

Definition at line 87224 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3JournalModename ( int  eMode)

Definition at line 110211 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3JournalOpen ( sqlite3_vfs pVfs,
const char *  zName,
sqlite3_file pJfd,
int  flags,
int  nSpill 
)

Definition at line 87163 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3JournalSize ( sqlite3_vfs pVfs)

Definition at line 87232 of file sqlite3.c.

SQLITE_PRIVATE KeyInfo * sqlite3KeyInfoAlloc ( sqlite3 db,
int  N,
int  X 
)

Definition at line 113811 of file sqlite3.c.

SQLITE_PRIVATE KeyInfo * sqlite3KeyInfoOfIndex ( Parse pParse,
Index pIdx 
)

Definition at line 101085 of file sqlite3.c.

SQLITE_PRIVATE KeyInfo * sqlite3KeyInfoRef ( KeyInfo p)

Definition at line 113842 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3KeyInfoUnref ( KeyInfo p)

Definition at line 113831 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3KeywordCode ( const unsigned char *  z,
int  n 
)

Definition at line 134741 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3LeaveMutexAndCloseZombie ( sqlite3 db)

Definition at line 136687 of file sqlite3.c.

static int sqlite3LoadExtension ( sqlite3 db,
const char *  zFile,
const char *  zProc,
char **  pzErrMsg 
)
static

Definition at line 109128 of file sqlite3.c.

SQLITE_PRIVATE CollSeq * sqlite3LocateCollSeq ( Parse pParse,
const char *  zName 
)

Definition at line 98191 of file sqlite3.c.

SQLITE_PRIVATE Table * sqlite3LocateTable ( Parse pParse,
int  isView,
const char *  zName,
const char *  zDbase 
)

Definition at line 97099 of file sqlite3.c.

SQLITE_PRIVATE Table * sqlite3LocateTableItem ( Parse pParse,
int  isView,
struct SrcList_item *  p 
)

Definition at line 97147 of file sqlite3.c.

static int sqlite3LockAndPrepare ( sqlite3 db,
const char *  zSql,
int  nBytes,
int  saveSqlFlag,
Vdbe pOld,
sqlite3_stmt **  ppStmt,
const char **  pzTail 
)
static

Definition at line 112612 of file sqlite3.c.

SQLITE_PRIVATE LogEst sqlite3LogEst ( u64  x)

Definition at line 28391 of file sqlite3.c.

SQLITE_PRIVATE LogEst sqlite3LogEstAdd ( LogEst  a,
LogEst  b 
)

Definition at line 28364 of file sqlite3.c.

SQLITE_PRIVATE LogEst sqlite3LogEstFromDouble ( double  x)

Definition at line 28409 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3Malloc ( u64  n)

Definition at line 23866 of file sqlite3.c.

static void sqlite3MallocAlarm ( int  nByte)
static

Definition at line 23820 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MallocEnd ( void  )

Definition at line 23790 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MallocInit ( void  )

Definition at line 23739 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_mutex * sqlite3MallocMutex ( void  )

Definition at line 23683 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MallocSize ( void p)

Definition at line 24018 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3MallocZero ( u64  n)

Definition at line 24176 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MatchSpanName ( const char *  zSpan,
const char *  zCol,
const char *  zTab,
const char *  zDb 
)

Definition at line 87530 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MaterializeView ( Parse pParse,
Table pView,
Expr pWhere,
int  iCur 
)

Definition at line 101759 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MayAbort ( Parse pParse)

Definition at line 100864 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MemCompare ( const Mem pMem1,
const Mem pMem2,
const CollSeq pColl 
)

Definition at line 73652 of file sqlite3.c.

static void sqlite3MemFree ( void pPrior)
static

Definition at line 20197 of file sqlite3.c.

static int sqlite3MemInit ( void NotUsed)
static

Definition at line 20274 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MemJournalOpen ( sqlite3_file pJfd)

Definition at line 87199 of file sqlite3.c.

static void* sqlite3MemMalloc ( int  nByte)
static

Definition at line 20165 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MemoryBarrier ( void  )

Definition at line 22618 of file sqlite3.c.

static void* sqlite3MemRealloc ( void pPrior,
int  nByte 
)
static

Definition at line 20235 of file sqlite3.c.

static int sqlite3MemRoundup ( int  n)
static

Definition at line 20267 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MemSetDefault ( void  )

Definition at line 20321 of file sqlite3.c.

static void sqlite3MemShutdown ( void NotUsed)
static

Definition at line 20310 of file sqlite3.c.

static int sqlite3MemSize ( void pPrior)
static

Definition at line 20212 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MisuseError ( int  lineno)

Definition at line 138850 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3MPrintf ( sqlite3 db,
const char *  zFormat,
  ... 
)

Definition at line 25379 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MulInt64 ( i64 pA,
i64  iB 
)

Definition at line 28286 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MultiWrite ( Parse pParse)

Definition at line 100843 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_mutex * sqlite3MutexAlloc ( int  id)

Definition at line 22236 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MutexEnd ( void  )

Definition at line 22211 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MutexInit ( void  )

Definition at line 22170 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3NameFromToken ( sqlite3 db,
Token pName 
)

Definition at line 97438 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3NestedParse ( Parse pParse,
const char *  zFormat,
  ... 
)

Definition at line 97018 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_mutex_methods const * sqlite3NoopMutex ( void  )

Definition at line 22362 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OomClear ( sqlite3 db)

Definition at line 24394 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OomFault ( sqlite3 db)

Definition at line 24377 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3OpcodeName ( int  i)

Definition at line 28730 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OpenMasterTable ( Parse p,
int  iDb 
)

Definition at line 97453 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OpenTable ( Parse pParse,
int  iCur,
int  iDb,
Table pTab,
int  opcode 
)

Definition at line 105833 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OpenTableAndIndices ( Parse pParse,
Table pTab,
int  op,
u8  p5,
int  iBase,
u8 aToOpen,
int *  piDataCur,
int *  piIdxCur 
)

Definition at line 107548 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OpenTempDatabase ( Parse pParse)

Definition at line 100749 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsAccess ( sqlite3_vfs pVfs,
const char *  zPath,
int  flags,
int *  pResOut 
)

Definition at line 19691 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsCheckReservedLock ( sqlite3_file id,
int *  pResOut 
)

Definition at line 19583 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OsClose ( sqlite3_file pId)

Definition at line 19551 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OsCloseFree ( sqlite3_file pFile)

Definition at line 19773 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsCurrentTimeInt64 ( sqlite3_vfs pVfs,
sqlite3_int64 pTimeOut 
)

Definition at line 19733 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsDelete ( sqlite3_vfs pVfs,
const char *  zPath,
int  dirSync 
)

Definition at line 19686 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsDeviceCharacteristics ( sqlite3_file id)

Definition at line 19622 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OsDlClose ( sqlite3_vfs pVfs,
void pHandle 
)

Definition at line 19720 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OsDlError ( sqlite3_vfs pVfs,
int  nByte,
char *  zBufOut 
)

Definition at line 19714 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3OsDlOpen ( sqlite3_vfs pVfs,
const char *  zPath 
)

Definition at line 19711 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsFetch ( sqlite3_file id,
i64  iOff,
int  iAmt,
void **  pp 
)

Definition at line 19656 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsFileControl ( sqlite3_file id,
int  op,
void pArg 
)

Definition at line 19596 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OsFileControlHint ( sqlite3_file id,
int  op,
void pArg 
)

Definition at line 19614 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsFileSize ( sqlite3_file id,
i64 pSize 
)

Definition at line 19572 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsFullPathname ( sqlite3_vfs pVfs,
const char *  zPath,
int  nPathOut,
char *  zPathOut 
)

Definition at line 19700 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsGetLastError ( sqlite3_vfs pVfs)

Definition at line 19730 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsInit ( void  )

Definition at line 19785 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsLock ( sqlite3_file id,
int  lockType 
)

Definition at line 19576 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsOpen ( sqlite3_vfs pVfs,
const char *  zPath,
sqlite3_file pFile,
int  flags,
int *  pFlagsOut 
)

Definition at line 19669 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsOpenMalloc ( sqlite3_vfs pVfs,
const char *  zFile,
sqlite3_file **  ppFile,
int  flags,
int *  pOutFlags 
)

Definition at line 19751 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsRandomness ( sqlite3_vfs pVfs,
int  nByte,
char *  zBufOut 
)

Definition at line 19724 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsRead ( sqlite3_file id,
void pBuf,
int  amt,
i64  offset 
)

Definition at line 19557 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsSectorSize ( sqlite3_file id)

Definition at line 19618 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OsShmBarrier ( sqlite3_file id)

Definition at line 19628 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsShmLock ( sqlite3_file id,
int  offset,
int  n,
int  flags 
)

Definition at line 19625 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsShmMap ( sqlite3_file id,
int  iPage,
int  pgsz,
int  bExtend,
void volatile **  pp 
)

Definition at line 19634 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsShmUnmap ( sqlite3_file id,
int  deleteFlag 
)

Definition at line 19631 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsSleep ( sqlite3_vfs pVfs,
int  nMicro 
)

Definition at line 19727 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsSync ( sqlite3_file id,
int  flags 
)

Definition at line 19568 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsTruncate ( sqlite3_file id,
i64  size 
)

Definition at line 19565 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsUnfetch ( sqlite3_file id,
i64  iOff,
void p 
)

Definition at line 19660 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsUnlock ( sqlite3_file id,
int  lockType 
)

Definition at line 19580 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsWrite ( sqlite3_file id,
const void pBuf,
int  amt,
i64  offset 
)

Definition at line 19561 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PageFree ( void p)

Definition at line 44405 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3PageMalloc ( int  sz)

Definition at line 44398 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_backup ** sqlite3PagerBackupPtr ( Pager pPager)

Definition at line 52972 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerBegin ( Pager pPager,
int  exFlag,
int  subjInMemory 
)

Definition at line 51455 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerCacheStat ( Pager pPager,
int  eStat,
int  reset,
int *  pnVal 
)

Definition at line 52353 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerCheckpoint ( Pager pPager,
int  eMode,
int *  pnLog,
int *  pnCkpt 
)

Definition at line 52994 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerClearCache ( Pager pPager)

Definition at line 52980 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerClose ( Pager pPager)

Definition at line 49840 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerCloseWal ( Pager pPager)

Definition at line 53129 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerCommitPhaseOne ( Pager pPager,
const char *  zMaster,
int  noSync 
)

Definition at line 52001 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerCommitPhaseTwo ( Pager pPager)

Definition at line 52178 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3PagerDataVersion ( Pager pPager)

Definition at line 47519 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerDontWrite ( DbPage pPg)

Definition at line 51816 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerExclusiveLock ( Pager pPager)

Definition at line 51959 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_file * sqlite3PagerFile ( Pager pPager)

Definition at line 52547 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3PagerFilename ( Pager pPager,
int  nullIfMemDb 
)

Definition at line 52531 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerFlush ( Pager pPager)

Definition at line 50338 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerGet ( Pager pPager,
Pgno  pgno,
DbPage **  ppPage,
int  clrFlag 
)

Definition at line 51127 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3PagerGetData ( DbPage pPg)

Definition at line 52782 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3PagerGetExtra ( DbPage pPg)

Definition at line 52791 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerGetJournalMode ( Pager pPager)

Definition at line 52936 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerIsMemdb ( Pager pPager)

Definition at line 52373 of file sqlite3.c.

SQLITE_PRIVATE u8 sqlite3PagerIsreadonly ( Pager pPager)

Definition at line 52293 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3PagerJournalname ( Pager pPager)

Definition at line 52566 of file sqlite3.c.

SQLITE_PRIVATE i64 sqlite3PagerJournalSizeLimit ( Pager pPager,
i64  iLimit 
)

Definition at line 52958 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_file * sqlite3PagerJrnlFile ( Pager pPager)

Definition at line 52555 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerLockingMode ( Pager pPager,
int  eMode 
)

Definition at line 52805 of file sqlite3.c.

SQLITE_PRIVATE DbPage * sqlite3PagerLookup ( Pager pPager,
Pgno  pgno 
)

Definition at line 51310 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerMaxPageCount ( Pager pPager,
int  mxPage 
)

Definition at line 49549 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerMemUsed ( Pager pPager)

Definition at line 52310 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerMovepage ( Pager pPager,
DbPage pPg,
Pgno  pgno,
int  isCommit 
)

Definition at line 52639 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerOkToChangeJournalMode ( Pager pPager)

Definition at line 52945 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerOpen ( sqlite3_vfs pVfs,
Pager **  ppPager,
const char *  zFilename,
int  nExtra,
int  flags,
int  vfsFlags,
void(*)(DbPage *)  xReinit 
)

Definition at line 50385 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerOpenSavepoint ( Pager pPager,
int  n 
)

Definition at line 52432 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerOpenWal ( Pager pPager,
int *  pisOpen 
)

Definition at line 53090 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerPagecount ( Pager pPager,
int *  pnPage 
)

Definition at line 49624 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerPageRefcount ( DbPage pPage)

Definition at line 52321 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerReadFileheader ( Pager pPager,
int  N,
unsigned char *  pDest 
)

Definition at line 49596 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerRef ( DbPage pPg)

Definition at line 49905 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerRekey ( DbPage pPg,
Pgno  iNew,
u16  flags 
)

Definition at line 52773 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerRollback ( Pager pPager)

Definition at line 52244 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerSavepoint ( Pager pPager,
int  op,
int  iSavepoint 
)

Definition at line 52474 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerSetBusyhandler ( Pager pPager,
int(*)(void *)  xBusyHandler,
void pBusyHandlerArg 
)

Definition at line 49429 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerSetCachesize ( Pager pPager,
int  mxPage 
)

Definition at line 49233 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerSetFlags ( Pager pPager,
unsigned  pgFlags 
)

Definition at line 49327 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerSetJournalMode ( Pager pPager,
int  eMode 
)

Definition at line 52838 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerSetMmapLimit ( Pager pPager,
sqlite3_int64  szMmap 
)

Definition at line 49263 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerSetPagesize ( Pager pPager,
u32 pPageSize,
int  nReserve 
)

Definition at line 49475 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerSetSpillsize ( Pager pPager,
int  mxPage 
)

Definition at line 49241 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerSharedLock ( Pager pPager)

Definition at line 50849 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerShrink ( Pager pPager)

Definition at line 49271 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerSync ( Pager pPager,
const char *  zMaster 
)

Definition at line 51933 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3PagerTempSpace ( Pager pPager)

Definition at line 49538 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerTruncateImage ( Pager pPager,
Pgno  nPage 
)

Definition at line 49709 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerUnref ( DbPage pPg)

Definition at line 51340 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerUnrefNotNull ( DbPage pPg)

Definition at line 51329 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_vfs * sqlite3PagerVfs ( Pager pPager)

Definition at line 52538 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerWalCallback ( Pager pPager)

Definition at line 53007 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerWalSupported ( Pager pPager)

Definition at line 53015 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerWrite ( DbPage pPg)

Definition at line 51767 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Parser ( void ,
int  ,
Token  ,
Parse  
)
SQLITE_PRIVATE void sqlite3Parser ( void yyp,
int  yymajor,
sqlite3ParserTOKENTYPE yyminor  sqlite3ParserARG_PDECL 
)

Definition at line 134143 of file sqlite3.c.

SQLITE_PRIVATE void* sqlite3ParserAlloc ( void *)(u64)
SQLITE_PRIVATE void* sqlite3ParserAlloc ( void *(*)(YYMALLOCARGTYPE mallocProc)

Definition at line 132118 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ParserFree ( void p,
void(*)(void *)  freeProc 
)

Definition at line 132265 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ParserReset ( Parse pParse)

Definition at line 112439 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ParseUri ( const char *  zDefaultVfs,
const char *  zUri,
unsigned int *  pFlags,
sqlite3_vfs **  ppVfs,
char **  pzFile,
char **  pzErrMsg 
)

Definition at line 138083 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_mutex * sqlite3Pcache1Mutex ( void  )

Definition at line 45100 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PCacheBufferSetup ( void pBuf,
int  sz,
int  n 
)

Definition at line 44168 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheCleanAll ( PCache pCache)

Definition at line 43637 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheClear ( PCache pCache)

Definition at line 43735 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheClearSyncFlags ( PCache pCache)

Definition at line 43660 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheClearWritable ( PCache pCache)

Definition at line 43648 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheClose ( PCache pCache)

Definition at line 43726 of file sqlite3.c.

SQLITE_PRIVATE PgHdr * sqlite3PcacheDirtyList ( PCache pCache)

Definition at line 43812 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheDrop ( PgHdr p)

Definition at line 43586 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_pcache_page * sqlite3PcacheFetch ( PCache pCache,
Pgno  pgno,
int  createFlag 
)

Definition at line 43408 of file sqlite3.c.

SQLITE_PRIVATE PgHdr * sqlite3PcacheFetchFinish ( PCache pCache,
Pgno  pgno,
sqlite3_pcache_page pPage 
)

Definition at line 43532 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcacheFetchStress ( PCache pCache,
Pgno  pgno,
sqlite3_pcache_page **  ppPage 
)

Definition at line 43450 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcacheInitialize ( void  )

Definition at line 43312 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheMakeClean ( PgHdr p)

Definition at line 43619 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheMakeDirty ( PgHdr p)

Definition at line 43600 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheMove ( PgHdr p,
Pgno  newPgno 
)

Definition at line 43671 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcacheOpen ( int  szPage,
int  szExtra,
int  bPurgeable,
int(*)(void *, PgHdr *)  xStress,
void pStress,
PCache pToInit 
)

Definition at line 43339 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcachePagecount ( PCache pCache)

Definition at line 43840 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcachePageRefcount ( PgHdr p)

Definition at line 43833 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PCachePercentDirty ( PCache pCache)

Definition at line 43901 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheRef ( PgHdr p)

Definition at line 43574 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcacheRefCount ( PCache pCache)

Definition at line 43826 of file sqlite3.c.

SQLITE_PRIVATE void SQLITE_NOINLINE sqlite3PcacheRelease ( PgHdr p)

Definition at line 43555 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheSetCachesize ( PCache pCache,
int  mxPage 
)

Definition at line 43857 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PCacheSetDefault ( void  )

Definition at line 45072 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcacheSetPageSize ( PCache pCache,
int  szPage 
)

Definition at line 43364 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcacheSetSpillsize ( PCache p,
int  mxPage 
)

Definition at line 43869 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheShrink ( PCache pCache)

Definition at line 43886 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheShutdown ( void  )

Definition at line 43321 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcacheSize ( void  )

Definition at line 43331 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheTruncate ( PCache pCache,
Pgno  x 
)

Definition at line 43693 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3PExpr ( Parse pParse,
int  op,
Expr pLeft,
Expr pRight,
const Token pToken 
)

Definition at line 89443 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PExprAddSelect ( Parse pParse,
Expr pExpr,
Select pSelect 
)

Definition at line 89468 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Pragma ( Parse pParse,
Token pId1,
Token pId2,
Token pValue,
int  minusFlag 
)

Definition at line 110245 of file sqlite3.c.

static int sqlite3Prepare ( sqlite3 db,
const char *  zSql,
int  nBytes,
int  saveSqlFlag,
Vdbe pReprepare,
sqlite3_stmt **  ppStmt,
const char **  pzTail 
)
static

Definition at line 112455 of file sqlite3.c.

static int sqlite3Prepare16 ( sqlite3 db,
const void zSql,
int  nBytes,
int  saveSqlFlag,
sqlite3_stmt **  ppStmt,
const void **  pzTail 
)
static

Definition at line 112718 of file sqlite3.c.

SQLITE_PRIVATE Index * sqlite3PrimaryKeyIndex ( Table pTab)

Definition at line 97559 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PrngRestoreState ( void  )

Definition at line 26156 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PrngSaveState ( void  )

Definition at line 26149 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Put4byte ( u8 ,
u32   
)
SQLITE_PRIVATE void sqlite3Put4byte ( unsigned char *  p,
u32  v 
)

Definition at line 28134 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PutVarint ( unsigned char *  p,
u64  v 
)

Definition at line 27780 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ReadSchema ( Parse pParse)

Definition at line 112342 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3Realloc ( void pOld,
u64  nBytes 
)

Definition at line 24106 of file sqlite3.c.

static void sqlite3RefillIndex ( Parse pParse,
Index pIndex,
int  memRootPage 
)
static

Definition at line 99505 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RegisterBuiltinFunctions ( void  )

Definition at line 104277 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RegisterDateTimeFunctions ( void  )

Definition at line 19446 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RegisterLikeFunctions ( sqlite3 db,
int  caseSensitive 
)

Definition at line 104216 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RegisterPerConnectionBuiltinFunctions ( sqlite3 db)

Definition at line 104192 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Reindex ( Parse pParse,
Token pName1,
Token pName2 
)

Definition at line 101021 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ReleaseTempRange ( Parse pParse,
int  iReg,
int  nReg 
)

Definition at line 93175 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ReleaseTempReg ( Parse pParse,
int  iReg 
)

Definition at line 93144 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Reprepare ( Vdbe p)

Definition at line 112651 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ResetAllSchemasOfConnection ( sqlite3 db)

Definition at line 97300 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ResetOneSchema ( sqlite3 db,
int  iDb 
)

Definition at line 97274 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ResolveExprListNames ( NameContext pNC,
ExprList pList 
)

Definition at line 88824 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ResolveExprNames ( NameContext pNC,
Expr pExpr 
)

Definition at line 88779 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ResolveOrderGroupBy ( Parse pParse,
Select pSelect,
ExprList pOrderBy,
const char *  zType 
)

Definition at line 88402 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ResolvePartIdxLabel ( Parse pParse,
int  iLabel 
)

Definition at line 102562 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ResolveSelectNames ( Parse pParse,
Select p,
NameContext pOuterNC 
)

Definition at line 88849 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ResolveSelfReference ( Parse pParse,
Table pTab,
int  type,
Expr pExpr,
ExprList pList 
)

Definition at line 88876 of file sqlite3.c.

SQLITE_PRIVATE Table * sqlite3ResultSetOfSelect ( Parse pParse,
Select pSelect 
)

Definition at line 114560 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RollbackAll ( sqlite3 db,
int  tripCode 
)

Definition at line 136810 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RollbackTransaction ( Parse pParse)

Definition at line 100711 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RootPageMoved ( sqlite3 db,
int  iDb,
int  iFrom,
int  iTo 
)

Definition at line 99037 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RowidConstraint ( Parse pParse,
int  onError,
Table pTab 
)

Definition at line 100927 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RowSetClear ( RowSet p)

Definition at line 45323 of file sqlite3.c.

SQLITE_PRIVATE RowSet * sqlite3RowSetInit ( sqlite3 db,
void pSpace,
unsigned int  N 
)

Definition at line 45302 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RowSetInsert ( RowSet p,
i64  rowid 
)

Definition at line 45370 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3RowSetNext ( RowSet p,
i64 pRowid 
)

Definition at line 45569 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3RowSetTest ( RowSet pRowSet,
int  iBatch,
i64  iRowid 
)

Definition at line 45603 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3RunParser ( Parse pParse,
const char *  zSql,
char **  pzErrMsg 
)

Definition at line 135080 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3RunVacuum ( char **  pzErrMsg,
sqlite3 db 
)

Definition at line 120744 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3SafetyCheckOk ( sqlite3 db)

Definition at line 28220 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3SafetyCheckSickOrOk ( sqlite3 db)

Definition at line 28237 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Savepoint ( Parse pParse,
int  op,
Token pName 
)

Definition at line 100729 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SchemaClear ( void p)

Definition at line 101618 of file sqlite3.c.

SQLITE_PRIVATE Schema * sqlite3SchemaGet ( sqlite3 db,
Btree pBt 
)

Definition at line 101650 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3SchemaToIndex ( sqlite3 db,
Schema pSchema 
)

Definition at line 112411 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ScratchFree ( void p)

Definition at line 23960 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3ScratchMalloc ( int  n)

Definition at line 23923 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3SectorSize ( sqlite3_file pFile)

Definition at line 48417 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Select ( Parse pParse,
Select p,
SelectDest pDest 
)

Definition at line 117611 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SelectAddColumnTypeAndCollation ( Parse pParse,
Table pTab,
Select pSelect 
)

Definition at line 114511 of file sqlite3.c.

static void sqlite3SelectAddTypeInfo ( Parse pParse,
Select pSelect 
)
static

Definition at line 117388 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SelectDelete ( sqlite3 db,
Select p 
)

Definition at line 112975 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SelectDestInit ( SelectDest pDest,
int  eDest,
int  iParm 
)

Definition at line 112891 of file sqlite3.c.

SQLITE_PRIVATE Select * sqlite3SelectDup ( sqlite3 db,
Select p,
int  flags 
)

Definition at line 90013 of file sqlite3.c.

static void sqlite3SelectExpand ( Parse pParse,
Select pSelect 
)
static

Definition at line 117323 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3SelectExprHeight ( Select p)

Definition at line 89309 of file sqlite3.c.

SQLITE_PRIVATE Select * sqlite3SelectNew ( Parse pParse,
ExprList pEList,
SrcList pSrc,
Expr pWhere,
ExprList pGroupBy,
Expr pHaving,
ExprList pOrderBy,
u32  selFlags,
Expr pLimit,
Expr pOffset 
)

Definition at line 112904 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SelectPrep ( Parse pParse,
Select p,
NameContext pOuterNC 
)

Definition at line 117412 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SelectWrongNumTermsError ( Parse pParse,
Select p 
)

Definition at line 115355 of file sqlite3.c.

static void sqlite3SetHasNullFlag ( Vdbe v,
int  iCur,
int  regHasNull 
)
static

Definition at line 90550 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SetString ( char **  pz,
sqlite3 db,
const char *  zNew 
)

Definition at line 24366 of file sqlite3.c.

static void sqlite3SkipAccumulatorLoad ( sqlite3_context context)
static

Definition at line 102607 of file sqlite3.c.

SQLITE_PRIVATE SrcList * sqlite3SrcListAppend ( sqlite3 db,
SrcList pList,
Token pTable,
Token pDatabase 
)

Definition at line 100473 of file sqlite3.c.

SQLITE_PRIVATE SrcList * sqlite3SrcListAppendFromTerm ( Parse pParse,
SrcList p,
Token pTable,
Token pDatabase,
Token pAlias,
Select pSubquery,
Expr pOn,
IdList pUsing 
)

Definition at line 100562 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SrcListAssignCursors ( Parse pParse,
SrcList pList 
)

Definition at line 100510 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SrcListDelete ( sqlite3 db,
SrcList pList 
)

Definition at line 100528 of file sqlite3.c.

SQLITE_PRIVATE SrcList * sqlite3SrcListDup ( sqlite3 db,
SrcList p,
int  flags 
)

Definition at line 89948 of file sqlite3.c.

SQLITE_PRIVATE SrcList * sqlite3SrcListEnlarge ( sqlite3 db,
SrcList pSrc,
int  nExtra,
int  iStart 
)

Definition at line 100391 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SrcListFuncArgs ( Parse pParse,
SrcList p,
ExprList pList 
)

Definition at line 100628 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SrcListIndexedBy ( Parse pParse,
SrcList p,
Token pIndexedBy 
)

Definition at line 100606 of file sqlite3.c.

SQLITE_PRIVATE Table * sqlite3SrcListLookup ( Parse pParse,
SrcList pSrc 
)

Definition at line 101701 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SrcListShiftJoinType ( SrcList p)

Definition at line 100656 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3StartTable ( Parse pParse,
Token pName1,
Token pName2,
int  isTemp,
int  isView,
int  isVirtual,
int  noErr 
)

Definition at line 97593 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3StatusDown ( int  op,
int  N 
)

Definition at line 18050 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3StatusHighwater ( int  op,
int  X 
)

Definition at line 18064 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3StatusUp ( int  op,
int  N 
)

Definition at line 18039 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_int64 sqlite3StatusValue ( int  op)

Definition at line 18019 of file sqlite3.c.

static int sqlite3Step ( Vdbe p)
static

Definition at line 74994 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_int64 sqlite3StmtCurrentTime ( sqlite3_context p)

Definition at line 75201 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3StrAccumAppend ( StrAccum p,
const char *  z,
int  N 
)

Definition at line 25275 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3StrAccumAppendAll ( StrAccum p,
const char *  z 
)

Definition at line 25292 of file sqlite3.c.

static int sqlite3StrAccumEnlarge ( StrAccum p,
int  N 
)
static

Definition at line 25193 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3StrAccumFinish ( StrAccum p)

Definition at line 25302 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3StrAccumInit ( StrAccum p,
sqlite3 db,
char *  zBase,
int  n,
int  mx 
)

Definition at line 25345 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3StrAccumReset ( StrAccum p)

Definition at line 25322 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3StrICmp ( const char *  zLeft,
const char *  zRight 
)

Definition at line 27273 of file sqlite3.c.

static void sqlite3StringToId ( Expr p)
static

Definition at line 98014 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Strlen30 ( const char *  z)

Definition at line 27083 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3SubInt64 ( i64 pA,
i64  iB 
)

Definition at line 28273 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SystemError ( sqlite3 db,
int  rc 
)

Definition at line 27125 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3TableAffinity ( Vdbe v,
Table pTab,
int  iReg 
)

Definition at line 105937 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3TableLock ( Parse pParse,
int  iDb,
int  iTab,
u8  isWriteLock,
const char *  zName 
)

Definition at line 96809 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3TempInMemory ( const sqlite3 db)

Definition at line 137746 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ThreadCreate ( SQLiteThread **  ,
void *)(void *,
void  
)
SQLITE_PRIVATE int sqlite3ThreadCreate ( SQLiteThread **  ppThread,
void *(*)(void *)  xTask,
void pIn 
)

Definition at line 26217 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ThreadJoin ( SQLiteThread p,
void **  ppOut 
)

Definition at line 26254 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3TokenInit ( Token p,
char *  z 
)

Definition at line 27247 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3TransferBindings ( sqlite3_stmt pFromStmt,
sqlite3_stmt pToStmt 
)

Definition at line 75978 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3TriggerColmask ( Parse pParse,
Trigger pTrigger,
ExprList pChanges,
int  isNew,
int  tr_tm,
Table pTab,
int  orconf 
)

Definition at line 119763 of file sqlite3.c.

SQLITE_PRIVATE TriggerStep * sqlite3TriggerDeleteStep ( sqlite3 db,
Token pTableName,
Expr pWhere 
)

Definition at line 119139 of file sqlite3.c.

SQLITE_PRIVATE TriggerStep * sqlite3TriggerInsertStep ( sqlite3 db,
Token pTableName,
IdList pColumn,
Select pSelect,
u8  orconf 
)

Definition at line 119085 of file sqlite3.c.

SQLITE_PRIVATE Trigger * sqlite3TriggerList ( Parse pParse,
Table pTab 
)

Definition at line 118740 of file sqlite3.c.

SQLITE_PRIVATE TriggerStep * sqlite3TriggerSelectStep ( sqlite3 db,
Select pSelect 
)

Definition at line 119042 of file sqlite3.c.

SQLITE_PRIVATE Trigger * sqlite3TriggersExist ( Parse pParse,
Table pTab,
int  op,
ExprList pChanges,
int *  pMask 
)

Definition at line 119309 of file sqlite3.c.

SQLITE_PRIVATE TriggerStep * sqlite3TriggerUpdateStep ( sqlite3 db,
Token pTableName,
ExprList pEList,
Expr pWhere,
u8  orconf 
)

Definition at line 119114 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3TwoPartName ( Parse pParse,
Token pName1,
Token pName2,
Token **  pUnqual 
)

Definition at line 97510 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3UniqueConstraint ( Parse pParse,
int  onError,
Index pIdx 
)

Definition at line 100894 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3UnlinkAndDeleteIndex ( sqlite3 db,
int  iDb,
const char *  zIdxName 
)

Definition at line 97215 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3UnlinkAndDeleteTable ( sqlite3 db,
int  iDb,
const char *  zTabName 
)

Definition at line 97410 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3UnlinkAndDeleteTrigger ( sqlite3 db,
int  iDb,
const char *  zName 
)

Definition at line 119266 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Update ( Parse pParse,
SrcList pTabList,
ExprList pChanges,
Expr pWhere,
int  onError 
)

Definition at line 119884 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Utf16ByteLen ( const void pData,
int  nChar 
)

Definition at line 26901 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3Utf16to8 ( sqlite3 db,
const void z,
int  nByte,
u8  enc 
)

Definition at line 26880 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Utf8CharLen ( const char *  pData,
int  nByte 
)

Definition at line 26826 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3Utf8Read ( const u8 **  )
SQLITE_PRIVATE u32 sqlite3Utf8Read ( const unsigned char **  pz)

Definition at line 26609 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Vacuum ( Parse pParse)

Definition at line 120732 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ValueApplyAffinity ( sqlite3_value pVal,
u8  affinity,
u8  enc 
)

Definition at line 76867 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ValueBytes ( sqlite3_value pVal,
u8  enc 
)

Definition at line 69873 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ValueFree ( sqlite3_value v)

Definition at line 69859 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ValueFromExpr ( sqlite3 db,
Expr pExpr,
u8  enc,
u8  affinity,
sqlite3_value **  ppVal 
)

Definition at line 69580 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_value * sqlite3ValueNew ( sqlite3 db)

Definition at line 69258 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ValueSetNull ( sqlite3_value p)

Definition at line 68838 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ValueSetStr ( sqlite3_value v,
int  n,
const void z,
u8  enc,
void(*)(void *)  xDel 
)

Definition at line 69846 of file sqlite3.c.

SQLITE_PRIVATE const void * sqlite3ValueText ( sqlite3_value pVal,
u8  enc 
)

Definition at line 69241 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VarintLen ( u64  v)

Definition at line 28104 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeAddOp0 ( Vdbe p,
int  op 
)

Definition at line 70106 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeAddOp1 ( Vdbe p,
int  op,
int  p1 
)

Definition at line 70109 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeAddOp2 ( Vdbe p,
int  op,
int  p1,
int  p2 
)

Definition at line 70112 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeAddOp3 ( Vdbe p,
int  op,
int  p1,
int  p2,
int  p3 
)

Definition at line 70060 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeAddOp4 ( Vdbe p,
int  op,
int  p1,
int  p2,
int  p3,
const char *  zP4,
int  p4type 
)

Definition at line 70157 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeAddOp4Dup8 ( Vdbe p,
int  op,
int  p1,
int  p2,
int  p3,
const u8 zP4,
int  p4type 
)

Definition at line 70175 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeAddOp4Int ( Vdbe p,
int  op,
int  p1,
int  p2,
int  p3,
int  p4 
)

Definition at line 70206 of file sqlite3.c.

SQLITE_PRIVATE VdbeOp * sqlite3VdbeAddOpList ( Vdbe p,
int  nOp,
VdbeOpList const *  aOp,
int  iLineno 
)

Definition at line 70578 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeAddParseSchemaOp ( Vdbe p,
int  iDb,
char *  zWhere 
)

Definition at line 70197 of file sqlite3.c.

SQLITE_PRIVATE UnpackedRecord * sqlite3VdbeAllocUnpackedRecord ( KeyInfo pKeyInfo,
char *  pSpace,
int  szSpace,
char **  ppFree 
)

Definition at line 73352 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeChangeEncoding ( Mem pMem,
int  desiredEnc 
)

Definition at line 68261 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeChangeOpcode ( Vdbe p,
u32  addr,
u8  iNewOpcode 
)

Definition at line 70654 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeChangeP1 ( Vdbe p,
u32  addr,
int  P1 
)

Definition at line 70657 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeChangeP2 ( Vdbe p,
u32  addr,
int  P2 
)

Definition at line 70660 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeChangeP3 ( Vdbe p,
u32  addr,
int  P3 
)

Definition at line 70663 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeChangeP4 ( Vdbe p,
int  addr,
const char *  zP4,
int  N 
)

Definition at line 70835 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeChangeP5 ( Vdbe p,
u8  P5 
)

Definition at line 70666 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeChangeToNoop ( Vdbe p,
int  addr 
)

Definition at line 70775 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeCheckFk ( Vdbe p,
int  deferred 
)

Definition at line 72409 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeClearObject ( sqlite3 db,
Vdbe p 
)

Definition at line 72831 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeCloseStatement ( Vdbe p,
int  eOp 
)

Definition at line 72343 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeCountChanges ( Vdbe v)

Definition at line 74313 of file sqlite3.c.

SQLITE_PRIVATE Vdbe * sqlite3VdbeCreate ( Parse pParse)

Definition at line 69912 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeCurrentAddr ( Vdbe p)

Definition at line 70528 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeCursorMoveto ( VdbeCursor **  pp,
int *  piCol 
)

Definition at line 72947 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeCursorRestore ( VdbeCursor p)

Definition at line 72926 of file sqlite3.c.

SQLITE_PRIVATE sqlite3 * sqlite3VdbeDb ( Vdbe v)

Definition at line 74337 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeDelete ( Vdbe p)

Definition at line 72859 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeDeleteAuxData ( sqlite3 db,
AuxData **  pp,
int  iOp,
int  mask 
)

Definition at line 72805 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeDeletePriorOpcode ( Vdbe p,
u8  op 
)

Definition at line 70791 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeEndCoroutine ( Vdbe v,
int  regYield 
)

Definition at line 70221 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeEnter ( Vdbe p)

Definition at line 71278 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeError ( Vdbe p,
const char *  zFormat,
  ... 
)

Definition at line 69936 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeExec ( Vdbe p)

Definition at line 77180 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3VdbeExpandSql ( Vdbe p,
const char *  zRawSql 
)

Definition at line 76411 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeFinalize ( Vdbe p)

Definition at line 72779 of file sqlite3.c.

SQLITE_PRIVATE RecordCompare sqlite3VdbeFindCompare ( UnpackedRecord p)

Definition at line 74143 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeFrameDelete ( VdbeFrame p)

Definition at line 71395 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeFrameRestore ( VdbeFrame pFrame)

Definition at line 71911 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeFreeCursor ( Vdbe p,
VdbeCursor pCx 
)

Definition at line 71856 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_value * sqlite3VdbeGetBoundValue ( Vdbe v,
int  iVar,
u8  aff 
)

Definition at line 74349 of file sqlite3.c.

SQLITE_PRIVATE VdbeOp * sqlite3VdbeGetOp ( Vdbe p,
int  addr 
)

Definition at line 70938 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeGoto ( Vdbe p,
int  iDest 
)

Definition at line 70118 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeHalt ( Vdbe p)

Definition at line 72436 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeIdxKeyCompare ( sqlite3 db,
VdbeCursor pC,
UnpackedRecord pUnpacked,
int *  res 
)

Definition at line 74267 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeIdxRowid ( sqlite3 db,
BtCursor pCur,
i64 rowid 
)

Definition at line 74189 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeIntegerAffinity ( Mem pMem)

Definition at line 68686 of file sqlite3.c.

SQLITE_PRIVATE i64 sqlite3VdbeIntValue ( Mem pMem)

Definition at line 68639 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeJumpHere ( Vdbe p,
int  addr 
)

Definition at line 70674 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeLeave ( Vdbe p)

Definition at line 71313 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeLinkSubProgram ( Vdbe pVdbe,
SubProgram p 
)

Definition at line 70767 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeList ( Vdbe p)

Definition at line 71423 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeLoadString ( Vdbe p,
int  iDest,
const char *  zStr 
)

Definition at line 70125 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMakeLabel ( Vdbe v)

Definition at line 70248 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMakeReady ( Vdbe p,
Parse pParse 
)

Definition at line 71747 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemCast ( Mem pMem,
u8  aff,
u8  encoding 
)

Definition at line 68769 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemClearAndResize ( Mem pMem,
int  n 
)

Definition at line 68353 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemCopy ( Mem pTo,
const Mem pFrom 
)

Definition at line 68982 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemExpandBlob ( Mem pMem)

Definition at line 68398 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemFinalize ( Mem pMem,
FuncDef pFunc 
)

Definition at line 68508 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemFromBtree ( BtCursor pCur,
u32  offset,
u32  amt,
int  key,
Mem pMem 
)

Definition at line 69157 of file sqlite3.c.

SQLITE_PRIVATE SQLITE_NOINLINE int sqlite3VdbeMemGrow ( Mem pMem,
int  n,
int  preserve 
)

Definition at line 68296 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemHandleBom ( Mem pMem)

Definition at line 26788 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemInit ( Mem pMem,
sqlite3 db,
u16  flags 
)

Definition at line 68811 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemIntegerify ( Mem pMem)

Definition at line 68714 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemMakeWriteable ( Mem pMem)

Definition at line 68371 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemMove ( Mem pTo,
Mem pFrom 
)

Definition at line 69005 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemNulTerminate ( Mem pMem)

Definition at line 68439 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemNumerify ( Mem pMem)

Definition at line 68745 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemRealify ( Mem pMem)

Definition at line 68728 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemRelease ( Mem p)

Definition at line 68591 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemSetDouble ( Mem pMem,
double  val 
)

Definition at line 68885 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemSetInt64 ( Mem pMem,
i64  val 
)

Definition at line 68871 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemSetNull ( Mem pMem)

Definition at line 68831 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemSetRowSet ( Mem pMem)

Definition at line 68898 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemSetStr ( Mem pMem,
const char *  z,
int  n,
u8  enc,
void(*)(void *)  xDel 
)

Definition at line 69031 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemSetZeroBlob ( Mem pMem,
int  n 
)

Definition at line 68846 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemShallowCopy ( Mem pTo,
const Mem pFrom,
int  srcType 
)

Definition at line 68966 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemStringify ( Mem pMem,
u8  enc,
u8  bForce 
)

Definition at line 68464 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemTooBig ( Mem p)

Definition at line 68920 of file sqlite3.c.

SQLITE_PRIVATE SQLITE_NOINLINE int sqlite3VdbeMemTranslate ( Mem pMem,
u8  desiredEnc 
)

Definition at line 26645 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMultiLoad ( Vdbe p,
int  iDest,
const char *  zTypes,
  ... 
)

Definition at line 70137 of file sqlite3.c.

SQLITE_PRIVATE u8 sqlite3VdbeOneByteSerialTypeLen ( u8  serial_type)

Definition at line 73092 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeParameterIndex ( Vdbe p,
const char *  zName,
int  nName 
)

Definition at line 75956 of file sqlite3.c.

SQLITE_PRIVATE double sqlite3VdbeRealValue ( Mem pMem)

Definition at line 68664 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeRecordCompare ( int  nKey1,
const void pKey1,
UnpackedRecord pPKey2 
)

Definition at line 73972 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeRecordCompareWithSkip ( int  nKey1,
const void pKey1,
UnpackedRecord pPKey2,
int  bSkip 
)

Definition at line 73793 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeRecordUnpack ( KeyInfo pKeyInfo,
int  nKey,
const void pKey,
UnpackedRecord p 
)

Definition at line 73389 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeReset ( Vdbe p)

Definition at line 72699 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeResetStepResult ( Vdbe p)

Definition at line 72638 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeResolveLabel ( Vdbe v,
int  x 
)

Definition at line 70267 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeReusable ( Vdbe p)

Definition at line 70289 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeRewind ( Vdbe p)

Definition at line 71694 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeRunOnlyOnce ( Vdbe p)

Definition at line 70282 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3VdbeSerialGet ( const unsigned char *  buf,
u32  serial_type,
Mem pMem 
)

Definition at line 73253 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3VdbeSerialPut ( unsigned char *  ,
Mem ,
u32   
)
SQLITE_PRIVATE u32 sqlite3VdbeSerialPut ( u8 buf,
Mem pMem,
u32  serial_type 
)

Definition at line 73163 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3VdbeSerialType ( Mem pMem,
int  file_format,
u32 pLen 
)

Definition at line 73011 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3VdbeSerialTypeLen ( u32  serial_type)

Definition at line 73083 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSetChanges ( sqlite3 db,
int  nChange 
)

Definition at line 74303 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSetColName ( Vdbe p,
int  idx,
int  var,
const char *  zName,
void(*)(void *)  xDel 
)

Definition at line 72021 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSetNumCols ( Vdbe p,
int  nResColumn 
)

Definition at line 71993 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSetP4KeyInfo ( Parse pParse,
Index pIdx 
)

Definition at line 70873 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSetSql ( Vdbe p,
const char *  z,
int  n,
int  isPrepareV2 
)

Definition at line 69947 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSetVarmask ( Vdbe v,
int  iVar 
)

Definition at line 74370 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSorterClose ( sqlite3 db,
VdbeCursor pCsr 
)

Definition at line 85325 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSorterCompare ( const VdbeCursor pCsr,
Mem pVal,
int  nKeyCol,
int *  pRes 
)

Definition at line 86777 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSorterInit ( sqlite3 db,
int  nField,
VdbeCursor pCsr 
)

Definition at line 84992 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSorterNext ( sqlite3 db,
const VdbeCursor pCsr,
int *  pbEof 
)

Definition at line 86680 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSorterReset ( sqlite3 db,
VdbeSorter pSorter 
)

Definition at line 85292 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSorterRewind ( const VdbeCursor pCsr,
int *  pbEof 
)

Definition at line 86632 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSorterRowkey ( const VdbeCursor pCsr,
Mem pOut 
)

Definition at line 86744 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSorterWrite ( const VdbeCursor pCsr,
Mem pVal 
)

Definition at line 85827 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSwap ( Vdbe pA,
Vdbe pB 
)

Definition at line 69969 of file sqlite3.c.

SQLITE_PRIVATE VdbeOp * sqlite3VdbeTakeOpArray ( Vdbe p,
int *  pnOp,
int *  pnMaxArg 
)

Definition at line 70558 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeTransferError ( Vdbe p)

Definition at line 72650 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeUsesBtree ( Vdbe p,
int  i 
)

Definition at line 71247 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ViewGetColumnNames ( Parse pParse,
Table pTable 
)

Definition at line 98889 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3VMPrintf ( sqlite3 db,
const char *  zFormat,
va_list  ap 
)

Definition at line 25359 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabArgExtend ( Parse pParse,
Token p 
)

Definition at line 121468 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabArgInit ( Parse pParse)

Definition at line 121458 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabBegin ( sqlite3 db,
VTable pVTab 
)

Definition at line 121905 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabBeginParse ( Parse pParse,
Token pName1,
Token pName2,
Token pModuleName,
int  ifNotExists 
)

Definition at line 121311 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabCallConnect ( Parse pParse,
Table pTab 
)

Definition at line 121613 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabCallCreate ( sqlite3 db,
int  iDb,
const char *  zTab,
char **  pzErr 
)

Definition at line 121683 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabCallDestroy ( sqlite3 db,
int  iDb,
const char *  zTab 
)

Definition at line 121795 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabClear ( sqlite3 db,
Table p 
)

Definition at line 121275 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabCommit ( sqlite3 db)

Definition at line 121892 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabDisconnect ( sqlite3 db,
Table p 
)

Definition at line 121206 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabEponymousTableClear ( sqlite3 db,
Module pMod 
)

Definition at line 122144 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabEponymousTableInit ( Parse pParse,
Module pMod 
)

Definition at line 122107 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabFinishParse ( Parse pParse,
Token pEnd 
)

Definition at line 121374 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabImportErrmsg ( Vdbe p,
sqlite3_vtab pVtab 
)

Definition at line 74385 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabLock ( VTable pVTab)

Definition at line 121121 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabMakeWritable ( Parse pParse,
Table pTab 
)

Definition at line 122074 of file sqlite3.c.

SQLITE_PRIVATE FuncDef * sqlite3VtabOverloadFunction ( sqlite3 db,
FuncDef pDef,
int  nArg,
Expr pExpr 
)

Definition at line 122008 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabRollback ( sqlite3 db)

Definition at line 121883 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabSavepoint ( sqlite3 db,
int  op,
int  iSavepoint 
)

Definition at line 121962 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabSync ( sqlite3 db,
Vdbe p 
)

Definition at line 121861 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabUnlock ( VTable pVTab)

Definition at line 121142 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabUnlockList ( sqlite3 db)

Definition at line 121244 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VXPrintf ( StrAccum pAccum,
const char *  fmt,
va_list  ap 
)

Definition at line 24610 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalBeginReadTransaction ( Wal pWal,
int *  pChanged 
)

Definition at line 55604 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalBeginWriteTransaction ( Wal pWal)

Definition at line 55849 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalCallback ( Wal pWal)

Definition at line 56511 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalCheckpoint ( Wal pWal,
int  eMode,
int(*)(void *)  xBusy,
void pBusyArg,
int  sync_flags,
int  nBuf,
u8 zBuf,
int *  pnLog,
int *  pnCkpt 
)

Definition at line 56402 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalClose ( Wal pWal,
int  sync_flags,
int  nBuf,
u8 zBuf 
)

Definition at line 55137 of file sqlite3.c.

SQLITE_PRIVATE Pgno sqlite3WalDbsize ( Wal pWal)

Definition at line 55828 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalDefaultHook ( void pClientData,
sqlite3 db,
const char *  zDb,
int  nFrame 
)

Definition at line 137547 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WalEndReadTransaction ( Wal pWal)

Definition at line 55690 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalEndWriteTransaction ( Wal pWal)

Definition at line 55887 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalExclusiveMode ( Wal pWal,
int  op 
)

Definition at line 56544 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_file * sqlite3WalFile ( Wal pWal)

Definition at line 56650 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalFindFrame ( Wal pWal,
Pgno  pgno,
u32 piRead 
)

Definition at line 55706 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalFrames ( Wal pWal,
int  szPage,
PgHdr pList,
Pgno  nTruncate,
int  isCommit,
int  sync_flags 
)

Definition at line 56167 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalHeapMemory ( Wal pWal)

Definition at line 56586 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalkExpr ( Walker pWalker,
Expr pExpr 
)

Definition at line 87293 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalkExprList ( Walker pWalker,
ExprList p 
)

Definition at line 87301 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalkSelect ( Walker pWalker,
Select p 
)

Definition at line 87373 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalkSelectExpr ( Walker pWalker,
Select p 
)

Definition at line 87318 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalkSelectFrom ( Walker pWalker,
Select p 
)

Definition at line 87336 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WalLimit ( Wal pWal,
i64  iLimit 
)

Definition at line 54568 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalOpen ( sqlite3_vfs pVfs,
sqlite3_file pDbFd,
const char *  zWalName,
int  bNoShm,
i64  mxWalSize,
Wal **  ppWal 
)

Definition at line 54494 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalReadFrame ( Wal pWal,
u32  iRead,
int  nOut,
u8 pOut 
)

Definition at line 55808 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WalSavepoint ( Wal pWal,
u32 aWalData 
)

Definition at line 55949 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalSavepointUndo ( Wal pWal,
u32 aWalData 
)

Definition at line 55963 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalUndo ( Wal pWal,
int(*)(void *, Pgno xUndo,
void pUndoCtx 
)

Definition at line 55909 of file sqlite3.c.

SQLITE_PRIVATE WhereInfo * sqlite3WhereBegin ( Parse pParse,
SrcList pTabList,
Expr pWhere,
ExprList pOrderBy,
ExprList pDistinctSet,
u16  wctrlFlags,
int  iAuxArg 
)

Definition at line 130014 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereBreakLabel ( WhereInfo pWInfo)

Definition at line 125977 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WhereClauseClear ( WhereClause pWC)

Definition at line 125798 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WhereClauseInit ( WhereClause pWC,
WhereInfo pWInfo 
)

Definition at line 125782 of file sqlite3.c.

SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart ( WhereInfo pWInfo,
int  iLevel,
Bitmask  notReady 
)

Definition at line 123561 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereContinueLabel ( WhereInfo pWInfo)

Definition at line 125968 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WhereEnd ( WhereInfo pWInfo)

Definition at line 130476 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereExplainOneScan ( Parse pParse,
SrcList pTabList,
WhereLevel pLevel,
int  iLevel,
int  iFrom,
u16  wctrlFlags 
)

Definition at line 122864 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WhereExprAnalyze ( SrcList pTabList,
WhereClause pWC 
)

Definition at line 125859 of file sqlite3.c.

SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage ( WhereMaskSet pMaskSet,
ExprList pList 
)

Definition at line 125839 of file sqlite3.c.

SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage ( WhereMaskSet pMaskSet,
Expr p 
)

Definition at line 125823 of file sqlite3.c.

SQLITE_PRIVATE WhereTerm * sqlite3WhereFindTerm ( WhereClause pWC,
int  iCur,
int  iColumn,
Bitmask  notReady,
u32  op,
Index pIdx 
)

Definition at line 126248 of file sqlite3.c.

SQLITE_PRIVATE Bitmask sqlite3WhereGetMask ( WhereMaskSet pMaskSet,
int  iCursor 
)

Definition at line 126062 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereIsDistinct ( WhereInfo pWInfo)

Definition at line 125952 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereIsOrdered ( WhereInfo pWInfo)

Definition at line 125960 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereIsSorted ( WhereInfo pWInfo)

Definition at line 129430 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereOkOnePass ( WhereInfo pWInfo,
int *  aiCur 
)

Definition at line 125998 of file sqlite3.c.

SQLITE_PRIVATE LogEst sqlite3WhereOutputRowCount ( WhereInfo pWInfo)

Definition at line 125944 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WhereSplit ( WhereClause pWC,
Expr pExpr,
u8  op 
)

Definition at line 125767 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WhereTabFuncArgs ( Parse pParse,
struct SrcList_item *  pItem,
WhereClause pWC 
)

Definition at line 125876 of file sqlite3.c.

SQLITE_PRIVATE With * sqlite3WithAdd ( Parse pParse,
With pWith,
Token pName,
ExprList pArglist,
Select pQuery 
)

Definition at line 101117 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WithDelete ( sqlite3 db,
With pWith 
)

Definition at line 101167 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WithPush ( Parse pParse,
With pWith,
u8  bFree 
)

Definition at line 116849 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3XPrintf ( StrAccum p,
const char *  zFormat,
  ... 
)

Definition at line 25525 of file sqlite3.c.

static void sqliteAuthBadReturnCode ( Parse pParse)
static

Definition at line 96587 of file sqlite3.c.

static int sqliteDefaultBusyCallback ( void ptr,
int  count 
)
static

Definition at line 137021 of file sqlite3.c.

static int sqliteErrorFromPosixError ( int  posixError,
int  sqliteIOErr 
)
static

Definition at line 29899 of file sqlite3.c.

static int sqliteProcessJoin ( Parse pParse,
Select p 
)
static

Definition at line 113207 of file sqlite3.c.

void sqliteVdbePopStack ( Vdbe ,
int   
)
static void sqliteViewResetAll ( sqlite3 db,
int  idx 
)
static

Definition at line 99001 of file sqlite3.c.

void sqliteViewTriggers ( Parse ,
Table ,
Expr ,
int  ,
ExprList  
)
static void stat4Destructor ( void pOld)
static

Definition at line 94383 of file sqlite3.c.

static void statGet ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 94828 of file sqlite3.c.

static void statInit ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 94417 of file sqlite3.c.

static void statPush ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 94729 of file sqlite3.c.

static void storeLastErrno ( unixFile pFile,
int  error 
)
static

Definition at line 30292 of file sqlite3.c.

static void strftimeFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 19219 of file sqlite3.c.

static unsigned int strHash ( const char *  z)
static

Definition at line 28504 of file sqlite3.c.

static int subjournalPage ( PgHdr pPg)
static

Definition at line 50205 of file sqlite3.c.

static int subjournalPageIfRequired ( PgHdr pPg)
static

Definition at line 50242 of file sqlite3.c.

static int subjRequiresPage ( PgHdr pPg)
static

Definition at line 46846 of file sqlite3.c.

static Expr* substExpr ( sqlite3 db,
Expr pExpr,
int  iTable,
ExprList pEList 
)
static

Definition at line 115924 of file sqlite3.c.

static void substExprList ( sqlite3 db,
ExprList pList,
int  iTable,
ExprList pEList 
)
static

Definition at line 115953 of file sqlite3.c.

static void substrFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 102832 of file sqlite3.c.

static void substSelect ( sqlite3 db,
Select p,
int  iTable,
ExprList pEList,
int  doPrior 
)
static

Definition at line 115965 of file sqlite3.c.

static void sumFinalize ( sqlite3_context context)
static

Definition at line 104024 of file sqlite3.c.

static void sumStep ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 104003 of file sqlite3.c.

static int syncJournal ( Pager pPager,
int  newHdr 
)
static

Definition at line 49944 of file sqlite3.c.

static int synthCollSeq ( sqlite3 db,
CollSeq pColl 
)
static

Definition at line 101234 of file sqlite3.c.

static int tableAndColumnIndex ( SrcList pSrc,
int  N,
const char *  zCol,
int *  piTab,
int *  piCol 
)
static

Definition at line 113082 of file sqlite3.c.

static Table* tableOfTrigger ( Trigger pTrigger)
static

Definition at line 119218 of file sqlite3.c.

static SrcList* targetSrcList ( Parse pParse,
TriggerStep pStep 
)
static

Definition at line 119345 of file sqlite3.c.

static int termCanDriveIndex ( WhereTerm pTerm,
struct SrcList_item *  pSrc,
Bitmask  notReady 
)
static

Definition at line 126493 of file sqlite3.c.

static int termIsEquivalence ( Parse pParse,
Expr pExpr 
)
static

Definition at line 125315 of file sqlite3.c.

static void timeFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 19167 of file sqlite3.c.

static void total_changes ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 103125 of file sqlite3.c.

static void totalFinalize ( sqlite3_context context)
static

Definition at line 104044 of file sqlite3.c.

static void transferJoinMarkings ( Expr pDerived,
Expr pBase 
)
static

Definition at line 124877 of file sqlite3.c.

static void transferParseError ( Parse pTo,
Parse pFrom 
)
static

Definition at line 119465 of file sqlite3.c.

static void translateColumnToCopy ( Vdbe v,
int  iStart,
int  iTabCur,
int  iRegister,
int  bIncrRowid 
)
static

Definition at line 126411 of file sqlite3.c.

static TriggerStep* triggerStepAllocate ( sqlite3 db,
u8  op,
Token pName 
)
static

Definition at line 119060 of file sqlite3.c.

static void trimFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 103808 of file sqlite3.c.

static void typeofFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 102644 of file sqlite3.c.

static void unicodeFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 103617 of file sqlite3.c.

static int unixAccess ( sqlite3_vfs NotUsed,
const char *  zPath,
int  flags,
int *  pResOut 
)
static

Definition at line 35034 of file sqlite3.c.

static int unixCheckReservedLock ( sqlite3_file id,
int *  pResOut 
)
static

Definition at line 30487 of file sqlite3.c.

static int unixClose ( sqlite3_file id)
static

Definition at line 31063 of file sqlite3.c.

static int unixCurrentTime ( sqlite3_vfs NotUsed,
double *  prNow 
)
static

Definition at line 35305 of file sqlite3.c.

static int unixCurrentTimeInt64 ( sqlite3_vfs NotUsed,
sqlite3_int64 piNow 
)
static

Definition at line 35273 of file sqlite3.c.

static int unixDelete ( sqlite3_vfs NotUsed,
const char *  zPath,
int  dirSync 
)
static

Definition at line 34986 of file sqlite3.c.

static int unixDeviceCharacteristics ( sqlite3_file id)
static

Definition at line 33061 of file sqlite3.c.

static void unixEnterMutex ( void  )
static

Definition at line 29776 of file sqlite3.c.

static int unixFetch ( sqlite3_file fd,
i64  iOff,
int  nAmt,
void **  pp 
)
static

Definition at line 33955 of file sqlite3.c.

static int unixFileControl ( sqlite3_file id,
int  op,
void pArg 
)
static

Definition at line 32866 of file sqlite3.c.

static int unixFileLock ( unixFile pFile,
struct flock *  pLock 
)
static

Definition at line 30547 of file sqlite3.c.

static int unixFileSize ( sqlite3_file id,
i64 pSize 
)
static

Definition at line 32743 of file sqlite3.c.

static int unixFullPathname ( sqlite3_vfs pVfs,
const char *  zPath,
int  nOut,
char *  zOut 
)
static

Definition at line 35093 of file sqlite3.c.

static int unixGetLastError ( sqlite3_vfs NotUsed,
int  NotUsed2,
char *  NotUsed3 
)
static

Definition at line 35323 of file sqlite3.c.

static int unixGetpagesize ( void  )
static

Definition at line 33082 of file sqlite3.c.

static sqlite3_syscall_ptr unixGetSystemCall ( sqlite3_vfs pNotUsed,
const char *  zName 
)
static

Definition at line 29665 of file sqlite3.c.

static int unixGetTempname ( int  nBuf,
char *  zBuf 
)
static

Definition at line 34537 of file sqlite3.c.

static void unixLeaveMutex ( void  )
static

Definition at line 29779 of file sqlite3.c.

static int unixLock ( sqlite3_file id,
int  eFileLock 
)
static

Definition at line 30597 of file sqlite3.c.

static int unixLogErrorAtLine ( int  errcode,
const char *  zFunc,
const char *  zPath,
int  iLine 
)
static

Definition at line 30216 of file sqlite3.c.

static void unixModeBit ( unixFile pFile,
unsigned char  mask,
int *  pArg 
)
static

Definition at line 32850 of file sqlite3.c.

static const char* unixNextSystemCall ( sqlite3_vfs p,
const char *  zName 
)
static

Definition at line 29684 of file sqlite3.c.

static int unixOpen ( sqlite3_vfs pVfs,
const char *  zPath,
sqlite3_file pFile,
int  flags,
int *  pOutFlags 
)
static

Definition at line 34730 of file sqlite3.c.

static int unixOpenSharedMemory ( unixFile pDbFd)
static

Definition at line 33330 of file sqlite3.c.

static int unixRandomness ( sqlite3_vfs NotUsed,
int  nBuf,
char *  zBuf 
)
static

Definition at line 35186 of file sqlite3.c.

static int unixRead ( sqlite3_file id,
void pBuf,
int  amt,
sqlite3_int64  offset 
)
static

Definition at line 32261 of file sqlite3.c.

static int unixSectorSize ( sqlite3_file NotUsed)
static

Definition at line 32962 of file sqlite3.c.

static int unixSetSystemCall ( sqlite3_vfs pNotUsed,
const char *  zName,
sqlite3_syscall_ptr  pNewFunc 
)
static

Definition at line 29622 of file sqlite3.c.

static void unixShmBarrier ( sqlite3_file fd)
static

Definition at line 33729 of file sqlite3.c.

static int unixShmLock ( sqlite3_file fd,
int  ofst,
int  n,
int  flags 
)
static

Definition at line 33617 of file sqlite3.c.

static int unixShmMap ( sqlite3_file fd,
int  iRegion,
int  szRegion,
int  bExtend,
void volatile **  pp 
)
static

Definition at line 33479 of file sqlite3.c.

static void unixShmPurge ( unixFile pFd)
static

Definition at line 33270 of file sqlite3.c.

static int unixShmRegionPerMap ( void  )
static

Definition at line 33256 of file sqlite3.c.

static int unixShmSystemLock ( unixFile pFile,
int  lockType,
int  ofst,
int  n 
)
static

Definition at line 33177 of file sqlite3.c.

static int unixShmUnmap ( sqlite3_file fd,
int  deleteFlag 
)
static

Definition at line 33745 of file sqlite3.c.

static int unixSleep ( sqlite3_vfs NotUsed,
int  microseconds 
)
static

Definition at line 35233 of file sqlite3.c.

static int unixSync ( sqlite3_file id,
int  flags 
)
static

Definition at line 32643 of file sqlite3.c.

static const char* unixTempFileDir ( void  )
static

Definition at line 34503 of file sqlite3.c.

static int unixTruncate ( sqlite3_file id,
i64  nByte 
)
static

Definition at line 32693 of file sqlite3.c.

static int unixUnfetch ( sqlite3_file fd,
i64  iOff,
void p 
)
static

Definition at line 33986 of file sqlite3.c.

static int unixUnlock ( sqlite3_file id,
int  eFileLock 
)
static

Definition at line 31006 of file sqlite3.c.

static int unixWrite ( sqlite3_file id,
const void pBuf,
int  amt,
sqlite3_int64  offset 
)
static

Definition at line 32375 of file sqlite3.c.

static void unlockBtreeIfUnused ( BtShared pBt)
static

Definition at line 60689 of file sqlite3.c.

static void SQLITE_NOINLINE unlockBtreeMutex ( Btree p)
static

Definition at line 57411 of file sqlite3.c.

static void updateAccumulator ( Parse pParse,
AggInfo pAggInfo 
)
static

Definition at line 117494 of file sqlite3.c.

static void updateVirtualTable ( Parse pParse,
SrcList pSrc,
Table pTab,
ExprList pChanges,
Expr pRowidExpr,
int *  aXRef,
Expr pWhere,
int  onError 
)
static

Definition at line 120523 of file sqlite3.c.

static void upperFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 102989 of file sqlite3.c.

static int vacuumFinalize ( sqlite3 db,
sqlite3_stmt pStmt,
char **  pzErrMsg 
)
static

Definition at line 120653 of file sqlite3.c.

static SQLITE_NOINLINE int valueBytes ( sqlite3_value pVal,
u8  enc 
)
static

Definition at line 69870 of file sqlite3.c.

static int valueFromExpr ( sqlite3 db,
Expr pExpr,
u8  enc,
u8  affinity,
sqlite3_value **  ppVal,
struct ValueNewStat4Ctx pCtx 
)
static

Definition at line 69445 of file sqlite3.c.

static sqlite3_value* valueNew ( sqlite3 db,
struct ValueNewStat4Ctx p 
)
static

Definition at line 69289 of file sqlite3.c.

static SQLITE_NOINLINE const void* valueToText ( sqlite3_value pVal,
u8  enc 
)
static

Definition at line 69197 of file sqlite3.c.

static void SQLITE_NOINLINE vdbeChangeP4Full ( Vdbe p,
Op pOp,
const char *  zP4,
int  n 
)
static

Definition at line 70816 of file sqlite3.c.

static SQLITE_NOINLINE void vdbeClrCopy ( Mem pTo,
const Mem pFrom,
int  eType 
)
static

Definition at line 68961 of file sqlite3.c.

static int vdbeCommit ( sqlite3 db,
Vdbe p 
)
static

Definition at line 72049 of file sqlite3.c.

static int vdbeCompareMemString ( const Mem pMem1,
const Mem pMem2,
const CollSeq pColl,
u8 prcErr 
)
static

Definition at line 73571 of file sqlite3.c.

static void vdbeFreeOpArray ( sqlite3 db,
Op aOp,
int  nOp 
)
static

Definition at line 70749 of file sqlite3.c.

static int vdbeIncrBgPopulate ( IncrMerger pIncr)
static

Definition at line 85987 of file sqlite3.c.

static void vdbeIncrFree ( IncrMerger pIncr)
static

Definition at line 85275 of file sqlite3.c.

static int vdbeIncrMergerNew ( SortSubtask pTask,
MergeEngine pMerger,
IncrMerger **  ppOut 
)
static

Definition at line 86050 of file sqlite3.c.

static void vdbeIncrMergerSetThreads ( IncrMerger pIncr)
static

Definition at line 86074 of file sqlite3.c.

static int vdbeIncrPopulate ( IncrMerger pIncr)
static

Definition at line 85935 of file sqlite3.c.

static void* vdbeIncrPopulateThread ( void pCtx)
static

Definition at line 85977 of file sqlite3.c.

static int vdbeIncrSwap ( IncrMerger pIncr)
static

Definition at line 86011 of file sqlite3.c.

static SQLITE_NOINLINE void vdbeLeave ( Vdbe p)
static

Definition at line 71299 of file sqlite3.c.

static SQLITE_NOINLINE int vdbeMemAddTerminator ( Mem pMem)
static

Definition at line 68426 of file sqlite3.c.

static SQLITE_NOINLINE void vdbeMemClear ( Mem p)
static

Definition at line 68570 of file sqlite3.c.

static SQLITE_NOINLINE void vdbeMemClearExternAndSetNull ( Mem p)
static

Definition at line 68540 of file sqlite3.c.

static SQLITE_NOINLINE int vdbeMemFromBtreeResize ( BtCursor pCur,
u32  offset,
u32  amt,
int  key,
Mem pMem 
)
static

Definition at line 69131 of file sqlite3.c.

static void vdbeMergeEngineCompare ( MergeEngine pMerger,
int  iOut 
)
static

Definition at line 86087 of file sqlite3.c.

static void vdbeMergeEngineFree ( MergeEngine pMerger)
static

Definition at line 85261 of file sqlite3.c.

static int vdbeMergeEngineInit ( SortSubtask pTask,
MergeEngine pMerger,
int  eMode 
)
static

Definition at line 86169 of file sqlite3.c.

static int vdbeMergeEngineLevel0 ( SortSubtask pTask,
int  nPMA,
i64 piOffset,
MergeEngine **  ppOut 
)
static

Definition at line 86358 of file sqlite3.c.

static MergeEngine* vdbeMergeEngineNew ( int  nReader)
static

Definition at line 85238 of file sqlite3.c.

static int vdbeMergeEngineStep ( MergeEngine pMerger,
int *  pbEof 
)
static

Definition at line 85675 of file sqlite3.c.

static int vdbePmaReadBlob ( PmaReader p,
int  nByte,
u8 **  ppOut 
)
static

Definition at line 84551 of file sqlite3.c.

static void* vdbePmaReaderBgIncrInit ( void pCtx)
static

Definition at line 86307 of file sqlite3.c.

static void vdbePmaReaderClear ( PmaReader pReadr)
static

Definition at line 84534 of file sqlite3.c.

static int vdbePmaReaderIncrInit ( PmaReader pReadr,
int  eMode 
)
static

Definition at line 86328 of file sqlite3.c.

static int vdbePmaReaderIncrMergeInit ( PmaReader pReadr,
int  eMode 
)
static

Definition at line 86240 of file sqlite3.c.

static int vdbePmaReaderInit ( SortSubtask pTask,
SorterFile pFile,
i64  iStart,
PmaReader pReadr,
i64 pnByte 
)
static

Definition at line 84789 of file sqlite3.c.

static int vdbePmaReaderNext ( PmaReader pReadr)
static

Definition at line 84742 of file sqlite3.c.

static int vdbePmaReaderSeek ( SortSubtask pTask,
PmaReader pReadr,
SorterFile pFile,
i64  iOff 
)
static

Definition at line 84695 of file sqlite3.c.

static int vdbePmaReadVarint ( PmaReader p,
u64 pnOut 
)
static

Definition at line 84645 of file sqlite3.c.

static void vdbePmaWriteBlob ( PmaWriter p,
u8 pData,
int  nData 
)
static

Definition at line 85538 of file sqlite3.c.

static int vdbePmaWriterFinish ( PmaWriter p,
i64 piEof 
)
static

Definition at line 85571 of file sqlite3.c.

static void vdbePmaWriterInit ( sqlite3_file pFd,
PmaWriter p,
int  nBuf,
i64  iStart 
)
static

Definition at line 85516 of file sqlite3.c.

static void vdbePmaWriteVarint ( PmaWriter p,
u64  iVal 
)
static

Definition at line 85590 of file sqlite3.c.

static int vdbeRecordCompareInt ( int  nKey1,
const void pKey1,
UnpackedRecord pPKey2 
)
static

Definition at line 73989 of file sqlite3.c.

static int vdbeRecordCompareString ( int  nKey1,
const void pKey1,
UnpackedRecord pPKey2 
)
static

Definition at line 74082 of file sqlite3.c.

static i64 vdbeRecordDecodeInt ( u32  serial_type,
const u8 aKey 
)
static

Definition at line 73738 of file sqlite3.c.

static SQLITE_NOINLINE void vdbeReleaseAndSetInt64 ( Mem pMem,
i64  val 
)
static

Definition at line 68861 of file sqlite3.c.

static int vdbeSafety ( Vdbe p)
static

Definition at line 74520 of file sqlite3.c.

static int vdbeSafetyNotNull ( Vdbe p)
static

Definition at line 74528 of file sqlite3.c.

static int vdbeSortAllocUnpacked ( SortSubtask pTask)
static

Definition at line 85393 of file sqlite3.c.

static int vdbeSorterAddToTree ( SortSubtask pTask,
int  nDepth,
int  iSeq,
MergeEngine pRoot,
MergeEngine pLeaf 
)
static

Definition at line 86415 of file sqlite3.c.

static int vdbeSorterCompare ( SortSubtask pTask,
int *  pbKey2Cached,
const void pKey1,
int  nKey1,
const void pKey2,
int  nKey2 
)
static

Definition at line 84849 of file sqlite3.c.

static int vdbeSorterCompareInt ( SortSubtask pTask,
int *  pbKey2Cached,
const void pKey1,
int  nKey1,
const void pKey2,
int  nKey2 
)
static

Definition at line 84909 of file sqlite3.c.

static int vdbeSorterCompareTail ( SortSubtask pTask,
int *  pbKey2Cached,
const void pKey1,
int  nKey1,
const void pKey2,
int  nKey2 
)
static

Definition at line 84822 of file sqlite3.c.

static int vdbeSorterCompareText ( SortSubtask pTask,
int *  pbKey2Cached,
const void pKey1,
int  nKey1,
const void pKey2,
int  nKey2 
)
static

Definition at line 84868 of file sqlite3.c.

static int vdbeSorterCreateThread ( SortSubtask pTask,
void *(*)(void *)  xTask,
void pIn 
)
static

Definition at line 85195 of file sqlite3.c.

static int vdbeSorterFlushPMA ( VdbeSorter pSorter)
static

Definition at line 85760 of file sqlite3.c.

static void* vdbeSorterFlushThread ( void pCtx)
static

Definition at line 85746 of file sqlite3.c.

static SorterCompare vdbeSorterGetCompare ( VdbeSorter p)
static

Definition at line 85447 of file sqlite3.c.

static int vdbeSorterJoinAll ( VdbeSorter pSorter,
int  rcin 
)
static

Definition at line 85208 of file sqlite3.c.

static int vdbeSorterJoinThread ( SortSubtask pTask)
static

Definition at line 85174 of file sqlite3.c.

static int vdbeSorterListToPMA ( SortSubtask pTask,
SorterList pList 
)
static

Definition at line 85611 of file sqlite3.c.

static int vdbeSorterMapFile ( SortSubtask pTask,
SorterFile pFile,
u8 **  pp 
)
static

Definition at line 84678 of file sqlite3.c.

static void vdbeSorterMerge ( SortSubtask pTask,
SorterRecord p1,
SorterRecord p2,
SorterRecord **  ppOut 
)
static

Definition at line 85412 of file sqlite3.c.

static int vdbeSorterMergeTreeBuild ( VdbeSorter pSorter,
MergeEngine **  ppOut 
)
static

Definition at line 86471 of file sqlite3.c.

static int vdbeSorterOpenTempFile ( sqlite3 db,
i64  nExtend,
sqlite3_file **  ppFd 
)
static

Definition at line 85366 of file sqlite3.c.

static void vdbeSorterRecordFree ( sqlite3 db,
SorterRecord pRecord 
)
static

Definition at line 85096 of file sqlite3.c.

static void* vdbeSorterRowkey ( const VdbeSorter pSorter,
int *  pnKey 
)
static

Definition at line 86717 of file sqlite3.c.

static int vdbeSorterSetupMerge ( VdbeSorter pSorter)
static

Definition at line 86550 of file sqlite3.c.

static int vdbeSorterSort ( SortSubtask pTask,
SorterList pList 
)
static

Definition at line 85461 of file sqlite3.c.

static int vdbeSorterTreeDepth ( int  nPMA)
static

Definition at line 86397 of file sqlite3.c.

static void vdbeSortSubtaskCleanup ( sqlite3 db,
SortSubtask pTask 
)
static

Definition at line 85109 of file sqlite3.c.

static int vdbeUnbind ( Vdbe p,
int  i 
)
static

Definition at line 75700 of file sqlite3.c.

static void verifyDbFile ( unixFile pFile)
static

Definition at line 30454 of file sqlite3.c.

static void versionFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 103439 of file sqlite3.c.

static void vfsUnlink ( sqlite3_vfs pVfs)
static

Definition at line 19826 of file sqlite3.c.

static int vtabBestIndex ( Parse pParse,
Table pTab,
sqlite3_index_info p 
)
static

Definition at line 126850 of file sqlite3.c.

static int vtabCallConstructor ( sqlite3 db,
Table pTab,
Module pMod,
int(*)(sqlite3 *, void *, int, const char *const *, sqlite3_vtab **, char **)  xConstruct,
char **  pzErr 
)
static

Definition at line 121484 of file sqlite3.c.

static VTable* vtabDisconnectAll ( sqlite3 db,
Table p 
)
static

Definition at line 121166 of file sqlite3.c.

static int walBusyLock ( Wal pWal,
int(*)(void *)  xBusy,
void pBusyArg,
int  lockIdx,
int  n 
)
static

Definition at line 54853 of file sqlite3.c.

static int walCheckpoint ( Wal pWal,
int  eMode,
int(*)(void *)  xBusy,
void pBusyArg,
int  sync_flags,
u8 zBuf 
)
static

Definition at line 54939 of file sqlite3.c.

static void walChecksumBytes ( int  nativeCksum,
u8 a,
int  nByte,
const u32 aIn,
u32 aOut 
)
static

Definition at line 53830 of file sqlite3.c.

static volatile WalCkptInfo* walCkptInfo ( Wal pWal)
static

Definition at line 53796 of file sqlite3.c.

static void walCleanupHash ( Wal pWal)
static

Definition at line 54149 of file sqlite3.c.

static int walDecodeFrame ( Wal pWal,
u32 piPage,
u32 pnTruncate,
u8 aData,
u8 aFrame 
)
static

Definition at line 53936 of file sqlite3.c.

static void walEncodeFrame ( Wal pWal,
u32  iPage,
u32  nTruncate,
u8 aData,
u8 aFrame 
)
static

Definition at line 53905 of file sqlite3.c.

static int walFramePage ( u32  iFrame)
static

Definition at line 54115 of file sqlite3.c.

static u32 walFramePgno ( Wal pWal,
u32  iFrame 
)
static

Definition at line 54129 of file sqlite3.c.

static int walHash ( u32  iPage)
static

Definition at line 54054 of file sqlite3.c.

static int walHashGet ( Wal pWal,
int  iHash,
volatile ht_slot **  paHash,
volatile u32 **  paPgno,
u32 piZero 
)
static

Definition at line 54077 of file sqlite3.c.

static int walIndexAppend ( Wal pWal,
u32  iFrame,
u32  iPage 
)
static

Definition at line 54211 of file sqlite3.c.

static void walIndexClose ( Wal pWal,
int  isDelete 
)
static

Definition at line 54467 of file sqlite3.c.

static volatile WalIndexHdr* walIndexHdr ( Wal pWal)
static

Definition at line 53804 of file sqlite3.c.

static int walIndexPage ( Wal pWal,
int  iPage,
volatile u32 **  ppPage 
)
static

Definition at line 53754 of file sqlite3.c.

static int walIndexReadHdr ( Wal pWal,
int *  pChanged 
)
static

Definition at line 55274 of file sqlite3.c.

static int walIndexRecover ( Wal pWal)
static

Definition at line 54300 of file sqlite3.c.

static int walIndexTryHdr ( Wal pWal,
int *  pChanged 
)
static

Definition at line 55216 of file sqlite3.c.

static void walIndexWriteHdr ( Wal pWal)
static

Definition at line 53879 of file sqlite3.c.

static void walIteratorFree ( WalIterator p)
static

Definition at line 54755 of file sqlite3.c.

static int walIteratorInit ( Wal pWal,
WalIterator **  pp 
)
static

Definition at line 54771 of file sqlite3.c.

static int walIteratorNext ( WalIterator p,
u32 piPage,
u32 piFrame 
)
static

Definition at line 54582 of file sqlite3.c.

static SQLITE_NOINLINE int walkExpr ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 87276 of file sqlite3.c.

static void walLimitSize ( Wal pWal,
i64  nMax 
)
static

Definition at line 55120 of file sqlite3.c.

static int walLockExclusive ( Wal pWal,
int  lockIdx,
int  n 
)
static

Definition at line 54031 of file sqlite3.c.

static int walLockShared ( Wal pWal,
int  lockIdx 
)
static

Definition at line 54015 of file sqlite3.c.

static void walMerge ( const u32 aContent,
ht_slot aLeft,
int  nLeft,
ht_slot **  paRight,
int *  pnRight,
ht_slot aTmp 
)
static

Definition at line 54635 of file sqlite3.c.

static void walMergesort ( const u32 aContent,
ht_slot aBuffer,
ht_slot aList,
int *  pnList 
)
static

Definition at line 54692 of file sqlite3.c.

static int walNextHash ( int  iPriorHash)
static

Definition at line 54059 of file sqlite3.c.

static int walPagesize ( Wal pWal)
static

Definition at line 54871 of file sqlite3.c.

static void walRestartHdr ( Wal pWal,
u32  salt1 
)
static

Definition at line 54892 of file sqlite3.c.

static int walRestartLog ( Wal pWal)
static

Definition at line 56000 of file sqlite3.c.

static int walRewriteChecksums ( Wal pWal,
u32  iLast 
)
static

Definition at line 56118 of file sqlite3.c.

static void walShmBarrier ( Wal pWal)
static

Definition at line 53868 of file sqlite3.c.

static int walTryBeginRead ( Wal pWal,
int *  pChanged,
int  useWal,
int  cnt 
)
static

Definition at line 55391 of file sqlite3.c.

static void walUnlockExclusive ( Wal pWal,
int  lockIdx,
int  n 
)
static

Definition at line 54041 of file sqlite3.c.

static void walUnlockShared ( Wal pWal,
int  lockIdx 
)
static

Definition at line 54025 of file sqlite3.c.

static int walWriteOneFrame ( WalWriter p,
PgHdr pPage,
int  nTruncate,
sqlite3_int64  iOffset 
)
static

Definition at line 56088 of file sqlite3.c.

static int walWriteToLog ( WalWriter p,
void pContent,
int  iAmt,
sqlite3_int64  iOffset 
)
static

Definition at line 56063 of file sqlite3.c.

static void whereAndInfoDelete ( sqlite3 db,
WhereAndInfo p 
)
static

Definition at line 124582 of file sqlite3.c.

static int whereClauseInsert ( WhereClause pWC,
Expr p,
u16  wtFlags 
)
static

Definition at line 124606 of file sqlite3.c.

static void whereCombineDisjuncts ( SrcList pSrc,
WhereClause pWC,
WhereTerm pOne,
WhereTerm pTwo 
)
static

Definition at line 124928 of file sqlite3.c.

static char* whereForeignKeys ( Parse pParse,
Table pTab 
)
static

Definition at line 93493 of file sqlite3.c.

static void whereInfoFree ( sqlite3 db,
WhereInfo pWInfo 
)
static

Definition at line 127697 of file sqlite3.c.

static void whereLikeOptimizationStringFixup ( Vdbe v,
WhereLevel pLevel,
WhereTerm pTerm 
)
static

Definition at line 123340 of file sqlite3.c.

static int whereLoopAddAll ( WhereLoopBuilder pBuilder)
static

Definition at line 129094 of file sqlite3.c.

static int whereLoopAddBtree ( WhereLoopBuilder pBuilder,
Bitmask  mPrereq 
)
static

Definition at line 128485 of file sqlite3.c.

static int whereLoopAddBtreeIndex ( WhereLoopBuilder pBuilder,
struct SrcList_item *  pSrc,
Index pProbe,
LogEst  nInMul 
)
static

Definition at line 128088 of file sqlite3.c.

static int whereLoopAddOr ( WhereLoopBuilder pBuilder,
Bitmask  mPrereq,
Bitmask  mUnusable 
)
static

Definition at line 128969 of file sqlite3.c.

static int whereLoopAddVirtual ( WhereLoopBuilder pBuilder,
Bitmask  mPrereq,
Bitmask  mUnusable 
)
static

Definition at line 128854 of file sqlite3.c.

static int whereLoopAddVirtualOne ( WhereLoopBuilder pBuilder,
Bitmask  mPrereq,
Bitmask  mUsable,
u16  mExclude,
sqlite3_index_info pIdxInfo,
int *  pbIn 
)
static

Definition at line 128702 of file sqlite3.c.

static void whereLoopAdjustCost ( const WhereLoop p,
WhereLoop pTemplate 
)
static

Definition at line 127770 of file sqlite3.c.

static int whereLoopCheaperProperSubset ( const WhereLoop pX,
const WhereLoop pY 
)
static

Definition at line 127733 of file sqlite3.c.

static void whereLoopClear ( sqlite3 db,
WhereLoop p 
)
static

Definition at line 127645 of file sqlite3.c.

static void whereLoopClearUnion ( sqlite3 db,
WhereLoop p 
)
static

Definition at line 127628 of file sqlite3.c.

static void whereLoopDelete ( sqlite3 db,
WhereLoop p 
)
static

Definition at line 127689 of file sqlite3.c.

static WhereLoop** whereLoopFindLesser ( WhereLoop **  ppPrev,
const WhereLoop pTemplate 
)
static

Definition at line 127806 of file sqlite3.c.

static void whereLoopInit ( WhereLoop p)
static

Definition at line 127618 of file sqlite3.c.

static int whereLoopInsert ( WhereLoopBuilder pBuilder,
WhereLoop pTemplate 
)
static

Definition at line 127894 of file sqlite3.c.

static void whereLoopOutputAdjust ( WhereClause pWC,
WhereLoop pLoop,
LogEst  nRow 
)
static

Definition at line 128020 of file sqlite3.c.

static int whereLoopResize ( sqlite3 db,
WhereLoop p,
int  n 
)
static

Definition at line 127654 of file sqlite3.c.

static int whereLoopXfer ( sqlite3 db,
WhereLoop pTo,
WhereLoop pFrom 
)
static

Definition at line 127670 of file sqlite3.c.

static WhereTerm* whereNthSubterm ( WhereTerm pTerm,
int  N 
)
static

Definition at line 124898 of file sqlite3.c.

static void whereOrInfoDelete ( sqlite3 db,
WhereOrInfo p 
)
static

Definition at line 124574 of file sqlite3.c.

static int whereOrInsert ( WhereOrSet pSet,
Bitmask  prereq,
LogEst  rRun,
LogEst  nOut 
)
static

Definition at line 126025 of file sqlite3.c.

static void whereOrMove ( WhereOrSet pDest,
WhereOrSet pSrc 
)
static

Definition at line 126013 of file sqlite3.c.

static char* whereOrName ( sqlite3 db,
char *  zWhere,
char *  zConstant 
)
static

Definition at line 93475 of file sqlite3.c.

static i8 wherePathSatisfiesOrderBy ( WhereInfo pWInfo,
ExprList pOrderBy,
WherePath pPath,
u16  wctrlFlags,
u16  nLoop,
WhereLoop pLast,
Bitmask pRevMask 
)
static

Definition at line 129159 of file sqlite3.c.

static int wherePathSolver ( WhereInfo pWInfo,
LogEst  nRowEst 
)
static

Definition at line 129498 of file sqlite3.c.

static LogEst whereRangeAdjust ( WhereTerm pTerm,
LogEst  nNew 
)
static

Definition at line 127091 of file sqlite3.c.

static int whereRangeScanEst ( Parse pParse,
WhereLoopBuilder pBuilder,
WhereTerm pLower,
WhereTerm pUpper,
WhereLoop pLoop 
)
static

Definition at line 127266 of file sqlite3.c.

static WhereTerm* whereScanInit ( WhereScan pScan,
WhereClause pWC,
int  iCur,
int  iColumn,
u32  opMask,
Index pIdx 
)
static

Definition at line 126187 of file sqlite3.c.

static WhereTerm* whereScanNext ( WhereScan pScan)
static

Definition at line 126091 of file sqlite3.c.

static int whereShortCut ( WhereLoopBuilder pBuilder)
static

Definition at line 129848 of file sqlite3.c.

static LogEst whereSortingCost ( WhereInfo pWInfo,
LogEst  nRow,
int  nOrderBy,
int  nSorted 
)
static

Definition at line 129453 of file sqlite3.c.

static char* whereTempTriggers ( Parse pParse,
Table pTab 
)
static

Definition at line 93509 of file sqlite3.c.

static int whereUsablePartialIndex ( int  iTab,
WhereClause pWC,
Expr pWhere 
)
static

Definition at line 128431 of file sqlite3.c.

static With* withDup ( sqlite3 db,
With p 
)
static

Definition at line 89869 of file sqlite3.c.

static int withExpand ( Walker pWalker,
struct SrcList_item *  pFrom 
)
static

Definition at line 116874 of file sqlite3.c.

static int write32bits ( sqlite3_file fd,
i64  offset,
u32  val 
)
static

Definition at line 46895 of file sqlite3.c.

static int writeJournalHdr ( Pager pPager)
static

Definition at line 47199 of file sqlite3.c.

static int writeMasterJournal ( Pager pPager,
const char *  zMaster 
)
static

Definition at line 47442 of file sqlite3.c.

static int xferCompatibleIndex ( Index pDest,
Index pSrc 
)
static

Definition at line 107626 of file sqlite3.c.

static int xferOptimization ( Parse pParse,
Table pDest,
Select pSelect,
int  onError,
int  iDbDest 
)
static

Definition at line 107687 of file sqlite3.c.

static void yy_accept ( yyParser yypParser)
static

Definition at line 134107 of file sqlite3.c.

static void yy_destructor ( yyParser yypParser,
YYCODETYPE  yymajor,
YYMINORTYPE yypminor 
)
static

Definition at line 132142 of file sqlite3.c.

static int yy_find_reduce_action ( int  stateno,
YYCODETYPE  iLookAhead 
)
static

Definition at line 132360 of file sqlite3.c.

static unsigned int yy_find_shift_action ( yyParser pParser,
YYCODETYPE  iLookAhead 
)
static

Definition at line 132294 of file sqlite3.c.

static void yy_pop_parser_stack ( yyParser pParser)
static

Definition at line 132243 of file sqlite3.c.

static void yy_reduce ( yyParser yypParser,
unsigned int  yyruleno 
)
static

Definition at line 132806 of file sqlite3.c.

static void yy_shift ( yyParser yypParser,
int  yyNewState,
int  yyMajor,
sqlite3ParserTOKENTYPE  yyMinor 
)
static

Definition at line 132431 of file sqlite3.c.

static void yy_syntax_error ( yyParser yypParser,
int  yymajor,
sqlite3ParserTOKENTYPE  yyminor 
)
static

Definition at line 134088 of file sqlite3.c.

static void yyStackOverflow ( yyParser yypParser)
static

Definition at line 132390 of file sqlite3.c.

static void zeroblobFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 103701 of file sqlite3.c.

static int zeroJournalHdr ( Pager pPager,
int  doTruncate 
)
static

Definition at line 47149 of file sqlite3.c.

static void zeroPage ( MemPage pPage,
int  flags 
)
static

Definition at line 59527 of file sqlite3.c.

Variable Documentation

const char aDigits[] = "0123456789ABCDEF0123456789abcdef"
static

Definition at line 24508 of file sqlite3.c.

const int aHardLimit[]
static
Initial value:
= {
}
#define SQLITE_MAX_ATTACHED
Definition: sqlite3.c:10582
#define SQLITE_MAX_VARIABLE_NUMBER
Definition: sqlite3.c:10590
#define SQLITE_MAX_TRIGGER_DEPTH
Definition: sqlite3.c:10664
#define SQLITE_MAX_VDBE_OP
Definition: sqlite3.c:10544
#define SQLITE_MAX_LENGTH
Definition: sqlite3.c:10478
#define SQLITE_MAX_FUNCTION_ARG
Definition: sqlite3.c:10551
#define SQLITE_MAX_EXPR_DEPTH
Definition: sqlite3.c:10524
#define SQLITE_MAX_SQL_LENGTH
Definition: sqlite3.c:10510
#define SQLITE_MAX_COMPOUND_SELECT
Definition: sqlite3.c:10536
#define SQLITE_MAX_COLUMN
Definition: sqlite3.c:10499
#define SQLITE_MAX_LIKE_PATTERN_LENGTH
Definition: sqlite3.c:10653
#define SQLITE_MAX_WORKER_THREADS
Definition: sqlite3.c:11347

Definition at line 137952 of file sqlite3.c.

const unsigned char aiClass[]
static

Definition at line 134373 of file sqlite3.c.

const unsigned char aJournalMagic[]
static
Initial value:
= {
0xd9, 0xd5, 0x05, 0xf9, 0x20, 0xa1, 0x63, 0xd7,
}

Definition at line 46574 of file sqlite3.c.

const struct sPragmaNames aPragmaNames[]
static
const char aPrefix[] = "-x0\000X0"
static

Definition at line 24509 of file sqlite3.c.

struct unix_syscall aSyscall[]
static
const char* const azCompileOpt[]
static

Definition at line 16969 of file sqlite3.c.

const et_info fmtinfo[]
static
Initial value:
= {
{ 'd', 10, 1, etRADIX, 0, 0 },
{ 's', 0, 4, etSTRING, 0, 0 },
{ 'g', 0, 1, etGENERIC, 30, 0 },
{ 'z', 0, 4, etDYNSTRING, 0, 0 },
{ 'q', 0, 4, etSQLESCAPE, 0, 0 },
{ 'Q', 0, 4, etSQLESCAPE2, 0, 0 },
{ 'w', 0, 4, etSQLESCAPE3, 0, 0 },
{ 'c', 0, 0, etCHARX, 0, 0 },
{ 'o', 8, 0, etRADIX, 0, 2 },
{ 'u', 10, 0, etRADIX, 0, 0 },
{ 'x', 16, 0, etRADIX, 16, 1 },
{ 'X', 16, 0, etRADIX, 0, 4 },
{ 'f', 0, 1, etFLOAT, 0, 0 },
{ 'e', 0, 1, etEXP, 30, 0 },
{ 'E', 0, 1, etEXP, 14, 0 },
{ 'G', 0, 1, etGENERIC, 14, 0 },
{ 'i', 10, 1, etRADIX, 0, 0 },
{ 'n', 0, 0, etSIZE, 0, 0 },
{ '%', 0, 0, etPERCENT, 0, 0 },
{ 'p', 16, 0, etPOINTER, 0, 1 },
{ 'T', 0, 2, etTOKEN, 0, 0 },
{ 'S', 0, 2, etSRCLIST, 0, 0 },
{ 'r', 10, 3, etORDINAL, 0, 0 },
}
#define etDYNSTRING
Definition: sqlite3.c:24462
#define etSQLESCAPE3
Definition: sqlite3.c:24472
#define etORDINAL
Definition: sqlite3.c:24473
#define etSRCLIST
Definition: sqlite3.c:24470
#define etSQLESCAPE
Definition: sqlite3.c:24466
#define etSTRING
Definition: sqlite3.c:24461
#define etPOINTER
Definition: sqlite3.c:24471
#define etSIZE
Definition: sqlite3.c:24460
#define etTOKEN
Definition: sqlite3.c:24469
#define etSQLESCAPE2
Definition: sqlite3.c:24467
#define etGENERIC
Definition: sqlite3.c:24459
#define etPERCENT
Definition: sqlite3.c:24463
#define etEXP
Definition: sqlite3.c:24458
#define etCHARX
Definition: sqlite3.c:24464
#define etRADIX
Definition: sqlite3.c:24456
#define etFLOAT
Definition: sqlite3.c:24457

Definition at line 24510 of file sqlite3.c.

const struct compareInfo globInfo = { '*', '?', '[', 0 }
static

Definition at line 103160 of file sqlite3.c.

const char hexdigits[]
static
Initial value:
= {
'0', '1', '2', '3', '4', '5', '6', '7',
'8', '9', 'A', 'B', 'C', 'D', 'E', 'F'
}

Definition at line 103529 of file sqlite3.c.

unixInodeInfo* inodeList = 0
static

Definition at line 30197 of file sqlite3.c.

Definition at line 132469 of file sqlite3.c.

const struct compareInfo likeInfoAlt = { '%', '_', 0, 0 }
static

Definition at line 103166 of file sqlite3.c.

const struct compareInfo likeInfoNorm = { '%', '_', 0, 1 }
static

Definition at line 103163 of file sqlite3.c.

SQLITE_WSD struct Mem0Global mem0 = { 0, 0, 0, 0, 0, 0 }
static
const struct sqlite3_io_methods MemJournalMethods
static
Initial value:
= {
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
}
static int memjrnlTruncate(sqlite3_file *pJfd, sqlite_int64 size)
Definition: sqlite3.c:87084
static int memjrnlRead(sqlite3_file *pJfd, void *zBuf, int iAmt, sqlite_int64 iOfst)
Definition: sqlite3.c:86903
static int memjrnlSync(sqlite3_file *pJfd, int flags)
Definition: sqlite3.c:87112
static int memjrnlClose(sqlite3_file *pJfd)
Definition: sqlite3.c:87100
static int memjrnlWrite(sqlite3_file *pJfd, const void *zBuf, int iAmt, sqlite_int64 iOfst)
Definition: sqlite3.c:87006
static int memjrnlFileSize(sqlite3_file *pJfd, sqlite_int64 *pSize)
Definition: sqlite3.c:87120

Definition at line 87129 of file sqlite3.c.

unsigned char nrhs

Definition at line 132470 of file sqlite3.c.

SQLITE_WSD struct PCacheGlobal pcache1_g
static
pid_t randomnessPid = 0
static

Definition at line 29161 of file sqlite3.c.

SQLITE_API char * sqlite3_data_directory = 0

Definition at line 5321 of file sqlite3.c.

SQLITE_API char * sqlite3_temp_directory = 0

Definition at line 5284 of file sqlite3.c.

SQLITE_API const char sqlite3_version[] = SQLITE_VERSION

Definition at line 400 of file sqlite3.c.

const sqlite3_api_routines sqlite3Apis
static

Definition at line 108823 of file sqlite3.c.

SQLITE_WSD struct sqlite3AutoExtList sqlite3Autoext = { 0, 0 }
static
SQLITE_PRIVATE FuncDefHash sqlite3BuiltinFunctions

Definition at line 16892 of file sqlite3.c.

SQLITE_PRIVATE SQLITE_WSD struct Sqlite3Config sqlite3Config

Definition at line 16835 of file sqlite3.c.

SQLITE_PRIVATE const unsigned char sqlite3CtypeMap[256]

Definition at line 16750 of file sqlite3.c.

SQLITE_WSD struct BenignMallocHooks sqlite3Hooks = { 0, 0 }
static
SQLITE_PRIVATE const Token sqlite3IntTokens[]
Initial value:
= {
{ "0", 1 },
{ "1", 1 }
}

Definition at line 16897 of file sqlite3.c.

const int sqlite3one = 1

Definition at line 11560 of file sqlite3.c.

SQLITE_PRIVATE const unsigned char sqlite3OpcodeProperty[] = OPFLG_INITIALIZER

Definition at line 16932 of file sqlite3.c.

SQLITE_PRIVATE void(*)(void) sqlite3OsDlSym(sqlite3_vfs *pVfs, void *pHdle, const char *zSym)

Definition at line 13375 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PendingByte = 0x40000000

Definition at line 16922 of file sqlite3.c.

SQLITE_WSD struct sqlite3PrngType sqlite3Prng
static
SQLITE_WSD struct sqlite3PrngType sqlite3SavedPrng
static

Definition at line 26148 of file sqlite3.c.

BtShared* SQLITE_WSD sqlite3SharedCacheList = 0
static

Definition at line 57747 of file sqlite3.c.

const u8 sqlite3SmallTypeSizes[]
static
Initial value:
= {
0, 1, 2, 3, 4, 6, 8, 8, 0, 0,
0, 0, 0, 0, 1, 1, 2, 2, 3, 3,
4, 4, 5, 5, 6, 6, 7, 7, 8, 8,
9, 9, 10, 10, 11, 11, 12, 12, 13, 13,
14, 14, 15, 15, 16, 16, 17, 17, 18, 18,
19, 19, 20, 20, 21, 21, 22, 22, 23, 23,
24, 24, 25, 25, 26, 26, 27, 27, 28, 28,
29, 29, 30, 30, 31, 31, 32, 32, 33, 33,
34, 34, 35, 35, 36, 36, 37, 37, 38, 38,
39, 39, 40, 40, 41, 41, 42, 42, 43, 43,
44, 44, 45, 45, 46, 46, 47, 47, 48, 48,
49, 49, 50, 50, 51, 51, 52, 52, 53, 53,
54, 54, 55, 55, 56, 56, 57, 57
}

Definition at line 73063 of file sqlite3.c.

SQLITE_WSD struct sqlite3StatType sqlite3Stat = { {0,}, {0,} }
static
SQLITE_PRIVATE const char sqlite3StrBINARY[] = "BINARY"

Definition at line 16937 of file sqlite3.c.

SQLITE_PRIVATE const unsigned char sqlite3UpperToLower[]

Definition at line 16680 of file sqlite3.c.

const unsigned char sqlite3Utf8Trans1[]
static
Initial value:
= {
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x00, 0x00,
}

Definition at line 26495 of file sqlite3.c.

const FuncDef statGetFuncdef
static
Initial value:
= {
0,
0,
0,
"stat_get",
{0}
}
#define SQLITE_UTF8
Definition: sqlite3.c:4587
#define IsStat34
Definition: sqlite3.c:94180
static void statGet(sqlite3_context *context, int argc, sqlite3_value **argv)
Definition: sqlite3.c:94828

Definition at line 94943 of file sqlite3.c.

const FuncDef statInitFuncdef
static
Initial value:
= {
0,
0,
0,
"stat_init",
{0}
}
#define SQLITE_UTF8
Definition: sqlite3.c:4587
#define IsStat34
Definition: sqlite3.c:94180
static void statInit(sqlite3_context *context, int argc, sqlite3_value **argv)
Definition: sqlite3.c:94417

Definition at line 94499 of file sqlite3.c.

const char statMutex[]
static
Initial value:
= {
0,
1,
1,
0,
0,
0,
0,
1,
0,
0,
}

Definition at line 17987 of file sqlite3.c.

const FuncDef statPushFuncdef
static
Initial value:
= {
0,
0,
0,
"stat_push",
{0}
}
#define SQLITE_UTF8
Definition: sqlite3.c:4587
static void statPush(sqlite3_context *context, int argc, sqlite3_value **argv)
Definition: sqlite3.c:94729
#define IsStat34
Definition: sqlite3.c:94180

Definition at line 94798 of file sqlite3.c.

sqlite3_vfs* SQLITE_WSD vfsList = 0
static

Definition at line 19795 of file sqlite3.c.

const YYACTIONTYPE yy_action[]
static

Definition at line 131036 of file sqlite3.c.

const YYACTIONTYPE yy_default[]
static

Definition at line 131430 of file sqlite3.c.

const YYCODETYPE yy_lookahead[]
static

Definition at line 131189 of file sqlite3.c.

const short yy_reduce_ofst[]
static

Definition at line 131396 of file sqlite3.c.

const short yy_shift_ofst[]
static

Definition at line 131346 of file sqlite3.c.

const YYCODETYPE yyFallback[]
static

Definition at line 131493 of file sqlite3.c.

const { ... } yyRuleInfo[]
const char zMagicHeader[] = SQLITE_FILE_HEADER
static

Definition at line 57692 of file sqlite3.c.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:29