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 <dlfcn.h>
Include dependency graph for sqlite3.c:
This graph shows which files directly or indirectly include this file:

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  AuthContext
 
struct  AutoincInfo
 
struct  AuxData
 
struct  BenignMallocHooks
 
struct  Bitvec
 
struct  BtCursor
 
struct  BtLock
 
struct  Btree
 
struct  BtreePayload
 
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  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  IdxCover
 
struct  Incrblob
 
struct  IncrMerger
 
struct  Index
 
struct  IndexSample
 
struct  InitData
 
struct  IntegrityCk
 
struct  KeyInfo
 
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 _FILE_OFFSET_BITS   64
 
#define _FTS5_H
 
#define _FTSINT_H
 
#define _LARGE_FILE   1
 
#define _LARGEFILE_SOURCE   1
 
#define _OS_COMMON_H_
 
#define _SQLITE3RTREE_H_
 
#define _SQLITE_OS_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, D)   /* 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_Leaf   0x800000 /* Expr.pLeft, .pRight, .u.pSelect all NULL */
 
#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 LOCATE_NOERR   0x02
 
#define LOCATE_VIEW   0x01
 
#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   91 /* synopsis: r[P1]=r[P1]+P2 */
 
#define OP_Affinity   98 /* synopsis: affinity(r[P1@P2]) */
 
#define OP_AggFinal   149 /* synopsis: accum=r[P1] N=P2 */
 
#define OP_AggStep   148 /* synopsis: accum=r[P3] step(r[P2@P5]) */
 
#define OP_AggStep0   147 /* 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   81 /* synopsis: r[P2]=P4 (len=P1) */
 
#define OP_Cast   93 /* synopsis: affinity(r[P1]) */
 
#define OP_Checkpoint   8
 
#define OP_Clear   131
 
#define OP_Close   111
 
#define OP_CollSeq   88
 
#define OP_Column   96 /* synopsis: r[P3]=PX */
 
#define OP_ColumnsUsed   112
 
#define OP_Compare   95 /* 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   84 /* synopsis: r[P2@P3+1]=r[P1@P3+1] */
 
#define OP_Count   100 /* synopsis: r[P2]=count() */
 
#define OP_CreateIndex   134 /* synopsis: r[P2]=root iDb=P1 */
 
#define OP_CreateTable   135 /* synopsis: r[P2]=root iDb=P1 */
 
#define OP_CursorHint   160
 
#define OP_DecrJumpZero   68 /* synopsis: if (--r[P1])==0 goto P2 */
 
#define OP_Delete   117
 
#define OP_Destroy   130
 
#define OP_Divide   50 /* same as TK_SLASH, synopsis: r[P3]=r[P2]/r[P1] */
 
#define OP_DropIndex   139
 
#define OP_DropTable   138
 
#define OP_DropTrigger   140
 
#define OP_ElseNotEq   42 /* same as TK_ESCAPE */
 
#define OP_EndCoroutine   73
 
#define OP_Eq   37 /* same as TK_EQ, synopsis: IF r[P3]==r[P1] */
 
#define OP_Expire   150
 
#define OP_Explain   162
 
#define OP_FkCounter   144 /* synopsis: fkctr[P1]+=P2 */
 
#define OP_FkIfZero   65 /* synopsis: if fkctr[P1]==0 goto P2 */
 
#define OP_Found   31 /* synopsis: key=r[P3@P4] */
 
#define OP_Function   90 /* synopsis: r[P3]=func(r[P2@P5]) */
 
#define OP_Function0   89 /* synopsis: r[P3]=func(r[P2@P5]) */
 
#define OP_Ge   41 /* same as TK_GE, synopsis: IF r[P3]>=r[P1] */
 
#define OP_Gosub   14
 
#define OP_Goto   13
 
#define OP_Gt   38 /* same as TK_GT, synopsis: IF r[P3]>r[P1] */
 
#define OP_Halt   75
 
#define OP_HaltIfNull   74 /* synopsis: if r[P3]=null halt */
 
#define OP_IdxDelete   127 /* synopsis: key=r[P2@P3] */
 
#define OP_IdxGE   61 /* synopsis: key=r[P3@P4] */
 
#define OP_IdxGT   59 /* synopsis: key=r[P3@P4] */
 
#define OP_IdxInsert   126 /* synopsis: key=r[P2] */
 
#define OP_IdxLE   58 /* synopsis: key=r[P3@P4] */
 
#define OP_IdxLT   60 /* synopsis: key=r[P3@P4] */
 
#define OP_IdxRowid   129 /* synopsis: r[P2]=rowid */
 
#define OP_If   21
 
#define OP_IfNot   22
 
#define OP_IfNotZero   67 /* synopsis: if r[P1]!=0 then r[P1]-=P3, goto P2 */
 
#define OP_IfPos   66 /* synopsis: if r[P1]>0 then r[P1]-=P3, goto P2 */
 
#define OP_IncrVacuum   69
 
#define OP_Init   71 /* synopsis: Start at P2 */
 
#define OP_InitCoroutine   15
 
#define OP_Insert   115 /* synopsis: intkey=r[P3] data=r[P2] */
 
#define OP_InsertInt   116 /* synopsis: intkey=P3 data=r[P2] */
 
#define OP_Int64   77 /* synopsis: r[P2]=P4 */
 
#define OP_IntCopy   86 /* synopsis: r[P2]=r[P1] */
 
#define OP_Integer   76 /* synopsis: r[P2]=P1 */
 
#define OP_IntegrityCk   141
 
#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   53
 
#define OP_Le   39 /* same as TK_LE, synopsis: IF r[P3]<=r[P1] */
 
#define OP_LoadAnalysis   137
 
#define OP_Lt   40 /* same as TK_LT, synopsis: IF r[P3]<r[P1] */
 
#define OP_MakeRecord   99 /* synopsis: r[P3]=mkrec(r[P1@P2]) */
 
#define OP_MaxPgcnt   159
 
#define OP_MemMax   145 /* synopsis: r[P1]=max(r[P1],r[P2]) */
 
#define OP_Move   83 /* 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[P3]!=r[P1] */
 
#define OP_NewRowid   114 /* synopsis: r[P2]=rowid */
 
#define OP_Next   7
 
#define OP_NextIfOpen   5
 
#define OP_NoConflict   29 /* synopsis: key=r[P3@P4] */
 
#define OP_Noop   161
 
#define OP_Not   19 /* same as TK_NOT, synopsis: r[P2]= !r[P1] */
 
#define OP_NotExists   33 /* 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   79 /* synopsis: r[P2..P3]=NULL */
 
#define OP_NullRow   124
 
#define OP_OffsetLimit   146 /* 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   106 /* synopsis: nColumn=P2 */
 
#define OP_OpenEphemeral   107 /* synopsis: nColumn=P2 */
 
#define OP_OpenPseudo   110 /* synopsis: P3 columns in r[P2] */
 
#define OP_OpenRead   104 /* synopsis: root=P2 iDb=P3 */
 
#define OP_OpenWrite   105 /* synopsis: root=P2 iDb=P3 */
 
#define OP_Or   27 /* same as TK_OR, synopsis: r[P3]=(r[P1] || r[P2]) */
 
#define OP_Pagecount   158
 
#define OP_Param   143
 
#define OP_ParseSchema   136
 
#define OP_Permutation   94
 
#define OP_Prev   6
 
#define OP_PrevIfOpen   4
 
#define OP_Program   64
 
#define OP_ReadCookie   101
 
#define OP_Real   132 /* same as TK_FLOAT, synopsis: r[P2]=P4 */
 
#define OP_RealAffinity   92
 
#define OP_Remainder   51 /* same as TK_REM, synopsis: r[P3]=r[P2]%r[P1] */
 
#define OP_ReopenIdx   103 /* synopsis: root=P2 iDb=P3 */
 
#define OP_ResetCount   118
 
#define OP_ResetSorter   133
 
#define OP_ResultRow   87 /* synopsis: output=r[P1@P2] */
 
#define OP_Return   72
 
#define OP_Rewind   57
 
#define OP_RowData   122 /* synopsis: r[P2]=data */
 
#define OP_Rowid   123 /* synopsis: r[P2]=rowid */
 
#define OP_RowKey   121 /* synopsis: r[P2]=key */
 
#define OP_RowSetAdd   142 /* synopsis: rowset(P1)=r[P2] */
 
#define OP_RowSetRead   62 /* synopsis: r[P3]=rowset(P1) */
 
#define OP_RowSetTest   63 /* synopsis: if r[P3] in rowset(P1) goto P2 */
 
#define OP_Savepoint   0
 
#define OP_SCopy   85 /* synopsis: r[P2]=r[P1] */
 
#define OP_Seek   128 /* 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_SeekRowid   32 /* synopsis: intkey=r[P3] */
 
#define OP_Sequence   113 /* synopsis: r[P2]=cursor[P1].ctr++ */
 
#define OP_SequenceTest   109 /* synopsis: if( cursor[P1].ctr++ ) pc = P2 */
 
#define OP_SetCookie   102
 
#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   80 /* synopsis: r[P1]=NULL */
 
#define OP_Sort   56
 
#define OP_SorterCompare   119 /* synopsis: if key(P1)!=trim(r[P3],P4) goto P2 */
 
#define OP_SorterData   120 /* synopsis: r[P2]=data */
 
#define OP_SorterInsert   125
 
#define OP_SorterNext   3
 
#define OP_SorterOpen   108
 
#define OP_SorterSort   55
 
#define OP_String   78 /* 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   151 /* synopsis: iDb=P1 root=P2 write=P3 */
 
#define OP_Transaction   2
 
#define OP_Vacuum   10
 
#define OP_Variable   82 /* synopsis: r[P2]=parameter(P1,P4) */
 
#define OP_VBegin   152
 
#define OP_VColumn   156 /* synopsis: r[P3]=vcolumn(P2) */
 
#define OP_VCreate   153
 
#define OP_VDestroy   154
 
#define OP_VFilter   11 /* synopsis: iplan=r[P3] zplan='P4' */
 
#define OP_VNext   70
 
#define OP_VOpen   155
 
#define OP_VRename   157
 
#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 pagerUseWal(x)   sqlite3PagerUseWal(x)
 
#define PARSE_HDR_SZ   offsetof(Parse,aColCache) /* Recursive part w/o aColCache*/
 
#define PARSE_RECURSE_SZ   offsetof(Parse,sLastToken) /* Recursive part */
 
#define PARSE_TAIL(X)   (((char*)(X))+PARSE_RECURSE_SZ) /* Pointer to tail */
 
#define PARSE_TAIL_SZ   (sizeof(Parse)-PARSE_RECURSE_SZ) /* Non-recursive part */
 
#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 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_H
 
#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 SQLITE3EXT_H
 
#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_APICALL
 
#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_BTREE_H
 
#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_CALLBACK
 
#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_DBCONFIG_MAINDBNAME   1000 /* const char* */
 
#define SQLITE_DBSTATUS_CACHE_HIT   7
 
#define SQLITE_DBSTATUS_CACHE_MISS   8
 
#define SQLITE_DBSTATUS_CACHE_USED   1
 
#define SQLITE_DBSTATUS_CACHE_USED_SHARED   11
 
#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   11 /* 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_GET_HANDLE   29
 
#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_HASH_H
 
#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_KEEPNULL   0x08 /* Used by vector == or <> */
 
#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_MSVC_H
 
#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_randomness() */
 
#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   71 /* 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_OK_LOAD_PERMANENTLY   (SQLITE_OK | (1<<8))
 
#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_SETUP_H
 
#define SQLITE_OS_UNIX   1
 
#define SQLITE_OS_WIN   0
 
#define SQLITE_PAGER_H
 
#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-11-28 19:13:37 bbd85d235f7037c6a033a9690534391ffeacecc8"
 
#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   SQLITE_APICALL
 
#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_SYSAPI
 
#define SQLITE_SYSTEM_MALLOC   1
 
#define SQLITE_TCLAPI
 
#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_ONCE_RESET_THRESHOLD   19
 
#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_TRACE_CLOSE   0x08
 
#define SQLITE_TRACE_LEGACY   0x80
 
#define SQLITE_TRACE_PROFILE   0x02
 
#define SQLITE_TRACE_ROW   0x04
 
#define SQLITE_TRACE_STMT   0x01
 
#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_VDBE_H
 
#define SQLITE_VdbeAddopTrace   0x00001000 /* Trace sqlite3VdbeAddOp() calls */
 
#define SQLITE_VdbeEQP   0x08000000 /* Debug EXPLAIN QUERY PLAN */
 
#define SQLITE_VDBEINT_H
 
#define SQLITE_VdbeListing   0x00000400 /* Debug listings of VDBE programs */
 
#define SQLITE_VdbeTrace   0x00000001 /* True to trace VDBE execution */
 
#define SQLITE_VERSION   "3.15.2"
 
#define SQLITE_VERSION_NUMBER   3015002
 
#define SQLITE_VTAB_CONSTRAINT_SUPPORT   1
 
#define SQLITE_WAL_H
 
#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 SQLITEINT_H
 
#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   160
 
#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   133
 
#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   132
 
#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   163
 
#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   134
 
#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_SELECT_COLUMN   159
 
#define TK_SEMI   1
 
#define TK_SET   111
 
#define TK_SLASH   50
 
#define TK_SPACE   162
 
#define TK_SPAN   161
 
#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_VECTOR   158
 
#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 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 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   0x5606c3c8 /* The VDBE has been deallocated */
 
#define VDBE_MAGIC_HALT   0x319c2973 /* VDBE has completed execution */
 
#define VDBE_MAGIC_INIT   0x16bceaa5 /* Building a VDBE program */
 
#define VDBE_MAGIC_RESET   0x48fa9f76 /* Reset and ready to run again */
 
#define VDBE_MAGIC_RUN   0x2df20da3 /* 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   0x0080 /* pOrderby is really a DISTINCT clause */
 
#define WHERE_DUPLICATES_OK   0x0010 /* Ok to return a row more than once */
 
#define WHERE_GROUPBY   0x0040 /* 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_ONEPASS_DESIRED   0x0004 /* Want to do one-pass UPDATE/DELETE */
 
#define WHERE_ONEPASS_MULTIROW   0x0008 /* ONEPASS is ok with multiple rows */
 
#define WHERE_ONEROW   0x00001000 /* Selects no more than one row */
 
#define WHERE_OR_SUBCLAUSE
 
#define WHERE_ORDERBY_LIMIT   0x0800 /* ORDERBY+LIMIT on the inner loop */
 
#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_SEEK_TABLE   0x0400 /* Do not defer seeks on main table */
 
#define WHERE_SKIPSCAN   0x00008000 /* Uses the skip-scan algorithm */
 
#define WHERE_SORTBYGROUP   0x0200 /* 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 /* Use the LIMIT in cost estimates */
 
#define WHERE_VIRTUALTABLE   0x00000400 /* WhereLoop.u.vtab is valid */
 
#define WHERE_WANT_DISTINCT   0x0100 /* 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   1333
 
#define YY_ACTTAB_COUNT   (1567)
 
#define YY_ERROR_ACTION   1332
 
#define YY_MAX_REDUCE   1331
 
#define YY_MAX_SHIFT   455
 
#define YY_MAX_SHIFTREDUCE   999
 
#define YY_MIN_REDUCE   1000
 
#define YY_MIN_SHIFTREDUCE   668
 
#define YY_NO_ACTION   1334
 
#define YY_REDUCE_COUNT   (324)
 
#define YY_REDUCE_MAX   (1300)
 
#define YY_REDUCE_MIN   (-129)
 
#define YY_REDUCE_USE_DFLT   (-130)
 
#define YY_SHIFT_COUNT   (455)
 
#define YY_SHIFT_MAX   (1549)
 
#define YY_SHIFT_MIN   (-94)
 
#define YY_SHIFT_USE_DFLT   (1567)
 
#define YYACTIONTYPE   unsigned short int
 
#define YYCODETYPE   unsigned char
 
#define YYFALLBACK   1
 
#define YYMALLOCARGTYPE   u64
 
#define YYNOCODE   252
 
#define YYNOERRORRECOVERY   1
 
#define YYNRULE   332
 
#define YYNSTATE   456
 
#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 BtreePayload BtreePayload
 
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 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 int(* sqlite3_loadext_entry) (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pThunk)
 
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, u16 *pmNoOmit)
 
static int allocateSpace (MemPage *pPage, int nByte, int *pIdx)
 
static void allocateTempSpace (BtShared *pBt)
 
static void * allocSpace (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, int i)
 
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 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 codeExprOrVector (Parse *pParse, Expr *p, int iReg, int nReg)
 
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 void codeVectorCompare (Parse *pParse, Expr *pExpr, int dest, u8 op, u8 p5)
 
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 void * columnName (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 void * contextMalloc (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 void * createAggContext (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 void * dbMallocRawFinish (sqlite3 *db, u64 n)
 
static SQLITE_NOINLINE void * dbReallocFinish (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 execSql (sqlite3 *db, char **pzErrMsg, const char *zSql)
 
static int execSqlF (sqlite3 *db, char **pzErrMsg, const char *zSql,...)
 
static void explainAppendTerm (StrAccum *pStr, Index *pIdx, int nTerm, int iTerm, int bAnd, 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 *, Expr *, int, void(*)(Parse *, Expr *, int, int), int)
 
static int exprCodeSubselect (Parse *pParse, Expr *pExpr)
 
static int exprCodeVector (Parse *pParse, Expr *p, int *piToFree)
 
static void exprCommute (Parse *pParse, Expr *pExpr)
 
static ExprexprDup (sqlite3 *db, Expr *p, int dupFlags, u8 **pzBuffer)
 
static int exprIdxCover (Walker *pWalker, Expr *pExpr)
 
static char * exprINAffinity (Parse *pParse, Expr *pExpr)
 
static int exprIsConst (Expr *p, int initFlag, int iCur)
 
static SQLITE_NOINLINE void exprListDeleteNN (sqlite3 *db, ExprList *pList)
 
static int exprMightBeIndexed (SrcList *pFrom, int op, 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 exprVectorRegister (Parse *pParse, Expr *pVector, int iField, int regSelect, Expr **ppExpr, int *pRegFree)
 
static int fcntlSizeHint (unixFile *pFile, i64 nByte)
 
static const void * fetchPayload (BtCursor *pCur, u32 *pAmt)
 
static int fileHasMoved (unixFile *pFile)
 
static int fillInCell (MemPage *pPage, unsigned char *pCell, const BtreePayload *pX, 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 SQLITE_NOINLINE void freeP4FuncCtx (sqlite3 *db, sqlite3_context *p)
 
static SQLITE_NOINLINE void freeP4Mem (sqlite3 *db, Mem *p)
 
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 int getFileMode (const char *zFile, mode_t *pMode, uid_t *pUid, gid_t *pGid)
 
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 initMemArray (Mem *p, int N, sqlite3 *db, u16 flags)
 
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 int isAllZero (const char *z, int n)
 
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 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 void * pcache1Alloc (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 * sqlite3_aggregate_context (sqlite3_context *, int nBytes)
 
SQLITE_API SQLITE_DEPRECATED int sqlite3_aggregate_count (sqlite3_context *)
 
SQLITE_API int sqlite3_auto_extension (void(*xEntryPoint)(void))
 
SQLITE_API int sqlite3_backup_finish (sqlite3_backup *p)
 
SQLITE_API sqlite3_backupsqlite3_backup_init (sqlite3 *pDest, const char *zDestName, sqlite3 *pSource, const char *zSourceName)
 
SQLITE_API int sqlite3_backup_pagecount (sqlite3_backup *p)
 
SQLITE_API int sqlite3_backup_remaining (sqlite3_backup *p)
 
SQLITE_API int sqlite3_backup_step (sqlite3_backup *p, int nPage)
 
SQLITE_API int sqlite3_bind_blob (sqlite3_stmt *, int, const void *, int n, void(*)(void *))
 
SQLITE_API int sqlite3_bind_blob64 (sqlite3_stmt *, int, const void *, sqlite3_uint64, void(*)(void *))
 
SQLITE_API int sqlite3_bind_double (sqlite3_stmt *, int, double)
 
SQLITE_API int sqlite3_bind_int (sqlite3_stmt *, int, int)
 
SQLITE_API int sqlite3_bind_int64 (sqlite3_stmt *, int, sqlite3_int64)
 
SQLITE_API int sqlite3_bind_null (sqlite3_stmt *, int)
 
SQLITE_API int sqlite3_bind_parameter_count (sqlite3_stmt *)
 
SQLITE_API int sqlite3_bind_parameter_index (sqlite3_stmt *, const char *zName)
 
SQLITE_API const char * sqlite3_bind_parameter_name (sqlite3_stmt *, int)
 
SQLITE_API int sqlite3_bind_text (sqlite3_stmt *, int, const char *, int, void(*)(void *))
 
SQLITE_API int sqlite3_bind_text16 (sqlite3_stmt *, int, const void *, int, void(*)(void *))
 
SQLITE_API int sqlite3_bind_text64 (sqlite3_stmt *, int, const char *, sqlite3_uint64, void(*)(void *), unsigned char encoding)
 
SQLITE_API int sqlite3_bind_value (sqlite3_stmt *, int, const sqlite3_value *)
 
SQLITE_API int sqlite3_bind_zeroblob (sqlite3_stmt *, int, int n)
 
SQLITE_API int sqlite3_bind_zeroblob64 (sqlite3_stmt *, int, sqlite3_uint64)
 
SQLITE_API int sqlite3_blob_bytes (sqlite3_blob *)
 
SQLITE_API int sqlite3_blob_close (sqlite3_blob *)
 
SQLITE_API int sqlite3_blob_open (sqlite3 *, const char *zDb, const char *zTable, const char *zColumn, sqlite3_int64 iRow, int flags, sqlite3_blob **ppBlob)
 
SQLITE_API int sqlite3_blob_read (sqlite3_blob *, void *Z, int N, int iOffset)
 
SQLITE_API int sqlite3_blob_reopen (sqlite3_blob *, sqlite3_int64)
 
SQLITE_API int sqlite3_blob_write (sqlite3_blob *, const void *z, int n, int iOffset)
 
SQLITE_API int sqlite3_busy_handler (sqlite3 *, int(*)(void *, int), void *)
 
SQLITE_API int sqlite3_busy_timeout (sqlite3 *, int ms)
 
SQLITE_API int sqlite3_cancel_auto_extension (void(*xEntryPoint)(void))
 
SQLITE_API int sqlite3_changes (sqlite3 *)
 
SQLITE_API int sqlite3_clear_bindings (sqlite3_stmt *)
 
SQLITE_API int sqlite3_close (sqlite3 *)
 
SQLITE_API int sqlite3_close_v2 (sqlite3 *)
 
SQLITE_API int sqlite3_collation_needed (sqlite3 *, void *, void(*)(void *, sqlite3 *, int eTextRep, const char *))
 
SQLITE_API int sqlite3_collation_needed16 (sqlite3 *, void *, void(*)(void *, sqlite3 *, int eTextRep, const void *))
 
SQLITE_API const void * sqlite3_column_blob (sqlite3_stmt *, int iCol)
 
SQLITE_API int sqlite3_column_bytes (sqlite3_stmt *, int iCol)
 
SQLITE_API int sqlite3_column_bytes16 (sqlite3_stmt *, int iCol)
 
SQLITE_API int sqlite3_column_count (sqlite3_stmt *pStmt)
 
SQLITE_API const char * sqlite3_column_database_name (sqlite3_stmt *, int)
 
SQLITE_API const void * sqlite3_column_database_name16 (sqlite3_stmt *, int)
 
SQLITE_API const char * sqlite3_column_decltype (sqlite3_stmt *, int)
 
SQLITE_API const void * sqlite3_column_decltype16 (sqlite3_stmt *, int)
 
SQLITE_API double sqlite3_column_double (sqlite3_stmt *, int iCol)
 
SQLITE_API int sqlite3_column_int (sqlite3_stmt *, int iCol)
 
SQLITE_API sqlite3_int64 sqlite3_column_int64 (sqlite3_stmt *, int iCol)
 
SQLITE_API const char * sqlite3_column_name (sqlite3_stmt *, int N)
 
SQLITE_API const void * sqlite3_column_name16 (sqlite3_stmt *, int N)
 
SQLITE_API const char * sqlite3_column_origin_name (sqlite3_stmt *, int)
 
SQLITE_API const void * sqlite3_column_origin_name16 (sqlite3_stmt *, int)
 
SQLITE_API const char * sqlite3_column_table_name (sqlite3_stmt *, int)
 
SQLITE_API const void * sqlite3_column_table_name16 (sqlite3_stmt *, int)
 
SQLITE_API const unsigned char * sqlite3_column_text (sqlite3_stmt *, int iCol)
 
SQLITE_API const void * sqlite3_column_text16 (sqlite3_stmt *, int iCol)
 
SQLITE_API int sqlite3_column_type (sqlite3_stmt *, int iCol)
 
SQLITE_API sqlite3_valuesqlite3_column_value (sqlite3_stmt *, int iCol)
 
SQLITE_API void * sqlite3_commit_hook (sqlite3 *, int(*)(void *), void *)
 
SQLITE_API const char * sqlite3_compileoption_get (int N)
 
SQLITE_API int sqlite3_compileoption_used (const char *zOptName)
 
SQLITE_API int sqlite3_complete (const char *sql)
 
SQLITE_API int sqlite3_complete16 (const void *sql)
 
SQLITE_API int sqlite3_config (int,...)
 
SQLITE_API sqlite3sqlite3_context_db_handle (sqlite3_context *)
 
SQLITE_API int sqlite3_create_collation (sqlite3 *, const char *zName, int eTextRep, void *pArg, int(*xCompare)(void *, int, const void *, int, const void *))
 
SQLITE_API int sqlite3_create_collation16 (sqlite3 *, const void *zName, int eTextRep, void *pArg, int(*xCompare)(void *, int, const void *, int, const void *))
 
SQLITE_API int 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 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 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 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 sqlite3_create_module (sqlite3 *db, const char *zName, const sqlite3_module *p, void *pClientData)
 
SQLITE_API int sqlite3_create_module_v2 (sqlite3 *db, const char *zName, const sqlite3_module *p, void *pClientData, void(*xDestroy)(void *))
 
SQLITE_API int sqlite3_data_count (sqlite3_stmt *pStmt)
 
SQLITE_API int sqlite3_db_cacheflush (sqlite3 *)
 
SQLITE_API int sqlite3_db_config (sqlite3 *, int op,...)
 
SQLITE_API const char * sqlite3_db_filename (sqlite3 *db, const char *zDbName)
 
SQLITE_API sqlite3sqlite3_db_handle (sqlite3_stmt *)
 
SQLITE_API sqlite3_mutexsqlite3_db_mutex (sqlite3 *)
 
SQLITE_API int sqlite3_db_readonly (sqlite3 *db, const char *zDbName)
 
SQLITE_API int sqlite3_db_release_memory (sqlite3 *)
 
SQLITE_API int sqlite3_db_status (sqlite3 *, int op, int *pCur, int *pHiwtr, int resetFlg)
 
SQLITE_API int sqlite3_declare_vtab (sqlite3 *, const char *zSQL)
 
SQLITE_API int sqlite3_enable_load_extension (sqlite3 *db, int onoff)
 
SQLITE_API int sqlite3_enable_shared_cache (int)
 
SQLITE_API int sqlite3_errcode (sqlite3 *db)
 
SQLITE_API const char * sqlite3_errmsg (sqlite3 *)
 
SQLITE_API const void * sqlite3_errmsg16 (sqlite3 *)
 
SQLITE_API const char * sqlite3_errstr (int)
 
SQLITE_API int sqlite3_exec (sqlite3 *, const char *sql, int(*callback)(void *, int, char **, char **), void *, char **errmsg)
 
SQLITE_API char * sqlite3_expanded_sql (sqlite3_stmt *pStmt)
 
SQLITE_API SQLITE_DEPRECATED int sqlite3_expired (sqlite3_stmt *)
 
SQLITE_API int sqlite3_extended_errcode (sqlite3 *db)
 
SQLITE_API int sqlite3_extended_result_codes (sqlite3 *, int onoff)
 
SQLITE_API int sqlite3_file_control (sqlite3 *, const char *zDbName, int op, void *)
 
SQLITE_API int sqlite3_finalize (sqlite3_stmt *pStmt)
 
SQLITE_API void sqlite3_free (void *)
 
SQLITE_API void sqlite3_free_table (char **result)
 
SQLITE_API int sqlite3_get_autocommit (sqlite3 *)
 
SQLITE_API void * sqlite3_get_auxdata (sqlite3_context *, int N)
 
SQLITE_API int 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 sqlite3_global_recover (void)
 
SQLITE_API int sqlite3_initialize (void)
 
SQLITE_API void sqlite3_interrupt (sqlite3 *)
 
SQLITE_API sqlite3_int64 sqlite3_last_insert_rowid (sqlite3 *)
 
SQLITE_API const char * sqlite3_libversion (void)
 
SQLITE_API int sqlite3_libversion_number (void)
 
SQLITE_API int sqlite3_limit (sqlite3 *, int id, int newVal)
 
SQLITE_API int sqlite3_load_extension (sqlite3 *db, const char *zFile, const char *zProc, char **pzErrMsg)
 
SQLITE_API void sqlite3_log (int iErrCode, const char *zFormat,...)
 
SQLITE_API void * sqlite3_malloc (int)
 
SQLITE_API void * sqlite3_malloc64 (sqlite3_uint64)
 
SQLITE_API SQLITE_DEPRECATED int sqlite3_memory_alarm (void(*)(void *, sqlite3_int64, int), void *, sqlite3_int64)
 
SQLITE_API int sqlite3_memory_alarm (void(*xCallback)(void *pArg, sqlite3_int64 used, int N), void *pArg, sqlite3_int64 iThreshold)
 
SQLITE_API sqlite3_int64 sqlite3_memory_highwater (int resetFlag)
 
SQLITE_API sqlite3_int64 sqlite3_memory_used (void)
 
SQLITE_API char * sqlite3_mprintf (const char *,...)
 
SQLITE_API sqlite3_uint64 sqlite3_msize (void *)
 
SQLITE_API sqlite3_mutexsqlite3_mutex_alloc (int)
 
SQLITE_API void sqlite3_mutex_enter (sqlite3_mutex *)
 
SQLITE_API void sqlite3_mutex_free (sqlite3_mutex *)
 
SQLITE_API int sqlite3_mutex_held (sqlite3_mutex *)
 
SQLITE_API void sqlite3_mutex_leave (sqlite3_mutex *)
 
SQLITE_API int sqlite3_mutex_notheld (sqlite3_mutex *)
 
SQLITE_API int sqlite3_mutex_try (sqlite3_mutex *)
 
SQLITE_API sqlite3_stmtsqlite3_next_stmt (sqlite3 *pDb, sqlite3_stmt *pStmt)
 
SQLITE_API int sqlite3_open (const char *filename, sqlite3 **ppDb)
 
SQLITE_API int sqlite3_open16 (const void *filename, sqlite3 **ppDb)
 
SQLITE_API int sqlite3_open_v2 (const char *filename, sqlite3 **ppDb, int flags, const char *zVfs)
 
SQLITE_API int sqlite3_os_end (void)
 
SQLITE_API int sqlite3_os_init (void)
 
SQLITE_API int sqlite3_overload_function (sqlite3 *, const char *zFuncName, int nArg)
 
SQLITE_API int sqlite3_prepare (sqlite3 *db, const char *zSql, int nByte, sqlite3_stmt **ppStmt, const char **pzTail)
 
SQLITE_API int sqlite3_prepare16 (sqlite3 *db, const void *zSql, int nByte, sqlite3_stmt **ppStmt, const void **pzTail)
 
SQLITE_API int sqlite3_prepare16_v2 (sqlite3 *db, const void *zSql, int nByte, sqlite3_stmt **ppStmt, const void **pzTail)
 
SQLITE_API int sqlite3_prepare_v2 (sqlite3 *db, const char *zSql, int nByte, sqlite3_stmt **ppStmt, const char **pzTail)
 
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_preupdate_count (sqlite3 *)
 
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_preupdate_depth (sqlite3 *)
 
SQLITE_API SQLITE_EXPERIMENTAL void * 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 sqlite3_preupdate_new (sqlite3 *, int, sqlite3_value **)
 
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_preupdate_old (sqlite3 *, int, sqlite3_value **)
 
SQLITE_API SQLITE_DEPRECATED void * sqlite3_profile (sqlite3 *, void(*xProfile)(void *, const char *, sqlite3_uint64), void *)
 
SQLITE_API void sqlite3_progress_handler (sqlite3 *, int, int(*)(void *), void *)
 
SQLITE_API void sqlite3_randomness (int N, void *P)
 
SQLITE_API void * sqlite3_realloc (void *, int)
 
SQLITE_API void * sqlite3_realloc64 (void *, sqlite3_uint64)
 
SQLITE_API int sqlite3_release_memory (int)
 
SQLITE_API int sqlite3_reset (sqlite3_stmt *pStmt)
 
SQLITE_API void sqlite3_reset_auto_extension (void)
 
SQLITE_API void sqlite3_result_blob (sqlite3_context *, const void *, int, void(*)(void *))
 
SQLITE_API void sqlite3_result_blob64 (sqlite3_context *, const void *, sqlite3_uint64, void(*)(void *))
 
SQLITE_API void sqlite3_result_double (sqlite3_context *, double)
 
SQLITE_API void sqlite3_result_error (sqlite3_context *, const char *, int)
 
SQLITE_API void sqlite3_result_error16 (sqlite3_context *, const void *, int)
 
SQLITE_API void sqlite3_result_error_code (sqlite3_context *, int)
 
SQLITE_API void sqlite3_result_error_nomem (sqlite3_context *)
 
SQLITE_API void sqlite3_result_error_toobig (sqlite3_context *)
 
SQLITE_API void sqlite3_result_int (sqlite3_context *, int)
 
SQLITE_API void sqlite3_result_int64 (sqlite3_context *, sqlite3_int64)
 
SQLITE_API void sqlite3_result_null (sqlite3_context *)
 
SQLITE_API void sqlite3_result_subtype (sqlite3_context *, unsigned int)
 
SQLITE_API void sqlite3_result_text (sqlite3_context *, const char *, int, void(*)(void *))
 
SQLITE_API void sqlite3_result_text16 (sqlite3_context *, const void *, int, void(*)(void *))
 
SQLITE_API void sqlite3_result_text16be (sqlite3_context *, const void *, int, void(*)(void *))
 
SQLITE_API void sqlite3_result_text16le (sqlite3_context *, const void *, int, void(*)(void *))
 
SQLITE_API void sqlite3_result_text64 (sqlite3_context *, const char *, sqlite3_uint64, void(*)(void *), unsigned char encoding)
 
SQLITE_API void sqlite3_result_value (sqlite3_context *, sqlite3_value *)
 
SQLITE_API void sqlite3_result_zeroblob (sqlite3_context *, int n)
 
SQLITE_API int sqlite3_result_zeroblob64 (sqlite3_context *, sqlite3_uint64 n)
 
SQLITE_API void * sqlite3_rollback_hook (sqlite3 *, void(*)(void *), void *)
 
SQLITE_API int sqlite3_rtree_geometry_callback (sqlite3 *db, const char *zGeom, int(*xGeom)(sqlite3_rtree_geometry *, int, sqlite3_rtree_dbl *, int *), void *pContext)
 
SQLITE_API int sqlite3_rtree_query_callback (sqlite3 *db, const char *zQueryFunc, int(*xQueryFunc)(sqlite3_rtree_query_info *), void *pContext, void(*xDestructor)(void *))
 
SQLITE_API int sqlite3_set_authorizer (sqlite3 *, int(*xAuth)(void *, int, const char *, const char *, const char *, const char *), void *pUserData)
 
SQLITE_API void sqlite3_set_auxdata (sqlite3_context *, int N, void *, void(*)(void *))
 
SQLITE_API int sqlite3_shutdown (void)
 
SQLITE_API int sqlite3_sleep (int)
 
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_cmp (sqlite3_snapshot *p1, sqlite3_snapshot *p2)
 
SQLITE_API SQLITE_EXPERIMENTAL void sqlite3_snapshot_free (sqlite3_snapshot *)
 
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_get (sqlite3 *db, const char *zSchema, sqlite3_snapshot **ppSnapshot)
 
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_open (sqlite3 *db, const char *zSchema, sqlite3_snapshot *pSnapshot)
 
SQLITE_API char * sqlite3_snprintf (int, char *, const char *,...)
 
SQLITE_API SQLITE_DEPRECATED void sqlite3_soft_heap_limit (int N)
 
SQLITE_API sqlite3_int64 sqlite3_soft_heap_limit64 (sqlite3_int64 N)
 
SQLITE_API const char * sqlite3_sourceid (void)
 
SQLITE_API const char * sqlite3_sql (sqlite3_stmt *pStmt)
 
SQLITE_API int sqlite3_status (int op, int *pCurrent, int *pHighwater, int resetFlag)
 
SQLITE_API int sqlite3_status64 (int op, sqlite3_int64 *pCurrent, sqlite3_int64 *pHighwater, int resetFlag)
 
SQLITE_API int sqlite3_step (sqlite3_stmt *)
 
SQLITE_API int sqlite3_stmt_busy (sqlite3_stmt *)
 
SQLITE_API int sqlite3_stmt_readonly (sqlite3_stmt *pStmt)
 
SQLITE_API int sqlite3_stmt_scanstatus (sqlite3_stmt *pStmt, int idx, int iScanStatusOp, void *pOut)
 
SQLITE_API void sqlite3_stmt_scanstatus_reset (sqlite3_stmt *)
 
SQLITE_API int sqlite3_stmt_status (sqlite3_stmt *, int op, int resetFlg)
 
SQLITE_API int sqlite3_strglob (const char *zGlob, const char *zStr)
 
SQLITE_API int sqlite3_stricmp (const char *, const char *)
 
SQLITE_API int sqlite3_strlike (const char *zGlob, const char *zStr, unsigned int cEsc)
 
SQLITE_API int sqlite3_strnicmp (const char *, const char *, int)
 
SQLITE_API int sqlite3_system_errno (sqlite3 *)
 
SQLITE_API int 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 sqlite3_test_control (int op,...)
 
SQLITE_API SQLITE_DEPRECATED void sqlite3_thread_cleanup (void)
 
SQLITE_API int sqlite3_threadsafe (void)
 
SQLITE_API int sqlite3_total_changes (sqlite3 *)
 
SQLITE_API SQLITE_DEPRECATED void * sqlite3_trace (sqlite3 *, void(*xTrace)(void *, const char *), void *)
 
SQLITE_API int sqlite3_trace_v2 (sqlite3 *, unsigned uMask, int(*xCallback)(unsigned, void *, void *, void *), void *pCtx)
 
SQLITE_API SQLITE_DEPRECATED int sqlite3_transfer_bindings (sqlite3_stmt *, sqlite3_stmt *)
 
SQLITE_API int sqlite3_unlock_notify (sqlite3 *pBlocked, void(*xNotify)(void **apArg, int nArg), void *pNotifyArg)
 
SQLITE_API void * sqlite3_update_hook (sqlite3 *, void(*)(void *, int, char const *, char const *, sqlite3_int64), void *)
 
SQLITE_API int sqlite3_uri_boolean (const char *zFile, const char *zParam, int bDefault)
 
SQLITE_API sqlite3_int64 sqlite3_uri_int64 (const char *, const char *, sqlite3_int64)
 
SQLITE_API const char * sqlite3_uri_parameter (const char *zFilename, const char *zParam)
 
SQLITE_API void * sqlite3_user_data (sqlite3_context *)
 
SQLITE_API const void * sqlite3_value_blob (sqlite3_value *)
 
SQLITE_API int sqlite3_value_bytes (sqlite3_value *)
 
SQLITE_API int sqlite3_value_bytes16 (sqlite3_value *)
 
SQLITE_API double sqlite3_value_double (sqlite3_value *)
 
SQLITE_API sqlite3_valuesqlite3_value_dup (const sqlite3_value *)
 
SQLITE_API void sqlite3_value_free (sqlite3_value *)
 
SQLITE_API int sqlite3_value_int (sqlite3_value *)
 
SQLITE_API sqlite3_int64 sqlite3_value_int64 (sqlite3_value *)
 
SQLITE_API int sqlite3_value_numeric_type (sqlite3_value *)
 
SQLITE_API unsigned int sqlite3_value_subtype (sqlite3_value *)
 
SQLITE_API const unsigned char * sqlite3_value_text (sqlite3_value *)
 
SQLITE_API const void * sqlite3_value_text16 (sqlite3_value *)
 
SQLITE_API const void * sqlite3_value_text16be (sqlite3_value *)
 
SQLITE_API const void * sqlite3_value_text16le (sqlite3_value *)
 
SQLITE_API int sqlite3_value_type (sqlite3_value *)
 
SQLITE_API sqlite3_vfssqlite3_vfs_find (const char *zVfsName)
 
SQLITE_API int sqlite3_vfs_register (sqlite3_vfs *, int makeDflt)
 
SQLITE_API int sqlite3_vfs_unregister (sqlite3_vfs *)
 
SQLITE_API char * sqlite3_vmprintf (const char *, va_list)
 
SQLITE_API char * sqlite3_vsnprintf (int, char *, const char *, va_list)
 
SQLITE_API int sqlite3_vtab_config (sqlite3 *, int op,...)
 
SQLITE_API int sqlite3_vtab_on_conflict (sqlite3 *)
 
SQLITE_API int sqlite3_wal_autocheckpoint (sqlite3 *db, int N)
 
SQLITE_API int sqlite3_wal_checkpoint (sqlite3 *db, const char *zDb)
 
SQLITE_API int sqlite3_wal_checkpoint_v2 (sqlite3 *db, const char *zDb, int eMode, int *pnLog, int *pnCkpt)
 
SQLITE_API void * 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 void * sqlite3ArrayAllocate (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 sqlite3BtreeConnectionCount (Btree *)
 
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 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 BtreePayload *pPayload, int bias, int seekResult)
 
SQLITE_PRIVATE i64 sqlite3BtreeIntegerKey (BtCursor *)
 
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 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 const void * sqlite3BtreePayloadFetch (BtCursor *, u32 *pAmt)
 
SQLITE_PRIVATE u32 sqlite3BtreePayloadSize (BtCursor *)
 
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 void * sqlite3BtreeSchema (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 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 void sqlite3CreateIndex (Parse *, Token *, Token *, SrcList *, ExprList *, int, Token *, Expr *, int, int, u8)
 
SQLITE_PRIVATE void sqlite3CreateView (Parse *, Token *, Token *, Token *, ExprList *, Select *, int, int)
 
SQLITE_PRIVATE void sqlite3DbFree (sqlite3 *, void *)
 
SQLITE_PRIVATE void * sqlite3DbMallocRaw (sqlite3 *, u64)
 
SQLITE_PRIVATE void * sqlite3DbMallocRawNN (sqlite3 *, u64)
 
SQLITE_PRIVATE int sqlite3DbMallocSize (sqlite3 *, void *)
 
SQLITE_PRIVATE void * sqlite3DbMallocZero (sqlite3 *, u64)
 
SQLITE_PRIVATE Btreesqlite3DbNameToBtree (sqlite3 *, const char *)
 
SQLITE_PRIVATE void * sqlite3DbRealloc (sqlite3 *, void *, u64)
 
SQLITE_PRIVATE void * sqlite3DbReallocOrFree (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 *, u32)
 
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 int sqlite3ExprCheckIN (Parse *, Expr *)
 
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 int sqlite3ExprCoveredByIndex (Expr *, int iCur, Index *pIdx)
 
SQLITE_PRIVATE void sqlite3ExprDelete (sqlite3 *, Expr *)
 
static SQLITE_NOINLINE void sqlite3ExprDeleteNN (sqlite3 *db, Expr *p)
 
SQLITE_PRIVATE Exprsqlite3ExprDup (sqlite3 *, Expr *, int)
 
SQLITE_PRIVATE Exprsqlite3ExprForVectorField (Parse *, 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 int sqlite3ExprIsVector (Expr *pExpr)
 
SQLITE_PRIVATE ExprListsqlite3ExprListAppend (Parse *, ExprList *, Expr *)
 
SQLITE_PRIVATE ExprListsqlite3ExprListAppendVector (Parse *, ExprList *, IdList *, 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 sqlite3ExprVectorSize (Expr *pExpr)
 
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 *, 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 void * sqlite3HashFind (const Hash *, const char *pKey)
 
SQLITE_PRIVATE void sqlite3HashInit (Hash *)
 
SQLITE_PRIVATE void * sqlite3HashInsert (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 void * sqlite3HexToBlob (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 *, u32 flags, const char *, const char *)
 
SQLITE_PRIVATE Tablesqlite3LocateTableItem (Parse *, u32 flags, 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 void * sqlite3Malloc (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 void * sqlite3MallocZero (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 void * sqlite3MemMalloc (int nByte)
 
SQLITE_PRIVATE void sqlite3MemoryBarrier (void)
 
static void * sqlite3MemRealloc (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 void * sqlite3OsDlOpen (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 void * sqlite3PageMalloc (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 void * sqlite3PagerGetData (DbPage *)
 
SQLITE_PRIVATE void * sqlite3PagerGetExtra (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 void * sqlite3PagerTempSpace (Pager *)
 
SQLITE_PRIVATE void sqlite3PagerTruncateImage (Pager *, Pgno)
 
SQLITE_PRIVATE void sqlite3PagerUnref (DbPage *)
 
SQLITE_PRIVATE void sqlite3PagerUnrefNotNull (DbPage *)
 
SQLITE_PRIVATE int sqlite3PagerUseWal (Pager *pPager)
 
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 void * sqlite3ParserAlloc (void *(*)(u64))
 
SQLITE_PRIVATE void * sqlite3ParserAlloc (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 void * sqlite3Realloc (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 *, int)
 
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 void * sqlite3ScratchMalloc (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 sqlite3SubselectError (Parse *pParse, int nActual, int nExpect)
 
SQLITE_PRIVATE void sqlite3SystemError (sqlite3 *, int)
 
SQLITE_PRIVATE void sqlite3TableAffinity (Vdbe *, Table *, int)
 
SQLITE_PRIVATE char sqlite3TableColumnAffinity (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 *, Token *)
 
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 void * sqlite3ValueText (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 Exprsqlite3VectorFieldSubexpr (Expr *, 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 int sqlite3WhereOrderedInnerLoop (WhereInfo *)
 
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 unixDlClose (sqlite3_vfs *NotUsed, void *pHandle)
 
static void unixDlError (sqlite3_vfs *NotUsed, int nBuf, char *zBufOut)
 
static void * unixDlOpen (sqlite3_vfs *NotUsed, const char *zFilename)
 
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 updateRangeAffinityStr (Expr *pRight, int n, char *zAff)
 
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 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 void * valueToText (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 void * vdbeIncrPopulateThread (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 void * vdbePmaReaderBgIncrInit (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 void * vdbeSorterFlushThread (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 SorterRecordvdbeSorterMerge (SortSubtask *pTask, SorterRecord *p1, SorterRecord *p2)
 
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 void * vdbeSorterRowkey (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, u16 mNoOmit, 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 int whereRangeVectorLen (Parse *pParse, int iCur, Index *pIdx, int nEq, WhereTerm *pTerm)
 
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(*)(void) sqlite3OsDlSym (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 void(*)(void) unixDlSym (sqlite3_vfs *NotUsed, void *p, const char *zSym)
 
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 _FILE_OFFSET_BITS   64

Definition at line 202 of file sqlite3.c.

#define _FTS5_H

Definition at line 10073 of file sqlite3.c.

#define _FTSINT_H

Definition at line 142532 of file sqlite3.c.

#define _LARGE_FILE   1

Definition at line 200 of file sqlite3.c.

#define _LARGEFILE_SOURCE   1

Definition at line 204 of file sqlite3.c.

#define _OS_COMMON_H_

Definition at line 29491 of file sqlite3.c.

#define _SQLITE3RTREE_H_

Definition at line 8664 of file sqlite3.c.

#define _SQLITE_OS_H_

Definition at line 13368 of file sqlite3.c.

#define _XOPEN_SOURCE   600

Definition at line 11024 of file sqlite3.c.

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

Definition at line 12552 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:4756
#define SQLITE_INT_TO_PTR(X)
Definition: sqlite3.c:10900
#define SQLITE_FUNC_NEEDCOLL
Definition: sqlite3.c:14187

Definition at line 14250 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:4756
#define SQLITE_INT_TO_PTR(X)
Definition: sqlite3.c:10900
#define SQLITE_FUNC_NEEDCOLL
Definition: sqlite3.c:14187

Definition at line 14253 of file sqlite3.c.

#define ALLBITS   ((Bitmask)-1)

Definition at line 15112 of file sqlite3.c.

#define ALWAYS (   X)    (X)

Definition at line 11120 of file sqlite3.c.

#define ApplyCostMultiplier (   C,
 
)

Definition at line 130108 of file sqlite3.c.

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

Definition at line 11901 of file sqlite3.c.

#define assertCellInfo (   x)

Definition at line 62495 of file sqlite3.c.

#define assertParentIndex (   x,
  y,
  z 
)

Definition at line 63038 of file sqlite3.c.

#define assertTruncateConstraint (   pPager)

Definition at line 50245 of file sqlite3.c.

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

Definition at line 43232 of file sqlite3.c.

#define BITVEC_MXHASH   (BITVEC_NINT/2)

Definition at line 43227 of file sqlite3.c.

#define BITVEC_NBIT   (BITVEC_NELEM*BITVEC_SZELEM)

Definition at line 43221 of file sqlite3.c.

#define BITVEC_NELEM   (BITVEC_USIZE/sizeof(BITVEC_TELEM))

Definition at line 43219 of file sqlite3.c.

#define BITVEC_NINT   (BITVEC_USIZE/sizeof(u32))

Definition at line 43224 of file sqlite3.c.

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

Definition at line 43234 of file sqlite3.c.

#define BITVEC_SZ   512

Definition at line 43204 of file sqlite3.c.

#define BITVEC_SZELEM   8

Definition at line 43217 of file sqlite3.c.

#define BITVEC_TELEM   u8

Definition at line 43215 of file sqlite3.c.

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

Definition at line 43208 of file sqlite3.c.

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

Definition at line 15105 of file sqlite3.c.

#define BTALLOC_ANY   0 /* Allocate any page */

Definition at line 58292 of file sqlite3.c.

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

Definition at line 58293 of file sqlite3.c.

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

Definition at line 58294 of file sqlite3.c.

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

Definition at line 57787 of file sqlite3.c.

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

Definition at line 57788 of file sqlite3.c.

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

Definition at line 57789 of file sqlite3.c.

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

Definition at line 57785 of file sqlite3.c.

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

Definition at line 57786 of file sqlite3.c.

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

Definition at line 57784 of file sqlite3.c.

#define BTCURSOR_MAX_DEPTH   20

Definition at line 57733 of file sqlite3.c.

#define BTREE_APPLICATION_ID   8

Definition at line 12172 of file sqlite3.c.

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

Definition at line 12053 of file sqlite3.c.

#define BTREE_AUTOVACUUM_INCR   2 /* Incremental vacuum */

Definition at line 12054 of file sqlite3.c.

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

Definition at line 12052 of file sqlite3.c.

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

Definition at line 12274 of file sqlite3.c.

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

Definition at line 12135 of file sqlite3.c.

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

Definition at line 12217 of file sqlite3.c.

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

Definition at line 12173 of file sqlite3.c.

#define BTREE_DEFAULT_CACHE_SIZE   3

Definition at line 12167 of file sqlite3.c.

#define BTREE_FILE_FORMAT   2

Definition at line 12166 of file sqlite3.c.

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

Definition at line 12244 of file sqlite3.c.

#define BTREE_FREE_PAGE_COUNT   0

Definition at line 12164 of file sqlite3.c.

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

Definition at line 12202 of file sqlite3.c.

#define BTREE_INCR_VACUUM   7

Definition at line 12171 of file sqlite3.c.

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

Definition at line 12134 of file sqlite3.c.

#define BTREE_LARGEST_ROOT_PAGE   4

Definition at line 12168 of file sqlite3.c.

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

Definition at line 12081 of file sqlite3.c.

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

Definition at line 12080 of file sqlite3.c.

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

Definition at line 12273 of file sqlite3.c.

#define BTREE_SCHEMA_VERSION   1

Definition at line 12165 of file sqlite3.c.

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

Definition at line 12218 of file sqlite3.c.

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

Definition at line 12082 of file sqlite3.c.

#define BTREE_TEXT_ENCODING   5

Definition at line 12169 of file sqlite3.c.

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

Definition at line 12083 of file sqlite3.c.

#define BTREE_USER_VERSION   6

Definition at line 12170 of file sqlite3.c.

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

Definition at line 12243 of file sqlite3.c.

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

Definition at line 57891 of file sqlite3.c.

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

Definition at line 57708 of file sqlite3.c.

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

Definition at line 57706 of file sqlite3.c.

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

Definition at line 57707 of file sqlite3.c.

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

Definition at line 57704 of file sqlite3.c.

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

Definition at line 57709 of file sqlite3.c.

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

Definition at line 57703 of file sqlite3.c.

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

Definition at line 57705 of file sqlite3.c.

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

Definition at line 54384 of file sqlite3.c.

#define CACHE_STALE   0

Definition at line 17820 of file sqlite3.c.

#define CC_AND   24 /* '&' */

Definition at line 136622 of file sqlite3.c.

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

Definition at line 136613 of file sqlite3.c.

#define CC_COMMA   23 /* ',' */

Definition at line 136621 of file sqlite3.c.

#define CC_DIGIT   3 /* Digits */

Definition at line 136601 of file sqlite3.c.

#define CC_DOLLAR   4 /* '$' */

Definition at line 136602 of file sqlite3.c.

#define CC_DOT   26 /* '.' */

Definition at line 136624 of file sqlite3.c.

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

Definition at line 136612 of file sqlite3.c.

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

Definition at line 136611 of file sqlite3.c.

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

Definition at line 136600 of file sqlite3.c.

#define CC_ILLEGAL   27 /* Illegal character */

Definition at line 136625 of file sqlite3.c.

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

Definition at line 136599 of file sqlite3.c.

#define CC_LP   17 /* '(' */

Definition at line 136615 of file sqlite3.c.

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

Definition at line 136610 of file sqlite3.c.

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

Definition at line 136609 of file sqlite3.c.

#define CC_PERCENT   22 /* '%' */

Definition at line 136620 of file sqlite3.c.

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

Definition at line 136608 of file sqlite3.c.

#define CC_PLUS   20 /* '+' */

Definition at line 136618 of file sqlite3.c.

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

Definition at line 136606 of file sqlite3.c.

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

Definition at line 136607 of file sqlite3.c.

#define CC_RP   18 /* ')' */

Definition at line 136616 of file sqlite3.c.

#define CC_SEMI   19 /* ';' */

Definition at line 136617 of file sqlite3.c.

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

Definition at line 136614 of file sqlite3.c.

#define CC_SPACE   7 /* Space characters */

Definition at line 136605 of file sqlite3.c.

#define CC_STAR   21 /* '*' */

Definition at line 136619 of file sqlite3.c.

#define CC_TILDA   25 /* '~' */

Definition at line 136623 of file sqlite3.c.

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

Definition at line 136603 of file sqlite3.c.

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

Definition at line 136604 of file sqlite3.c.

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

Definition at line 136598 of file sqlite3.c.

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

Definition at line 136678 of file sqlite3.c.

#define CHECK_PAGE (   x)

Definition at line 47584 of file sqlite3.c.

#define checkActiveVdbeCnt (   x)

Definition at line 72925 of file sqlite3.c.

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

Definition at line 75199 of file sqlite3.c.

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

Definition at line 108462 of file sqlite3.c.

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

Definition at line 108463 of file sqlite3.c.

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

Definition at line 43468 of file sqlite3.c.

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

Definition at line 46784 of file sqlite3.c.

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

Definition at line 46785 of file sqlite3.c.

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

Definition at line 125299 of file sqlite3.c.

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

Definition at line 14310 of file sqlite3.c.

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

Definition at line 14309 of file sqlite3.c.

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

Definition at line 14308 of file sqlite3.c.

#define COLNAME_COLUMN   4

Definition at line 12535 of file sqlite3.c.

#define COLNAME_DATABASE   2

Definition at line 12533 of file sqlite3.c.

#define COLNAME_DECLTYPE   1

Definition at line 12532 of file sqlite3.c.

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

Definition at line 12542 of file sqlite3.c.

#define COLNAME_NAME   0

Definition at line 12531 of file sqlite3.c.

#define COLNAME_TABLE   3

Definition at line 12534 of file sqlite3.c.

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

Definition at line 107014 of file sqlite3.c.

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

Definition at line 115724 of file sqlite3.c.

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

Definition at line 14112 of file sqlite3.c.

#define CORRUPT_DB   (sqlite3Config.neverCorrupt==0)

Definition at line 15899 of file sqlite3.c.

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

Definition at line 57825 of file sqlite3.c.

#define CURSOR_INVALID   0

Definition at line 57821 of file sqlite3.c.

#define CURSOR_REQUIRESEEK   3

Definition at line 57824 of file sqlite3.c.

#define CURSOR_SKIPNEXT   2

Definition at line 57823 of file sqlite3.c.

#define CURSOR_VALID   1

Definition at line 57822 of file sqlite3.c.

#define CURTYPE_BTREE   0

Definition at line 17746 of file sqlite3.c.

#define CURTYPE_PSEUDO   3

Definition at line 17749 of file sqlite3.c.

#define CURTYPE_SORTER   1

Definition at line 17747 of file sqlite3.c.

#define CURTYPE_VTAB   2

Definition at line 17748 of file sqlite3.c.

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

Definition at line 13796 of file sqlite3.c.

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

Definition at line 13794 of file sqlite3.c.

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

Definition at line 13795 of file sqlite3.c.

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

Definition at line 13782 of file sqlite3.c.

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

Definition at line 13780 of file sqlite3.c.

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

Definition at line 13779 of file sqlite3.c.

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

Definition at line 15495 of file sqlite3.c.

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

Definition at line 15496 of file sqlite3.c.

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

Definition at line 15494 of file sqlite3.c.

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

Definition at line 15492 of file sqlite3.c.

#define DbMaskZero (   M)    (M)=0

Definition at line 15493 of file sqlite3.c.

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

Definition at line 13781 of file sqlite3.c.

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

Definition at line 77391 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:14195
#define SQLITE_UTF8
Definition: sqlite3.c:4756
#define SQLITE_INT_TO_PTR(X)
Definition: sqlite3.c:10900
#define SQLITE_FUNC_NEEDCOLL
Definition: sqlite3.c:14187

Definition at line 14238 of file sqlite3.c.

#define DIRECT_MODE   0
#define disable_simulated_io_errors ( )

Definition at line 50128 of file sqlite3.c.

#define disable_simulated_io_errors ( )

Definition at line 50128 of file sqlite3.c.

#define DO_OS_MALLOC_TEST (   x)

Definition at line 19815 of file sqlite3.c.

#define DOTLOCK_SUFFIX   ".lock"

Definition at line 31445 of file sqlite3.c.

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

Definition at line 11794 of file sqlite3.c.

#define enable_simulated_io_errors ( )

Definition at line 50129 of file sqlite3.c.

#define enable_simulated_io_errors ( )

Definition at line 50129 of file sqlite3.c.

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

Definition at line 14031 of file sqlite3.c.

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

Definition at line 14956 of file sqlite3.c.

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

Definition at line 14977 of file sqlite3.c.

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

Definition at line 14975 of file sqlite3.c.

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

Definition at line 14963 of file sqlite3.c.

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

Definition at line 14974 of file sqlite3.c.

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

Definition at line 14961 of file sqlite3.c.

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

Definition at line 14959 of file sqlite3.c.

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

Definition at line 14958 of file sqlite3.c.

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

Definition at line 14955 of file sqlite3.c.

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

Definition at line 14964 of file sqlite3.c.

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

Definition at line 14962 of file sqlite3.c.

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

Definition at line 14965 of file sqlite3.c.

#define EP_Leaf   0x800000 /* Expr.pLeft, .pRight, .u.pSelect all NULL */

Definition at line 14978 of file sqlite3.c.

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

Definition at line 14971 of file sqlite3.c.

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

Definition at line 14972 of file sqlite3.c.

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

Definition at line 14983 of file sqlite3.c.

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

Definition at line 14968 of file sqlite3.c.

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

Definition at line 14957 of file sqlite3.c.

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

Definition at line 14967 of file sqlite3.c.

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

Definition at line 14970 of file sqlite3.c.

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

Definition at line 14976 of file sqlite3.c.

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

Definition at line 14969 of file sqlite3.c.

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

Definition at line 14973 of file sqlite3.c.

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

Definition at line 14960 of file sqlite3.c.

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

Definition at line 14966 of file sqlite3.c.

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

Definition at line 24878 of file sqlite3.c.

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

Definition at line 24737 of file sqlite3.c.

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

Definition at line 24735 of file sqlite3.c.

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

Definition at line 24731 of file sqlite3.c.

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

Definition at line 24730 of file sqlite3.c.

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

Definition at line 24732 of file sqlite3.c.

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

Definition at line 24748 of file sqlite3.c.

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

Definition at line 24746 of file sqlite3.c.

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

Definition at line 24736 of file sqlite3.c.

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

Definition at line 24744 of file sqlite3.c.

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

Definition at line 24729 of file sqlite3.c.

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

Definition at line 24733 of file sqlite3.c.

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

Definition at line 24739 of file sqlite3.c.

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

Definition at line 24740 of file sqlite3.c.

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

Definition at line 24745 of file sqlite3.c.

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

Definition at line 24743 of file sqlite3.c.

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

Definition at line 24734 of file sqlite3.c.

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

Definition at line 24742 of file sqlite3.c.

#define EXCLUSIVE_LOCK   4

Definition at line 13497 of file sqlite3.c.

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

Definition at line 18229 of file sqlite3.c.

#define explainSetInteger (   a,
 
)    a = b

Definition at line 115525 of file sqlite3.c.

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

Definition at line 15009 of file sqlite3.c.

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

Definition at line 15010 of file sqlite3.c.

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

Definition at line 15011 of file sqlite3.c.

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

Definition at line 14992 of file sqlite3.c.

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

Definition at line 15017 of file sqlite3.c.

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

Definition at line 14990 of file sqlite3.c.

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

Definition at line 14989 of file sqlite3.c.

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

Definition at line 14991 of file sqlite3.c.

#define ExprSetVVAProperty (   E,
 
)

Definition at line 15001 of file sqlite3.c.

#define EXTRA_SIZE   sizeof(MemPage)

Definition at line 57558 of file sqlite3.c.

#define fdatasync   fsync

Definition at line 32758 of file sqlite3.c.

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

Definition at line 87653 of file sqlite3.c.

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

Definition at line 46497 of file sqlite3.c.

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

Definition at line 59268 of file sqlite3.c.

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

Definition at line 59270 of file sqlite3.c.

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

Definition at line 24773 of file sqlite3.c.

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

Definition at line 24772 of file sqlite3.c.

#define FLAG_STRING   4 /* Allow infinity precision */

Definition at line 24774 of file sqlite3.c.

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

Definition at line 73802 of file sqlite3.c.

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

Definition at line 73801 of file sqlite3.c.

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

Definition at line 10581 of file sqlite3.c.

#define FTS5_TOKENIZE_AUX   0x0008

Definition at line 10577 of file sqlite3.c.

#define FTS5_TOKENIZE_DOCUMENT   0x0004

Definition at line 10576 of file sqlite3.c.

#define FTS5_TOKENIZE_PREFIX   0x0002

Definition at line 10575 of file sqlite3.c.

#define FTS5_TOKENIZE_QUERY   0x0001

Definition at line 10574 of file sqlite3.c.

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

Definition at line 8758 of file sqlite3.c.

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

Definition at line 102978 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:4756
#define SQLITE_FUNC_CONSTANT
Definition: sqlite3.c:14193
#define SQLITE_INT_TO_PTR(X)
Definition: sqlite3.c:10900
#define SQLITE_FUNC_NEEDCOLL
Definition: sqlite3.c:14187

Definition at line 14232 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:4756
#define SQLITE_FUNC_CONSTANT
Definition: sqlite3.c:14193
#define SQLITE_INT_TO_PTR(X)
Definition: sqlite3.c:10900
#define SQLITE_FUNC_NEEDCOLL
Definition: sqlite3.c:14187

Definition at line 14241 of file sqlite3.c.

#define GCC_VERSION   0

Definition at line 211 of file sqlite3.c.

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

Definition at line 57938 of file sqlite3.c.

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

Definition at line 57957 of file sqlite3.c.

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

Definition at line 58287 of file sqlite3.c.

#define get4byte   sqlite3Get4byte

Definition at line 57940 of file sqlite3.c.

#define getVarint   sqlite3GetVarint

Definition at line 16525 of file sqlite3.c.

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

Definition at line 16520 of file sqlite3.c.

#define GLOBAL (   t,
 
)    v

Definition at line 11940 of file sqlite3.c.

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

Definition at line 77314 of file sqlite3.c.

#define HASHTABLE_HASH_1   383 /* Should be prime */

Definition at line 54298 of file sqlite3.c.

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

Definition at line 54297 of file sqlite3.c.

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

Definition at line 54306 of file sqlite3.c.

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

Definition at line 54299 of file sqlite3.c.

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

Definition at line 14517 of file sqlite3.c.

#define HAVE_FCHOWN   1

Definition at line 167 of file sqlite3.c.

#define HAVE_FULLFSYNC   0

Definition at line 32769 of file sqlite3.c.

#define HAVE_LSTAT   1

Definition at line 169 of file sqlite3.c.

#define HAVE_MREMAP   0

Definition at line 29703 of file sqlite3.c.

#define HAVE_READLINK   1

Definition at line 168 of file sqlite3.c.

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

Definition at line 137023 of file sqlite3.c.

#define IfNotOmitAV (   expr)    (expr)

Definition at line 58303 of file sqlite3.c.

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

Definition at line 15409 of file sqlite3.c.

#define IN_DECLARE_VTAB   (pParse->declareVtab)

Definition at line 15638 of file sqlite3.c.

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

Definition at line 16810 of file sqlite3.c.

#define IN_INDEX_INDEX_ASC   3 /* Existing index ASCENDING */

Definition at line 16811 of file sqlite3.c.

#define IN_INDEX_INDEX_DESC   4 /* Existing index DESCENDING */

Definition at line 16812 of file sqlite3.c.

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

Definition at line 16819 of file sqlite3.c.

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

Definition at line 16818 of file sqlite3.c.

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

Definition at line 16813 of file sqlite3.c.

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

Definition at line 16817 of file sqlite3.c.

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

Definition at line 16809 of file sqlite3.c.

#define INCRINIT_NORMAL   0

Definition at line 86924 of file sqlite3.c.

#define INCRINIT_ROOT   2

Definition at line 86926 of file sqlite3.c.

#define INCRINIT_TASK   1

Definition at line 86925 of file sqlite3.c.

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

Definition at line 124190 of file sqlite3.c.

#define INT16_TYPE   short int

Definition at line 11618 of file sqlite3.c.

#define INT8_TYPE   signed char

Definition at line 11632 of file sqlite3.c.

#define INTERFACE   1

Definition at line 133089 of file sqlite3.c.

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

Definition at line 58715 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:33249
static void unixShmBarrier(sqlite3_file *fd)
Definition: sqlite3.c:34016
static int unixShmUnmap(sqlite3_file *fd, int deleteFlag)
Definition: sqlite3.c:34032
static int unixFileSize(sqlite3_file *id, i64 *pSize)
Definition: sqlite3.c:33030
static int unixUnfetch(sqlite3_file *fd, i64 iOff, void *p)
Definition: sqlite3.c:34273
static int unixDeviceCharacteristics(sqlite3_file *id)
Definition: sqlite3.c:33348
static int unixFetch(sqlite3_file *fd, i64 iOff, int nAmt, void **pp)
Definition: sqlite3.c:34242
static int unixTruncate(sqlite3_file *id, i64 nByte)
Definition: sqlite3.c:32980
static int unixFileControl(sqlite3_file *id, int op, void *pArg)
Definition: sqlite3.c:33153
static int unixSync(sqlite3_file *id, int flags)
Definition: sqlite3.c:32930
static int unixRead(sqlite3_file *id, void *pBuf, int amt, sqlite3_int64 offset)
Definition: sqlite3.c:32548
static int unixShmLock(sqlite3_file *fd, int ofst, int n, int flags)
Definition: sqlite3.c:33904
#define UNUSED_PARAMETER(x)
Definition: sqlite3.c:11960
static int unixWrite(sqlite3_file *id, const void *pBuf, int amt, sqlite3_int64 offset)
Definition: sqlite3.c:32662

Definition at line 34341 of file sqlite3.c.

#define IOTRACE (   A)

Definition at line 16867 of file sqlite3.c.

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

Definition at line 11177 of file sqlite3.c.

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

Definition at line 29364 of file sqlite3.c.

#define ISAUTOVACUUM   (pBt->autoVacuum)

Definition at line 57904 of file sqlite3.c.

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

Definition at line 14508 of file sqlite3.c.

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

Definition at line 15807 of file sqlite3.c.

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

Definition at line 47178 of file sqlite3.c.

#define IsOrdinaryHiddenColumn (   X)    0

Definition at line 14509 of file sqlite3.c.

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

Definition at line 11906 of file sqlite3.c.

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

Definition at line 14746 of file sqlite3.c.

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

Definition at line 77396 of file sqlite3.c.

#define IsStat3   0

Definition at line 95715 of file sqlite3.c.

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

Definition at line 95719 of file sqlite3.c.

#define IsStat4   0

Definition at line 95714 of file sqlite3.c.

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

Definition at line 14749 of file sqlite3.c.

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

Definition at line 14493 of file sqlite3.c.

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

Definition at line 47137 of file sqlite3.c.

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

Definition at line 47131 of file sqlite3.c.

#define jrnlBufferSize (   x)    0

Definition at line 47541 of file sqlite3.c.

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

Definition at line 15174 of file sqlite3.c.

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

Definition at line 15179 of file sqlite3.c.

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

Definition at line 15173 of file sqlite3.c.

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

Definition at line 15176 of file sqlite3.c.

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

Definition at line 15175 of file sqlite3.c.

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

Definition at line 15178 of file sqlite3.c.

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

Definition at line 15177 of file sqlite3.c.

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

Definition at line 11768 of file sqlite3.c.

#define LIKEFUNC (   zName,
  nArg,
  arg,
  flags 
)
Value:
(void *)arg, 0, likeFunc, 0, #zName, {0} }
#define SQLITE_UTF8
Definition: sqlite3.c:4756
static void likeFunc(sqlite3_context *context, int argc, sqlite3_value **argv)
Definition: sqlite3.c:104905
#define SQLITE_FUNC_CONSTANT
Definition: sqlite3.c:14193

Definition at line 14247 of file sqlite3.c.

#define likely (   X)    (X)

Definition at line 11186 of file sqlite3.c.

#define LOCATE_NOERR   0x02

Definition at line 16350 of file sqlite3.c.

#define LOCATE_VIEW   0x01

Definition at line 16349 of file sqlite3.c.

#define LONGDOUBLE_TYPE   long double

Definition at line 11636 of file sqlite3.c.

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

Definition at line 15110 of file sqlite3.c.

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

Definition at line 15111 of file sqlite3.c.

#define MASTER_NAME   "sqlite_master"

Definition at line 11884 of file sqlite3.c.

#define MASTER_ROOT   1

Definition at line 11890 of file sqlite3.c.

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

Definition at line 11575 of file sqlite3.c.

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

Definition at line 29349 of file sqlite3.c.

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

Definition at line 46794 of file sqlite3.c.

#define mem0   GLOBAL(struct Mem0Global, mem0)

Definition at line 23951 of file sqlite3.c.

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

Definition at line 17920 of file sqlite3.c.

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

Definition at line 17937 of file sqlite3.c.

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

Definition at line 17919 of file sqlite3.c.

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

Definition at line 17924 of file sqlite3.c.

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

Definition at line 17934 of file sqlite3.c.

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

Definition at line 17936 of file sqlite3.c.

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

Definition at line 17922 of file sqlite3.c.

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

Definition at line 17917 of file sqlite3.c.

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

Definition at line 17915 of file sqlite3.c.

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

Definition at line 17918 of file sqlite3.c.

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

Definition at line 17921 of file sqlite3.c.

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

Definition at line 17935 of file sqlite3.c.

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

Definition at line 17916 of file sqlite3.c.

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

Definition at line 17939 of file sqlite3.c.

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

Definition at line 17933 of file sqlite3.c.

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

Definition at line 17925 of file sqlite3.c.

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

Definition at line 17923 of file sqlite3.c.

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

Definition at line 17938 of file sqlite3.c.

#define memAboutToChange (   P,
 
)

Definition at line 77254 of file sqlite3.c.

#define MEMCELLSIZE   offsetof(Mem,zMalloc)

Definition at line 17901 of file sqlite3.c.

#define MEMDB   pPager->memDb

Definition at line 47148 of file sqlite3.c.

#define MEMJOURNAL_DFLT_FILECHUNKSIZE   1024

Definition at line 87647 of file sqlite3.c.

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

Definition at line 17954 of file sqlite3.c.

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

Definition at line 16908 of file sqlite3.c.

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

Definition at line 16909 of file sqlite3.c.

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

Definition at line 16911 of file sqlite3.c.

#define MEMTYPE_SCRATCH   0x04 /* Scratch allocations */

Definition at line 16910 of file sqlite3.c.

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

Definition at line 11572 of file sqlite3.c.

#define MUTEX_LOGIC (   X)    X

Definition at line 13692 of file sqlite3.c.

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

Definition at line 57478 of file sqlite3.c.

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

Definition at line 57471 of file sqlite3.c.

#define N_OR_COST   3

Definition at line 123970 of file sqlite3.c.

#define N_SORT_BUCKET   32

Definition at line 44306 of file sqlite3.c.

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

Definition at line 64968 of file sqlite3.c.

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

Definition at line 15255 of file sqlite3.c.

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

Definition at line 15259 of file sqlite3.c.

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

Definition at line 15260 of file sqlite3.c.

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

Definition at line 15258 of file sqlite3.c.

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

Definition at line 15257 of file sqlite3.c.

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

Definition at line 15262 of file sqlite3.c.

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

Definition at line 15256 of file sqlite3.c.

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

Definition at line 15261 of file sqlite3.c.

#define NDEBUG   1

Definition at line 11039 of file sqlite3.c.

#define NEVER (   X)    (X)

Definition at line 11121 of file sqlite3.c.

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

Definition at line 64967 of file sqlite3.c.

#define NO_LOCK   0

Definition at line 13493 of file sqlite3.c.

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

Definition at line 104583 of file sqlite3.c.

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

Definition at line 8756 of file sqlite3.c.

#define O_BINARY   0

Definition at line 29683 of file sqlite3.c.

#define O_LARGEFILE   0

Definition at line 29673 of file sqlite3.c.

#define O_NOFOLLOW   0

Definition at line 29680 of file sqlite3.c.

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

Definition at line 14592 of file sqlite3.c.

#define OE_Cascade   9 /* Cascade the changes */

Definition at line 14600 of file sqlite3.c.

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

Definition at line 14602 of file sqlite3.c.

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

Definition at line 14593 of file sqlite3.c.

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

Definition at line 14594 of file sqlite3.c.

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

Definition at line 14590 of file sqlite3.c.

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

Definition at line 14595 of file sqlite3.c.

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

Definition at line 14597 of file sqlite3.c.

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

Definition at line 14591 of file sqlite3.c.

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

Definition at line 14599 of file sqlite3.c.

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

Definition at line 14598 of file sqlite3.c.

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

Definition at line 11565 of file sqlite3.c.

#define OMIT_TEMPDB   0

Definition at line 11499 of file sqlite3.c.

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

Definition at line 73798 of file sqlite3.c.

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

Definition at line 16322 of file sqlite3.c.

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

Definition at line 16320 of file sqlite3.c.

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

Definition at line 16321 of file sqlite3.c.

#define ONLY_IF_REALLOC_STRESS (   X)    (0)

Definition at line 11136 of file sqlite3.c.

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

Definition at line 12609 of file sqlite3.c.

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

Definition at line 12653 of file sqlite3.c.

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

Definition at line 12660 of file sqlite3.c.

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

Definition at line 12711 of file sqlite3.c.

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

Definition at line 12710 of file sqlite3.c.

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

Definition at line 12709 of file sqlite3.c.

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

Definition at line 12590 of file sqlite3.c.

#define OP_AutoCommit   1

Definition at line 12563 of file sqlite3.c.

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

Definition at line 12605 of file sqlite3.c.

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

Definition at line 12616 of file sqlite3.c.

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

Definition at line 12606 of file sqlite3.c.

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

Definition at line 12643 of file sqlite3.c.

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

Definition at line 12655 of file sqlite3.c.

#define OP_Checkpoint   8

Definition at line 12570 of file sqlite3.c.

#define OP_Clear   131

Definition at line 12693 of file sqlite3.c.

#define OP_Close   111

Definition at line 12673 of file sqlite3.c.

#define OP_CollSeq   88

Definition at line 12650 of file sqlite3.c.

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

Definition at line 12658 of file sqlite3.c.

#define OP_ColumnsUsed   112

Definition at line 12674 of file sqlite3.c.

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

Definition at line 12657 of file sqlite3.c.

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

Definition at line 12614 of file sqlite3.c.

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

Definition at line 12646 of file sqlite3.c.

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

Definition at line 12662 of file sqlite3.c.

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

Definition at line 12696 of file sqlite3.c.

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

Definition at line 12697 of file sqlite3.c.

#define OP_CursorHint   160

Definition at line 12722 of file sqlite3.c.

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

Definition at line 12630 of file sqlite3.c.

#define OP_Delete   117

Definition at line 12679 of file sqlite3.c.

#define OP_Destroy   130

Definition at line 12692 of file sqlite3.c.

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

Definition at line 12612 of file sqlite3.c.

#define OP_DropIndex   139

Definition at line 12701 of file sqlite3.c.

#define OP_DropTable   138

Definition at line 12700 of file sqlite3.c.

#define OP_DropTrigger   140

Definition at line 12702 of file sqlite3.c.

#define OP_ElseNotEq   42 /* same as TK_ESCAPE */

Definition at line 12604 of file sqlite3.c.

#define OP_EndCoroutine   73

Definition at line 12635 of file sqlite3.c.

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

Definition at line 12599 of file sqlite3.c.

#define OP_Expire   150

Definition at line 12712 of file sqlite3.c.

#define OP_Explain   162

Definition at line 12724 of file sqlite3.c.

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

Definition at line 12706 of file sqlite3.c.

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

Definition at line 12627 of file sqlite3.c.

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

Definition at line 12593 of file sqlite3.c.

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

Definition at line 12652 of file sqlite3.c.

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

Definition at line 12651 of file sqlite3.c.

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

Definition at line 12603 of file sqlite3.c.

#define OP_Gosub   14

Definition at line 12576 of file sqlite3.c.

#define OP_Goto   13

Definition at line 12575 of file sqlite3.c.

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

Definition at line 12600 of file sqlite3.c.

#define OP_Halt   75

Definition at line 12637 of file sqlite3.c.

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

Definition at line 12636 of file sqlite3.c.

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

Definition at line 12689 of file sqlite3.c.

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

Definition at line 12623 of file sqlite3.c.

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

Definition at line 12621 of file sqlite3.c.

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

Definition at line 12688 of file sqlite3.c.

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

Definition at line 12620 of file sqlite3.c.

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

Definition at line 12622 of file sqlite3.c.

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

Definition at line 12691 of file sqlite3.c.

#define OP_If   21

Definition at line 12583 of file sqlite3.c.

#define OP_IfNot   22

Definition at line 12584 of file sqlite3.c.

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

Definition at line 12629 of file sqlite3.c.

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

Definition at line 12628 of file sqlite3.c.

#define OP_IncrVacuum   69

Definition at line 12631 of file sqlite3.c.

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

Definition at line 12633 of file sqlite3.c.

#define OP_InitCoroutine   15

Definition at line 12577 of file sqlite3.c.

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

Definition at line 12677 of file sqlite3.c.

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

Definition at line 12678 of file sqlite3.c.

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

Definition at line 12639 of file sqlite3.c.

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

Definition at line 12648 of file sqlite3.c.

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

Definition at line 12638 of file sqlite3.c.

#define OP_IntegrityCk   141

Definition at line 12703 of file sqlite3.c.

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

Definition at line 12596 of file sqlite3.c.

#define OP_JournalMode   9

Definition at line 12571 of file sqlite3.c.

#define OP_Jump   18

Definition at line 12580 of file sqlite3.c.

#define OP_Last   53

Definition at line 12615 of file sqlite3.c.

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

Definition at line 12601 of file sqlite3.c.

#define OP_LoadAnalysis   137

Definition at line 12699 of file sqlite3.c.

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

Definition at line 12602 of file sqlite3.c.

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

Definition at line 12661 of file sqlite3.c.

#define OP_MaxPgcnt   159

Definition at line 12721 of file sqlite3.c.

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

Definition at line 12707 of file sqlite3.c.

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

Definition at line 12645 of file sqlite3.c.

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

Definition at line 12611 of file sqlite3.c.

#define OP_MustBeInt   17

Definition at line 12579 of file sqlite3.c.

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

Definition at line 12598 of file sqlite3.c.

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

Definition at line 12676 of file sqlite3.c.

#define OP_Next   7

Definition at line 12569 of file sqlite3.c.

#define OP_NextIfOpen   5

Definition at line 12567 of file sqlite3.c.

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

Definition at line 12591 of file sqlite3.c.

#define OP_Noop   161

Definition at line 12723 of file sqlite3.c.

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

Definition at line 12581 of file sqlite3.c.

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

Definition at line 12595 of file sqlite3.c.

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

Definition at line 12592 of file sqlite3.c.

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

Definition at line 12597 of file sqlite3.c.

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

Definition at line 12641 of file sqlite3.c.

#define OP_NullRow   124

Definition at line 12686 of file sqlite3.c.

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

Definition at line 12708 of file sqlite3.c.

#define OP_Once   20

Definition at line 12582 of file sqlite3.c.

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

Definition at line 12668 of file sqlite3.c.

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

Definition at line 12669 of file sqlite3.c.

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

Definition at line 12672 of file sqlite3.c.

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

Definition at line 12666 of file sqlite3.c.

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

Definition at line 12667 of file sqlite3.c.

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

Definition at line 12589 of file sqlite3.c.

#define OP_Pagecount   158

Definition at line 12720 of file sqlite3.c.

#define OP_Param   143

Definition at line 12705 of file sqlite3.c.

#define OP_ParseSchema   136

Definition at line 12698 of file sqlite3.c.

#define OP_Permutation   94

Definition at line 12656 of file sqlite3.c.

#define OP_Prev   6

Definition at line 12568 of file sqlite3.c.

#define OP_PrevIfOpen   4

Definition at line 12566 of file sqlite3.c.

#define OP_Program   64

Definition at line 12626 of file sqlite3.c.

#define OP_ReadCookie   101

Definition at line 12663 of file sqlite3.c.

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

Definition at line 12694 of file sqlite3.c.

#define OP_RealAffinity   92

Definition at line 12654 of file sqlite3.c.

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

Definition at line 12613 of file sqlite3.c.

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

Definition at line 12665 of file sqlite3.c.

#define OP_ResetCount   118

Definition at line 12680 of file sqlite3.c.

#define OP_ResetSorter   133

Definition at line 12695 of file sqlite3.c.

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

Definition at line 12649 of file sqlite3.c.

#define OP_Return   72

Definition at line 12634 of file sqlite3.c.

#define OP_Rewind   57

Definition at line 12619 of file sqlite3.c.

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

Definition at line 12684 of file sqlite3.c.

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

Definition at line 12685 of file sqlite3.c.

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

Definition at line 12683 of file sqlite3.c.

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

Definition at line 12704 of file sqlite3.c.

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

Definition at line 12624 of file sqlite3.c.

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

Definition at line 12625 of file sqlite3.c.

#define OP_Savepoint   0

Definition at line 12562 of file sqlite3.c.

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

Definition at line 12647 of file sqlite3.c.

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

Definition at line 12690 of file sqlite3.c.

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

Definition at line 12587 of file sqlite3.c.

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

Definition at line 12588 of file sqlite3.c.

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

Definition at line 12586 of file sqlite3.c.

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

Definition at line 12585 of file sqlite3.c.

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

Definition at line 12594 of file sqlite3.c.

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

Definition at line 12675 of file sqlite3.c.

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

Definition at line 12671 of file sqlite3.c.

#define OP_SetCookie   102

Definition at line 12664 of file sqlite3.c.

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

Definition at line 12607 of file sqlite3.c.

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

Definition at line 12608 of file sqlite3.c.

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

Definition at line 12642 of file sqlite3.c.

#define OP_Sort   56

Definition at line 12618 of file sqlite3.c.

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

Definition at line 12681 of file sqlite3.c.

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

Definition at line 12682 of file sqlite3.c.

#define OP_SorterInsert   125

Definition at line 12687 of file sqlite3.c.

#define OP_SorterNext   3

Definition at line 12565 of file sqlite3.c.

#define OP_SorterOpen   108

Definition at line 12670 of file sqlite3.c.

#define OP_SorterSort   55

Definition at line 12617 of file sqlite3.c.

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

Definition at line 12640 of file sqlite3.c.

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

Definition at line 12659 of file sqlite3.c.

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

Definition at line 12610 of file sqlite3.c.

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

Definition at line 12713 of file sqlite3.c.

#define OP_Transaction   2

Definition at line 12564 of file sqlite3.c.

#define OP_Vacuum   10

Definition at line 12572 of file sqlite3.c.

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

Definition at line 12644 of file sqlite3.c.

#define OP_VBegin   152

Definition at line 12714 of file sqlite3.c.

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

Definition at line 12718 of file sqlite3.c.

#define OP_VCreate   153

Definition at line 12715 of file sqlite3.c.

#define OP_VDestroy   154

Definition at line 12716 of file sqlite3.c.

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

Definition at line 12573 of file sqlite3.c.

#define OP_VNext   70

Definition at line 12632 of file sqlite3.c.

#define OP_VOpen   155

Definition at line 12717 of file sqlite3.c.

#define OP_VRename   157

Definition at line 12719 of file sqlite3.c.

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

Definition at line 12574 of file sqlite3.c.

#define OP_Yield   16

Definition at line 12578 of file sqlite3.c.

#define OpenCounter (   X)

Definition at line 29661 of file sqlite3.c.

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

Definition at line 15667 of file sqlite3.c.

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

Definition at line 15680 of file sqlite3.c.

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

Definition at line 15674 of file sqlite3.c.

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

Definition at line 15664 of file sqlite3.c.

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

Definition at line 15676 of file sqlite3.c.

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

Definition at line 15666 of file sqlite3.c.

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

Definition at line 15665 of file sqlite3.c.

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

Definition at line 15672 of file sqlite3.c.

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

Definition at line 15662 of file sqlite3.c.

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

Definition at line 15677 of file sqlite3.c.

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

Definition at line 15678 of file sqlite3.c.

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

Definition at line 15679 of file sqlite3.c.

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

Definition at line 15675 of file sqlite3.c.

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

Definition at line 15673 of file sqlite3.c.

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

Definition at line 15668 of file sqlite3.c.

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

Definition at line 12731 of file sqlite3.c.

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

Definition at line 12732 of file sqlite3.c.

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

Definition at line 12733 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, 0x09, 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, 0x01, 0x01, 0x23, 0x0b,\
/* 64 */ 0x01, 0x01, 0x03, 0x03, 0x03, 0x01, 0x01, 0x01,\
/* 72 */ 0x02, 0x02, 0x08, 0x00, 0x10, 0x10, 0x10, 0x10,\
/* 80 */ 0x00, 0x10, 0x10, 0x00, 0x00, 0x10, 0x10, 0x00,\
/* 88 */ 0x00, 0x00, 0x00, 0x02, 0x02, 0x02, 0x00, 0x00,\
/* 96 */ 0x00, 0x10, 0x00, 0x00, 0x10, 0x10, 0x00, 0x00,\
/* 104 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
/* 112 */ 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00,\
/* 120 */ 0x00, 0x00, 0x00, 0x10, 0x00, 0x04, 0x04, 0x00,\
/* 128 */ 0x00, 0x10, 0x10, 0x00, 0x10, 0x00, 0x10, 0x10,\
/* 136 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x10,\
/* 144 */ 0x00, 0x04, 0x1a, 0x00, 0x00, 0x00, 0x00, 0x00,\
/* 152 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x10,\
/* 160 */ 0x00, 0x00, 0x00,}

Definition at line 12736 of file sqlite3.c.

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

Definition at line 12730 of file sqlite3.c.

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

Definition at line 12734 of file sqlite3.c.

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

Definition at line 12735 of file sqlite3.c.

#define OpHelp (   X)

Definition at line 29013 of file sqlite3.c.

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

Definition at line 14101 of file sqlite3.c.

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

Definition at line 14102 of file sqlite3.c.

#define OS_VXWORKS   0

Definition at line 166 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 29358 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:29739
static struct unix_syscall aSyscall[]
#define osPwrite64
Value:
((ssize_t(*)(int,const void*,size_t,off64_t))\
sqlite3_syscall_ptr pCurrent
Definition: sqlite3.c:29739
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 11148 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 12517 of file sqlite3.c.

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

Definition at line 12504 of file sqlite3.c.

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

Definition at line 12502 of file sqlite3.c.

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

Definition at line 12507 of file sqlite3.c.

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

Definition at line 12519 of file sqlite3.c.

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

Definition at line 12505 of file sqlite3.c.

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

Definition at line 12514 of file sqlite3.c.

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

Definition at line 12513 of file sqlite3.c.

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

Definition at line 12515 of file sqlite3.c.

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

Definition at line 12506 of file sqlite3.c.

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

Definition at line 12508 of file sqlite3.c.

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

Definition at line 12511 of file sqlite3.c.

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

Definition at line 12501 of file sqlite3.c.

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

Definition at line 12512 of file sqlite3.c.

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

Definition at line 12503 of file sqlite3.c.

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

Definition at line 12516 of file sqlite3.c.

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

Definition at line 12518 of file sqlite3.c.

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

Definition at line 12509 of file sqlite3.c.

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

Definition at line 12510 of file sqlite3.c.

#define P5_ConstraintCheck   3

Definition at line 12524 of file sqlite3.c.

#define P5_ConstraintFK   4

Definition at line 12525 of file sqlite3.c.

#define P5_ConstraintNotNull   1

Definition at line 12522 of file sqlite3.c.

#define P5_ConstraintUnique   2

Definition at line 12523 of file sqlite3.c.

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

Definition at line 13023 of file sqlite3.c.

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

Definition at line 13022 of file sqlite3.c.

#define pager_datahash (   X,
 
)    0

Definition at line 47581 of file sqlite3.c.

#define PAGER_ERROR   6

Definition at line 46722 of file sqlite3.c.

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

Definition at line 13024 of file sqlite3.c.

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

Definition at line 13021 of file sqlite3.c.

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

Definition at line 13005 of file sqlite3.c.

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

Definition at line 13006 of file sqlite3.c.

#define PAGER_INCR (   v)

Definition at line 47095 of file sqlite3.c.

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

Definition at line 12995 of file sqlite3.c.

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

Definition at line 12999 of file sqlite3.c.

#define PAGER_JOURNALMODE_OFF   2 /* Journal omitted. */

Definition at line 12997 of file sqlite3.c.

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

Definition at line 12996 of file sqlite3.c.

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

Definition at line 12994 of file sqlite3.c.

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

Definition at line 12998 of file sqlite3.c.

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

Definition at line 13000 of file sqlite3.c.

#define PAGER_LOCKINGMODE_EXCLUSIVE   1

Definition at line 12985 of file sqlite3.c.

#define PAGER_LOCKINGMODE_NORMAL   0

Definition at line 12984 of file sqlite3.c.

#define PAGER_LOCKINGMODE_QUERY   -1

Definition at line 12983 of file sqlite3.c.

#define PAGER_MAX_PGNO   2147483647

Definition at line 47164 of file sqlite3.c.

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

Definition at line 12978 of file sqlite3.c.

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

Definition at line 12970 of file sqlite3.c.

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

Definition at line 12977 of file sqlite3.c.

#define PAGER_OPEN   0

Definition at line 46716 of file sqlite3.c.

#define pager_pagehash (   X)    0

Definition at line 47582 of file sqlite3.c.

#define PAGER_READER   1

Definition at line 46717 of file sqlite3.c.

#define pager_set_pagehash (   X)

Definition at line 47583 of file sqlite3.c.

#define PAGER_STAT_HIT   0

Definition at line 47080 of file sqlite3.c.

#define PAGER_STAT_MISS   1

Definition at line 47081 of file sqlite3.c.

#define PAGER_STAT_WRITE   2

Definition at line 47082 of file sqlite3.c.

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

Definition at line 13019 of file sqlite3.c.

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

Definition at line 13018 of file sqlite3.c.

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

Definition at line 13020 of file sqlite3.c.

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

Definition at line 13017 of file sqlite3.c.

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

Definition at line 13016 of file sqlite3.c.

#define PAGER_WRITER_CACHEMOD   3

Definition at line 46719 of file sqlite3.c.

#define PAGER_WRITER_DBMOD   4

Definition at line 46720 of file sqlite3.c.

#define PAGER_WRITER_FINISHED   5

Definition at line 46721 of file sqlite3.c.

#define PAGER_WRITER_LOCKED   2

Definition at line 46718 of file sqlite3.c.

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

Definition at line 46496 of file sqlite3.c.

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

Definition at line 48522 of file sqlite3.c.

#define PAGERTRACE (   X)

Definition at line 46485 of file sqlite3.c.

#define pagerUseWal (   x)    sqlite3PagerUseWal(x)

Definition at line 47188 of file sqlite3.c.

#define PARSE_HDR_SZ   offsetof(Parse,aColCache) /* Recursive part w/o aColCache*/

Definition at line 15627 of file sqlite3.c.

#define PARSE_RECURSE_SZ   offsetof(Parse,sLastToken) /* Recursive part */

Definition at line 15628 of file sqlite3.c.

#define PARSE_TAIL (   X)    (((char*)(X))+PARSE_RECURSE_SZ) /* Pointer to tail */

Definition at line 15630 of file sqlite3.c.

#define PARSE_TAIL_SZ   (sizeof(Parse)-PARSE_RECURSE_SZ) /* Non-recursive part */

Definition at line 15629 of file sqlite3.c.

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

Definition at line 8757 of file sqlite3.c.

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

Definition at line 44670 of file sqlite3.c.

#define PCACHE1_MIGHT_USE_GROUP_MUTEX   0

Definition at line 44678 of file sqlite3.c.

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

Definition at line 44676 of file sqlite3.c.

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

Definition at line 44677 of file sqlite3.c.

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

Definition at line 43727 of file sqlite3.c.

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

Definition at line 43728 of file sqlite3.c.

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

Definition at line 43726 of file sqlite3.c.

#define pcacheDump (   X)

Definition at line 43673 of file sqlite3.c.

#define pcacheTrace (   X)

Definition at line 43672 of file sqlite3.c.

#define PENDING_BYTE   sqlite3PendingByte

Definition at line 13557 of file sqlite3.c.

#define PENDING_BYTE_PAGE (   pBt)    PAGER_MJ_PGNO(pBt)

Definition at line 57830 of file sqlite3.c.

#define PENDING_LOCK   3

Definition at line 13496 of file sqlite3.c.

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

Definition at line 13207 of file sqlite3.c.

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

Definition at line 13208 of file sqlite3.c.

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

Definition at line 13212 of file sqlite3.c.

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

Definition at line 13213 of file sqlite3.c.

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

Definition at line 13210 of file sqlite3.c.

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

Definition at line 13215 of file sqlite3.c.

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

Definition at line 13209 of file sqlite3.c.

#define PragFlag_NeedSchema   0x01

Definition at line 111154 of file sqlite3.c.

#define PragFlag_ReadOnly   0x02

Definition at line 111155 of file sqlite3.c.

#define PragTyp_ACTIVATE_EXTENSIONS   37

Definition at line 111148 of file sqlite3.c.

#define PragTyp_AUTO_VACUUM   1

Definition at line 111112 of file sqlite3.c.

#define PragTyp_BUSY_TIMEOUT   3

Definition at line 111114 of file sqlite3.c.

#define PragTyp_CACHE_SIZE   4

Definition at line 111115 of file sqlite3.c.

#define PragTyp_CACHE_SPILL   5

Definition at line 111116 of file sqlite3.c.

#define PragTyp_CASE_SENSITIVE_LIKE   6

Definition at line 111117 of file sqlite3.c.

#define PragTyp_COLLATION_LIST   7

Definition at line 111118 of file sqlite3.c.

#define PragTyp_COMPILE_OPTIONS   8

Definition at line 111119 of file sqlite3.c.

#define PragTyp_DATA_STORE_DIRECTORY   9

Definition at line 111120 of file sqlite3.c.

#define PragTyp_DATABASE_LIST   10

Definition at line 111121 of file sqlite3.c.

#define PragTyp_DEFAULT_CACHE_SIZE   11

Definition at line 111122 of file sqlite3.c.

#define PragTyp_ENCODING   12

Definition at line 111123 of file sqlite3.c.

#define PragTyp_FLAG   2

Definition at line 111113 of file sqlite3.c.

#define PragTyp_FOREIGN_KEY_CHECK   13

Definition at line 111124 of file sqlite3.c.

#define PragTyp_FOREIGN_KEY_LIST   14

Definition at line 111125 of file sqlite3.c.

#define PragTyp_HEADER_VALUE   0

Definition at line 111111 of file sqlite3.c.

#define PragTyp_HEXKEY   38

Definition at line 111149 of file sqlite3.c.

#define PragTyp_INCREMENTAL_VACUUM   15

Definition at line 111126 of file sqlite3.c.

#define PragTyp_INDEX_INFO   16

Definition at line 111127 of file sqlite3.c.

#define PragTyp_INDEX_LIST   17

Definition at line 111128 of file sqlite3.c.

#define PragTyp_INTEGRITY_CHECK   18

Definition at line 111129 of file sqlite3.c.

#define PragTyp_JOURNAL_MODE   19

Definition at line 111130 of file sqlite3.c.

#define PragTyp_JOURNAL_SIZE_LIMIT   20

Definition at line 111131 of file sqlite3.c.

#define PragTyp_KEY   39

Definition at line 111150 of file sqlite3.c.

#define PragTyp_LOCK_PROXY_FILE   21

Definition at line 111132 of file sqlite3.c.

#define PragTyp_LOCK_STATUS   41

Definition at line 111152 of file sqlite3.c.

#define PragTyp_LOCKING_MODE   22

Definition at line 111133 of file sqlite3.c.

#define PragTyp_MMAP_SIZE   24

Definition at line 111135 of file sqlite3.c.

#define PragTyp_PAGE_COUNT   23

Definition at line 111134 of file sqlite3.c.

#define PragTyp_PAGE_SIZE   25

Definition at line 111136 of file sqlite3.c.

#define PragTyp_PARSER_TRACE   42

Definition at line 111153 of file sqlite3.c.

#define PragTyp_REKEY   40

Definition at line 111151 of file sqlite3.c.

#define PragTyp_SECURE_DELETE   26

Definition at line 111137 of file sqlite3.c.

#define PragTyp_SHRINK_MEMORY   27

Definition at line 111138 of file sqlite3.c.

#define PragTyp_SOFT_HEAP_LIMIT   28

Definition at line 111139 of file sqlite3.c.

#define PragTyp_STATS   29

Definition at line 111140 of file sqlite3.c.

#define PragTyp_SYNCHRONOUS   30

Definition at line 111141 of file sqlite3.c.

#define PragTyp_TABLE_INFO   31

Definition at line 111142 of file sqlite3.c.

#define PragTyp_TEMP_STORE   32

Definition at line 111143 of file sqlite3.c.

#define PragTyp_TEMP_STORE_DIRECTORY   33

Definition at line 111144 of file sqlite3.c.

#define PragTyp_THREADS   34

Definition at line 111145 of file sqlite3.c.

#define PragTyp_WAL_AUTOCHECKPOINT   35

Definition at line 111146 of file sqlite3.c.

#define PragTyp_WAL_CHECKPOINT   36

Definition at line 111147 of file sqlite3.c.

#define PTF_INTKEY   0x01

Definition at line 57505 of file sqlite3.c.

#define PTF_LEAF   0x08

Definition at line 57508 of file sqlite3.c.

#define PTF_LEAFDATA   0x04

Definition at line 57507 of file sqlite3.c.

#define PTF_ZERODATA   0x02

Definition at line 57506 of file sqlite3.c.

#define PTRMAP_BTREE   5

Definition at line 57886 of file sqlite3.c.

#define PTRMAP_FREEPAGE   2

Definition at line 57883 of file sqlite3.c.

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

Definition at line 57849 of file sqlite3.c.

#define PTRMAP_OVERFLOW1   3

Definition at line 57884 of file sqlite3.c.

#define PTRMAP_OVERFLOW2   4

Definition at line 57885 of file sqlite3.c.

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

Definition at line 57847 of file sqlite3.c.

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

Definition at line 57848 of file sqlite3.c.

#define PTRMAP_ROOTPAGE   1

Definition at line 57882 of file sqlite3.c.

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

Definition at line 57939 of file sqlite3.c.

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

Definition at line 47438 of file sqlite3.c.

#define put4byte   sqlite3Put4byte

Definition at line 57941 of file sqlite3.c.

#define putVarint   sqlite3PutVarint

Definition at line 16526 of file sqlite3.c.

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

Definition at line 16522 of file sqlite3.c.

#define READ_LOCK   1

Definition at line 57575 of file sqlite3.c.

#define READ_UTF16BE (   zIn,
  TERM,
 
)
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); \
} \
}

Definition at line 26857 of file sqlite3.c.

#define READ_UTF16LE (   zIn,
  TERM,
 
)
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); \
} \
}

Definition at line 26847 of file sqlite3.c.

#define READ_UTF8 (   zIn,
  zTerm,
 
)
Value:
c = *(zIn++); \
if( c>=0xc0 ){ \
c = sqlite3Utf8Trans1[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:26791

Definition at line 26894 of file sqlite3.c.

#define READMARK_NOT_USED   0xffffffff

Definition at line 54168 of file sqlite3.c.

#define REGISTER_TRACE (   R,
 
)

Definition at line 77717 of file sqlite3.c.

#define RESERVED_BYTE   (PENDING_BYTE+1)

Definition at line 13559 of file sqlite3.c.

#define RESERVED_LOCK   2

Definition at line 13495 of file sqlite3.c.

#define restoreCursorPosition (   p)
Value:
(p->eState>=CURSOR_REQUIRESEEK ? \
static int btreeRestoreCursorPosition(BtCursor *pCur)
Definition: sqlite3.c:59040
#define SQLITE_OK
Definition: sqlite3.c:674
#define CURSOR_REQUIRESEEK
Definition: sqlite3.c:57824

Definition at line 59062 of file sqlite3.c.

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

Definition at line 11775 of file sqlite3.c.

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

Definition at line 11780 of file sqlite3.c.

#define ROWSET_ALLOCATION_SIZE   1024

Definition at line 45784 of file sqlite3.c.

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

Definition at line 45789 of file sqlite3.c.

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

Definition at line 45838 of file sqlite3.c.

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

Definition at line 45837 of file sqlite3.c.

#define SAVEPOINT_BEGIN   0

Definition at line 14274 of file sqlite3.c.

#define SAVEPOINT_RELEASE   1

Definition at line 14275 of file sqlite3.c.

#define SAVEPOINT_ROLLBACK   2

Definition at line 14276 of file sqlite3.c.

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

Definition at line 14030 of file sqlite3.c.

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

Definition at line 11895 of file sqlite3.c.

#define SELECTTRACE (   K,
  P,
  S,
 
)

Definition at line 114417 of file sqlite3.c.

#define SELECTTRACE_ENABLED   0

Definition at line 11860 of file sqlite3.c.

#define SET_FULLSYNC (   x,
  y 
)

Definition at line 13441 of file sqlite3.c.

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

Definition at line 43467 of file sqlite3.c.

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

Definition at line 15318 of file sqlite3.c.

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

Definition at line 15316 of file sqlite3.c.

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

Definition at line 15323 of file sqlite3.c.

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

Definition at line 15331 of file sqlite3.c.

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

Definition at line 15315 of file sqlite3.c.

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

Definition at line 15321 of file sqlite3.c.

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

Definition at line 15329 of file sqlite3.c.

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

Definition at line 15319 of file sqlite3.c.

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

Definition at line 15322 of file sqlite3.c.

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

Definition at line 15332 of file sqlite3.c.

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

Definition at line 15330 of file sqlite3.c.

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

Definition at line 15327 of file sqlite3.c.

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

Definition at line 15325 of file sqlite3.c.

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

Definition at line 15326 of file sqlite3.c.

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

Definition at line 15328 of file sqlite3.c.

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

Definition at line 15317 of file sqlite3.c.

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

Definition at line 15320 of file sqlite3.c.

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

Definition at line 15324 of file sqlite3.c.

#define SHARED_FIRST   (PENDING_BYTE+2)

Definition at line 13560 of file sqlite3.c.

#define SHARED_LOCK   1

Definition at line 13494 of file sqlite3.c.

#define SHARED_SIZE   510

Definition at line 13561 of file sqlite3.c.

#define SimulateDiskfullError (   A)

Definition at line 29651 of file sqlite3.c.

#define SimulateIOError (   A)

Definition at line 29650 of file sqlite3.c.

#define SimulateIOErrorBenign (   X)

Definition at line 29649 of file sqlite3.c.

#define SLOT_2_0   0x001fc07f

Definition at line 28098 of file sqlite3.c.

#define SLOT_4_2_0   0xf01fc07f

Definition at line 28099 of file sqlite3.c.

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

Definition at line 11769 of file sqlite3.c.

#define SORTER_MAX_MERGE_COUNT   16

Definition at line 85302 of file sqlite3.c.

#define SORTER_TYPE_INTEGER   0x01

Definition at line 85180 of file sqlite3.c.

#define SORTER_TYPE_TEXT   0x02

Definition at line 85181 of file sqlite3.c.

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

Definition at line 114450 of file sqlite3.c.

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

Definition at line 46827 of file sqlite3.c.

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

Definition at line 46825 of file sqlite3.c.

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

Definition at line 46826 of file sqlite3.c.

#define sqlite3_column_database_name   0

Definition at line 110311 of file sqlite3.c.

#define sqlite3_column_database_name16   0

Definition at line 110312 of file sqlite3.c.

#define sqlite3_column_origin_name   0

Definition at line 110315 of file sqlite3.c.

#define sqlite3_column_origin_name16   0

Definition at line 110316 of file sqlite3.c.

#define sqlite3_column_table_name   0

Definition at line 110313 of file sqlite3.c.

#define sqlite3_column_table_name16   0

Definition at line 110314 of file sqlite3.c.

#define SQLITE3_H

Definition at line 294 of file sqlite3.c.

#define SQLITE3_MUTEX_INITIALIZER   { PTHREAD_MUTEX_INITIALIZER }

Definition at line 22858 of file sqlite3.c.

#define SQLITE3_TEXT   3

Definition at line 4396 of file sqlite3.c.

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

Definition at line 16222 of file sqlite3.c.

#define sqlite3ConnectionBlocked (   x,
  y 
)

Definition at line 16848 of file sqlite3.c.

#define sqlite3ConnectionClosed (   x)

Definition at line 16850 of file sqlite3.c.

#define sqlite3ConnectionUnlocked (   x)

Definition at line 16849 of file sqlite3.c.

#define SQLITE3EXT_H

Definition at line 109756 of file sqlite3.c.

#define sqlite3FileSuffix3 (   X,
 
)

Definition at line 16566 of file sqlite3.c.

#define sqlite3GlobalConfig   sqlite3Config

Definition at line 11941 of file sqlite3.c.

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

Definition at line 16032 of file sqlite3.c.

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

Definition at line 16033 of file sqlite3.c.

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

Definition at line 16034 of file sqlite3.c.

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

Definition at line 14356 of file sqlite3.c.

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

Definition at line 16037 of file sqlite3.c.

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

Definition at line 16031 of file sqlite3.c.

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

Definition at line 16451 of file sqlite3.c.

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

Definition at line 16035 of file sqlite3.c.

#define sqlite3MemdebugHasType (   X,
 
)    1

Definition at line 16905 of file sqlite3.c.

#define sqlite3MemdebugNoType (   X,
 
)    1

Definition at line 16906 of file sqlite3.c.

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

Definition at line 16904 of file sqlite3.c.

#define sqlite3ParserARG_FETCH   Parse *pParse = yypParser->pParse

Definition at line 133118 of file sqlite3.c.

#define sqlite3ParserARG_PDECL   ,Parse *pParse

Definition at line 133117 of file sqlite3.c.

#define sqlite3ParserARG_SDECL   Parse *pParse;

Definition at line 133116 of file sqlite3.c.

#define sqlite3ParserARG_STORE   yypParser->pParse = pParse

Definition at line 133119 of file sqlite3.c.

#define sqlite3ParserTOKENTYPE   Token

Definition at line 133096 of file sqlite3.c.

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

Definition at line 16450 of file sqlite3.c.

#define sqlite3SelectSetName (   A,
 
)

Definition at line 16414 of file sqlite3.c.

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

Definition at line 16098 of file sqlite3.c.

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

Definition at line 16099 of file sqlite3.c.

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

Definition at line 16100 of file sqlite3.c.

#define sqlite3StrNICmp   sqlite3_strnicmp

Definition at line 16058 of file sqlite3.c.

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

Definition at line 16036 of file sqlite3.c.

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

Definition at line 16030 of file sqlite3.c.

#define sqlite3VdbeIOTraceSql (   X)

Definition at line 16868 of file sqlite3.c.

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

Definition at line 12909 of file sqlite3.c.

#define sqlite3VdbeVerifyNoMallocRequired (   A,
 
)

Definition at line 12789 of file sqlite3.c.

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

Definition at line 16720 of file sqlite3.c.

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

Definition at line 124284 of file sqlite3.c.

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

Definition at line 679 of file sqlite3.c.

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

Definition at line 765 of file sqlite3.c.

#define SQLITE_ACCESS_EXISTS   0

Definition at line 1545 of file sqlite3.c.

#define SQLITE_ACCESS_READ   2 /* Unused */

Definition at line 1547 of file sqlite3.c.

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

Definition at line 1546 of file sqlite3.c.

#define SQLITE_AFF_BLOB   'A'

Definition at line 14350 of file sqlite3.c.

#define SQLITE_AFF_INTEGER   'D'

Definition at line 14353 of file sqlite3.c.

#define SQLITE_AFF_MASK   0x47

Definition at line 14362 of file sqlite3.c.

#define SQLITE_AFF_NUMERIC   'C'

Definition at line 14352 of file sqlite3.c.

#define SQLITE_AFF_REAL   'E'

Definition at line 14354 of file sqlite3.c.

#define SQLITE_AFF_TEXT   'B'

Definition at line 14351 of file sqlite3.c.

#define SQLITE_AllOpts   0xffff /* All optimizations */

Definition at line 14095 of file sqlite3.c.

#define SQLITE_ALLOW_COVERING_INDEX_SCAN   1

Definition at line 17083 of file sqlite3.c.

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

Definition at line 3042 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 3044 of file sqlite3.c.

#define SQLITE_ANY   5 /* Deprecated */

Definition at line 4760 of file sqlite3.c.

#define SQLITE_API

Definition at line 312 of file sqlite3.c.

#define SQLITE_APICALL

Definition at line 318 of file sqlite3.c.

#define SQLITE_ASCII   1

Definition at line 11590 of file sqlite3.c.

#define SQLITE_ATTACH   24 /* Filename NULL */

Definition at line 3040 of file sqlite3.c.

#define SQLITE_AUTH   23 /* Authorization denied */

Definition at line 698 of file sqlite3.c.

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

Definition at line 779 of file sqlite3.c.

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

Definition at line 14064 of file sqlite3.c.

#define SQLITE_BIG_DBL   (1e99)

Definition at line 11488 of file sqlite3.c.

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

Definition at line 11758 of file sqlite3.c.

#define SQLITE_BLOB   4

Definition at line 4389 of file sqlite3.c.

#define SQLITE_BTREE_H

Definition at line 12037 of file sqlite3.c.

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

Definition at line 680 of file sqlite3.c.

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

Definition at line 754 of file sqlite3.c.

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

Definition at line 755 of file sqlite3.c.

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

Definition at line 11757 of file sqlite3.c.

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

Definition at line 14046 of file sqlite3.c.

#define SQLITE_CALLBACK

Definition at line 324 of file sqlite3.c.

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

Definition at line 689 of file sqlite3.c.

#define SQLITE_CANTOPEN_BKPT   sqlite3CantopenError(__LINE__)

Definition at line 15987 of file sqlite3.c.

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

Definition at line 759 of file sqlite3.c.

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

Definition at line 758 of file sqlite3.c.

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

Definition at line 757 of file sqlite3.c.

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

Definition at line 756 of file sqlite3.c.

#define SQLITE_CDECL

Definition at line 315 of file sqlite3.c.

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

Definition at line 14073 of file sqlite3.c.

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

Definition at line 8170 of file sqlite3.c.

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

Definition at line 8169 of file sqlite3.c.

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

Definition at line 8171 of file sqlite3.c.

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

Definition at line 8172 of file sqlite3.c.

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

Definition at line 14045 of file sqlite3.c.

#define SQLITE_ColumnCache   0x0002 /* Column cache */

Definition at line 14083 of file sqlite3.c.

#define SQLITE_CONFIG_COVERING_INDEX_SCAN   20 /* int */

Definition at line 2147 of file sqlite3.c.

#define SQLITE_CONFIG_GETMALLOC   5 /* sqlite3_mem_methods* */

Definition at line 2132 of file sqlite3.c.

#define SQLITE_CONFIG_GETMUTEX   11 /* sqlite3_mutex_methods* */

Definition at line 2138 of file sqlite3.c.

#define SQLITE_CONFIG_GETPCACHE   15 /* no-op */

Definition at line 2142 of file sqlite3.c.

#define SQLITE_CONFIG_GETPCACHE2   19 /* sqlite3_pcache_methods2* */

Definition at line 2146 of file sqlite3.c.

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

Definition at line 2135 of file sqlite3.c.

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

Definition at line 2143 of file sqlite3.c.

#define SQLITE_CONFIG_LOOKASIDE   13 /* int int */

Definition at line 2140 of file sqlite3.c.

#define SQLITE_CONFIG_MALLOC   4 /* sqlite3_mem_methods* */

Definition at line 2131 of file sqlite3.c.

#define SQLITE_CONFIG_MEMSTATUS   9 /* boolean */

Definition at line 2136 of file sqlite3.c.

#define SQLITE_CONFIG_MMAP_SIZE   22 /* sqlite3_int64, sqlite3_int64 */

Definition at line 2149 of file sqlite3.c.

#define SQLITE_CONFIG_MULTITHREAD   2 /* nil */

Definition at line 2129 of file sqlite3.c.

#define SQLITE_CONFIG_MUTEX   10 /* sqlite3_mutex_methods* */

Definition at line 2137 of file sqlite3.c.

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

Definition at line 2134 of file sqlite3.c.

#define SQLITE_CONFIG_PCACHE   14 /* no-op */

Definition at line 2141 of file sqlite3.c.

#define SQLITE_CONFIG_PCACHE2   18 /* sqlite3_pcache_methods2* */

Definition at line 2145 of file sqlite3.c.

#define SQLITE_CONFIG_PCACHE_HDRSZ   24 /* int *psz */

Definition at line 2151 of file sqlite3.c.

#define SQLITE_CONFIG_PMASZ   25 /* unsigned int szPma */

Definition at line 2152 of file sqlite3.c.

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

Definition at line 2133 of file sqlite3.c.

#define SQLITE_CONFIG_SERIALIZED   3 /* nil */

Definition at line 2130 of file sqlite3.c.

#define SQLITE_CONFIG_SINGLETHREAD   1 /* nil */

Definition at line 2128 of file sqlite3.c.

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

Definition at line 2148 of file sqlite3.c.

#define SQLITE_CONFIG_STMTJRNL_SPILL   26 /* int nByte */

Definition at line 2153 of file sqlite3.c.

#define SQLITE_CONFIG_URI   17 /* int */

Definition at line 2144 of file sqlite3.c.

#define SQLITE_CONFIG_WIN32_HEAPSIZE   23 /* int nByte */

Definition at line 2150 of file sqlite3.c.

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

Definition at line 694 of file sqlite3.c.

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

Definition at line 766 of file sqlite3.c.

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

Definition at line 767 of file sqlite3.c.

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

Definition at line 768 of file sqlite3.c.

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

Definition at line 769 of file sqlite3.c.

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

Definition at line 770 of file sqlite3.c.

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

Definition at line 771 of file sqlite3.c.

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

Definition at line 775 of file sqlite3.c.

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

Definition at line 772 of file sqlite3.c.

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

Definition at line 773 of file sqlite3.c.

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

Definition at line 774 of file sqlite3.c.

#define SQLITE_COPY   0 /* No longer used */

Definition at line 3049 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 686 of file sqlite3.c.

#define SQLITE_CORRUPT_BKPT   sqlite3CorruptError(__LINE__)

Definition at line 15985 of file sqlite3.c.

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

Definition at line 760 of file sqlite3.c.

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

Definition at line 14048 of file sqlite3.c.

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

Definition at line 14088 of file sqlite3.c.

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

Definition at line 3017 of file sqlite3.c.

#define SQLITE_CREATE_TABLE   2 /* Table Name NULL */

Definition at line 3018 of file sqlite3.c.

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

Definition at line 3019 of file sqlite3.c.

#define SQLITE_CREATE_TEMP_TABLE   4 /* Table Name NULL */

Definition at line 3020 of file sqlite3.c.

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

Definition at line 3021 of file sqlite3.c.

#define SQLITE_CREATE_TEMP_VIEW   6 /* View Name NULL */

Definition at line 3022 of file sqlite3.c.

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

Definition at line 3023 of file sqlite3.c.

#define SQLITE_CREATE_VIEW   8 /* View Name NULL */

Definition at line 3024 of file sqlite3.c.

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

Definition at line 3045 of file sqlite3.c.

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

Definition at line 14094 of file sqlite3.c.

#define SQLITE_DBCONFIG_ENABLE_FKEY   1002 /* int int* */

Definition at line 2254 of file sqlite3.c.

#define SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER   1004 /* int int* */

Definition at line 2256 of file sqlite3.c.

#define SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION   1005 /* int int* */

Definition at line 2257 of file sqlite3.c.

#define SQLITE_DBCONFIG_ENABLE_TRIGGER   1003 /* int int* */

Definition at line 2255 of file sqlite3.c.

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

Definition at line 2253 of file sqlite3.c.

#define SQLITE_DBCONFIG_MAINDBNAME   1000 /* const char* */

Definition at line 2252 of file sqlite3.c.

#define SQLITE_DBSTATUS_CACHE_HIT   7

Definition at line 7259 of file sqlite3.c.

#define SQLITE_DBSTATUS_CACHE_MISS   8

Definition at line 7260 of file sqlite3.c.

#define SQLITE_DBSTATUS_CACHE_USED   1

Definition at line 7253 of file sqlite3.c.

#define SQLITE_DBSTATUS_CACHE_USED_SHARED   11

Definition at line 7263 of file sqlite3.c.

#define SQLITE_DBSTATUS_CACHE_WRITE   9

Definition at line 7261 of file sqlite3.c.

#define SQLITE_DBSTATUS_DEFERRED_FKS   10

Definition at line 7262 of file sqlite3.c.

#define SQLITE_DBSTATUS_LOOKASIDE_HIT   4

Definition at line 7256 of file sqlite3.c.

#define SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL   6

Definition at line 7258 of file sqlite3.c.

#define SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE   5

Definition at line 7257 of file sqlite3.c.

#define SQLITE_DBSTATUS_LOOKASIDE_USED   0

Definition at line 7252 of file sqlite3.c.

#define SQLITE_DBSTATUS_MAX   11 /* Largest defined DBSTATUS */

Definition at line 7264 of file sqlite3.c.

#define SQLITE_DBSTATUS_SCHEMA_USED   2

Definition at line 7254 of file sqlite3.c.

#define SQLITE_DBSTATUS_STMT_USED   3

Definition at line 7255 of file sqlite3.c.

#define SQLITE_DEFAULT_AUTOVACUUM   0

Definition at line 12049 of file sqlite3.c.

#define SQLITE_DEFAULT_CACHE_SIZE   -2000

Definition at line 10755 of file sqlite3.c.

#define SQLITE_DEFAULT_FILE_FORMAT   4

Definition at line 11510 of file sqlite3.c.

#define SQLITE_DEFAULT_FILE_PERMISSIONS   0644

Definition at line 29336 of file sqlite3.c.

#define SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT   -1

Definition at line 12943 of file sqlite3.c.

#define SQLITE_DEFAULT_MEMSTATUS   1

Definition at line 10973 of file sqlite3.c.

#define SQLITE_DEFAULT_MMAP_SIZE   0

Definition at line 11831 of file sqlite3.c.

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

Definition at line 11832 of file sqlite3.c.

#define SQLITE_DEFAULT_PAGE_SIZE   4096

Definition at line 10805 of file sqlite3.c.

#define SQLITE_DEFAULT_PCACHE_INITSZ   100

Definition at line 11557 of file sqlite3.c.

#define SQLITE_DEFAULT_PROXYDIR_PERMISSIONS   0755

Definition at line 29343 of file sqlite3.c.

#define SQLITE_DEFAULT_RECURSIVE_TRIGGERS   0

Definition at line 11518 of file sqlite3.c.

#define SQLITE_DEFAULT_SECTOR_SIZE   4096

Definition at line 13448 of file sqlite3.c.

#define SQLITE_DEFAULT_SYNCHRONOUS   (PAGER_SYNCHRONOUS_FULL-1)

Definition at line 13723 of file sqlite3.c.

#define SQLITE_DEFAULT_WAL_AUTOCHECKPOINT   1000

Definition at line 10763 of file sqlite3.c.

#define SQLITE_DEFAULT_WAL_SYNCHRONOUS   SQLITE_DEFAULT_SYNCHRONOUS

Definition at line 13726 of file sqlite3.c.

#define SQLITE_DEFAULT_WORKER_THREADS   0

Definition at line 11543 of file sqlite3.c.

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

Definition at line 14069 of file sqlite3.c.

#define SQLITE_DELETE   9 /* Table Name NULL */

Definition at line 3025 of file sqlite3.c.

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

Definition at line 2994 of file sqlite3.c.

#define SQLITE_DEPRECATED

Definition at line 343 of file sqlite3.c.

#define SQLITE_DETACH   25 /* Database Name NULL */

Definition at line 3041 of file sqlite3.c.

#define SQLITE_DETERMINISTIC   0x800

Definition at line 4771 of file sqlite3.c.

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

Definition at line 14087 of file sqlite3.c.

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

Definition at line 705 of file sqlite3.c.

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

Definition at line 3026 of file sqlite3.c.

#define SQLITE_DROP_TABLE   11 /* Table Name NULL */

Definition at line 3027 of file sqlite3.c.

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

Definition at line 3028 of file sqlite3.c.

#define SQLITE_DROP_TEMP_TABLE   13 /* Table Name NULL */

Definition at line 3029 of file sqlite3.c.

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

Definition at line 3030 of file sqlite3.c.

#define SQLITE_DROP_TEMP_VIEW   15 /* View Name NULL */

Definition at line 3031 of file sqlite3.c.

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

Definition at line 3032 of file sqlite3.c.

#define SQLITE_DROP_VIEW   17 /* View Name NULL */

Definition at line 3033 of file sqlite3.c.

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

Definition at line 3046 of file sqlite3.c.

#define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)

Definition at line 11916 of file sqlite3.c.

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

Definition at line 16342 of file sqlite3.c.

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

Definition at line 16343 of file sqlite3.c.

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

Definition at line 16344 of file sqlite3.c.

#define SQLITE_EMPTY   16 /* Database is empty */

Definition at line 691 of file sqlite3.c.

#define SQLITE_ENABLE_LOCKING_STYLE   0

Definition at line 29256 of file sqlite3.c.

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

Definition at line 14068 of file sqlite3.c.

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

Definition at line 676 of file sqlite3.c.

#define SQLITE_EXPERIMENTAL

Definition at line 344 of file sqlite3.c.

#define SQLITE_EXTENSION_INIT1   /*no-op*/

Definition at line 110292 of file sqlite3.c.

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

Definition at line 110293 of file sqlite3.c.

#define SQLITE_EXTENSION_INIT3   /*no-op*/

Definition at line 110294 of file sqlite3.c.

#define SQLITE_EXTERN   extern

Definition at line 309 of file sqlite3.c.

#define SQLITE_FactorOutConst   0x0008 /* Constant factoring */

Definition at line 14085 of file sqlite3.c.

#define SQLITE_FAIL   3

Definition at line 8257 of file sqlite3.c.

#define SQLITE_FAULTINJECTOR_COUNT   1

Definition at line 16791 of file sqlite3.c.

#define SQLITE_FAULTINJECTOR_MALLOC   0

Definition at line 16790 of file sqlite3.c.

#define SQLITE_FCNTL_BUSYHANDLER   15

Definition at line 1284 of file sqlite3.c.

#define SQLITE_FCNTL_CHUNK_SIZE   6

Definition at line 1275 of file sqlite3.c.

#define SQLITE_FCNTL_COMMIT_PHASETWO   22

Definition at line 1290 of file sqlite3.c.

#define SQLITE_FCNTL_DB_UNCHANGED   0xca093fa0

Definition at line 13582 of file sqlite3.c.

#define SQLITE_FCNTL_FILE_POINTER   7

Definition at line 1276 of file sqlite3.c.

#define SQLITE_FCNTL_GET_LOCKPROXYFILE   2

Definition at line 1271 of file sqlite3.c.

#define SQLITE_FCNTL_HAS_MOVED   20

Definition at line 1288 of file sqlite3.c.

#define SQLITE_FCNTL_JOURNAL_POINTER   28

Definition at line 1296 of file sqlite3.c.

#define SQLITE_FCNTL_LAST_ERRNO   4

Definition at line 1273 of file sqlite3.c.

#define SQLITE_FCNTL_LOCKSTATE   1

Definition at line 1270 of file sqlite3.c.

#define SQLITE_FCNTL_MMAP_SIZE   18

Definition at line 1286 of file sqlite3.c.

#define SQLITE_FCNTL_OVERWRITE   11

Definition at line 1280 of file sqlite3.c.

#define SQLITE_FCNTL_PERSIST_WAL   10

Definition at line 1279 of file sqlite3.c.

#define SQLITE_FCNTL_POWERSAFE_OVERWRITE   13

Definition at line 1282 of file sqlite3.c.

#define SQLITE_FCNTL_PRAGMA   14

Definition at line 1283 of file sqlite3.c.

#define SQLITE_FCNTL_RBU   26

Definition at line 1294 of file sqlite3.c.

#define SQLITE_FCNTL_SET_LOCKPROXYFILE   3

Definition at line 1272 of file sqlite3.c.

#define SQLITE_FCNTL_SIZE_HINT   5

Definition at line 1274 of file sqlite3.c.

#define SQLITE_FCNTL_SYNC   21

Definition at line 1289 of file sqlite3.c.

#define SQLITE_FCNTL_SYNC_OMITTED   8

Definition at line 1277 of file sqlite3.c.

#define SQLITE_FCNTL_TEMPFILENAME   16

Definition at line 1285 of file sqlite3.c.

#define SQLITE_FCNTL_TRACE   19

Definition at line 1287 of file sqlite3.c.

#define SQLITE_FCNTL_VFS_POINTER   27

Definition at line 1295 of file sqlite3.c.

#define SQLITE_FCNTL_VFSNAME   12

Definition at line 1281 of file sqlite3.c.

#define SQLITE_FCNTL_WAL_BLOCK   24

Definition at line 1292 of file sqlite3.c.

#define SQLITE_FCNTL_WIN32_AV_RETRY   9

Definition at line 1278 of file sqlite3.c.

#define SQLITE_FCNTL_WIN32_GET_HANDLE   29

Definition at line 1297 of file sqlite3.c.

#define SQLITE_FCNTL_WIN32_SET_HANDLE   23

Definition at line 1291 of file sqlite3.c.

#define SQLITE_FCNTL_ZIPVFS   25

Definition at line 1293 of file sqlite3.c.

#define SQLITE_FILE_HEADER   "SQLite format 3"

Definition at line 57498 of file sqlite3.c.

#define SQLITE_FLOAT   2

Definition at line 4388 of file sqlite3.c.

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

Definition at line 14063 of file sqlite3.c.

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

Definition at line 699 of file sqlite3.c.

#define SQLITE_FREE (   x)    free(x)

Definition at line 20387 of file sqlite3.c.

#define SQLITE_FSFLAGS_IS_MSDOS   0x1

Definition at line 29321 of file sqlite3.c.

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

Definition at line 14074 of file sqlite3.c.

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

Definition at line 688 of file sqlite3.c.

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

Definition at line 14043 of file sqlite3.c.

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

Definition at line 14044 of file sqlite3.c.

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

Definition at line 14185 of file sqlite3.c.

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

Definition at line 14191 of file sqlite3.c.

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

Definition at line 14193 of file sqlite3.c.

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

Definition at line 14190 of file sqlite3.c.

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

Definition at line 14183 of file sqlite3.c.

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

Definition at line 14186 of file sqlite3.c.

#define SQLITE_FUNC_HASH_SZ   23

Definition at line 13846 of file sqlite3.c.

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

Definition at line 14188 of file sqlite3.c.

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

Definition at line 14184 of file sqlite3.c.

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

Definition at line 14194 of file sqlite3.c.

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

Definition at line 14187 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 14195 of file sqlite3.c.

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

Definition at line 14189 of file sqlite3.c.

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

Definition at line 14192 of file sqlite3.c.

#define SQLITE_FUNCTION   31 /* NULL Function Name */

Definition at line 3047 of file sqlite3.c.

#define SQLITE_GET_LOCKPROXYFILE   SQLITE_FCNTL_GET_LOCKPROXYFILE

Definition at line 1300 of file sqlite3.c.

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

Definition at line 14084 of file sqlite3.c.

#define SQLITE_HASH_H

Definition at line 11206 of file sqlite3.c.

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

Definition at line 14741 of file sqlite3.c.

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

Definition at line 14743 of file sqlite3.c.

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

Definition at line 14742 of file sqlite3.c.

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

Definition at line 2995 of file sqlite3.c.

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

Definition at line 14057 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_EQ   2

Definition at line 6234 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_GE   32

Definition at line 6238 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_GLOB   66

Definition at line 6241 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_GT   4

Definition at line 6235 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_LE   8

Definition at line 6236 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_LIKE   65

Definition at line 6240 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_LT   16

Definition at line 6237 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_MATCH   64

Definition at line 6239 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_REGEXP   67

Definition at line 6242 of file sqlite3.c.

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

Definition at line 6224 of file sqlite3.c.

#define SQLITE_INSERT   18 /* Table Name NULL */

Definition at line 3034 of file sqlite3.c.

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

Definition at line 10900 of file sqlite3.c.

#define SQLITE_INTEGER   1

Definition at line 4387 of file sqlite3.c.

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

Definition at line 677 of file sqlite3.c.

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

Definition at line 14042 of file sqlite3.c.

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

Definition at line 684 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC   0x00000001

Definition at line 840 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC16K   0x00000040

Definition at line 846 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC1K   0x00000004

Definition at line 842 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC2K   0x00000008

Definition at line 843 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC32K   0x00000080

Definition at line 847 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC4K   0x00000010

Definition at line 844 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC512   0x00000002

Definition at line 841 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC64K   0x00000100

Definition at line 848 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC8K   0x00000020

Definition at line 845 of file sqlite3.c.

#define SQLITE_IOCAP_IMMUTABLE   0x00002000

Definition at line 853 of file sqlite3.c.

#define SQLITE_IOCAP_POWERSAFE_OVERWRITE   0x00001000

Definition at line 852 of file sqlite3.c.

#define SQLITE_IOCAP_SAFE_APPEND   0x00000200

Definition at line 849 of file sqlite3.c.

#define SQLITE_IOCAP_SEQUENTIAL   0x00000400

Definition at line 850 of file sqlite3.c.

#define SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN   0x00000800

Definition at line 851 of file sqlite3.c.

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

Definition at line 685 of file sqlite3.c.

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

Definition at line 737 of file sqlite3.c.

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

Definition at line 752 of file sqlite3.c.

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

Definition at line 735 of file sqlite3.c.

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

Definition at line 738 of file sqlite3.c.

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

Definition at line 740 of file sqlite3.c.

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

Definition at line 750 of file sqlite3.c.

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

Definition at line 734 of file sqlite3.c.

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

Definition at line 747 of file sqlite3.c.

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

Definition at line 741 of file sqlite3.c.

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

Definition at line 729 of file sqlite3.c.

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

Definition at line 731 of file sqlite3.c.

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

Definition at line 728 of file sqlite3.c.

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

Definition at line 749 of file sqlite3.c.

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

Definition at line 739 of file sqlite3.c.

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

Definition at line 748 of file sqlite3.c.

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

Definition at line 736 of file sqlite3.c.

#define SQLITE_IOERR_NOMEM_BKPT   SQLITE_IOERR_NOMEM

Definition at line 15995 of file sqlite3.c.

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

Definition at line 733 of file sqlite3.c.

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

Definition at line 725 of file sqlite3.c.

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

Definition at line 746 of file sqlite3.c.

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

Definition at line 744 of file sqlite3.c.

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

Definition at line 745 of file sqlite3.c.

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

Definition at line 742 of file sqlite3.c.

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

Definition at line 743 of file sqlite3.c.

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

Definition at line 726 of file sqlite3.c.

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

Definition at line 730 of file sqlite3.c.

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

Definition at line 732 of file sqlite3.c.

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

Definition at line 751 of file sqlite3.c.

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

Definition at line 727 of file sqlite3.c.

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

Definition at line 14374 of file sqlite3.c.

#define SQLITE_KEEPNULL   0x08 /* Used by vector == or <> */

Definition at line 14373 of file sqlite3.c.

#define SQLITE_LAST_ERRNO   SQLITE_FCNTL_LAST_ERRNO

Definition at line 1302 of file sqlite3.c.

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

Definition at line 14059 of file sqlite3.c.

#define SQLITE_LIMIT_ATTACHED   7

Definition at line 3680 of file sqlite3.c.

#define SQLITE_LIMIT_COLUMN   2

Definition at line 3675 of file sqlite3.c.

#define SQLITE_LIMIT_COMPOUND_SELECT   4

Definition at line 3677 of file sqlite3.c.

#define SQLITE_LIMIT_EXPR_DEPTH   3

Definition at line 3676 of file sqlite3.c.

#define SQLITE_LIMIT_FUNCTION_ARG   6

Definition at line 3679 of file sqlite3.c.

#define SQLITE_LIMIT_LENGTH   0

Definition at line 3673 of file sqlite3.c.

#define SQLITE_LIMIT_LIKE_PATTERN_LENGTH   8

Definition at line 3681 of file sqlite3.c.

#define SQLITE_LIMIT_SQL_LENGTH   1

Definition at line 3674 of file sqlite3.c.

#define SQLITE_LIMIT_TRIGGER_DEPTH   10

Definition at line 3683 of file sqlite3.c.

#define SQLITE_LIMIT_VARIABLE_NUMBER   9

Definition at line 3682 of file sqlite3.c.

#define SQLITE_LIMIT_VDBE_OP   5

Definition at line 3678 of file sqlite3.c.

#define SQLITE_LIMIT_WORKER_THREADS   11

Definition at line 3684 of file sqlite3.c.

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

Definition at line 11759 of file sqlite3.c.

#define SQLITE_LoadExtension   0x00400000 /* Enable load_extension */

Definition at line 14066 of file sqlite3.c.

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

Definition at line 14067 of file sqlite3.c.

#define SQLITE_LOCK_EXCLUSIVE   4

Definition at line 866 of file sqlite3.c.

#define SQLITE_LOCK_NONE   0

Definition at line 862 of file sqlite3.c.

#define SQLITE_LOCK_PENDING   3

Definition at line 865 of file sqlite3.c.

#define SQLITE_LOCK_RESERVED   2

Definition at line 864 of file sqlite3.c.

#define SQLITE_LOCK_SHARED   1

Definition at line 863 of file sqlite3.c.

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

Definition at line 681 of file sqlite3.c.

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

Definition at line 753 of file sqlite3.c.

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

Definition at line 14122 of file sqlite3.c.

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

Definition at line 14120 of file sqlite3.c.

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

Definition at line 14123 of file sqlite3.c.

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

Definition at line 14119 of file sqlite3.c.

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

Definition at line 14121 of file sqlite3.c.

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

Definition at line 14124 of file sqlite3.c.

#define SQLITE_MALLOC (   x)    malloc(x)

Definition at line 20386 of file sqlite3.c.

#define SQLITE_MALLOC_SOFT_LIMIT   1024

Definition at line 11014 of file sqlite3.c.

#define SQLITE_MAX_ATTACHED   10

Definition at line 10773 of file sqlite3.c.

#define SQLITE_MAX_COLUMN   2000

Definition at line 10690 of file sqlite3.c.

#define SQLITE_MAX_COMPOUND_SELECT   500

Definition at line 10727 of file sqlite3.c.

#define SQLITE_MAX_DEFAULT_PAGE_SIZE   8192

Definition at line 10820 of file sqlite3.c.

#define SQLITE_MAX_EXPR_DEPTH   1000

Definition at line 10715 of file sqlite3.c.

#define SQLITE_MAX_FILE_FORMAT   4

Definition at line 11508 of file sqlite3.c.

#define SQLITE_MAX_FUNCTION_ARG   127

Definition at line 10742 of file sqlite3.c.

#define SQLITE_MAX_LENGTH   1000000000

Definition at line 10669 of file sqlite3.c.

#define SQLITE_MAX_LIKE_PATTERN_LENGTH   50000

Definition at line 10844 of file sqlite3.c.

#define SQLITE_MAX_MMAP_SIZE   0

Definition at line 11820 of file sqlite3.c.

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

Definition at line 11822 of file sqlite3.c.

#define SQLITE_MAX_PAGE_COUNT   1073741823

Definition at line 10836 of file sqlite3.c.

#define SQLITE_MAX_PAGE_SIZE   65536

Definition at line 10798 of file sqlite3.c.

#define SQLITE_MAX_PMASZ   (1<<29)

Definition at line 84997 of file sqlite3.c.

#define SQLITE_MAX_SCHEMA_RETRY   50

Definition at line 17713 of file sqlite3.c.

#define SQLITE_MAX_SQL_LENGTH   1000000000

Definition at line 10701 of file sqlite3.c.

#define SQLITE_MAX_SYMLINKS   100

Definition at line 29354 of file sqlite3.c.

#define SQLITE_MAX_TRIGGER_DEPTH   1000

Definition at line 10855 of file sqlite3.c.

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

Definition at line 11652 of file sqlite3.c.

#define SQLITE_MAX_VARIABLE_NUMBER   999

Definition at line 10781 of file sqlite3.c.

#define SQLITE_MAX_VDBE_OP   25000

Definition at line 10735 of file sqlite3.c.

#define SQLITE_MAX_WORKER_THREADS   8

Definition at line 11540 of file sqlite3.c.

#define SQLITE_MINIMUM_FILE_DESCRIPTOR   3

Definition at line 29992 of file sqlite3.c.

#define SQLITE_MISMATCH   20 /* Data type mismatch */

Definition at line 695 of file sqlite3.c.

#define SQLITE_MISUSE   21 /* Library used incorrectly */

Definition at line 696 of file sqlite3.c.

#define SQLITE_MISUSE_BKPT   sqlite3MisuseError(__LINE__)

Definition at line 15986 of file sqlite3.c.

#define SQLITE_MSVC_H

Definition at line 109 of file sqlite3.c.

#define SQLITE_MUTEX_FAST   0

Definition at line 6877 of file sqlite3.c.

#define SQLITE_MUTEX_NREF   0

Definition at line 22836 of file sqlite3.c.

#define SQLITE_MUTEX_PTHREADS

Definition at line 13668 of file sqlite3.c.

#define SQLITE_MUTEX_RECURSIVE   1

Definition at line 6878 of file sqlite3.c.

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

Definition at line 6887 of file sqlite3.c.

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

Definition at line 6888 of file sqlite3.c.

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

Definition at line 6889 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_LRU   6 /* lru page list */

Definition at line 6884 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_LRU2   7 /* NOT USED */

Definition at line 6885 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_MASTER   2

Definition at line 6879 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_MEM   3 /* sqlite3_malloc() */

Definition at line 6880 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_MEM2   4 /* NOT USED */

Definition at line 6881 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_OPEN   4 /* sqlite3BtreeOpen() */

Definition at line 6882 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_PMEM   7 /* sqlite3PageMalloc() */

Definition at line 6886 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_PRNG   5 /* sqlite3_randomness() */

Definition at line 6883 of file sqlite3.c.

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

Definition at line 6890 of file sqlite3.c.

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

Definition at line 6891 of file sqlite3.c.

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

Definition at line 6892 of file sqlite3.c.

#define SQLITE_MX_JUMP_OPCODE   71 /* Maximum JUMP opcode */

Definition at line 12765 of file sqlite3.c.

#define SQLITE_N_BTREE_META   16

Definition at line 12042 of file sqlite3.c.

#define SQLITE_N_COLCACHE   10

Definition at line 15451 of file sqlite3.c.

#define SQLITE_N_KEYWORD   124

Definition at line 137000 of file sqlite3.c.

#define SQLITE_N_LIMIT   (SQLITE_LIMIT_WORKER_THREADS+1)

Definition at line 13802 of file sqlite3.c.

#define SQLITE_NOINLINE

Definition at line 10919 of file sqlite3.c.

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

Definition at line 697 of file sqlite3.c.

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

Definition at line 682 of file sqlite3.c.

#define SQLITE_NOMEM_BKPT   SQLITE_NOMEM

Definition at line 15994 of file sqlite3.c.

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

Definition at line 701 of file sqlite3.c.

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

Definition at line 687 of file sqlite3.c.

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

Definition at line 702 of file sqlite3.c.

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

Definition at line 777 of file sqlite3.c.

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

Definition at line 776 of file sqlite3.c.

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

Definition at line 14377 of file sqlite3.c.

#define SQLITE_NULL   5

Definition at line 4390 of file sqlite3.c.

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

Definition at line 14051 of file sqlite3.c.

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

Definition at line 14376 of file sqlite3.c.

#define SQLITE_OK   0 /* Successful result */

Definition at line 674 of file sqlite3.c.

#define SQLITE_OK_LOAD_PERMANENTLY   (SQLITE_OK | (1<<8))

Definition at line 780 of file sqlite3.c.

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

Definition at line 14092 of file sqlite3.c.

#define SQLITE_OPEN_AUTOPROXY   0x00000020 /* VFS only */

Definition at line 794 of file sqlite3.c.

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

Definition at line 791 of file sqlite3.c.

#define SQLITE_OPEN_DELETEONCLOSE   0x00000008 /* VFS only */

Definition at line 792 of file sqlite3.c.

#define SQLITE_OPEN_EXCLUSIVE   0x00000010 /* VFS only */

Definition at line 793 of file sqlite3.c.

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

Definition at line 805 of file sqlite3.c.

#define SQLITE_OPEN_MAIN_DB   0x00000100 /* VFS only */

Definition at line 797 of file sqlite3.c.

#define SQLITE_OPEN_MAIN_JOURNAL   0x00000800 /* VFS only */

Definition at line 800 of file sqlite3.c.

#define SQLITE_OPEN_MASTER_JOURNAL   0x00004000 /* VFS only */

Definition at line 803 of file sqlite3.c.

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

Definition at line 796 of file sqlite3.c.

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

Definition at line 804 of file sqlite3.c.

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

Definition at line 807 of file sqlite3.c.

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

Definition at line 789 of file sqlite3.c.

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

Definition at line 790 of file sqlite3.c.

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

Definition at line 806 of file sqlite3.c.

#define SQLITE_OPEN_SUBJOURNAL   0x00002000 /* VFS only */

Definition at line 802 of file sqlite3.c.

#define SQLITE_OPEN_TEMP_DB   0x00000200 /* VFS only */

Definition at line 798 of file sqlite3.c.

#define SQLITE_OPEN_TEMP_JOURNAL   0x00001000 /* VFS only */

Definition at line 801 of file sqlite3.c.

#define SQLITE_OPEN_TRANSIENT_DB   0x00000400 /* VFS only */

Definition at line 799 of file sqlite3.c.

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

Definition at line 795 of file sqlite3.c.

#define SQLITE_OPEN_WAL   0x00080000 /* VFS only */

Definition at line 808 of file sqlite3.c.

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

Definition at line 14089 of file sqlite3.c.

#define SQLITE_OS_OTHER   0

Definition at line 13413 of file sqlite3.c.

#define SQLITE_OS_SETUP_H

Definition at line 13392 of file sqlite3.c.

#define SQLITE_OS_UNIX   1

Definition at line 13421 of file sqlite3.c.

#define SQLITE_OS_WIN   0

Definition at line 13420 of file sqlite3.c.

#define SQLITE_PAGER_H

Definition at line 12935 of file sqlite3.c.

#define SQLITE_PERM   3 /* Access permission denied */

Definition at line 678 of file sqlite3.c.

#define SQLITE_POWERSAFE_OVERWRITE   1

Definition at line 10964 of file sqlite3.c.

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

Definition at line 3035 of file sqlite3.c.

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

Definition at line 14065 of file sqlite3.c.

#define SQLITE_PRINT_BUF_SIZE   70

Definition at line 24876 of file sqlite3.c.

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

Definition at line 15803 of file sqlite3.c.

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

Definition at line 15805 of file sqlite3.c.

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

Definition at line 15804 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 690 of file sqlite3.c.

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

Definition at line 10901 of file sqlite3.c.

#define SQLITE_PTRSIZE   8

Definition at line 11701 of file sqlite3.c.

#define SQLITE_QueryFlattener   0x0001 /* Query flattening */

Definition at line 14082 of file sqlite3.c.

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

Definition at line 14070 of file sqlite3.c.

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

Definition at line 700 of file sqlite3.c.

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

Definition at line 3036 of file sqlite3.c.

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

Definition at line 683 of file sqlite3.c.

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

Definition at line 762 of file sqlite3.c.

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

Definition at line 764 of file sqlite3.c.

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

Definition at line 761 of file sqlite3.c.

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

Definition at line 763 of file sqlite3.c.

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

Definition at line 14058 of file sqlite3.c.

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

Definition at line 20388 of file sqlite3.c.

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

Definition at line 14060 of file sqlite3.c.

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

Definition at line 14062 of file sqlite3.c.

#define SQLITE_RECURSIVE   33 /* NULL NULL */

Definition at line 3050 of file sqlite3.c.

#define SQLITE_REINDEX   27 /* Index Name NULL */

Definition at line 3043 of file sqlite3.c.

#define SQLITE_REPLACE   5

Definition at line 8259 of file sqlite3.c.

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

Definition at line 14061 of file sqlite3.c.

#define SQLITE_ROLLBACK   1

Definition at line 8255 of file sqlite3.c.

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

Definition at line 704 of file sqlite3.c.

#define SQLITE_SAVEPOINT   32 /* Operation Savepoint Name */

Definition at line 3048 of file sqlite3.c.

#define SQLITE_SCANSTAT_EST   2

Definition at line 8310 of file sqlite3.c.

#define SQLITE_SCANSTAT_EXPLAIN   4

Definition at line 8312 of file sqlite3.c.

#define SQLITE_SCANSTAT_NAME   3

Definition at line 8311 of file sqlite3.c.

#define SQLITE_SCANSTAT_NLOOP   0

Definition at line 8308 of file sqlite3.c.

#define SQLITE_SCANSTAT_NVISIT   1

Definition at line 8309 of file sqlite3.c.

#define SQLITE_SCANSTAT_SELECTID   5

Definition at line 8313 of file sqlite3.c.

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

Definition at line 692 of file sqlite3.c.

#define SQLITE_SELECT   21 /* NULL NULL */

Definition at line 3037 of file sqlite3.c.

#define SQLITE_SET_LOCKPROXYFILE   SQLITE_FCNTL_SET_LOCKPROXYFILE

Definition at line 1301 of file sqlite3.c.

#define SQLITE_SHM_EXCLUSIVE   8

Definition at line 1574 of file sqlite3.c.

#define SQLITE_SHM_LOCK   2

Definition at line 1572 of file sqlite3.c.

#define SQLITE_SHM_NLOCK   8

Definition at line 1584 of file sqlite3.c.

#define SQLITE_SHM_SHARED   4

Definition at line 1573 of file sqlite3.c.

#define SQLITE_SHM_UNLOCK   1

Definition at line 1571 of file sqlite3.c.

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

Definition at line 14047 of file sqlite3.c.

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

Definition at line 15969 of file sqlite3.c.

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

Definition at line 14332 of file sqlite3.c.

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

Definition at line 14333 of file sqlite3.c.

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

Definition at line 14334 of file sqlite3.c.

#define SQLITE_SORTER_PMASZ   250

Definition at line 17090 of file sqlite3.c.

#define SQLITE_SOURCE_ID   "2016-11-28 19:13:37 bbd85d235f7037c6a033a9690534391ffeacecc8"

Definition at line 386 of file sqlite3.c.

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

Definition at line 14053 of file sqlite3.c.

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

Definition at line 14093 of file sqlite3.c.

#define SQLITE_STAT4_SAMPLES   1

Definition at line 95717 of file sqlite3.c.

#define SQLITE_STATIC   ((sqlite3_destructor_type)0)

Definition at line 5028 of file sqlite3.c.

#define SQLITE_STATUS_MALLOC_COUNT   9

Definition at line 7123 of file sqlite3.c.

#define SQLITE_STATUS_MALLOC_SIZE   5

Definition at line 7119 of file sqlite3.c.

#define SQLITE_STATUS_MEMORY_USED   0

Definition at line 7114 of file sqlite3.c.

#define SQLITE_STATUS_PAGECACHE_OVERFLOW   2

Definition at line 7116 of file sqlite3.c.

#define SQLITE_STATUS_PAGECACHE_SIZE   7

Definition at line 7121 of file sqlite3.c.

#define SQLITE_STATUS_PAGECACHE_USED   1

Definition at line 7115 of file sqlite3.c.

#define SQLITE_STATUS_PARSER_STACK   6

Definition at line 7120 of file sqlite3.c.

#define SQLITE_STATUS_SCRATCH_OVERFLOW   4

Definition at line 7118 of file sqlite3.c.

#define SQLITE_STATUS_SCRATCH_SIZE   8

Definition at line 7122 of file sqlite3.c.

#define SQLITE_STATUS_SCRATCH_USED   3

Definition at line 7117 of file sqlite3.c.

#define SQLITE_STDCALL   SQLITE_APICALL

Definition at line 321 of file sqlite3.c.

#define SQLITE_STMTJRNL_SPILL   (64*1024)

Definition at line 17102 of file sqlite3.c.

#define SQLITE_STMTSTATUS_AUTOINDEX   3

Definition at line 7332 of file sqlite3.c.

#define SQLITE_STMTSTATUS_FULLSCAN_STEP   1

Definition at line 7330 of file sqlite3.c.

#define SQLITE_STMTSTATUS_SORT   2

Definition at line 7331 of file sqlite3.c.

#define SQLITE_STMTSTATUS_VM_STEP   4

Definition at line 7333 of file sqlite3.c.

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

Definition at line 14375 of file sqlite3.c.

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

Definition at line 14090 of file sqlite3.c.

#define SQLITE_SYNC_DATAONLY   0x00010

Definition at line 896 of file sqlite3.c.

#define SQLITE_SYNC_FULL   0x00003

Definition at line 895 of file sqlite3.c.

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

Definition at line 46265 of file sqlite3.c.

#define SQLITE_SYNC_NORMAL   0x00002

Definition at line 894 of file sqlite3.c.

#define SQLITE_SYSAPI

Definition at line 327 of file sqlite3.c.

#define SQLITE_SYSTEM_MALLOC   1

Definition at line 11006 of file sqlite3.c.

#define SQLITE_TCLAPI

Definition at line 75 of file sqlite3.c.

#define SQLITE_TEMP_FILE_PREFIX   "etilqs_"

Definition at line 13473 of file sqlite3.c.

#define SQLITE_TEMP_STORE   1

Definition at line 11526 of file sqlite3.c.

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

Definition at line 11527 of file sqlite3.c.

#define SQLITE_TESTCTRL_ALWAYS   13

Definition at line 6980 of file sqlite3.c.

#define SQLITE_TESTCTRL_ASSERT   12

Definition at line 6979 of file sqlite3.c.

#define SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS   10

Definition at line 6977 of file sqlite3.c.

#define SQLITE_TESTCTRL_BITVEC_TEST   8

Definition at line 6975 of file sqlite3.c.

#define SQLITE_TESTCTRL_BYTEORDER   22

Definition at line 6990 of file sqlite3.c.

#define SQLITE_TESTCTRL_EXPLAIN_STMT   19 /* NOT USED */

Definition at line 6986 of file sqlite3.c.

#define SQLITE_TESTCTRL_FAULT_INSTALL   9

Definition at line 6976 of file sqlite3.c.

#define SQLITE_TESTCTRL_FIRST   5

Definition at line 6971 of file sqlite3.c.

#define SQLITE_TESTCTRL_IMPOSTER   25

Definition at line 6993 of file sqlite3.c.

#define SQLITE_TESTCTRL_ISINIT   23

Definition at line 6991 of file sqlite3.c.

#define SQLITE_TESTCTRL_ISKEYWORD   16

Definition at line 6983 of file sqlite3.c.

#define SQLITE_TESTCTRL_LAST   25

Definition at line 6994 of file sqlite3.c.

#define SQLITE_TESTCTRL_LOCALTIME_FAULT   18

Definition at line 6985 of file sqlite3.c.

#define SQLITE_TESTCTRL_NEVER_CORRUPT   20

Definition at line 6988 of file sqlite3.c.

#define SQLITE_TESTCTRL_ONCE_RESET_THRESHOLD   19

Definition at line 6987 of file sqlite3.c.

#define SQLITE_TESTCTRL_OPTIMIZATIONS   15

Definition at line 6982 of file sqlite3.c.

#define SQLITE_TESTCTRL_PENDING_BYTE   11

Definition at line 6978 of file sqlite3.c.

#define SQLITE_TESTCTRL_PRNG_RESET   7

Definition at line 6974 of file sqlite3.c.

#define SQLITE_TESTCTRL_PRNG_RESTORE   6

Definition at line 6973 of file sqlite3.c.

#define SQLITE_TESTCTRL_PRNG_SAVE   5

Definition at line 6972 of file sqlite3.c.

#define SQLITE_TESTCTRL_RESERVE   14

Definition at line 6981 of file sqlite3.c.

#define SQLITE_TESTCTRL_SCRATCHMALLOC   17

Definition at line 6984 of file sqlite3.c.

#define SQLITE_TESTCTRL_SORTER_MMAP   24

Definition at line 6992 of file sqlite3.c.

#define SQLITE_TESTCTRL_VDBE_COVERAGE   21

Definition at line 6989 of file sqlite3.c.

#define SQLITE_TEXT   3

Definition at line 4394 of file sqlite3.c.

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

Definition at line 26500 of file sqlite3.c.

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

Definition at line 10955 of file sqlite3.c.

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

Definition at line 693 of file sqlite3.c.

#define SQLITE_TRACE_CLOSE   0x08

Definition at line 3144 of file sqlite3.c.

#define SQLITE_TRACE_LEGACY   0x80

Definition at line 13893 of file sqlite3.c.

#define SQLITE_TRACE_PROFILE   0x02

Definition at line 3142 of file sqlite3.c.

#define SQLITE_TRACE_ROW   0x04

Definition at line 3143 of file sqlite3.c.

#define SQLITE_TRACE_STMT   0x01

Definition at line 3141 of file sqlite3.c.

#define SQLITE_TRANSACTION   22 /* Operation NULL */

Definition at line 3038 of file sqlite3.c.

#define SQLITE_TRANSIENT   ((sqlite3_destructor_type)-1)

Definition at line 5029 of file sqlite3.c.

#define SQLITE_Transitive   0x0200 /* Transitive constraints */

Definition at line 14091 of file sqlite3.c.

#define SQLITE_UNIX_THREADS   1

Definition at line 29329 of file sqlite3.c.

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

Definition at line 3039 of file sqlite3.c.

#define SQLITE_USE_URI   0

Definition at line 17075 of file sqlite3.c.

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

Definition at line 4759 of file sqlite3.c.

#define SQLITE_UTF16_ALIGNED   8 /* sqlite3_create_collation only */

Definition at line 4761 of file sqlite3.c.

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

Definition at line 4758 of file sqlite3.c.

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

Definition at line 4757 of file sqlite3.c.

#define SQLITE_UTF16NATIVE   (SQLITE_BIGENDIAN?SQLITE_UTF16BE:SQLITE_UTF16LE)

Definition at line 11760 of file sqlite3.c.

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

Definition at line 4756 of file sqlite3.c.

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

Definition at line 14072 of file sqlite3.c.

#define SQLITE_VDBE_H

Definition at line 12410 of file sqlite3.c.

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

Definition at line 14056 of file sqlite3.c.

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

Definition at line 14071 of file sqlite3.c.

#define SQLITE_VDBEINT_H

Definition at line 17706 of file sqlite3.c.

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

Definition at line 14054 of file sqlite3.c.

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

Definition at line 14041 of file sqlite3.c.

#define SQLITE_VERSION   "3.15.2"

Definition at line 384 of file sqlite3.c.

#define SQLITE_VERSION_NUMBER   3015002

Definition at line 385 of file sqlite3.c.

#define SQLITE_VTAB_CONSTRAINT_SUPPORT   1

Definition at line 8229 of file sqlite3.c.

#define SQLITE_WAL_H

Definition at line 46257 of file sqlite3.c.

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

Definition at line 703 of file sqlite3.c.

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

Definition at line 778 of file sqlite3.c.

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

Definition at line 11723 of file sqlite3.c.

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

Definition at line 14055 of file sqlite3.c.

#define SQLITE_WSD

Definition at line 11939 of file sqlite3.c.

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

Definition at line 11277 of file sqlite3.c.

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

Definition at line 11275 of file sqlite3.c.

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

Definition at line 11276 of file sqlite3.c.

#define SQLITEINT_H

Definition at line 41 of file sqlite3.c.

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

Definition at line 15415 of file sqlite3.c.

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

Definition at line 15402 of file sqlite3.c.

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

Definition at line 15404 of file sqlite3.c.

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

Definition at line 15406 of file sqlite3.c.

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

Definition at line 15414 of file sqlite3.c.

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

Definition at line 15400 of file sqlite3.c.

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

Definition at line 15401 of file sqlite3.c.

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

Definition at line 15403 of file sqlite3.c.

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

Definition at line 15412 of file sqlite3.c.

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

Definition at line 15411 of file sqlite3.c.

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

Definition at line 15405 of file sqlite3.c.

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

Definition at line 15413 of file sqlite3.c.

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

Definition at line 15416 of file sqlite3.c.

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

Definition at line 15399 of file sqlite3.c.

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

Definition at line 85298 of file sqlite3.c.

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

Definition at line 96352 of file sqlite3.c.

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

Definition at line 96350 of file sqlite3.c.

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

Definition at line 96351 of file sqlite3.c.

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

Definition at line 96349 of file sqlite3.c.

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

Definition at line 96348 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:14195
#define SQLITE_UTF8
Definition: sqlite3.c:4756
#define SQLITE_FUNC_NEEDCOLL
Definition: sqlite3.c:14187

Definition at line 14244 of file sqlite3.c.

#define STRACCUM_NOMEM   1

Definition at line 15801 of file sqlite3.c.

#define STRACCUM_TOOBIG   2

Definition at line 15802 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:17916
SQLITE_PRIVATE int sqlite3VdbeMemStringify(Mem *, u8, u8)
Definition: sqlite3.c:69045
#define MEM_Blob
Definition: sqlite3.c:17919

Definition at line 77376 of file sqlite3.c.

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

Definition at line 11581 of file sqlite3.c.

#define swapMixedEndianFloat (   X)

Definition at line 73743 of file sqlite3.c.

#define TEMP_MASTER_NAME   "sqlite_temp_master"

Definition at line 11885 of file sqlite3.c.

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

Definition at line 124083 of file sqlite3.c.

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

Definition at line 124080 of file sqlite3.c.

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

Definition at line 124081 of file sqlite3.c.

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

Definition at line 124078 of file sqlite3.c.

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

Definition at line 124093 of file sqlite3.c.

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

Definition at line 124092 of file sqlite3.c.

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

Definition at line 124091 of file sqlite3.c.

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

Definition at line 124090 of file sqlite3.c.

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

Definition at line 124084 of file sqlite3.c.

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

Definition at line 124082 of file sqlite3.c.

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

Definition at line 124079 of file sqlite3.c.

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

Definition at line 124088 of file sqlite3.c.

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

Definition at line 43469 of file sqlite3.c.

#define testcase (   X)

Definition at line 11070 of file sqlite3.c.

#define TESTONLY (   X)

Definition at line 11081 of file sqlite3.c.

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

Definition at line 14480 of file sqlite3.c.

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

Definition at line 14478 of file sqlite3.c.

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

Definition at line 14479 of file sqlite3.c.

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

Definition at line 14483 of file sqlite3.c.

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

Definition at line 14484 of file sqlite3.c.

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

Definition at line 14477 of file sqlite3.c.

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

Definition at line 14481 of file sqlite3.c.

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

Definition at line 14482 of file sqlite3.c.

#define threadid   pthread_self()

Definition at line 29691 of file sqlite3.c.

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

Definition at line 73800 of file sqlite3.c.

#define TIMER_ELAPSED   ((sqlite_uint64)0)

Definition at line 29611 of file sqlite3.c.

#define TIMER_END

Definition at line 29610 of file sqlite3.c.

#define TIMER_START

Definition at line 29609 of file sqlite3.c.

#define TK_ABORT   57

Definition at line 11348 of file sqlite3.c.

#define TK_ACTION   58

Definition at line 11349 of file sqlite3.c.

#define TK_ADD   142

Definition at line 11433 of file sqlite3.c.

#define TK_AFTER   59

Definition at line 11350 of file sqlite3.c.

#define TK_AGG_COLUMN   154

Definition at line 11445 of file sqlite3.c.

#define TK_AGG_FUNCTION   153

Definition at line 11444 of file sqlite3.c.

#define TK_ALL   116

Definition at line 11407 of file sqlite3.c.

#define TK_ALTER   141

Definition at line 11432 of file sqlite3.c.

#define TK_ANALYZE   60

Definition at line 11351 of file sqlite3.c.

#define TK_AND   28

Definition at line 11319 of file sqlite3.c.

#define TK_ANY   96

Definition at line 11387 of file sqlite3.c.

#define TK_AS   24

Definition at line 11315 of file sqlite3.c.

#define TK_ASC   61

Definition at line 11352 of file sqlite3.c.

#define TK_ASTERISK   160

Definition at line 11451 of file sqlite3.c.

#define TK_ATTACH   62

Definition at line 11353 of file sqlite3.c.

#define TK_AUTOINCR   106

Definition at line 11397 of file sqlite3.c.

#define TK_BEFORE   63

Definition at line 11354 of file sqlite3.c.

#define TK_BEGIN   5

Definition at line 11296 of file sqlite3.c.

#define TK_BETWEEN   32

Definition at line 11323 of file sqlite3.c.

#define TK_BITAND   43

Definition at line 11334 of file sqlite3.c.

#define TK_BITNOT   54

Definition at line 11345 of file sqlite3.c.

#define TK_BITOR   44

Definition at line 11335 of file sqlite3.c.

#define TK_BLOB   133

Definition at line 11424 of file sqlite3.c.

#define TK_BY   64

Definition at line 11355 of file sqlite3.c.

#define TK_CASCADE   65

Definition at line 11356 of file sqlite3.c.

#define TK_CASE   136

Definition at line 11427 of file sqlite3.c.

#define TK_CAST   66

Definition at line 11357 of file sqlite3.c.

#define TK_CHECK   104

Definition at line 11395 of file sqlite3.c.

#define TK_COLLATE   53

Definition at line 11344 of file sqlite3.c.

#define TK_COLUMN   152

Definition at line 11443 of file sqlite3.c.

#define TK_COLUMNKW   67

Definition at line 11358 of file sqlite3.c.

#define TK_COMMA   26

Definition at line 11317 of file sqlite3.c.

#define TK_COMMIT   10

Definition at line 11301 of file sqlite3.c.

#define TK_CONCAT   52

Definition at line 11343 of file sqlite3.c.

#define TK_CONFLICT   68

Definition at line 11359 of file sqlite3.c.

#define TK_CONSTRAINT   99

Definition at line 11390 of file sqlite3.c.

#define TK_CREATE   17

Definition at line 11308 of file sqlite3.c.

#define TK_CTIME_KW   95

Definition at line 11386 of file sqlite3.c.

#define TK_DATABASE   69

Definition at line 11360 of file sqlite3.c.

#define TK_DEFAULT   100

Definition at line 11391 of file sqlite3.c.

#define TK_DEFERRABLE   112

Definition at line 11403 of file sqlite3.c.

#define TK_DEFERRED   7

Definition at line 11298 of file sqlite3.c.

#define TK_DELETE   109

Definition at line 11400 of file sqlite3.c.

#define TK_DESC   70

Definition at line 11361 of file sqlite3.c.

#define TK_DETACH   71

Definition at line 11362 of file sqlite3.c.

#define TK_DISTINCT   121

Definition at line 11412 of file sqlite3.c.

#define TK_DOT   122

Definition at line 11413 of file sqlite3.c.

#define TK_DROP   114

Definition at line 11405 of file sqlite3.c.

#define TK_EACH   72

Definition at line 11363 of file sqlite3.c.

#define TK_ELSE   139

Definition at line 11430 of file sqlite3.c.

#define TK_END   11

Definition at line 11302 of file sqlite3.c.

#define TK_END_OF_FILE   149

Definition at line 11440 of file sqlite3.c.

#define TK_EQ   37

Definition at line 11328 of file sqlite3.c.

#define TK_ESCAPE   42

Definition at line 11333 of file sqlite3.c.

#define TK_EXCEPT   117

Definition at line 11408 of file sqlite3.c.

#define TK_EXCLUSIVE   9

Definition at line 11300 of file sqlite3.c.

#define TK_EXISTS   20

Definition at line 11311 of file sqlite3.c.

#define TK_EXPLAIN   2

Definition at line 11293 of file sqlite3.c.

#define TK_FAIL   73

Definition at line 11364 of file sqlite3.c.

#define TK_FLOAT   132

Definition at line 11423 of file sqlite3.c.

#define TK_FOR   74

Definition at line 11365 of file sqlite3.c.

#define TK_FOREIGN   113

Definition at line 11404 of file sqlite3.c.

#define TK_FROM   123

Definition at line 11414 of file sqlite3.c.

#define TK_FUNCTION   151

Definition at line 11442 of file sqlite3.c.

#define TK_GE   41

Definition at line 11332 of file sqlite3.c.

#define TK_GROUP   127

Definition at line 11418 of file sqlite3.c.

#define TK_GT   38

Definition at line 11329 of file sqlite3.c.

#define TK_HAVING   128

Definition at line 11419 of file sqlite3.c.

#define TK_ID   55

Definition at line 11346 of file sqlite3.c.

#define TK_IF   18

Definition at line 11309 of file sqlite3.c.

#define TK_IGNORE   75

Definition at line 11366 of file sqlite3.c.

#define TK_ILLEGAL   163

Definition at line 11454 of file sqlite3.c.

#define TK_IMMEDIATE   8

Definition at line 11299 of file sqlite3.c.

#define TK_IN   33

Definition at line 11324 of file sqlite3.c.

#define TK_INDEX   140

Definition at line 11431 of file sqlite3.c.

#define TK_INDEXED   56

Definition at line 11347 of file sqlite3.c.

#define TK_INITIALLY   76

Definition at line 11367 of file sqlite3.c.

#define TK_INSERT   108

Definition at line 11399 of file sqlite3.c.

#define TK_INSTEAD   77

Definition at line 11368 of file sqlite3.c.

#define TK_INTEGER   134

Definition at line 11425 of file sqlite3.c.

#define TK_INTERSECT   118

Definition at line 11409 of file sqlite3.c.

#define TK_INTO   131

Definition at line 11422 of file sqlite3.c.

#define TK_IS   29

Definition at line 11320 of file sqlite3.c.

#define TK_ISNOT   148

Definition at line 11439 of file sqlite3.c.

#define TK_ISNULL   34

Definition at line 11325 of file sqlite3.c.

#define TK_JOIN   124

Definition at line 11415 of file sqlite3.c.

#define TK_JOIN_KW   98

Definition at line 11389 of file sqlite3.c.

#define TK_KEY   79

Definition at line 11370 of file sqlite3.c.

#define TK_LE   39

Definition at line 11330 of file sqlite3.c.

#define TK_LIKE_KW   31

Definition at line 11322 of file sqlite3.c.

#define TK_LIMIT   129

Definition at line 11420 of file sqlite3.c.

#define TK_LP   22

Definition at line 11313 of file sqlite3.c.

#define TK_LSHIFT   45

Definition at line 11336 of file sqlite3.c.

#define TK_LT   40

Definition at line 11331 of file sqlite3.c.

#define TK_MATCH   30

Definition at line 11321 of file sqlite3.c.

#define TK_MINUS   48

Definition at line 11339 of file sqlite3.c.

#define TK_NE   36

Definition at line 11327 of file sqlite3.c.

#define TK_NO   78

Definition at line 11369 of file sqlite3.c.

#define TK_NOT   19

Definition at line 11310 of file sqlite3.c.

#define TK_NOTNULL   35

Definition at line 11326 of file sqlite3.c.

#define TK_NULL   101

Definition at line 11392 of file sqlite3.c.

#define TK_OF   80

Definition at line 11371 of file sqlite3.c.

#define TK_OFFSET   81

Definition at line 11372 of file sqlite3.c.

#define TK_ON   107

Definition at line 11398 of file sqlite3.c.

#define TK_OR   27

Definition at line 11318 of file sqlite3.c.

#define TK_ORDER   126

Definition at line 11417 of file sqlite3.c.

#define TK_PLAN   4

Definition at line 11295 of file sqlite3.c.

#define TK_PLUS   47

Definition at line 11338 of file sqlite3.c.

#define TK_PRAGMA   82

Definition at line 11373 of file sqlite3.c.

#define TK_PRIMARY   102

Definition at line 11393 of file sqlite3.c.

#define TK_QUERY   3

Definition at line 11294 of file sqlite3.c.

#define TK_RAISE   83

Definition at line 11374 of file sqlite3.c.

#define TK_RECURSIVE   84

Definition at line 11375 of file sqlite3.c.

#define TK_REFERENCES   105

Definition at line 11396 of file sqlite3.c.

#define TK_REGISTER   157

Definition at line 11448 of file sqlite3.c.

#define TK_REINDEX   93

Definition at line 11384 of file sqlite3.c.

#define TK_RELEASE   14

Definition at line 11305 of file sqlite3.c.

#define TK_REM   51

Definition at line 11342 of file sqlite3.c.

#define TK_RENAME   94

Definition at line 11385 of file sqlite3.c.

#define TK_REPLACE   85

Definition at line 11376 of file sqlite3.c.

#define TK_RESTRICT   86

Definition at line 11377 of file sqlite3.c.

#define TK_ROLLBACK   12

Definition at line 11303 of file sqlite3.c.

#define TK_ROW   87

Definition at line 11378 of file sqlite3.c.

#define TK_RP   23

Definition at line 11314 of file sqlite3.c.

#define TK_RSHIFT   46

Definition at line 11337 of file sqlite3.c.

#define TK_SAVEPOINT   13

Definition at line 11304 of file sqlite3.c.

#define TK_SELECT   119

Definition at line 11410 of file sqlite3.c.

#define TK_SELECT_COLUMN   159

Definition at line 11450 of file sqlite3.c.

#define TK_SEMI   1

Definition at line 11292 of file sqlite3.c.

#define TK_SET   111

Definition at line 11402 of file sqlite3.c.

#define TK_SLASH   50

Definition at line 11341 of file sqlite3.c.

#define TK_SPACE   162

Definition at line 11453 of file sqlite3.c.

#define TK_SPAN   161

Definition at line 11452 of file sqlite3.c.

#define TK_STAR   49

Definition at line 11340 of file sqlite3.c.

#define TK_STRING   97

Definition at line 11388 of file sqlite3.c.

#define TK_TABLE   16

Definition at line 11307 of file sqlite3.c.

#define TK_TEMP   21

Definition at line 11312 of file sqlite3.c.

#define TK_THEN   138

Definition at line 11429 of file sqlite3.c.

#define TK_TO   15

Definition at line 11306 of file sqlite3.c.

#define TK_TO_BLOB   144

Definition at line 11435 of file sqlite3.c.

#define TK_TO_INT   146

Definition at line 11437 of file sqlite3.c.

#define TK_TO_NUMERIC   145

Definition at line 11436 of file sqlite3.c.

#define TK_TO_REAL   147

Definition at line 11438 of file sqlite3.c.

#define TK_TO_TEXT   143

Definition at line 11434 of file sqlite3.c.

#define TK_TRANSACTION   6

Definition at line 11297 of file sqlite3.c.

#define TK_TRIGGER   88

Definition at line 11379 of file sqlite3.c.

#define TK_UMINUS   155

Definition at line 11446 of file sqlite3.c.

#define TK_UNCLOSED_STRING   150

Definition at line 11441 of file sqlite3.c.

#define TK_UNION   115

Definition at line 11406 of file sqlite3.c.

#define TK_UNIQUE   103

Definition at line 11394 of file sqlite3.c.

#define TK_UPDATE   110

Definition at line 11401 of file sqlite3.c.

#define TK_UPLUS   156

Definition at line 11447 of file sqlite3.c.

#define TK_USING   125

Definition at line 11416 of file sqlite3.c.

#define TK_VACUUM   89

Definition at line 11380 of file sqlite3.c.

#define TK_VALUES   120

Definition at line 11411 of file sqlite3.c.

#define TK_VARIABLE   135

Definition at line 11426 of file sqlite3.c.

#define TK_VECTOR   158

Definition at line 11449 of file sqlite3.c.

#define TK_VIEW   90

Definition at line 11381 of file sqlite3.c.

#define TK_VIRTUAL   91

Definition at line 11382 of file sqlite3.c.

#define TK_WHEN   137

Definition at line 11428 of file sqlite3.c.

#define TK_WHERE   130

Definition at line 11421 of file sqlite3.c.

#define TK_WITH   92

Definition at line 11383 of file sqlite3.c.

#define TK_WITHOUT   25

Definition at line 11316 of file sqlite3.c.

#define tkCREATE   4

Definition at line 137511 of file sqlite3.c.

#define tkEND   7

Definition at line 137514 of file sqlite3.c.

#define tkEXPLAIN   3

Definition at line 137510 of file sqlite3.c.

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

Definition at line 11461 of file sqlite3.c.

#define TKFLG_MASK   0xff

Definition at line 11457 of file sqlite3.c.

#define tkOTHER   2

Definition at line 137508 of file sqlite3.c.

#define tkSEMI   0

Definition at line 137506 of file sqlite3.c.

#define tkTEMP   5

Definition at line 137512 of file sqlite3.c.

#define tkTRIGGER   6

Definition at line 137513 of file sqlite3.c.

#define tkWS   1

Definition at line 137507 of file sqlite3.c.

#define TOKEN   yyminor
#define TRACE (   X)

Definition at line 58275 of file sqlite3.c.

#define TRACE_IDX_INPUTS (   A)

Definition at line 128411 of file sqlite3.c.

#define TRACE_IDX_OUTPUTS (   A)

Definition at line 128412 of file sqlite3.c.

#define TRANS_NONE   0

Definition at line 57623 of file sqlite3.c.

#define TRANS_READ   1

Definition at line 57624 of file sqlite3.c.

#define TRANS_WRITE   2

Definition at line 57625 of file sqlite3.c.

#define TRIGGER_AFTER   2

Definition at line 15719 of file sqlite3.c.

#define TRIGGER_BEFORE   1

Definition at line 15718 of file sqlite3.c.

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

Definition at line 73799 of file sqlite3.c.

#define UINT16_TYPE   unsigned short int

Definition at line 11611 of file sqlite3.c.

#define UINT32_TYPE   unsigned int

Definition at line 11604 of file sqlite3.c.

#define UINT8_TYPE   unsigned char

Definition at line 11625 of file sqlite3.c.

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

Definition at line 33455 of file sqlite3.c.

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

Definition at line 33456 of file sqlite3.c.

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

Definition at line 29462 of file sqlite3.c.

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

Definition at line 29457 of file sqlite3.c.

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

Definition at line 29453 of file sqlite3.c.

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

Definition at line 29464 of file sqlite3.c.

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

Definition at line 29455 of file sqlite3.c.

#define UNIXFILE_PSOW   0x10 /* SQLITE_IOCAP_POWERSAFE_OVERWRITE */

Definition at line 29461 of file sqlite3.c.

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

Definition at line 29454 of file sqlite3.c.

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

Definition at line 29463 of file sqlite3.c.

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

Definition at line 30502 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:29971
static int unixSetSystemCall(sqlite3_vfs *pNotUsed, const char *zName, sqlite3_syscall_ptr pNewFunc)
Definition: sqlite3.c:29909
static void unixDlError(sqlite3_vfs *NotUsed, int nBuf, char *zBufOut)
Definition: sqlite3.c:35505
static int unixOpen(sqlite3_vfs *pVfs, const char *zPath, sqlite3_file *pFile, int flags, int *pOutFlags)
Definition: sqlite3.c:35040
static int unixDelete(sqlite3_vfs *NotUsed, const char *zPath, int dirSync)
Definition: sqlite3.c:35296
static void(*)(void) unixDlSym(sqlite3_vfs *NotUsed, void *p, const char *zSym)
Definition: sqlite3.c:35515
static int unixCurrentTimeInt64(sqlite3_vfs *NotUsed, sqlite3_int64 *piNow)
Definition: sqlite3.c:35639
static int unixRandomness(sqlite3_vfs *NotUsed, int nBuf, char *zBuf)
Definition: sqlite3.c:35552
static int unixCurrentTime(sqlite3_vfs *NotUsed, double *prNow)
Definition: sqlite3.c:35671
static int unixAccess(sqlite3_vfs *NotUsed, const char *zPath, int flags, int *pResOut)
Definition: sqlite3.c:35344
static int unixFullPathname(sqlite3_vfs *pVfs, const char *zPath, int nOut, char *zOut)
Definition: sqlite3.c:35403
static void * unixDlOpen(sqlite3_vfs *NotUsed, const char *zFilename)
Definition: sqlite3.c:35493
static int unixSleep(sqlite3_vfs *NotUsed, int microseconds)
Definition: sqlite3.c:35599
#define MAX_PATHNAME
Definition: sqlite3.c:29349
static sqlite3_syscall_ptr unixGetSystemCall(sqlite3_vfs *pNotUsed, const char *zName)
Definition: sqlite3.c:29952
static void unixDlClose(sqlite3_vfs *NotUsed, void *pHandle)
Definition: sqlite3.c:35538
static int unixGetLastError(sqlite3_vfs *NotUsed, int NotUsed2, char *NotUsed3)
Definition: sqlite3.c:35689
#define UNKNOWN_LOCK   (EXCLUSIVE_LOCK+1)

Definition at line 46772 of file sqlite3.c.

#define unlikely (   X)    (X)

Definition at line 11187 of file sqlite3.c.

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

Definition at line 11960 of file sqlite3.c.

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

Definition at line 11961 of file sqlite3.c.

#define UPDATE_MAX_BLOBSIZE (   P)

Definition at line 77335 of file sqlite3.c.

#define UpperToLower   sqlite3UpperToLower

Definition at line 27549 of file sqlite3.c.

#define USEFETCH (   x)    0

Definition at line 47158 of file sqlite3.c.

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

Definition at line 104704 of file sqlite3.c.

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

Definition at line 70007 of file sqlite3.c.

#define VDBE_DISPLAY_P4   1

Definition at line 17722 of file sqlite3.c.

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

Definition at line 18103 of file sqlite3.c.

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

Definition at line 18101 of file sqlite3.c.

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

Definition at line 18099 of file sqlite3.c.

#define VDBE_MAGIC_RESET   0x48fa9f76 /* Reset and ready to run again */

Definition at line 18102 of file sqlite3.c.

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

Definition at line 18100 of file sqlite3.c.

#define VDBE_OFFSET_LINENO (   x)    0

Definition at line 12903 of file sqlite3.c.

#define vdbeAssertFieldCountWithinLimits (   A,
  B,
 
)

Definition at line 74158 of file sqlite3.c.

#define VdbeBranchTaken (   I,
 
)

Definition at line 77355 of file sqlite3.c.

#define VdbeComment (   X)

Definition at line 12864 of file sqlite3.c.

#define VdbeCoverage (   v)

Definition at line 12899 of file sqlite3.c.

#define VdbeCoverageAlwaysTaken (   v)

Definition at line 12901 of file sqlite3.c.

#define VdbeCoverageIf (   v,
  x 
)

Definition at line 12900 of file sqlite3.c.

#define VdbeCoverageNeverTaken (   v)

Definition at line 12902 of file sqlite3.c.

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

Definition at line 17864 of file sqlite3.c.

#define vdbeInvokeSqllog (   x)

Definition at line 73279 of file sqlite3.c.

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

Definition at line 17948 of file sqlite3.c.

#define VdbeModuleComment (   X)

Definition at line 12866 of file sqlite3.c.

#define VdbeNoopComment (   X)

Definition at line 12865 of file sqlite3.c.

#define vdbeSorterBlockDebug (   x,
  y,
  z 
)

Definition at line 85944 of file sqlite3.c.

#define vdbeSorterExtendFile (   x,
  y,
  z 
)

Definition at line 86135 of file sqlite3.c.

#define vdbeSorterPopulateDebug (   x,
  y 
)

Definition at line 85943 of file sqlite3.c.

#define vdbeSorterRewindDebug (   y)

Definition at line 85942 of file sqlite3.c.

#define vdbeSorterWorkDebug (   x,
  y 
)

Definition at line 85941 of file sqlite3.c.

#define vfsList   GLOBAL(sqlite3_vfs *, vfsList)

Definition at line 20069 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:4756
#define SQLITE_INT_TO_PTR(X)
Definition: sqlite3.c:10900
#define SQLITE_FUNC_NEEDCOLL
Definition: sqlite3.c:14187

Definition at line 14235 of file sqlite3.c.

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

Definition at line 14518 of file sqlite3.c.

#define VVA_ONLY (   X)

Definition at line 11095 of file sqlite3.c.

#define WAL_ALL_BUT_WRITE   1

Definition at line 54062 of file sqlite3.c.

#define WAL_CKPT_LOCK   1

Definition at line 54063 of file sqlite3.c.

#define WAL_EXCLUSIVE_MODE   1

Definition at line 54246 of file sqlite3.c.

#define WAL_FRAME_HDRSIZE   24

Definition at line 54180 of file sqlite3.c.

#define WAL_HDRSIZE   32

Definition at line 54184 of file sqlite3.c.

#define WAL_HEAPMEMORY_MODE   2

Definition at line 54247 of file sqlite3.c.

#define WAL_MAGIC   0x377f0682

Definition at line 54195 of file sqlite3.c.

#define WAL_MAX_VERSION   3007000

Definition at line 54053 of file sqlite3.c.

#define WAL_NORMAL_MODE   0

Definition at line 54245 of file sqlite3.c.

#define WAL_NREADER   (SQLITE_SHM_NLOCK-3)

Definition at line 54066 of file sqlite3.c.

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

Definition at line 54253 of file sqlite3.c.

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

Definition at line 54252 of file sqlite3.c.

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

Definition at line 54065 of file sqlite3.c.

#define WAL_RECOVER_LOCK   2

Definition at line 54064 of file sqlite3.c.

#define WAL_RETRY   (-1)

Definition at line 55907 of file sqlite3.c.

#define WAL_SAVEPOINT_NDATA   4

Definition at line 46289 of file sqlite3.c.

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

Definition at line 54254 of file sqlite3.c.

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

Definition at line 46264 of file sqlite3.c.

#define WAL_WRITE_LOCK   0

Definition at line 54061 of file sqlite3.c.

#define walFrameOffset (   iFrame,
  szPage 
)
Value:
( \
WAL_HDRSIZE + ((iFrame)-1)*(i64)((szPage)+WAL_FRAME_HDRSIZE) \
)
#define WAL_HDRSIZE
Definition: sqlite3.c:54184
#define WAL_FRAME_HDRSIZE
Definition: sqlite3.c:54180
sqlite_int64 i64
Definition: sqlite3.c:11638

Definition at line 54202 of file sqlite3.c.

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

Definition at line 54177 of file sqlite3.c.

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

Definition at line 54176 of file sqlite3.c.

#define WALINDEX_MAX_VERSION   3007000

Definition at line 54054 of file sqlite3.c.

#define WALINDEX_PGSZ
Value:
( \
)
#define HASHTABLE_NPAGE
Definition: sqlite3.c:54297
UINT32_TYPE u32
Definition: sqlite3.c:11640
#define HASHTABLE_NSLOT
Definition: sqlite3.c:54299
u16 ht_slot
Definition: sqlite3.c:54260

Definition at line 54309 of file sqlite3.c.

#define WALTRACE (   X)

Definition at line 54037 of file sqlite3.c.

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

Definition at line 124356 of file sqlite3.c.

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

Definition at line 124348 of file sqlite3.c.

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

Definition at line 124347 of file sqlite3.c.

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

Definition at line 124341 of file sqlite3.c.

#define WHERE_COLUMN_IN   0x00000004 /* x IN (...) */

Definition at line 124343 of file sqlite3.c.

#define WHERE_COLUMN_NULL   0x00000008 /* x IS NULL */

Definition at line 124344 of file sqlite3.c.

#define WHERE_COLUMN_RANGE   0x00000002 /* x<EXPR and/or x>EXPR */

Definition at line 124342 of file sqlite3.c.

#define WHERE_CONSTRAINT   0x0000000f /* Any of the WHERE_COLUMN_xxx values */

Definition at line 124345 of file sqlite3.c.

#define WHERE_DISTINCT_NOOP   0 /* DISTINCT keyword not used */

Definition at line 15210 of file sqlite3.c.

#define WHERE_DISTINCT_ORDERED   2 /* All duplicates are adjacent */

Definition at line 15212 of file sqlite3.c.

#define WHERE_DISTINCT_UNIQUE   1 /* No duplicates */

Definition at line 15211 of file sqlite3.c.

#define WHERE_DISTINCT_UNORDERED   3 /* Duplicates are scattered */

Definition at line 15213 of file sqlite3.c.

#define WHERE_DISTINCTBY   0x0080 /* pOrderby is really a DISTINCT clause */

Definition at line 15198 of file sqlite3.c.

#define WHERE_DUPLICATES_OK   0x0010 /* Ok to return a row more than once */

Definition at line 15194 of file sqlite3.c.

#define WHERE_GROUPBY   0x0040 /* pOrderBy is really a GROUP BY */

Definition at line 15197 of file sqlite3.c.

#define WHERE_IDX_ONLY   0x00000040 /* Use index only - omit table */

Definition at line 124349 of file sqlite3.c.

#define WHERE_IN_ABLE   0x00000800 /* Able to support an IN operator */

Definition at line 124353 of file sqlite3.c.

#define WHERE_INDEXED   0x00000200 /* WhereLoop.u.btree.pIndex is valid */

Definition at line 124351 of file sqlite3.c.

#define WHERE_IPK   0x00000100 /* x is the INTEGER PRIMARY KEY */

Definition at line 124350 of file sqlite3.c.

#define WHERE_LOOP_XFER_SZ   offsetof(WhereLoop,nLSlot)

Definition at line 123949 of file sqlite3.c.

#define WHERE_MULTI_OR   0x00002000 /* OR using multiple indices */

Definition at line 124355 of file sqlite3.c.

#define WHERE_ONEPASS_DESIRED   0x0004 /* Want to do one-pass UPDATE/DELETE */

Definition at line 15192 of file sqlite3.c.

#define WHERE_ONEPASS_MULTIROW   0x0008 /* ONEPASS is ok with multiple rows */

Definition at line 15193 of file sqlite3.c.

#define WHERE_ONEROW   0x00001000 /* Selects no more than one row */

Definition at line 124354 of file sqlite3.c.

#define WHERE_OR_SUBCLAUSE
Value:
0x0020 /* Processing a sub-WHERE as part of
** the OR optimization */

Definition at line 15195 of file sqlite3.c.

#define WHERE_ORDERBY_LIMIT   0x0800 /* ORDERBY+LIMIT on the inner loop */

Definition at line 15202 of file sqlite3.c.

#define WHERE_ORDERBY_MAX   0x0002 /* ORDER BY processing for max() func */

Definition at line 15191 of file sqlite3.c.

#define WHERE_ORDERBY_MIN   0x0001 /* ORDER BY processing for min() func */

Definition at line 15190 of file sqlite3.c.

#define WHERE_ORDERBY_NORMAL   0x0000 /* No-op */

Definition at line 15189 of file sqlite3.c.

#define WHERE_PARTIALIDX   0x00020000 /* The automatic index is partial */

Definition at line 124359 of file sqlite3.c.

#define WHERE_SEEK_TABLE   0x0400 /* Do not defer seeks on main table */

Definition at line 15201 of file sqlite3.c.

#define WHERE_SKIPSCAN   0x00008000 /* Uses the skip-scan algorithm */

Definition at line 124357 of file sqlite3.c.

#define WHERE_SORTBYGROUP   0x0200 /* Support sqlite3WhereIsSorted() */

Definition at line 15200 of file sqlite3.c.

#define WHERE_TOP_LIMIT   0x00000010 /* x<EXPR or x<=EXPR constraint */

Definition at line 124346 of file sqlite3.c.

#define WHERE_UNQ_WANTED   0x00010000 /* WHERE_ONEROW would have been helpful*/

Definition at line 124358 of file sqlite3.c.

#define WHERE_USE_LIMIT   0x4000 /* Use the LIMIT in cost estimates */

Definition at line 15205 of file sqlite3.c.

#define WHERE_VIRTUALTABLE   0x00000400 /* WhereLoop.u.vtab is valid */

Definition at line 124352 of file sqlite3.c.

#define WHERE_WANT_DISTINCT   0x0100 /* All output needs to be distinct */

Definition at line 15199 of file sqlite3.c.

#define WHERETRACE (   K,
 
)

Definition at line 123837 of file sqlite3.c.

#define WO_ALL   0x1fff /* Mask of all possible WO_* values */

Definition at line 124333 of file sqlite3.c.

#define WO_AND   0x0400 /* Two or more AND-connected terms */

Definition at line 124329 of file sqlite3.c.

#define WO_EQ   0x0002

Definition at line 124320 of file sqlite3.c.

#define WO_EQUIV   0x0800 /* Of the form A==B, both columns */

Definition at line 124330 of file sqlite3.c.

#define WO_GE   (WO_EQ<<(TK_GE-TK_EQ))

Definition at line 124324 of file sqlite3.c.

#define WO_GT   (WO_EQ<<(TK_GT-TK_EQ))

Definition at line 124323 of file sqlite3.c.

#define WO_IN   0x0001

Definition at line 124319 of file sqlite3.c.

#define WO_IS   0x0080

Definition at line 124326 of file sqlite3.c.

#define WO_ISNULL   0x0100

Definition at line 124327 of file sqlite3.c.

#define WO_LE   (WO_EQ<<(TK_LE-TK_EQ))

Definition at line 124322 of file sqlite3.c.

#define WO_LT   (WO_EQ<<(TK_LT-TK_EQ))

Definition at line 124321 of file sqlite3.c.

#define WO_MATCH   0x0040

Definition at line 124325 of file sqlite3.c.

#define WO_NOOP   0x1000 /* This term does not restrict search space */

Definition at line 124331 of file sqlite3.c.

#define WO_OR   0x0200 /* Two or more OR-connected terms */

Definition at line 124328 of file sqlite3.c.

#define WO_SINGLE   0x01ff /* Mask of all non-compound WO_* values */

Definition at line 124334 of file sqlite3.c.

#define WRC_Abort   2 /* Abandon the tree walk */

Definition at line 15937 of file sqlite3.c.

#define WRC_Continue   0 /* Continue down into children */

Definition at line 15935 of file sqlite3.c.

#define WRC_Prune   1 /* Omit children but continue walking siblings */

Definition at line 15936 of file sqlite3.c.

#define WRITE_LOCK   2

Definition at line 57576 of file sqlite3.c.

#define WRITE_UTF16BE (   zOut,
 
)
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:11643

Definition at line 26835 of file sqlite3.c.

#define WRITE_UTF16LE (   zOut,
 
)
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:11643

Definition at line 26823 of file sqlite3.c.

#define WRITE_UTF8 (   zOut,
 
)
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:11643

Definition at line 26803 of file sqlite3.c.

#define wsdAutoext   sqlite3Autoext

Definition at line 110931 of file sqlite3.c.

#define wsdAutoextInit

Definition at line 110930 of file sqlite3.c.

#define wsdHooks   sqlite3Hooks

Definition at line 20212 of file sqlite3.c.

#define wsdHooksInit

Definition at line 20211 of file sqlite3.c.

#define wsdPrng   sqlite3Prng
#define wsdStat   sqlite3Stat

Definition at line 18283 of file sqlite3.c.

#define wsdStatInit

Definition at line 18282 of file sqlite3.c.

#define XN_EXPR   (-2) /* Indexed column is an expression */

Definition at line 14755 of file sqlite3.c.

#define XN_ROWID   (-1) /* Indexed column is the rowid */

Definition at line 14754 of file sqlite3.c.

#define YY_ACCEPT_ACTION   1333

Definition at line 133129 of file sqlite3.c.

#define YY_ACTTAB_COUNT   (1567)

Definition at line 133202 of file sqlite3.c.

#define YY_ERROR_ACTION   1332

Definition at line 133128 of file sqlite3.c.

#define YY_MAX_REDUCE   1331

Definition at line 133127 of file sqlite3.c.

#define YY_MAX_SHIFT   455

Definition at line 133123 of file sqlite3.c.

#define YY_MAX_SHIFTREDUCE   999

Definition at line 133125 of file sqlite3.c.

#define YY_MIN_REDUCE   1000

Definition at line 133126 of file sqlite3.c.

#define YY_MIN_SHIFTREDUCE   668

Definition at line 133124 of file sqlite3.c.

#define YY_NO_ACTION   1334

Definition at line 133130 of file sqlite3.c.

#define YY_REDUCE_COUNT   (324)

Definition at line 133574 of file sqlite3.c.

#define YY_REDUCE_MAX   (1300)

Definition at line 133576 of file sqlite3.c.

#define YY_REDUCE_MIN   (-129)

Definition at line 133575 of file sqlite3.c.

#define YY_REDUCE_USE_DFLT   (-130)

Definition at line 133573 of file sqlite3.c.

#define YY_SHIFT_COUNT   (455)

Definition at line 133522 of file sqlite3.c.

#define YY_SHIFT_MAX   (1549)

Definition at line 133524 of file sqlite3.c.

#define YY_SHIFT_MIN   (-94)

Definition at line 133523 of file sqlite3.c.

#define YY_SHIFT_USE_DFLT   (1567)

Definition at line 133521 of file sqlite3.c.

#define YYACTIONTYPE   unsigned short int

Definition at line 133094 of file sqlite3.c.

#define YYCODETYPE   unsigned char

Definition at line 133092 of file sqlite3.c.

#define YYFALLBACK   1

Definition at line 133120 of file sqlite3.c.

#define YYMALLOCARGTYPE   u64

Definition at line 132863 of file sqlite3.c.

#define YYNOCODE   252

Definition at line 133093 of file sqlite3.c.

#define YYNOERRORRECOVERY   1

Definition at line 132846 of file sqlite3.c.

#define YYNRULE   332

Definition at line 133122 of file sqlite3.c.

#define YYNSTATE   456

Definition at line 133121 of file sqlite3.c.

#define YYPARSEFREENEVERNULL   1

Definition at line 132857 of file sqlite3.c.

#define YYSTACKDEPTH   100

Definition at line 133114 of file sqlite3.c.

#define yytestcase (   X)    testcase(X)

Definition at line 132851 of file sqlite3.c.

#define yyTraceShift (   X,
 
)

Definition at line 134634 of file sqlite3.c.

#define YYWILDCARD   96

Definition at line 133095 of file sqlite3.c.

Typedef Documentation

typedef struct AggInfo AggInfo

Definition at line 11966 of file sqlite3.c.

typedef struct analysisInfo analysisInfo

Definition at line 96969 of file sqlite3.c.

typedef struct AuthContext AuthContext

Definition at line 11967 of file sqlite3.c.

typedef struct AutoincInfo AutoincInfo

Definition at line 11968 of file sqlite3.c.

typedef struct AuxData AuxData

Definition at line 17743 of file sqlite3.c.

Definition at line 20194 of file sqlite3.c.

typedef unsigned bft

Definition at line 18009 of file sqlite3.c.

typedef u64 Bitmask

Definition at line 15099 of file sqlite3.c.

typedef struct Bitvec Bitvec

Definition at line 11969 of file sqlite3.c.

typedef unsigned Bool

Definition at line 17737 of file sqlite3.c.

typedef struct BtCursor BtCursor

Definition at line 12060 of file sqlite3.c.

typedef struct BtLock BtLock

Definition at line 57482 of file sqlite3.c.

typedef struct Btree Btree

Definition at line 12059 of file sqlite3.c.

typedef struct BtreePayload BtreePayload

Definition at line 12062 of file sqlite3.c.

typedef struct BtShared BtShared

Definition at line 12061 of file sqlite3.c.

typedef struct BusyHandler BusyHandler

Definition at line 11872 of file sqlite3.c.

typedef struct CellArray CellArray

Definition at line 64634 of file sqlite3.c.

typedef struct CellInfo CellInfo

Definition at line 57483 of file sqlite3.c.

typedef struct CollSeq CollSeq

Definition at line 11970 of file sqlite3.c.

typedef struct Column Column

Definition at line 11971 of file sqlite3.c.

typedef struct CountCtx CountCtx

Definition at line 105622 of file sqlite3.c.

typedef struct DateTime DateTime

Definition at line 18641 of file sqlite3.c.

typedef struct Db Db

Definition at line 11972 of file sqlite3.c.

typedef struct DbFixer DbFixer

Definition at line 15777 of file sqlite3.c.

typedef struct PgHdr DbPage

Definition at line 12960 of file sqlite3.c.

typedef struct DistinctCtx DistinctCtx

Definition at line 114426 of file sqlite3.c.

typedef struct et_info et_info
typedef unsigned char etByte

Definition at line 24754 of file sqlite3.c.

typedef struct Expr Expr

Definition at line 11974 of file sqlite3.c.

typedef struct ExprList ExprList

Definition at line 11975 of file sqlite3.c.

typedef struct ExprSpan ExprSpan

Definition at line 11976 of file sqlite3.c.

typedef struct FileChunk FileChunk

Definition at line 87631 of file sqlite3.c.

typedef struct FilePoint FilePoint

Definition at line 87630 of file sqlite3.c.

typedef struct FKey FKey

Definition at line 11977 of file sqlite3.c.

typedef struct fts5_api fts5_api

Definition at line 10590 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 10091 of file sqlite3.c.

Definition at line 10554 of file sqlite3.c.

typedef struct Fts5Context Fts5Context

Definition at line 10088 of file sqlite3.c.

Definition at line 10087 of file sqlite3.c.

Definition at line 10089 of file sqlite3.c.

typedef struct Fts5Tokenizer Fts5Tokenizer

Definition at line 10553 of file sqlite3.c.

typedef struct FuncDef FuncDef

Definition at line 11979 of file sqlite3.c.

typedef struct FuncDefHash FuncDefHash

Definition at line 11980 of file sqlite3.c.

Definition at line 11978 of file sqlite3.c.

typedef struct Hash Hash

Definition at line 11209 of file sqlite3.c.

typedef struct HashElem HashElem

Definition at line 11210 of file sqlite3.c.

typedef u16 ht_slot

Definition at line 54260 of file sqlite3.c.

typedef INT16_TYPE i16

Definition at line 11642 of file sqlite3.c.

typedef sqlite_int64 i64

Definition at line 11638 of file sqlite3.c.

typedef INT8_TYPE i8

Definition at line 11644 of file sqlite3.c.

typedef struct IdList IdList

Definition at line 11981 of file sqlite3.c.

typedef struct Incrblob Incrblob

Definition at line 84358 of file sqlite3.c.

typedef struct IncrMerger IncrMerger

Definition at line 85009 of file sqlite3.c.

typedef struct Index Index

Definition at line 11982 of file sqlite3.c.

typedef struct IndexSample IndexSample

Definition at line 11983 of file sqlite3.c.

typedef struct IntegrityCk IntegrityCk

Definition at line 57920 of file sqlite3.c.

typedef struct KeyClass KeyClass

Definition at line 11984 of file sqlite3.c.

typedef struct KeyInfo KeyInfo

Definition at line 11985 of file sqlite3.c.

typedef INT16_TYPE LogEst

Definition at line 11689 of file sqlite3.c.

typedef struct Lookaside Lookaside

Definition at line 11986 of file sqlite3.c.

typedef struct LookasideSlot LookasideSlot

Definition at line 11987 of file sqlite3.c.

typedef struct Mem Mem

Definition at line 12424 of file sqlite3.c.

typedef struct MemJournal MemJournal

Definition at line 87629 of file sqlite3.c.

typedef struct MemPage MemPage

Definition at line 57481 of file sqlite3.c.

typedef struct MergeEngine MergeEngine

Definition at line 85002 of file sqlite3.c.

typedef struct Module Module

Definition at line 11988 of file sqlite3.c.

typedef struct NameContext NameContext

Definition at line 11989 of file sqlite3.c.

typedef struct VdbeOp Op

Definition at line 17732 of file sqlite3.c.

typedef struct Pager Pager

Definition at line 12955 of file sqlite3.c.

Definition at line 46810 of file sqlite3.c.

typedef struct Parse Parse

Definition at line 11990 of file sqlite3.c.

typedef struct PCache PCache

Definition at line 13177 of file sqlite3.c.

typedef struct PCache1 PCache1

Definition at line 44539 of file sqlite3.c.

typedef struct PgFreeslot PgFreeslot

Definition at line 44541 of file sqlite3.c.

typedef struct PgHdr PgHdr

Definition at line 13176 of file sqlite3.c.

typedef struct PgHdr1 PgHdr1

Definition at line 44540 of file sqlite3.c.

typedef u32 Pgno

Definition at line 12950 of file sqlite3.c.

typedef struct PGroup PGroup

Definition at line 44542 of file sqlite3.c.

typedef struct PmaReader PmaReader

Definition at line 85003 of file sqlite3.c.

typedef struct PmaWriter PmaWriter

Definition at line 85004 of file sqlite3.c.

typedef struct PreUpdate PreUpdate

Definition at line 11991 of file sqlite3.c.

Definition at line 11992 of file sqlite3.c.

typedef int(* RecordCompare) (int, const void *, UnpackedRecord *)

Definition at line 12839 of file sqlite3.c.

typedef struct RowSet RowSet

Definition at line 11993 of file sqlite3.c.

typedef struct Savepoint Savepoint

Definition at line 11994 of file sqlite3.c.

typedef struct ScanStatus ScanStatus

Definition at line 18011 of file sqlite3.c.

typedef struct Schema Schema

Definition at line 11973 of file sqlite3.c.

typedef struct Select Select

Definition at line 11995 of file sqlite3.c.

typedef struct SelectDest SelectDest

Definition at line 11997 of file sqlite3.c.

typedef struct SortCtx SortCtx

Definition at line 114438 of file sqlite3.c.

typedef int(* SorterCompare) (SortSubtask *, int *, const void *, int, const void *, int)

Definition at line 85136 of file sqlite3.c.

typedef struct SorterFile SorterFile

Definition at line 85007 of file sqlite3.c.

typedef struct SorterList SorterList

Definition at line 85008 of file sqlite3.c.

typedef struct SorterRecord SorterRecord

Definition at line 85005 of file sqlite3.c.

typedef struct SortSubtask SortSubtask

Definition at line 85006 of file sqlite3.c.

typedef struct sqlite3 sqlite3

Definition at line 502 of file sqlite3.c.

Definition at line 1325 of file sqlite3.c.

Definition at line 7572 of file sqlite3.c.

typedef struct sqlite3_blob sqlite3_blob

Definition at line 6382 of file sqlite3.c.

typedef int(* sqlite3_callback) (void *, int, char **, char **)

Definition at line 591 of file sqlite3.c.

Definition at line 3936 of file sqlite3.c.

typedef void(* sqlite3_destructor_type) (void *)

Definition at line 5027 of file sqlite3.c.

typedef struct sqlite3_file sqlite3_file

Definition at line 909 of file sqlite3.c.

Definition at line 6038 of file sqlite3.c.

Definition at line 530 of file sqlite3.c.

Definition at line 1004 of file sqlite3.c.

typedef int(* sqlite3_loadext_entry) (sqlite3 *db,char **pzErrMsg,const sqlite3_api_routines *pThunk)

Definition at line 110028 of file sqlite3.c.

Definition at line 1782 of file sqlite3.c.

Definition at line 6040 of file sqlite3.c.

typedef struct sqlite3_mutex sqlite3_mutex

Definition at line 1315 of file sqlite3.c.

Definition at line 6820 of file sqlite3.c.

Definition at line 7346 of file sqlite3.c.

Definition at line 7546 of file sqlite3.c.

Definition at line 7523 of file sqlite3.c.

Definition at line 7358 of file sqlite3.c.

typedef double sqlite3_rtree_dbl

Definition at line 8680 of file sqlite3.c.

Definition at line 8671 of file sqlite3.c.

Definition at line 8672 of file sqlite3.c.

Definition at line 8530 of file sqlite3.c.

typedef struct sqlite3_stmt sqlite3_stmt

Definition at line 3573 of file sqlite3.c.

typedef void(* sqlite3_syscall_ptr) (void)

Definition at line 1485 of file sqlite3.c.

Definition at line 531 of file sqlite3.c.

typedef struct Mem sqlite3_value

Definition at line 3922 of file sqlite3.c.

typedef struct sqlite3_vfs sqlite3_vfs

Definition at line 1484 of file sqlite3.c.

typedef struct sqlite3_vtab sqlite3_vtab

Definition at line 6037 of file sqlite3.c.

Definition at line 6039 of file sqlite3.c.

typedef int(* sqlite3_xauth) (void *, int, const char *, const char *, const char *, const char *)

Definition at line 13885 of file sqlite3.c.

Definition at line 110913 of file sqlite3.c.

Definition at line 18248 of file sqlite3.c.

Definition at line 18244 of file sqlite3.c.

typedef long long int sqlite_int64

Definition at line 527 of file sqlite3.c.

typedef unsigned long long int sqlite_uint64

Definition at line 528 of file sqlite3.c.

typedef struct SQLiteThread SQLiteThread

Definition at line 11996 of file sqlite3.c.

typedef struct SrcList SrcList

Definition at line 11998 of file sqlite3.c.

typedef struct Stat4Accum Stat4Accum

Definition at line 95827 of file sqlite3.c.

typedef struct Stat4Sample Stat4Sample

Definition at line 95828 of file sqlite3.c.

typedef struct StrAccum StrAccum

Definition at line 11999 of file sqlite3.c.

typedef struct SubProgram SubProgram

Definition at line 12425 of file sqlite3.c.

typedef struct SumCtx SumCtx

Definition at line 105551 of file sqlite3.c.

typedef struct Table Table

Definition at line 12000 of file sqlite3.c.

typedef struct TableLock TableLock

Definition at line 12001 of file sqlite3.c.

typedef struct TabResult TabResult
typedef struct Token Token

Definition at line 12002 of file sqlite3.c.

typedef struct TreeView TreeView

Definition at line 12003 of file sqlite3.c.

typedef struct Trigger Trigger

Definition at line 12004 of file sqlite3.c.

typedef struct TriggerPrg TriggerPrg

Definition at line 12005 of file sqlite3.c.

typedef struct TriggerStep TriggerStep

Definition at line 12006 of file sqlite3.c.

typedef u32 tRowcnt

Definition at line 11663 of file sqlite3.c.

typedef UINT16_TYPE u16

Definition at line 11641 of file sqlite3.c.

typedef UINT32_TYPE u32

Definition at line 11640 of file sqlite3.c.

typedef sqlite_uint64 u64

Definition at line 11639 of file sqlite3.c.

typedef UINT8_TYPE u8

Definition at line 11643 of file sqlite3.c.

typedef struct unixFile unixFile

Definition at line 29388 of file sqlite3.c.

typedef struct unixInodeInfo unixInodeInfo

Definition at line 29369 of file sqlite3.c.

typedef struct unixShm unixShm

Definition at line 29367 of file sqlite3.c.

typedef struct unixShmNode unixShmNode

Definition at line 29368 of file sqlite3.c.

typedef struct UnixUnusedFd UnixUnusedFd

Definition at line 29370 of file sqlite3.c.

Definition at line 12007 of file sqlite3.c.

typedef u64 uptr

Definition at line 11712 of file sqlite3.c.

typedef struct Vdbe Vdbe

Definition at line 12418 of file sqlite3.c.

typedef struct VdbeCursor VdbeCursor

Definition at line 17761 of file sqlite3.c.

typedef struct VdbeFrame VdbeFrame

Definition at line 17843 of file sqlite3.c.

typedef struct VdbeOp VdbeOp

Definition at line 12471 of file sqlite3.c.

typedef struct VdbeOpList VdbeOpList

Definition at line 12496 of file sqlite3.c.

typedef struct VdbeSorter VdbeSorter

Definition at line 17740 of file sqlite3.c.

typedef struct VtabCtx VtabCtx

Definition at line 12009 of file sqlite3.c.

typedef struct VTable VTable

Definition at line 12008 of file sqlite3.c.

typedef struct Wal Wal

Definition at line 46294 of file sqlite3.c.

typedef struct WalCkptInfo WalCkptInfo

Definition at line 54072 of file sqlite3.c.

typedef struct WalIndexHdr WalIndexHdr

Definition at line 54070 of file sqlite3.c.

typedef struct WalIterator WalIterator

Definition at line 54071 of file sqlite3.c.

typedef struct Walker Walker

Definition at line 12010 of file sqlite3.c.

typedef struct WalWriter WalWriter
typedef struct WhereAndInfo WhereAndInfo

Definition at line 123845 of file sqlite3.c.

typedef struct WhereClause WhereClause

Definition at line 123842 of file sqlite3.c.

typedef struct WhereInfo WhereInfo

Definition at line 12011 of file sqlite3.c.

typedef struct WhereLevel WhereLevel

Definition at line 123846 of file sqlite3.c.

typedef struct WhereLoop WhereLoop

Definition at line 123847 of file sqlite3.c.

Definition at line 123850 of file sqlite3.c.

typedef struct WhereMaskSet WhereMaskSet

Definition at line 123843 of file sqlite3.c.

typedef struct WhereOrCost WhereOrCost

Definition at line 123852 of file sqlite3.c.

typedef struct WhereOrInfo WhereOrInfo

Definition at line 123844 of file sqlite3.c.

typedef struct WhereOrSet WhereOrSet

Definition at line 123853 of file sqlite3.c.

typedef struct WherePath WherePath

Definition at line 123848 of file sqlite3.c.

typedef struct WhereScan WhereScan

Definition at line 123851 of file sqlite3.c.

typedef struct WhereTerm WhereTerm

Definition at line 123849 of file sqlite3.c.

typedef struct With With

Definition at line 12012 of file sqlite3.c.

typedef unsigned int yDbMask

Definition at line 15491 of file sqlite3.c.

typedef i16 ynVar

Definition at line 14838 of file sqlite3.c.

typedef struct yyParser yyParser

Definition at line 133821 of file sqlite3.c.

typedef struct yyStackEntry yyStackEntry

Definition at line 133800 of file sqlite3.c.

Function Documentation

static void absFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 104250 of file sqlite3.c.

static int accessPayload ( BtCursor pCur,
u32  offset,
u32  amt,
unsigned char *  pBuf,
int  eOp 
)
static

Definition at line 62686 of file sqlite3.c.

static const char* actionName ( u8  action)
static

Definition at line 111782 of file sqlite3.c.

static int addAggInfoColumn ( sqlite3 db,
AggInfo pInfo 
)
static

Definition at line 94458 of file sqlite3.c.

static int addAggInfoFunc ( sqlite3 db,
AggInfo pInfo 
)
static

Definition at line 94474 of file sqlite3.c.

static void addArgumentToVtab ( Parse pParse)
static

Definition at line 122914 of file sqlite3.c.

static void addModuleArgument ( sqlite3 db,
Table pTable,
char *  zArg 
)
static

Definition at line 122845 of file sqlite3.c.

static int addToSavepointBitvecs ( Pager pPager,
Pgno  pgno 
)
static

Definition at line 48098 of file sqlite3.c.

static void addToVTrans ( sqlite3 db,
VTable pVTab 
)
static

Definition at line 123222 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 114703 of file sqlite3.c.

static int allocateBtreePage ( BtShared pBt,
MemPage **  ppPage,
Pgno pPgno,
Pgno  nearby,
u8  eMode 
)
static

Definition at line 63769 of file sqlite3.c.

static VdbeCursor* allocateCursor ( Vdbe p,
int  iCur,
int  nField,
int  iDb,
u8  eCurType 
)
static

Definition at line 77402 of file sqlite3.c.

static sqlite3_index_info* allocateIndexInfo ( Parse pParse,
WhereClause pWC,
Bitmask  mUnusable,
struct SrcList_item *  pSrc,
ExprList pOrderBy,
u16 pmNoOmit 
)
static

Definition at line 128650 of file sqlite3.c.

static int allocateSpace ( MemPage pPage,
int  nByte,
int *  pIdx 
)
static

Definition at line 59729 of file sqlite3.c.

static void allocateTempSpace ( BtShared pBt)
static

Definition at line 60708 of file sqlite3.c.

static void* allocSpace ( struct ReusableSpace p,
void *  pBuf,
int  nByte 
)
static

Definition at line 72280 of file sqlite3.c.

static SQLITE_NOINLINE Vdbe* allocVdbe ( Parse pParse)
static

Definition at line 116182 of file sqlite3.c.

static int allowedOp ( int  op)
static

Definition at line 126483 of file sqlite3.c.

static int allSpaces ( const char *  z,
int  n 
)
static

Definition at line 138697 of file sqlite3.c.

static int analysisLoader ( void *  pData,
int  argc,
char **  argv,
char **  NotUsed 
)
static

Definition at line 97051 of file sqlite3.c.

static int analyzeAggregate ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 94491 of file sqlite3.c.

static int analyzeAggregatesInSelect ( Walker pWalker,
Select pSelect 
)
static

Definition at line 94616 of file sqlite3.c.

static void analyzeDatabase ( Parse pParse,
int  iDb 
)
static

Definition at line 96847 of file sqlite3.c.

static void analyzeOneTable ( Parse pParse,
Table pTab,
Index pOnlyIdx,
int  iStatCur,
int  iMem,
int  iTab 
)
static

Definition at line 96511 of file sqlite3.c.

static void analyzeTable ( Parse pParse,
Table pTab,
Index pOnlyIdx 
)
static

Definition at line 96874 of file sqlite3.c.

static SQLITE_NOINLINE int apiOomError ( sqlite3 db)
static

Definition at line 24679 of file sqlite3.c.

static void applyAffinity ( Mem pRec,
char  affinity,
u8  enc 
)
static

Definition at line 77505 of file sqlite3.c.

static void applyNumericAffinity ( Mem pRec,
int  bTryForInt 
)
static

Definition at line 77471 of file sqlite3.c.

static void attachBackupObject ( sqlite3_backup p)
static

Definition at line 68295 of file sqlite3.c.

static void attachFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 97511 of file sqlite3.c.

static int autoIncBegin ( Parse pParse,
int  iDb,
Table pTab 
)
static

Definition at line 107600 of file sqlite3.c.

static SQLITE_NOINLINE void autoIncrementEnd ( Parse pParse)
static

Definition at line 107702 of file sqlite3.c.

static void autoIncStep ( Parse pParse,
int  memId,
int  regRowid 
)
static

Definition at line 107689 of file sqlite3.c.

static int autoVacuumCommit ( BtShared pBt)
static

Definition at line 61894 of file sqlite3.c.

static void avgFinalize ( sqlite3_context context)
static

Definition at line 105604 of file sqlite3.c.

static int backupOnePage ( sqlite3_backup p,
Pgno  iSrcPg,
const u8 zSrcData,
int  bUpdate 
)
static

Definition at line 68186 of file sqlite3.c.

static int backupTruncateFile ( sqlite3_file pFile,
i64  iSize 
)
static

Definition at line 68282 of file sqlite3.c.

static SQLITE_NOINLINE void backupUpdate ( sqlite3_backup p,
Pgno  iPage,
const u8 aData 
)
static

Definition at line 68649 of file sqlite3.c.

static int balance ( BtCursor pCur)
static

Definition at line 66041 of file sqlite3.c.

static int balance_deeper ( MemPage pRoot,
MemPage **  ppChild 
)
static

Definition at line 65984 of file sqlite3.c.

static int balance_nonroot ( MemPage pParent,
int  iParentIdx,
u8 aOvflSpace,
int  isRoot,
int  bBulk 
)
static

Definition at line 65220 of file sqlite3.c.

static int balance_quick ( MemPage pParent,
MemPage pPage,
u8 pSpace 
)
static

Definition at line 64995 of file sqlite3.c.

static u8 binaryCompareP5 ( Expr pExpr1,
Expr pExpr2,
int  jumpIfNull 
)
static

Definition at line 89991 of file sqlite3.c.

static void binaryToUnaryIfNull ( Parse pParse,
Expr pY,
Expr pA,
int  op 
)
static

Definition at line 132989 of file sqlite3.c.

static int binCollFunc ( void *  padFlag,
int  nKey1,
const void *  pKey1,
int  nKey2,
const void *  pKey2 
)
static

Definition at line 138709 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 76389 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 84704 of file sqlite3.c.

static int blobSeekToRow ( Incrblob p,
sqlite3_int64  iRow,
char **  pzErr 
)
static

Definition at line 84389 of file sqlite3.c.

static void btreeClearHasContent ( BtShared pBt)
static

Definition at line 58833 of file sqlite3.c.

static int btreeCreateTable ( Btree p,
int *  piTable,
int  createTabFlags 
)
static

Definition at line 66518 of file sqlite3.c.

static int btreeCursor ( Btree p,
int  iTable,
int  wrFlag,
struct KeyInfo pKeyInfo,
BtCursor pCur 
)
static

Definition at line 62341 of file sqlite3.c.

static int btreeDropTable ( Btree p,
Pgno  iTable,
int *  piMoved 
)
static

Definition at line 66788 of file sqlite3.c.

static void btreeEndTransaction ( Btree p)
static

Definition at line 62000 of file sqlite3.c.

static int btreeGetHasContent ( BtShared pBt,
Pgno  pgno 
)
static

Definition at line 58824 of file sqlite3.c.

static int btreeGetPage ( BtShared pBt,
Pgno  pgno,
MemPage **  ppPage,
int  flags 
)
static

Definition at line 60171 of file sqlite3.c.

static int btreeGetUnusedPage ( BtShared pBt,
Pgno  pgno,
MemPage **  ppPage,
int  flags 
)
static

Definition at line 60305 of file sqlite3.c.

static void btreeHeapInsert ( u32 aHeap,
u32  x 
)
static

Definition at line 67253 of file sqlite3.c.

static int btreeHeapPull ( u32 aHeap,
u32 pOut 
)
static

Definition at line 67263 of file sqlite3.c.

static int btreeInitPage ( MemPage pPage)
static

Definition at line 59979 of file sqlite3.c.

static int btreeInvokeBusyHandler ( void *  pArg)
static

Definition at line 60356 of file sqlite3.c.

static void SQLITE_NOINLINE btreeLockCarefully ( Btree p)
static

Definition at line 58048 of file sqlite3.c.

static int btreeMoveto ( BtCursor pCur,
const void *  pKey,
i64  nKey,
int  bias,
int *  pRes 
)
static

Definition at line 59000 of file sqlite3.c.

static SQLITE_NOINLINE int btreeNext ( BtCursor pCur,
int *  pRes 
)
static

Definition at line 63560 of file sqlite3.c.

static Pgno btreePagecount ( BtShared pBt)
static

Definition at line 60207 of file sqlite3.c.

static MemPage* btreePageFromDbPage ( DbPage pDbPage,
Pgno  pgno,
BtShared pBt 
)
static

Definition at line 60147 of file sqlite3.c.

static MemPage* btreePageLookup ( BtShared pBt,
Pgno  pgno 
)
static

Definition at line 60193 of file sqlite3.c.

static void btreeParseCell ( MemPage pPage,
int  iCell,
CellInfo pInfo 
)
static

Definition at line 59447 of file sqlite3.c.

static SQLITE_NOINLINE void btreeParseCellAdjustSizeForOverflow ( MemPage pPage,
u8 pCell,
CellInfo pInfo 
)
static

Definition at line 59280 of file sqlite3.c.

static void btreeParseCellPtr ( MemPage pPage,
u8 pCell,
CellInfo pInfo 
)
static

Definition at line 59342 of file sqlite3.c.

static void btreeParseCellPtrIndex ( MemPage pPage,
u8 pCell,
CellInfo pInfo 
)
static

Definition at line 59410 of file sqlite3.c.

static void btreeParseCellPtrNoPayload ( MemPage pPage,
u8 pCell,
CellInfo pInfo 
)
static

Definition at line 59325 of file sqlite3.c.

static SQLITE_NOINLINE int btreePrevious ( BtCursor pCur,
int *  pRes 
)
static

Definition at line 63670 of file sqlite3.c.

static void btreeReleaseAllCursorPages ( BtCursor pCur)
static

Definition at line 58841 of file sqlite3.c.

static int btreeRestoreCursorPosition ( BtCursor pCur)
static

Definition at line 59040 of file sqlite3.c.

static int btreeSetHasContent ( BtShared pBt,
Pgno  pgno 
)
static

Definition at line 58802 of file sqlite3.c.

static u16 cachedCellSize ( CellArray p,
int  N 
)
static

Definition at line 64670 of file sqlite3.c.

static void cacheEntryClear ( Parse pParse,
int  i 
)
static

Definition at line 92697 of file sqlite3.c.

static void callCollNeeded ( sqlite3 db,
int  enc,
const char *  zName 
)
static

Definition at line 102751 of file sqlite3.c.

static void callFinaliser ( sqlite3 db,
int  offset 
)
static

Definition at line 123400 of file sqlite3.c.

static void callStatGet ( Vdbe v,
int  regStat4,
int  iParam,
int  regOut 
)
static

Definition at line 96493 of file sqlite3.c.

static int cannotBeFunction ( Parse pParse,
struct SrcList_item *  pFrom 
)
static

Definition at line 118383 of file sqlite3.c.

static void cdateFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 19647 of file sqlite3.c.

static u16 cellSizePtr ( MemPage pPage,
u8 pCell 
)
static

Definition at line 59467 of file sqlite3.c.

static u16 cellSizePtrNoPayload ( MemPage pPage,
u8 pCell 
)
static

Definition at line 59515 of file sqlite3.c.

static void changes ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 104658 of file sqlite3.c.

static int changeTempStorage ( Parse pParse,
const char *  zStorageType 
)
static

Definition at line 111694 of file sqlite3.c.

static void charFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 105179 of file sqlite3.c.

static void checkAppendMsg ( IntegrityCk pCheck,
const char *  zFormat,
  ... 
)
static

Definition at line 67060 of file sqlite3.c.

static int checkColumnOverlap ( IdList pIdList,
ExprList pEList 
)
static

Definition at line 120868 of file sqlite3.c.

static int checkConstraintExprNode ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 108470 of file sqlite3.c.

static int checkConstraintUnchanged ( Expr pExpr,
int *  aiChng,
int  chngRowid 
)
static

Definition at line 108494 of file sqlite3.c.

static void checkList ( IntegrityCk pCheck,
int  isFreeList,
int  iPage,
int  N 
)
static

Definition at line 67161 of file sqlite3.c.

static void checkPtrmap ( IntegrityCk pCheck,
Pgno  iChild,
u8  eType,
Pgno  iParent 
)
static

Definition at line 67132 of file sqlite3.c.

static int checkReadTransaction ( sqlite3 db,
Btree p 
)
static

Definition at line 68084 of file sqlite3.c.

static int checkRef ( IntegrityCk pCheck,
Pgno  iPage 
)
static

Definition at line 67112 of file sqlite3.c.

static int checkTreePage ( IntegrityCk pCheck,
int  iPage,
i64 piMinKey,
i64  maxKey 
)
static

Definition at line 67297 of file sqlite3.c.

static void Cleanup ( Vdbe p)
static

Definition at line 72568 of file sqlite3.c.

static void clearAllSharedCacheTableLocks ( Btree p)
static

Definition at line 58626 of file sqlite3.c.

static int clearCell ( MemPage pPage,
unsigned char *  pCell,
u16 pnSize 
)
static

Definition at line 64230 of file sqlite3.c.

static int clearDatabasePage ( BtShared pBt,
Pgno  pgno,
int  freePageFlag,
int *  pnChange 
)
static

Definition at line 66673 of file sqlite3.c.

static void clearSelect ( sqlite3 db,
Select p,
int  bFree 
)
static

Definition at line 114456 of file sqlite3.c.

static void clearYMD_HMS_TZ ( DateTime p)
static

Definition at line 18999 of file sqlite3.c.

static void closeAllCursors ( Vdbe p)
static

Definition at line 72541 of file sqlite3.c.

static void closeCursorsInFrame ( Vdbe p)
static

Definition at line 72494 of file sqlite3.c.

static void closePendingFds ( unixFile pFile)
static

Definition at line 30586 of file sqlite3.c.

static int closeUnixFile ( sqlite3_file id)
static

Definition at line 31315 of file sqlite3.c.

static int codeAllEqualityTerms ( Parse pParse,
WhereLevel pLevel,
int  bRev,
int  nExtraReg,
char **  pzAff 
)
static

Definition at line 124945 of file sqlite3.c.

static void codeApplyAffinity ( Parse pParse,
int  base,
int  n,
char *  zAff 
)
static

Definition at line 124667 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 97765 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 90032 of file sqlite3.c.

static void codeDeferredSeek ( WhereInfo pWInfo,
Index pIdx,
int  iCur,
int  iIdxCur 
)
static

Definition at line 125320 of file sqlite3.c.

static void codeDistinct ( Parse pParse,
int  iTab,
int  addrRepeat,
int  N,
int  iMem 
)
static

Definition at line 115033 of file sqlite3.c.

static int codeEqualityTerm ( Parse pParse,
WhereTerm pTerm,
WhereLevel pLevel,
int  iEq,
int  bRev,
int  iTarget 
)
static

Definition at line 124735 of file sqlite3.c.

static void codeExprOrVector ( Parse pParse,
Expr p,
int  iReg,
int  nReg 
)
static

Definition at line 125359 of file sqlite3.c.

static void codeInteger ( Parse pParse,
Expr pExpr,
int  negFlag,
int  iMem 
)
static

Definition at line 92661 of file sqlite3.c.

static void codeOffset ( Vdbe v,
int  iOffset,
int  iContinue 
)
static

Definition at line 115013 of file sqlite3.c.

static void codeReal ( Vdbe v,
const char *  z,
int  negateFlag,
int  iMem 
)
static

Definition at line 92643 of file sqlite3.c.

static TriggerPrg* codeRowTrigger ( Parse pParse,
Trigger pTrigger,
Table pTab,
int  orconf 
)
static

Definition at line 121057 of file sqlite3.c.

static void codeTableLocks ( Parse pParse)
static

Definition at line 98390 of file sqlite3.c.

static int codeTriggerProgram ( Parse pParse,
TriggerStep pStepList,
int  orconf 
)
static

Definition at line 120946 of file sqlite3.c.

static void codeVectorCompare ( Parse pParse,
Expr pExpr,
int  dest,
u8  op,
u8  p5 
)
static

Definition at line 90242 of file sqlite3.c.

static int collationMatch ( const char *  zColl,
Index pIndex 
)
static

Definition at line 102501 of file sqlite3.c.

static int columnIndex ( Table pTab,
const char *  zCol 
)
static

Definition at line 114651 of file sqlite3.c.

static void columnMallocFailure ( sqlite3_stmt pStmt)
static

Definition at line 76102 of file sqlite3.c.

static Mem* columnMem ( sqlite3_stmt pStmt,
int  i 
)
static

Definition at line 76067 of file sqlite3.c.

static const void* columnName ( sqlite3_stmt pStmt,
int  N,
const void *(*)(Mem *)  xFunc,
int  useType 
)
static

Definition at line 76200 of file sqlite3.c.

static const Mem* columnNullValue ( void  )
static

Definition at line 76027 of file sqlite3.c.

static Bitmask columnsInIndex ( Index pIdx)
static

Definition at line 130478 of file sqlite3.c.

static const char* columnTypeImpl ( NameContext pNC,
Expr pExpr,
u8 pEstWidth 
)
static

Definition at line 115726 of file sqlite3.c.

static int compare2pow63 ( const char *  zNum,
int  incr 
)
static

Definition at line 27807 of file sqlite3.c.

static char comparisonAffinity ( Expr pExpr)
static

Definition at line 89952 of file sqlite3.c.

static void compileoptiongetFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 105058 of file sqlite3.c.

static void compileoptionusedFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 105034 of file sqlite3.c.

static SQLITE_NOINLINE u16 computeCellSize ( CellArray p,
int  N 
)
static

Definition at line 64664 of file sqlite3.c.

static void computeHMS ( DateTime p)
static

Definition at line 18973 of file sqlite3.c.

static void computeJD ( DateTime p)
static

Definition at line 18815 of file sqlite3.c.

static void computeLimitRegisters ( Parse pParse,
Select p,
int  iBreak 
)
static

Definition at line 116221 of file sqlite3.c.

static u16 SQLITE_NOINLINE computeNumericType ( Mem pMem)
static

Definition at line 77569 of file sqlite3.c.

static void computeYMD ( DateTime p)
static

Definition at line 18947 of file sqlite3.c.

static void computeYMD_HMS ( DateTime p)
static

Definition at line 18991 of file sqlite3.c.

static int connectionIsBusy ( sqlite3 db)
static

Definition at line 138867 of file sqlite3.c.

static void constructAutomaticIndex ( Parse pParse,
WhereClause pWC,
struct SrcList_item *  pSrc,
Bitmask  notReady,
WhereLevel pLevel 
)
static

Definition at line 128445 of file sqlite3.c.

static void* contextMalloc ( sqlite3_context context,
i64  nByte 
)
static

Definition at line 104515 of file sqlite3.c.

static int convertCompoundSelectToSubquery ( Walker pWalker,
Select p 
)
static

Definition at line 118328 of file sqlite3.c.

static void convertToWithoutRowidTable ( Parse pParse,
Table pTab 
)
static

Definition at line 99971 of file sqlite3.c.

static void copyNodeContent ( MemPage pFrom,
MemPage pTo,
int *  pRC 
)
static

Definition at line 65139 of file sqlite3.c.

static int copyPayload ( void *  pPayload,
void *  pBuf,
int  nByte,
int  eOp,
DbPage pDbPage 
)
static

Definition at line 62635 of file sqlite3.c.

static void corruptSchema ( InitData pData,
const char *  zObj,
const char *  zExtra 
)
static

Definition at line 113556 of file sqlite3.c.

static void countFinalize ( sqlite3_context context)
static

Definition at line 105646 of file sqlite3.c.

static void countStep ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 105630 of file sqlite3.c.

static SQLITE_NOINLINE void* createAggContext ( sqlite3_context p,
int  nByte 
)
static

Definition at line 75887 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 140169 of file sqlite3.c.

static void createMask ( WhereMaskSet pMaskSet,
int  iCursor 
)
static

Definition at line 128009 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 122593 of file sqlite3.c.

static char* createTableStmt ( sqlite3 db,
Table p 
)
static

Definition at line 99821 of file sqlite3.c.

static void ctimeFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 19633 of file sqlite3.c.

static void ctimestampFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 19661 of file sqlite3.c.

static int databaseIsUnmoved ( Pager pPager)
static

Definition at line 51228 of file sqlite3.c.

static void dateFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 19462 of file sqlite3.c.

static void datetimeFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 19423 of file sqlite3.c.

static SQLITE_NOINLINE void* dbMallocRawFinish ( sqlite3 db,
u64  n 
)
static

Definition at line 24473 of file sqlite3.c.

static SQLITE_NOINLINE void * dbReallocFinish ( sqlite3 db,
void *  p,
u64  n 
)
static

Definition at line 24561 of file sqlite3.c.

static int decodeFlags ( MemPage pPage,
int  flagByte 
)
static

Definition at line 59921 of file sqlite3.c.

static void decodeIntArray ( char *  zIntArray,
int  nOut,
tRowcnt aOut,
LogEst aLog,
Index pIndex 
)
static

Definition at line 96980 of file sqlite3.c.

static int defragmentPage ( MemPage pPage)
static

Definition at line 59576 of file sqlite3.c.

static void SQLITE_NOINLINE deleteTable ( sqlite3 db,
Table pTable 
)
static

Definition at line 98889 of file sqlite3.c.

static void destroyRootPage ( Parse pParse,
int  iTable,
int  iDb 
)
static

Definition at line 100612 of file sqlite3.c.

static void destroyTable ( Parse pParse,
Table pTab 
)
static

Definition at line 100641 of file sqlite3.c.

static void detachFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 97713 of file sqlite3.c.

static void disableLookaside ( Parse pParse)
static

Definition at line 132889 of file sqlite3.c.

static void disableTerm ( WhereLevel pLevel,
WhereTerm pTerm 
)
static

Definition at line 124636 of file sqlite3.c.

static void disconnectAllVtab ( sqlite3 db)
static

Definition at line 138836 of file sqlite3.c.

static char* displayP4 ( Op pOp,
char *  zTemp,
int  nTemp 
)
static

Definition at line 71716 of file sqlite3.c.

static int dotlockCheckReservedLock ( sqlite3_file id,
int *  pResOut 
)
static

Definition at line 31457 of file sqlite3.c.

static int dotlockClose ( sqlite3_file id)
static

Definition at line 31591 of file sqlite3.c.

static int dotlockLock ( sqlite3_file id,
int  eFileLock 
)
static

Definition at line 31498 of file sqlite3.c.

static int dotlockUnlock ( sqlite3_file id,
int  eFileLock 
)
static

Definition at line 31548 of file sqlite3.c.

static i64 doubleToInt64 ( double  r)
static

Definition at line 69185 of file sqlite3.c.

static int doWalCallbacks ( sqlite3 db)
static

Definition at line 75607 of file sqlite3.c.

static void downgradeAllSharedCacheTableLocks ( Btree p)
static

Definition at line 58670 of file sqlite3.c.

static void dropCell ( MemPage pPage,
int  idx,
int  sz,
int *  pRC 
)
static

Definition at line 64488 of file sqlite3.c.

static int dupedExprNodeSize ( Expr p,
int  flags 
)
static

Definition at line 90845 of file sqlite3.c.

static int dupedExprSize ( Expr p,
int  flags 
)
static

Definition at line 90866 of file sqlite3.c.

static int dupedExprStructSize ( Expr p,
int  flags 
)
static

Definition at line 90818 of file sqlite3.c.

static int editPage ( MemPage pPg,
int  iOld,
int  iNew,
int  nNew,
CellArray pCArray 
)
static

Definition at line 64861 of file sqlite3.c.

static void SQLITE_NOINLINE enlargeAndAppend ( StrAccum p,
const char *  z,
int  N 
)
static

Definition at line 25535 of file sqlite3.c.

static void errlogFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 105018 of file sqlite3.c.

static void estimateIndexWidth ( Index pIdx)
static

Definition at line 99927 of file sqlite3.c.

static void estimateTableWidth ( Table pTab)
static

Definition at line 99913 of file sqlite3.c.

static LogEst estLog ( LogEst  N)
static

Definition at line 128323 of file sqlite3.c.

static char et_getdigit ( LONGDOUBLE_TYPE val,
int *  cnt 
)
static

Definition at line 24832 of file sqlite3.c.

static int execSql ( sqlite3 db,
char **  pzErrMsg,
const char *  zSql 
)
static

Definition at line 122235 of file sqlite3.c.

static int execSqlF ( sqlite3 db,
char **  pzErrMsg,
const char *  zSql,
  ... 
)
static

Definition at line 122259 of file sqlite3.c.

static void explainAppendTerm ( StrAccum pStr,
Index pIdx,
int  nTerm,
int  iTerm,
int  bAnd,
const char *  zOp 
)
static

Definition at line 124384 of file sqlite3.c.

static void explainComposite ( Parse pParse,
int  op,
int  iSub1,
int  iSub2,
int  bUseTmp 
)
static

Definition at line 115548 of file sqlite3.c.

static const char* explainIndexColumnName ( Index pIdx,
int  i 
)
static

Definition at line 124369 of file sqlite3.c.

static void explainIndexRange ( StrAccum pStr,
WhereLoop pLoop 
)
static

Definition at line 124428 of file sqlite3.c.

static void explainSimpleCount ( Parse pParse,
Table pTab,
Index pIdx 
)
static

Definition at line 119161 of file sqlite3.c.

static void explainTempTable ( Parse pParse,
const char *  zUsage 
)
static

Definition at line 115510 of file sqlite3.c.

static int exprAlwaysFalse ( Expr p)
static

Definition at line 90604 of file sqlite3.c.

static int exprAlwaysTrue ( Expr p)
static

Definition at line 90598 of file sqlite3.c.

static void exprAnalyze ( SrcList pSrc,
WhereClause pWC,
int  idxTerm 
)
static

Definition at line 127279 of file sqlite3.c.

static void exprAnalyzeOrTerm ( SrcList pSrc,
WhereClause pWC,
int  idxTerm 
)
static

Definition at line 126891 of file sqlite3.c.

static void exprCodeBetween ( Parse pParse,
Expr pExpr,
int  dest,
void(*)(Parse *, Expr *, int, int)  xJump,
int  jumpIfNull 
)
static

Definition at line 93861 of file sqlite3.c.

static int exprCodeSubselect ( Parse pParse,
Expr pExpr 
)
static

Definition at line 90181 of file sqlite3.c.

static int exprCodeVector ( Parse pParse,
Expr p,
int *  piToFree 
)
static

Definition at line 93014 of file sqlite3.c.

static void exprCommute ( Parse pParse,
Expr pExpr 
)
static

Definition at line 126503 of file sqlite3.c.

static Expr* exprDup ( sqlite3 db,
Expr p,
int  dupFlags,
u8 **  pzBuffer 
)
static

Definition at line 90885 of file sqlite3.c.

static int exprIdxCover ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 94358 of file sqlite3.c.

static char* exprINAffinity ( Parse pParse,
Expr pExpr 
)
static

Definition at line 92045 of file sqlite3.c.

static int exprIsConst ( Expr p,
int  initFlag,
int  iCur 
)
static

Definition at line 91464 of file sqlite3.c.

static SQLITE_NOINLINE void exprListDeleteNN ( sqlite3 db,
ExprList pList 
)
static

Definition at line 91347 of file sqlite3.c.

static int exprMightBeIndexed ( SrcList pFrom,
int  op,
Bitmask  mPrereq,
Expr pExpr,
int *  piCur,
int *  piColumn 
)
static

Definition at line 127216 of file sqlite3.c.

static int exprNodeIsConstant ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 91405 of file sqlite3.c.

static void exprNot ( Parse pParse,
int  doNot,
ExprSpan pSpan 
)
static

Definition at line 132969 of file sqlite3.c.

static int exprProbability ( Expr p)
static

Definition at line 88736 of file sqlite3.c.

static Bitmask exprSelectUsage ( WhereMaskSet pMaskSet,
Select pS 
)
static

Definition at line 127182 of file sqlite3.c.

static void exprSetHeight ( Expr p)
static

Definition at line 90382 of file sqlite3.c.

static int exprSrcCount ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 94411 of file sqlite3.c.

static int exprStructSize ( Expr p)
static

Definition at line 90778 of file sqlite3.c.

static Expr* exprTableColumn ( sqlite3 db,
Table pTab,
int  iCursor,
i16  iCol 
)
static

Definition at line 106458 of file sqlite3.c.

static Expr* exprTableRegister ( Parse pParse,
Table pTab,
int  regBase,
i16  iCol 
)
static

Definition at line 106426 of file sqlite3.c.

static void exprToRegister ( Expr p,
int  iReg 
)
static

Definition at line 92997 of file sqlite3.c.

static int exprVectorRegister ( Parse pParse,
Expr pVector,
int  iField,
int  regSelect,
Expr **  ppExpr,
int *  pRegFree 
)
static

Definition at line 90209 of file sqlite3.c.

static int fcntlSizeHint ( unixFile pFile,
i64  nByte 
)
static

Definition at line 33068 of file sqlite3.c.

static const void* fetchPayload ( BtCursor pCur,
u32 pAmt 
)
static

Definition at line 62953 of file sqlite3.c.

static int fileHasMoved ( unixFile pFile)
static

Definition at line 30721 of file sqlite3.c.

static int fillInCell ( MemPage pPage,
unsigned char *  pCell,
const BtreePayload pX,
int *  pnSize 
)
static

Definition at line 64311 of file sqlite3.c.

static Pgno finalDbSize ( BtShared pBt,
Pgno  nOrig,
Pgno  nFree 
)
static

Definition at line 61826 of file sqlite3.c.

static void finalizeAggFunctions ( Parse pParse,
AggInfo pAggInfo 
)
static

Definition at line 119062 of file sqlite3.c.

static Btree* findBtree ( sqlite3 pErrorDb,
sqlite3 pDb,
const char *  zDb 
)
static

Definition at line 68041 of file sqlite3.c.

static CollSeq* findCollSeqEntry ( sqlite3 db,
const char *  zName,
int  create 
)
static

Definition at line 102879 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 34958 of file sqlite3.c.

static HashElem* findElementWithHash ( const Hash pH,
const char *  pKey,
unsigned int *  pHash 
)
static

Definition at line 28876 of file sqlite3.c.

static int findIndexCol ( Parse pParse,
ExprList pList,
int  iBase,
Index pIdx,
int  iCol 
)
static

Definition at line 128210 of file sqlite3.c.

static int findInodeInfo ( unixFile pFile,
unixInodeInfo **  ppInode 
)
static

Definition at line 30638 of file sqlite3.c.

static int findNextHostParameter ( const char *  zSql,
int *  pnToken 
)
static

Definition at line 77050 of file sqlite3.c.

static UnixUnusedFd* findReusableFd ( const char *  zPath,
int  flags 
)
static

Definition at line 34874 of file sqlite3.c.

static Select* findRightmost ( Select p)
static

Definition at line 114568 of file sqlite3.c.

static Trigger* fkActionTrigger ( Parse pParse,
Table pTab,
FKey pFKey,
ExprList pChanges 
)
static

Definition at line 107120 of file sqlite3.c.

static int fkChildIsModified ( Table pTab,
FKey p,
int *  aChange,
int  bChngRowid 
)
static

Definition at line 106731 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 106285 of file sqlite3.c.

static int fkParentIsModified ( Table pTab,
FKey p,
int *  aChange,
int  bChngRowid 
)
static

Definition at line 106758 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 106505 of file sqlite3.c.

static void fkTriggerDelete ( sqlite3 dbMem,
Trigger p 
)
static

Definition at line 106642 of file sqlite3.c.

static int flattenSubquery ( Parse pParse,
Select p,
int  iFrom,
int  isAgg,
int  subqueryIsAgg 
)
static

Definition at line 117717 of file sqlite3.c.

static void freeEphemeralFunction ( sqlite3 db,
FuncDef pDef 
)
static

Definition at line 71262 of file sqlite3.c.

static void freeIndex ( sqlite3 db,
Index p 
)
static

Definition at line 98729 of file sqlite3.c.

static void freeP4 ( sqlite3 db,
int  p4type,
void *  p4 
)
static

Definition at line 71281 of file sqlite3.c.

static SQLITE_NOINLINE void freeP4FuncCtx ( sqlite3 db,
sqlite3_context p 
)
static

Definition at line 71277 of file sqlite3.c.

static SQLITE_NOINLINE void freeP4Mem ( sqlite3 db,
Mem p 
)
static

Definition at line 71273 of file sqlite3.c.

static void freePage ( MemPage pPage,
int *  pRC 
)
static

Definition at line 64219 of file sqlite3.c.

static int freePage2 ( BtShared pBt,
MemPage pMemPage,
Pgno  iPage 
)
static

Definition at line 64091 of file sqlite3.c.

static int freeSpace ( MemPage pPage,
u16  iStart,
u16  iSize 
)
static

Definition at line 59819 of file sqlite3.c.

static void freeTempSpace ( BtShared pBt)
static

Definition at line 60737 of file sqlite3.c.

static int full_fsync ( int  fd,
int  fullSync,
int  dataOnly 
)
static

Definition at line 32797 of file sqlite3.c.

static void functionDestroy ( sqlite3 db,
FuncDef p 
)
static

Definition at line 138821 of file sqlite3.c.

static FuncDef* functionSearch ( int  h,
const char *  zFunc 
)
static

Definition at line 103014 of file sqlite3.c.

static void generateColumnNames ( Parse pParse,
SrcList pTabList,
ExprList pEList 
)
static

Definition at line 115917 of file sqlite3.c.

static void generateColumnTypes ( Parse pParse,
SrcList pTabList,
ExprList pEList 
)
static

Definition at line 115877 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 116970 of file sqlite3.c.

static void generateSortTail ( Parse pParse,
Select p,
SortCtx pSort,
int  nColumn,
SelectDest pDest 
)
static

Definition at line 115576 of file sqlite3.c.

static void generateWithRecursiveQuery ( Parse pParse,
Select p,
SelectDest pDest 
)
static

Definition at line 116368 of file sqlite3.c.

static int getAndInitPage ( BtShared pBt,
Pgno  pgno,
MemPage **  ppPage,
BtCursor pCur,
int  bReadOnly 
)
static

Definition at line 60229 of file sqlite3.c.

static int getAutoVacuum ( const char *  z)
static

Definition at line 111638 of file sqlite3.c.

static SQLITE_NOINLINE void getCellInfo ( BtCursor pCur)
static

Definition at line 62497 of file sqlite3.c.

static int getDigits ( const char *  zDate,
const char *  zFormat,
  ... 
)
static

Definition at line 18683 of file sqlite3.c.

static double getDoubleArg ( PrintfArguments p)
static

Definition at line 24861 of file sqlite3.c.

static int getFileMode ( const char *  zFile,
mode_t *  pMode,
uid_t *  pUid,
gid_t *  pGid 
)
static

Definition at line 34919 of file sqlite3.c.

static sqlite3_int64 getIntArg ( PrintfArguments p)
static

Definition at line 24857 of file sqlite3.c.

static int getLockingMode ( const char *  z)
static

Definition at line 111623 of file sqlite3.c.

static int getOverflowPage ( BtShared pBt,
Pgno  ovfl,
MemPage **  ppPage,
Pgno pPgnoNext 
)
static

Definition at line 62567 of file sqlite3.c.

static int getPageReferenced ( IntegrityCk pCheck,
Pgno  iPg 
)
static

Definition at line 67090 of file sqlite3.c.

static TriggerPrg* getRowTrigger ( Parse pParse,
Trigger pTrigger,
Table pTab,
int  orconf 
)
static

Definition at line 121170 of file sqlite3.c.

static u8 getSafetyLevel ( const char *  z,
int  omitFull,
u8  dflt 
)
static

Definition at line 111585 of file sqlite3.c.

static int getTempStore ( const char *  z)
static

Definition at line 111654 of file sqlite3.c.

static char* getTextArg ( PrintfArguments p)
static

Definition at line 24865 of file sqlite3.c.

static void groupConcatFinalize ( sqlite3_context context)
static

Definition at line 105739 of file sqlite3.c.

static void groupConcatStep ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 105707 of file sqlite3.c.

static SQLITE_NOINLINE int growOp3 ( Vdbe p,
int  op,
int  p1,
int  p2,
int  p3 
)
static

Definition at line 70634 of file sqlite3.c.

static int growOpArray ( Vdbe v,
int  nOp 
)
static

Definition at line 70578 of file sqlite3.c.

static int growVTrans ( sqlite3 db)
static

Definition at line 123200 of file sqlite3.c.

static int SQLITE_NOINLINE handleDeferredMoveto ( VdbeCursor p)
static

Definition at line 73481 of file sqlite3.c.

static int SQLITE_NOINLINE handleMovedCursor ( VdbeCursor p)
static

Definition at line 73507 of file sqlite3.c.

static int hasColumn ( const i16 aiCol,
int  nCol,
int  x 
)
static

Definition at line 99941 of file sqlite3.c.

static int hasHotJournal ( Pager pPager,
int *  pExists 
)
static

Definition at line 51279 of file sqlite3.c.

static void heightOfExpr ( Expr p,
int *  pnHeight 
)
static

Definition at line 90344 of file sqlite3.c.

static void heightOfExprList ( ExprList p,
int *  pnHeight 
)
static

Definition at line 90351 of file sqlite3.c.

static void heightOfSelect ( Select p,
int *  pnHeight 
)
static

Definition at line 90359 of file sqlite3.c.

static void hexFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 105220 of file sqlite3.c.

static int identLength ( const char *  z)
static

Definition at line 99772 of file sqlite3.c.

static void identPut ( char *  z,
int *  pIdx,
char *  zSignedIdent 
)
static

Definition at line 99793 of file sqlite3.c.

static int incrAggDepth ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 88215 of file sqlite3.c.

static void incrAggFunctionDepth ( Expr pExpr,
int  N 
)
static

Definition at line 88219 of file sqlite3.c.

static int incrVacuumStep ( BtShared pBt,
Pgno  nFin,
Pgno  iLastPg,
int  bCommit 
)
static

Definition at line 61730 of file sqlite3.c.

static int indexColumnNotNull ( Index pIdx,
int  iCol 
)
static

Definition at line 128239 of file sqlite3.c.

static int indexMightHelpWithOrderBy ( WhereLoopBuilder pBuilder,
Index pIndex,
int  iCursor 
)
static

Definition at line 130444 of file sqlite3.c.

static void initMemArray ( Mem p,
int  N,
sqlite3 db,
u16  flags 
)
static

Definition at line 71942 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 64544 of file sqlite3.c.

static void insertElement ( Hash pH,
struct _ht *  pEntry,
HashElem pNew 
)
static

Definition at line 28802 of file sqlite3.c.

static void instrFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 104299 of file sqlite3.c.

static void invalidateAllOverflowCache ( BtShared pBt)
static

Definition at line 58721 of file sqlite3.c.

static void invalidateIncrblobCursors ( Btree pBtree,
i64  iRow,
int  isClearTable 
)
static

Definition at line 58743 of file sqlite3.c.

static int invalidateTempStorage ( Parse pParse)
static

Definition at line 111672 of file sqlite3.c.

static SQLITE_NOINLINE void invokeProfileCallback ( sqlite3 db,
Vdbe p 
)
static

Definition at line 75178 of file sqlite3.c.

static int invokeValueDestructor ( const void *  p,
void(*)(void *)  xDel,
sqlite3_context pCtx 
)
static

Definition at line 75426 of file sqlite3.c.

IOMETHODS ( posixIoFinder  ,
posixIoMethods  ,
IOMETHODS(  3,
unixClose  ,
unixLock  ,
unixUnlock  ,
unixCheckReservedLock  ,
unixShmMap   
)

Definition at line 34375 of file sqlite3.c.

static int isAllZero ( const char *  z,
int  n 
)
static

Definition at line 74203 of file sqlite3.c.

static Select* isCandidateForInOpt ( Expr pX)
static

Definition at line 91666 of file sqlite3.c.

static int isDate ( sqlite3_context context,
int  argc,
sqlite3_value **  argv,
DateTime p 
)
static

Definition at line 19365 of file sqlite3.c.

static int isDistinctRedundant ( Parse pParse,
SrcList pTabList,
WhereClause pWC,
ExprList pDistinct 
)
static

Definition at line 128262 of file sqlite3.c.

static int isFatalError ( int  rc)
static

Definition at line 68177 of file sqlite3.c.

static int isLikeOrGlob ( Parse pParse,
Expr pExpr,
Expr **  ppPrefix,
int *  pisComplete,
int *  pnoCase 
)
static

Definition at line 126572 of file sqlite3.c.

static int isLookaside ( sqlite3 db,
void *  p 
)
static

Definition at line 24280 of file sqlite3.c.

static int isMatchOfColumn ( Expr pExpr,
unsigned char *  peOp2 
)
static

Definition at line 126672 of file sqlite3.c.

static int isSetNullAction ( Parse pParse,
FKey pFKey 
)
static

Definition at line 106787 of file sqlite3.c.

static Table* isSimpleCount ( Select p,
AggInfo pAggInfo 
)
static

Definition at line 118258 of file sqlite3.c.

static int isSystemTable ( Parse pParse,
const char *  zName 
)
static

Definition at line 95128 of file sqlite3.c.

static i64 journalHdrOffset ( Pager pPager)
static

Definition at line 47666 of file sqlite3.c.

static void juliandayFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 19406 of file sqlite3.c.

static KeyInfo * keyInfoFromExprList ( Parse pParse,
ExprList pList,
int  iStart,
int  nExtra 
)
static

Definition at line 115458 of file sqlite3.c.

static int keywordCode ( const char *  z,
int  n,
int *  pType 
)
static

Definition at line 136730 of file sqlite3.c.

static void last_insert_rowid ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 104638 of file sqlite3.c.

static void lengthFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 104210 of file sqlite3.c.

static void likeFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 104905 of file sqlite3.c.

static void loadAnalysis ( Parse pParse,
int  iDb 
)
static

Definition at line 96837 of file sqlite3.c.

static void loadExt ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 105520 of file sqlite3.c.

static sqlite3_int64 localtimeOffset ( DateTime p,
sqlite3_context pCtx,
int *  pRc 
)
static

Definition at line 19076 of file sqlite3.c.

static int lockBtree ( BtShared pBt)
static

Definition at line 61059 of file sqlite3.c.

static void lockBtreeMutex ( Btree p)
static

Definition at line 57970 of file sqlite3.c.

static void logBadConnection ( const char *  zType)
static

Definition at line 28495 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 88364 of file sqlite3.c.

static void lowerFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 104555 of file sqlite3.c.

static int mallocWithAlarm ( int  n,
void **  pp 
)
static

Definition at line 24104 of file sqlite3.c.

static void markTermAsChild ( WhereClause pWC,
int  iChild,
int  iParent 
)
static

Definition at line 126724 of file sqlite3.c.

static int matchQuality ( FuncDef p,
int  nArg,
u8  enc 
)
static

Definition at line 102979 of file sqlite3.c.

static SQLITE_NOINLINE void measureAllocationSize ( sqlite3 db,
void *  p 
)
static

Definition at line 24341 of file sqlite3.c.

static int memjrnlClose ( sqlite3_file pJfd)
static

Definition at line 87884 of file sqlite3.c.

static int memjrnlCreateFile ( MemJournal p)
static

Definition at line 87751 of file sqlite3.c.

static int memjrnlFileSize ( sqlite3_file pJfd,
sqlite_int64 pSize 
)
static

Definition at line 87904 of file sqlite3.c.

static void memjrnlFreeChunks ( MemJournal p)
static

Definition at line 87738 of file sqlite3.c.

static int memjrnlRead ( sqlite3_file pJfd,
void *  zBuf,
int  iAmt,
sqlite_int64  iOfst 
)
static

Definition at line 87687 of file sqlite3.c.

static int memjrnlSync ( sqlite3_file pJfd,
int  flags 
)
static

Definition at line 87896 of file sqlite3.c.

static int memjrnlTruncate ( sqlite3_file pJfd,
sqlite_int64  size 
)
static

Definition at line 87868 of file sqlite3.c.

static int memjrnlWrite ( sqlite3_file pJfd,
const void *  zBuf,
int  iAmt,
sqlite_int64  iOfst 
)
static

Definition at line 87790 of file sqlite3.c.

static void minMaxFinalize ( sqlite3_context context)
static

Definition at line 105693 of file sqlite3.c.

static void minmaxFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 104159 of file sqlite3.c.

static u8 minMaxQuery ( AggInfo pAggInfo,
ExprList **  ppMinMax 
)
static

Definition at line 118222 of file sqlite3.c.

static void minmaxStep ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 105655 of file sqlite3.c.

static int mkFullPathname ( const char *  zPath,
char *  zOut,
int  nOut 
)
static

Definition at line 35370 of file sqlite3.c.

static int modifyPagePointer ( MemPage pPage,
Pgno  iFrom,
Pgno  iTo,
u8  eType 
)
static

Definition at line 61575 of file sqlite3.c.

static int moveToChild ( BtCursor pCur,
u32  newPgno 
)
static

Definition at line 63001 of file sqlite3.c.

static int moveToLeftmost ( BtCursor pCur)
static

Definition at line 63164 of file sqlite3.c.

static void moveToParent ( BtCursor pCur)
static

Definition at line 63049 of file sqlite3.c.

static int moveToRightmost ( BtCursor pCur)
static

Definition at line 63189 of file sqlite3.c.

static int moveToRoot ( BtCursor pCur)
static

Definition at line 63086 of file sqlite3.c.

static int multiSelect ( Parse pParse,
Select p,
SelectDest pDest 
)
static

Definition at line 116580 of file sqlite3.c.

static CollSeq* multiSelectCollSeq ( Parse pParse,
Select p,
int  iCol 
)
static

Definition at line 116276 of file sqlite3.c.

static int multiSelectOrderBy ( Parse pParse,
Select p,
SelectDest pDest 
)
static

Definition at line 117178 of file sqlite3.c.

static KeyInfo* multiSelectOrderByKeyInfo ( Parse pParse,
Select p,
int  nExtra 
)
static

Definition at line 116302 of file sqlite3.c.

static int multiSelectValues ( Parse pParse,
Select p,
SelectDest pDest 
)
static

Definition at line 116517 of file sqlite3.c.

static int nameInUsingClause ( IdList pUsing,
const char *  zCol 
)
static

Definition at line 88297 of file sqlite3.c.

static int newDatabase ( BtShared pBt)
static

Definition at line 61290 of file sqlite3.c.

static int nocaseCollatingFunc ( void *  NotUsed,
int  nKey1,
const void *  pKey1,
int  nKey2,
const void *  pKey2 
)
static

Definition at line 138746 of file sqlite3.c.

static int nolockCheckReservedLock ( sqlite3_file NotUsed,
int *  pResOut 
)
static

Definition at line 31395 of file sqlite3.c.

static int nolockClose ( sqlite3_file id)
static

Definition at line 31412 of file sqlite3.c.

static int nolockLock ( sqlite3_file NotUsed,
int  NotUsed2 
)
static

Definition at line 31400 of file sqlite3.c.

static int nolockUnlock ( sqlite3_file NotUsed,
int  NotUsed2 
)
static

Definition at line 31404 of file sqlite3.c.

static sqlite3_mutex* noopMutexAlloc ( int  id)
static

Definition at line 22623 of file sqlite3.c.

static int noopMutexEnd ( void  )
static

Definition at line 22622 of file sqlite3.c.

static void noopMutexEnter ( sqlite3_mutex p)
static

Definition at line 22628 of file sqlite3.c.

static void noopMutexFree ( sqlite3_mutex p)
static

Definition at line 22627 of file sqlite3.c.

static int noopMutexInit ( void  )
static

Definition at line 22621 of file sqlite3.c.

static void noopMutexLeave ( sqlite3_mutex p)
static

Definition at line 22633 of file sqlite3.c.

static int noopMutexTry ( sqlite3_mutex p)
static

Definition at line 22629 of file sqlite3.c.

static void notValid ( Parse pParse,
NameContext pNC,
const char *  zMsg,
int  validMask 
)
static

Definition at line 88714 of file sqlite3.c.

static void nullifFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 104970 of file sqlite3.c.

static int numberOfCachePages ( PCache p)
static

Definition at line 43821 of file sqlite3.c.

static u16 numericType ( Mem pMem)
static

Definition at line 77588 of file sqlite3.c.

static int openDatabase ( const char *  zFilename,
sqlite3 **  ppDb,
unsigned int  flags,
const char *  zVfs 
)
static

Definition at line 140604 of file sqlite3.c.

static int openDirectory ( const char *  zFilename,
int *  pFd 
)
static

Definition at line 32893 of file sqlite3.c.

static void openStatTable ( Parse pParse,
int  iDb,
int  iStatCur,
const char *  zWhere,
const char *  zWhereType 
)
static

Definition at line 95734 of file sqlite3.c.

static int openSubJournal ( Pager pPager)
static

Definition at line 50729 of file sqlite3.c.

static u16 operatorMask ( int  op)
static

Definition at line 126534 of file sqlite3.c.

static int osLocaltime ( time_t *  t,
struct tm *  pTm 
)
static

Definition at line 19037 of file sqlite3.c.

static Mem* out2Prerelease ( Vdbe p,
VdbeOp pOp 
)
static

Definition at line 77849 of file sqlite3.c.

static SQLITE_NOINLINE Mem* out2PrereleaseWithClear ( Mem pOut)
static

Definition at line 77844 of file sqlite3.c.

static u8* pageFindSlot ( MemPage pPg,
int  nByte,
int *  pRc 
)
static

Definition at line 59666 of file sqlite3.c.

static int pageFreeArray ( MemPage pPg,
int  iFirst,
int  nCell,
CellArray pCArray 
)
static

Definition at line 64804 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 64758 of file sqlite3.c.

static u32 pager_cksum ( Pager pPager,
const u8 aData 
)
static

Definition at line 48500 of file sqlite3.c.

static int pager_delmaster ( Pager pPager,
const char *  zMaster 
)
static

Definition at line 48821 of file sqlite3.c.

static int pager_end_transaction ( Pager pPager,
int  hasMaster,
int  bCommit 
)
static

Definition at line 48320 of file sqlite3.c.

static int pager_error ( Pager pPager,
int  rc 
)
static

Definition at line 48227 of file sqlite3.c.

static int pager_incr_changecounter ( Pager pPager,
int  isDirectMode 
)
static

Definition at line 52400 of file sqlite3.c.

static int pager_open_journal ( Pager pPager)
static

Definition at line 51916 of file sqlite3.c.

static int pager_playback ( Pager pPager,
int  isHot 
)
static

Definition at line 49074 of file sqlite3.c.

static int pager_playback_one_page ( Pager pPager,
i64 pOffset,
Bitvec pDone,
int  isMainJrnl,
int  isSavepnt 
)
static

Definition at line 48576 of file sqlite3.c.

static void pager_reset ( Pager pPager)
static

Definition at line 48060 of file sqlite3.c.

static int pager_truncate ( Pager pPager,
Pgno  nPage 
)
static

Definition at line 48931 of file sqlite3.c.

static void pager_unlock ( Pager pPager)
static

Definition at line 48130 of file sqlite3.c.

static int pager_wait_on_lock ( Pager pPager,
int  locktype 
)
static

Definition at line 50195 of file sqlite3.c.

static int pager_write ( PgHdr pPg)
static

Definition at line 52131 of file sqlite3.c.

static void pager_write_changecounter ( PgHdr pPg)
static

Definition at line 49344 of file sqlite3.c.

static int pager_write_pagelist ( Pager pPager,
PgHdr pList 
)
static

Definition at line 50637 of file sqlite3.c.

static int pagerAcquireMapPage ( Pager pPager,
Pgno  pgno,
void *  pData,
PgHdr **  ppPage 
)
static

Definition at line 50311 of file sqlite3.c.

static SQLITE_NOINLINE int pagerAddPageToRollbackJournal ( PgHdr pPg)
static

Definition at line 52074 of file sqlite3.c.

static int pagerBeginReadTransaction ( Pager pPager)
static

Definition at line 49509 of file sqlite3.c.

static void pageReinit ( DbPage pData)
static

Definition at line 60334 of file sqlite3.c.

static int pagerExclusiveLock ( Pager pPager)
static

Definition at line 53594 of file sqlite3.c.

static void pagerFixMaplimit ( Pager pPager)
static

Definition at line 49798 of file sqlite3.c.

static int pagerFlushOnCommit ( Pager pPager,
int  bCommit 
)
static

Definition at line 48260 of file sqlite3.c.

static void pagerFreeMapHdrs ( Pager pPager)
static

Definition at line 50366 of file sqlite3.c.

static int pagerLockDb ( Pager pPager,
int  eLock 
)
static

Definition at line 47487 of file sqlite3.c.

static SQLITE_NOINLINE int pagerOpenSavepoint ( Pager pPager,
int  nSavepoint 
)
static

Definition at line 52937 of file sqlite3.c.

static int pagerOpentemp ( Pager pPager,
sqlite3_file pFile,
int  vfsFlags 
)
static

Definition at line 49940 of file sqlite3.c.

static int pagerOpenWal ( Pager pPager)
static

Definition at line 53614 of file sqlite3.c.

static int pagerOpenWalIfPresent ( Pager pPager)
static

Definition at line 49602 of file sqlite3.c.

static int pagerPagecount ( Pager pPager,
Pgno pnPage 
)
static

Definition at line 49542 of file sqlite3.c.

static int pagerPlaybackSavepoint ( Pager pPager,
PagerSavepoint pSavepoint 
)
static

Definition at line 49671 of file sqlite3.c.

static void pagerReleaseMapPage ( PgHdr pPg)
static

Definition at line 50353 of file sqlite3.c.

static int pagerRollbackWal ( Pager pPager)
static

Definition at line 49410 of file sqlite3.c.

static int pagerStress ( void *  p,
PgHdr pPg 
)
static

Definition at line 50819 of file sqlite3.c.

static int pagerSyncHotJournal ( Pager pPager)
static

Definition at line 50290 of file sqlite3.c.

static int pagerUndoCallback ( void *  pCtx,
Pgno  iPg 
)
static

Definition at line 49371 of file sqlite3.c.

static void pagerUnlockAndRollback ( Pager pPager)
static

Definition at line 48466 of file sqlite3.c.

static int pagerUnlockDb ( Pager pPager,
int  eLock 
)
static

Definition at line 47460 of file sqlite3.c.

static void pagerUnlockIfUnused ( Pager pPager)
static

Definition at line 51621 of file sqlite3.c.

static int pagerWalFrames ( Pager pPager,
PgHdr pList,
Pgno  nTruncate,
int  isCommit 
)
static

Definition at line 49442 of file sqlite3.c.

static SQLITE_NOINLINE int pagerWriteLargeSector ( PgHdr pPg)
static

Definition at line 52223 of file sqlite3.c.

static int parseDateOrTime ( sqlite3_context context,
const char *  zDate,
DateTime p 
)
static

Definition at line 18924 of file sqlite3.c.

static int parseHhMmSs ( const char *  zDate,
DateTime p 
)
static

Definition at line 18773 of file sqlite3.c.

static int parseModifier ( sqlite3_context pCtx,
const char *  zMod,
DateTime p 
)
static

Definition at line 19155 of file sqlite3.c.

static ExprList* parserAddExprIdListTerm ( Parse pParse,
ExprList pPrior,
Token pIdToken,
int  hasCollate,
int  sortOrder 
)
static

Definition at line 133017 of file sqlite3.c.

static void parserDoubleLinkSelect ( Parse pParse,
Select p 
)
static

Definition at line 132900 of file sqlite3.c.

static int parseTimezone ( const char *  zDate,
DateTime p 
)
static

Definition at line 18737 of file sqlite3.c.

static int parseYyyyMmDd ( const char *  zDate,
DateTime p 
)
static

Definition at line 18861 of file sqlite3.c.

static int patternCompare ( const u8 zPattern,
const u8 zString,
const struct compareInfo pInfo,
u32  matchOther 
)
static

Definition at line 104750 of file sqlite3.c.

static void* pcache1Alloc ( int  nByte)
static

Definition at line 44766 of file sqlite3.c.

static PgHdr1* pcache1AllocPage ( PCache1 pCache,
int  benignMalloc 
)
static

Definition at line 44854 of file sqlite3.c.

static void pcache1Cachesize ( sqlite3_pcache p,
int  nMax 
)
static

Definition at line 45250 of file sqlite3.c.

static sqlite3_pcache* pcache1Create ( int  szPage,
int  szExtra,
int  bPurgeable 
)
static

Definition at line 45203 of file sqlite3.c.

static void pcache1Destroy ( sqlite3_pcache p)
static

Definition at line 45599 of file sqlite3.c.

static void pcache1EnforceMaxPage ( PCache1 pCache)
static

Definition at line 45060 of file sqlite3.c.

static sqlite3_pcache_page* pcache1Fetch ( sqlite3_pcache p,
unsigned int  iKey,
int  createFlag 
)
static

Definition at line 45477 of file sqlite3.c.

static PgHdr1* pcache1FetchNoMutex ( sqlite3_pcache p,
unsigned int  iKey,
int  createFlag 
)
static

Definition at line 45432 of file sqlite3.c.

static SQLITE_NOINLINE PgHdr1* pcache1FetchStage2 ( PCache1 pCache,
unsigned int  iKey,
int  createFlag 
)
static

Definition at line 45304 of file sqlite3.c.

static void pcache1Free ( void *  p)
static

Definition at line 44804 of file sqlite3.c.

static void pcache1FreePage ( PgHdr1 p)
static

Definition at line 44904 of file sqlite3.c.

static int pcache1Init ( void *  NotUsed)
static

Definition at line 45136 of file sqlite3.c.

static int pcache1InitBulk ( PCache1 pCache)
static

Definition at line 44723 of file sqlite3.c.

static int pcache1Pagecount ( sqlite3_pcache p)
static

Definition at line 45286 of file sqlite3.c.

static PgHdr1* pcache1PinPage ( PgHdr1 pPage)
static

Definition at line 45014 of file sqlite3.c.

static void pcache1Rekey ( sqlite3_pcache p,
sqlite3_pcache_page pPg,
unsigned int  iOld,
unsigned int  iNew 
)
static

Definition at line 45544 of file sqlite3.c.

static void pcache1RemoveFromHash ( PgHdr1 pPage,
int  freeFlag 
)
static

Definition at line 45042 of file sqlite3.c.

static void pcache1ResizeHash ( PCache1 p)
static

Definition at line 44973 of file sqlite3.c.

static void pcache1Shrink ( sqlite3_pcache p)
static

Definition at line 45269 of file sqlite3.c.

static void pcache1Shutdown ( void *  NotUsed)
static

Definition at line 45189 of file sqlite3.c.

static void pcache1Truncate ( sqlite3_pcache p,
unsigned int  iLimit 
)
static

Definition at line 45584 of file sqlite3.c.

static void pcache1TruncateUnsafe ( PCache1 pCache,
unsigned int  iLimit 
)
static

Definition at line 45085 of file sqlite3.c.

static int pcache1UnderMemoryPressure ( PCache1 pCache)
static

Definition at line 44956 of file sqlite3.c.

static void pcache1Unpin ( sqlite3_pcache p,
sqlite3_pcache_page pPg,
int  reuseUnlikely 
)
static

Definition at line 45508 of file sqlite3.c.

static SQLITE_NOINLINE PgHdr* pcacheFetchFinishWithInit ( PCache pCache,
Pgno  pgno,
sqlite3_pcache_page pPage 
)
static

Definition at line 44033 of file sqlite3.c.

static void pcacheManageDirtyList ( PgHdr pPage,
u8  addRemove 
)
static

Definition at line 43736 of file sqlite3.c.

static PgHdr* pcacheMergeDirtyList ( PgHdr pA,
PgHdr pB 
)
static

Definition at line 44270 of file sqlite3.c.

static PgHdr* pcacheSortDirtyList ( PgHdr pIn)
static

Definition at line 44307 of file sqlite3.c.

static void pcacheUnpin ( PgHdr p)
static

Definition at line 43809 of file sqlite3.c.

static void populateCellCache ( CellArray p,
int  idx,
int  N 
)
static

Definition at line 64646 of file sqlite3.c.

static int posixOpen ( const char *  zFile,
int  flags,
int  mode 
)
static

Definition at line 29723 of file sqlite3.c.

static int posixUnlock ( sqlite3_file id,
int  eFileLock,
int  handleNFSUnlock 
)
static

Definition at line 31133 of file sqlite3.c.

static void printfFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 104343 of file sqlite3.c.

static sqlite3_mutex* pthreadMutexAlloc ( int  iType)
static

Definition at line 22953 of file sqlite3.c.

static int pthreadMutexEnd ( void  )
static

Definition at line 22903 of file sqlite3.c.

static void pthreadMutexEnter ( sqlite3_mutex p)
static

Definition at line 23045 of file sqlite3.c.

static void pthreadMutexFree ( sqlite3_mutex p)
static

Definition at line 23018 of file sqlite3.c.

static int pthreadMutexInit ( void  )
static

Definition at line 22902 of file sqlite3.c.

static void pthreadMutexLeave ( sqlite3_mutex p)
static

Definition at line 23144 of file sqlite3.c.

static int pthreadMutexTry ( sqlite3_mutex p)
static

Definition at line 23087 of file sqlite3.c.

static int ptrmapGet ( BtShared pBt,
Pgno  key,
u8 pEType,
Pgno pPgno 
)
static

Definition at line 59221 of file sqlite3.c.

static Pgno ptrmapPageno ( BtShared pBt,
Pgno  pgno 
)
static

Definition at line 59145 of file sqlite3.c.

static void ptrmapPut ( BtShared pBt,
Pgno  key,
u8  eType,
Pgno  parent,
int *  pRC 
)
static

Definition at line 59169 of file sqlite3.c.

static void ptrmapPutOvflPtr ( MemPage pPage,
u8 pCell,
int *  pRC 
)
static

Definition at line 59552 of file sqlite3.c.

static int pushDownWhereTerms ( sqlite3 db,
Select pSubq,
Expr pWhere,
int  iCursor 
)
static

Definition at line 118168 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 114893 of file sqlite3.c.

static int SQLITE_NOINLINE putVarint64 ( unsigned char *  p,
u64  v 
)
static

Definition at line 28052 of file sqlite3.c.

static int querySharedCacheTableLock ( Btree p,
Pgno  iTab,
u8  eLock 
)
static

Definition at line 58490 of file sqlite3.c.

static void quoteFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 105088 of file sqlite3.c.

static void randomBlob ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 104614 of file sqlite3.c.

static void randomFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 104588 of file sqlite3.c.

static int read32bits ( sqlite3_file fd,
i64  offset,
u32 pRes 
)
static

Definition at line 47426 of file sqlite3.c.

static int readDbPage ( PgHdr pPg,
u32  iFrame 
)
static

Definition at line 49282 of file sqlite3.c.

static int readJournalHdr ( Pager pPager,
int  isHot,
i64  journalSize,
u32 pNRec,
u32 pDbSize 
)
static

Definition at line 47867 of file sqlite3.c.

static int readMasterJournal ( sqlite3_file pJrnl,
char *  zMaster,
u32  nMaster 
)
static

Definition at line 47612 of file sqlite3.c.

static int readsTable ( Parse p,
int  iDb,
Table pTab 
)
static

Definition at line 107543 of file sqlite3.c.

static int rebuildPage ( MemPage pPg,
int  nCell,
u8 **  apCell,
u16 szCell 
)
static

Definition at line 64689 of file sqlite3.c.

static int rehash ( Hash pH,
unsigned int  new_size 
)
static

Definition at line 28836 of file sqlite3.c.

static void reindexDatabases ( Parse pParse,
char const *  zColl 
)
static

Definition at line 102539 of file sqlite3.c.

static void reindexTable ( Parse pParse,
Table pTab,
char const *  zColl 
)
static

Definition at line 102520 of file sqlite3.c.

static void releaseAllSavepoints ( Pager pPager)
static

Definition at line 48079 of file sqlite3.c.

static void releaseInodeInfo ( unixFile pFile)
static

Definition at line 30604 of file sqlite3.c.

static void releaseMemArray ( Mem p,
int  N 
)
static

Definition at line 71957 of file sqlite3.c.

static void releasePage ( MemPage pPage)
static

Definition at line 60292 of file sqlite3.c.

static void releasePageNotNull ( MemPage pPage)
static

Definition at line 60283 of file sqlite3.c.

static void reloadTableSchema ( Parse pParse,
Table pTab,
const char *  zName 
)
static

Definition at line 95079 of file sqlite3.c.

static int relocatePage ( BtShared pBt,
MemPage pDbPage,
u8  eType,
Pgno  iPtrPage,
Pgno  iFreePage,
int  isCommit 
)
static

Definition at line 61637 of file sqlite3.c.

static void removeElementGivenHash ( Hash pH,
HashElem elem,
unsigned int  h 
)
static

Definition at line 28910 of file sqlite3.c.

static int removeFromSharingList ( BtShared pBt)
static

Definition at line 60669 of file sqlite3.c.

static void renameParentFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 94853 of file sqlite3.c.

static void renameTableFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 94788 of file sqlite3.c.

static void renameTriggerFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 94910 of file sqlite3.c.

static void renderLogMsg ( int  iErrCode,
const char *  zFormat,
va_list  ap 
)
static

Definition at line 25751 of file sqlite3.c.

static void replaceFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 105271 of file sqlite3.c.

static int reportError ( int  iErr,
int  lineno,
const char *  zType 
)
static

Definition at line 141138 of file sqlite3.c.

static void resetAccumulator ( Parse pParse,
AggInfo pAggInfo 
)
static

Definition at line 119021 of file sqlite3.c.

static int resizeIndexObject ( sqlite3 db,
Index pIdx,
int  N 
)
static

Definition at line 99889 of file sqlite3.c.

static void resolveAlias ( Parse pParse,
ExprList pEList,
int  iCol,
Expr pExpr,
const char *  zType,
int  nSubquery 
)
static

Definition at line 88248 of file sqlite3.c.

static int resolveAsName ( Parse pParse,
ExprList pEList,
Expr pE 
)
static

Definition at line 89020 of file sqlite3.c.

static int resolveAttachExpr ( NameContext pName,
Expr pExpr 
)
static

Definition at line 97487 of file sqlite3.c.

static int resolveCompoundOrderBy ( Parse pParse,
Select pSelect 
)
static

Definition at line 89132 of file sqlite3.c.

static int resolveExprStep ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 88756 of file sqlite3.c.

static int resolveOrderByTermToExprList ( Parse pParse,
Select pSelect,
Expr pE 
)
static

Definition at line 89059 of file sqlite3.c.

static int resolveOrderGroupBy ( NameContext pNC,
Select pSelect,
ExprList pOrderBy,
const char *  zType 
)
static

Definition at line 89281 of file sqlite3.c.

static void resolveOutOfRangeError ( Parse pParse,
const char *  zType,
int  i,
int  mx 
)
static

Definition at line 89106 of file sqlite3.c.

static void resolveP2Values ( Vdbe p,
int *  pMaxFuncArgs 
)
static

Definition at line 71022 of file sqlite3.c.

static int resolveSelectStep ( Walker pWalker,
Select p 
)
static

Definition at line 89339 of file sqlite3.c.

static void returnSingleInt ( Vdbe v,
const char *  zLabel,
i64  value 
)
static

Definition at line 111727 of file sqlite3.c.

static void returnSingleText ( Vdbe v,
const char *  zLabel,
const char *  zValue 
)
static

Definition at line 111736 of file sqlite3.c.

static void robust_close ( unixFile pFile,
int  h,
int  lineno 
)
static

Definition at line 30568 of file sqlite3.c.

static int robust_ftruncate ( int  h,
sqlite3_int64  sz 
)
static

Definition at line 30161 of file sqlite3.c.

static int robust_open ( const char *  z,
int  f,
mode_t  m 
)
static

Definition at line 30012 of file sqlite3.c.

static int robustFchown ( int  fd,
uid_t  uid,
gid_t  gid 
)
static

Definition at line 29895 of file sqlite3.c.

static void roundFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 104474 of file sqlite3.c.

static struct RowSetEntry* rowSetEntryAlloc ( RowSet p)
static

Definition at line 45895 of file sqlite3.c.

static struct RowSetEntry* rowSetEntryMerge ( struct RowSetEntry pA,
struct RowSetEntry pB 
)
static

Definition at line 45951 of file sqlite3.c.

static struct RowSetEntry* rowSetEntrySort ( struct RowSetEntry pIn)
static

Definition at line 45986 of file sqlite3.c.

static struct RowSetEntry* rowSetListToTree ( struct RowSetEntry pList)
static

Definition at line 46086 of file sqlite3.c.

static struct RowSetEntry* rowSetNDeepTree ( struct RowSetEntry **  ppList,
int  iDepth 
)
static

Definition at line 46050 of file sqlite3.c.

static void rowSetTreeToList ( struct RowSetEntry pIn,
struct RowSetEntry **  ppFirst,
struct RowSetEntry **  ppLast 
)
static

Definition at line 46015 of file sqlite3.c.

static void samplePushPrevious ( Stat4Accum p,
int  iChng 
)
static

Definition at line 96202 of file sqlite3.c.

static int saveAllCursors ( BtShared pBt,
Pgno  iRoot,
BtCursor pExcept 
)
static

Definition at line 58946 of file sqlite3.c.

static int saveCursorKey ( BtCursor pCur)
static

Definition at line 58863 of file sqlite3.c.

static int saveCursorPosition ( BtCursor pCur)
static

Definition at line 58899 of file sqlite3.c.

static int SQLITE_NOINLINE saveCursorsOnList ( BtCursor p,
Pgno  iRoot,
BtCursor pExcept 
)
static

Definition at line 58963 of file sqlite3.c.

static void schemaIsValid ( Parse pParse)
static

Definition at line 113953 of file sqlite3.c.

static struct Cte* searchWith ( With pWith,
struct SrcList_item *  pItem,
With **  ppContext 
)
static

Definition at line 118402 of file sqlite3.c.

static int seekAndRead ( unixFile id,
sqlite3_int64  offset,
void *  pBuf,
int  cnt 
)
static

Definition at line 32499 of file sqlite3.c.

static int seekAndWrite ( unixFile id,
i64  offset,
const void *  pBuf,
int  cnt 
)
static

Definition at line 32653 of file sqlite3.c.

static int seekAndWriteFd ( int  fd,
i64  iOff,
const void *  pBuf,
int  nBuf,
int *  piErrno 
)
static

Definition at line 32607 of file sqlite3.c.

static void selectAddSubqueryTypeInfo ( Walker pWalker,
Select p 
)
static

Definition at line 118938 of file sqlite3.c.

static int selectExpander ( Walker pWalker,
Select p 
)
static

Definition at line 118610 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 115060 of file sqlite3.c.

static int selectNodeIsConstant ( Walker pWalker,
Select NotUsed 
)
static

Definition at line 91459 of file sqlite3.c.

static const char* selectOpName ( int  id)
static

Definition at line 115488 of file sqlite3.c.

static void selectPopWith ( Walker pWalker,
Select p 
)
static

Definition at line 118574 of file sqlite3.c.

static u32 SQLITE_NOINLINE serialGet ( const unsigned char *  buf,
u32  serial_type,
Mem pMem 
)
static

Definition at line 73813 of file sqlite3.c.

static void setAllColumnNames ( Vdbe v,
int  N,
const char **  azCol 
)
static

Definition at line 111709 of file sqlite3.c.

static void setAllPagerFlags ( sqlite3 db)
static

Definition at line 111754 of file sqlite3.c.

static int setChildPtrmaps ( MemPage pPage)
static

Definition at line 61525 of file sqlite3.c.

static int setDateTimeToCurrent ( sqlite3_context context,
DateTime p 
)
static

Definition at line 18898 of file sqlite3.c.

static int setDestPgsz ( sqlite3_backup p)
static

Definition at line 68072 of file sqlite3.c.

static void setJoinExpr ( Expr p,
int  iTable 
)
static

Definition at line 114762 of file sqlite3.c.

static void setLikeOptFlag ( sqlite3 db,
const char *  zName,
u8  flagVal 
)
static

Definition at line 105770 of file sqlite3.c.

static void setOneColumnName ( Vdbe v,
const char *  z 
)
static

Definition at line 111720 of file sqlite3.c.

static void setPageReferenced ( IntegrityCk pCheck,
Pgno  iPg 
)
static

Definition at line 67098 of file sqlite3.c.

static void setPendingFd ( unixFile pFile)
static

Definition at line 31111 of file sqlite3.c.

static void setResultStrOrError ( sqlite3_context pCtx,
const char *  z,
int  n,
u8  enc,
void(*)(void *)  xDel 
)
static

Definition at line 75415 of file sqlite3.c.

static void setSectorSize ( Pager pPager)
static

Definition at line 49001 of file sqlite3.c.

static int setSharedCacheTableLock ( Btree p,
Pgno  iTable,
u8  eLock 
)
static

Definition at line 58562 of file sqlite3.c.

static void setStrAccumError ( StrAccum p,
u8  eError 
)
static

Definition at line 24848 of file sqlite3.c.

static int setupLookaside ( sqlite3 db,
void *  pBuf,
int  sz,
int  cnt 
)
static

Definition at line 138511 of file sqlite3.c.

static void sourceidFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 105002 of file sqlite3.c.

static void spanBinaryExpr ( Parse pParse,
int  op,
ExprSpan pLeft,
ExprSpan pRight 
)
static

Definition at line 132956 of file sqlite3.c.

static void spanExpr ( ExprSpan pOut,
Parse pParse,
int  op,
Token  t 
)
static

Definition at line 132930 of file sqlite3.c.

static void spanSet ( ExprSpan pOut,
Token pStart,
Token pEnd 
)
static

Definition at line 132921 of file sqlite3.c.

static void spanUnaryPostfix ( Parse pParse,
int  op,
ExprSpan pOperand,
Token pPostOp 
)
static

Definition at line 132977 of file sqlite3.c.

static void spanUnaryPrefix ( ExprSpan pOut,
Parse pParse,
int  op,
ExprSpan pOperand,
Token pPreOp 
)
static

Definition at line 133000 of file sqlite3.c.

int sqlite2BtreeKeyCompare ( BtCursor ,
const void *  ,
int  ,
int  ,
int *   
)
SQLITE_API void * sqlite3_aggregate_context ( sqlite3_context p,
int  nBytes 
)

Definition at line 75909 of file sqlite3.c.

SQLITE_API int sqlite3_aggregate_count ( sqlite3_context p)

Definition at line 76000 of file sqlite3.c.

SQLITE_API int sqlite3_auto_extension ( void(*)(void)  xEntryPoint)

Definition at line 110939 of file sqlite3.c.

SQLITE_API int sqlite3_backup_finish ( sqlite3_backup p)

Definition at line 68561 of file sqlite3.c.

SQLITE_API sqlite3_backup * sqlite3_backup_init ( sqlite3 pDest,
const char *  zDestName,
sqlite3 pSource,
const char *  zSourceName 
)

Definition at line 68100 of file sqlite3.c.

SQLITE_API int sqlite3_backup_pagecount ( sqlite3_backup p)

Definition at line 68627 of file sqlite3.c.

SQLITE_API int sqlite3_backup_remaining ( sqlite3_backup p)

Definition at line 68613 of file sqlite3.c.

SQLITE_API int sqlite3_backup_step ( sqlite3_backup p,
int  nPage 
)

Definition at line 68307 of file sqlite3.c.

SQLITE_API int sqlite3_bind_blob ( sqlite3_stmt pStmt,
int  i,
const void *  zData,
int  n,
void(*)(void *)  xDel 
)

Definition at line 76423 of file sqlite3.c.

SQLITE_API int sqlite3_bind_blob64 ( sqlite3_stmt pStmt,
int  i,
const void *  zData,
sqlite3_uint64  nData,
void(*)(void *)  xDel 
)

Definition at line 76435 of file sqlite3.c.

SQLITE_API int sqlite3_bind_double ( sqlite3_stmt pStmt,
int  i,
double  rValue 
)

Definition at line 76449 of file sqlite3.c.

SQLITE_API int sqlite3_bind_int ( sqlite3_stmt p,
int  i,
int  iValue 
)

Definition at line 76459 of file sqlite3.c.

SQLITE_API int sqlite3_bind_int64 ( sqlite3_stmt pStmt,
int  i,
sqlite3_int64  iValue 
)

Definition at line 76462 of file sqlite3.c.

SQLITE_API int sqlite3_bind_null ( sqlite3_stmt pStmt,
int  i 
)

Definition at line 76472 of file sqlite3.c.

SQLITE_API int sqlite3_bind_parameter_count ( sqlite3_stmt pStmt)

Definition at line 76577 of file sqlite3.c.

SQLITE_API int sqlite3_bind_parameter_index ( sqlite3_stmt pStmt,
const char *  zName 
)

Definition at line 76616 of file sqlite3.c.

SQLITE_API const char * sqlite3_bind_parameter_name ( sqlite3_stmt pStmt,
int  i 
)

Definition at line 76588 of file sqlite3.c.

SQLITE_API int sqlite3_bind_text ( sqlite3_stmt pStmt,
int  i,
const char *  zData,
int  nData,
void(*)(void *)  xDel 
)

Definition at line 76481 of file sqlite3.c.

SQLITE_API int sqlite3_bind_text16 ( sqlite3_stmt pStmt,
int  i,
const void *  zData,
int  nData,
void(*)(void *)  xDel 
)

Definition at line 76507 of file sqlite3.c.

SQLITE_API int sqlite3_bind_text64 ( sqlite3_stmt pStmt,
int  i,
const char *  zData,
sqlite3_uint64  nData,
void(*)(void *)  xDel,
unsigned char  encoding 
)

Definition at line 76490 of file sqlite3.c.

SQLITE_API int sqlite3_bind_value ( sqlite3_stmt pStmt,
int  i,
const sqlite3_value pValue 
)

Definition at line 76517 of file sqlite3.c.

SQLITE_API int sqlite3_bind_zeroblob ( sqlite3_stmt pStmt,
int  i,
int  n 
)

Definition at line 76548 of file sqlite3.c.

SQLITE_API int sqlite3_bind_zeroblob64 ( sqlite3_stmt pStmt,
int  i,
sqlite3_uint64  n 
)

Definition at line 76558 of file sqlite3.c.

SQLITE_API int sqlite3_blob_bytes ( sqlite3_blob pBlob)

Definition at line 84794 of file sqlite3.c.

SQLITE_API int sqlite3_blob_close ( sqlite3_blob pBlob)

Definition at line 84684 of file sqlite3.c.

SQLITE_API int 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 84443 of file sqlite3.c.

SQLITE_API int sqlite3_blob_read ( sqlite3_blob pBlob,
void *  Z,
int  N,
int  iOffset 
)

Definition at line 84777 of file sqlite3.c.

SQLITE_API int sqlite3_blob_reopen ( sqlite3_blob pBlob,
sqlite3_int64  iRow 
)

Definition at line 84809 of file sqlite3.c.

SQLITE_API int sqlite3_blob_write ( sqlite3_blob pBlob,
const void *  z,
int  n,
int  iOffset 
)

Definition at line 84784 of file sqlite3.c.

SQLITE_API int sqlite3_busy_handler ( sqlite3 db,
int(*)(void *, int)  xBusy,
void *  pArg 
)

Definition at line 139348 of file sqlite3.c.

SQLITE_API int sqlite3_busy_timeout ( sqlite3 db,
int  ms 
)

Definition at line 139402 of file sqlite3.c.

SQLITE_API int sqlite3_cancel_auto_extension ( void(*)(void)  xEntryPoint)

Definition at line 110986 of file sqlite3.c.

SQLITE_API int sqlite3_changes ( sqlite3 db)

Definition at line 138776 of file sqlite3.c.

SQLITE_API int sqlite3_clear_bindings ( sqlite3_stmt pStmt)

Definition at line 75262 of file sqlite3.c.

SQLITE_API int sqlite3_close ( sqlite3 db)

Definition at line 138940 of file sqlite3.c.

SQLITE_API int sqlite3_close_v2 ( sqlite3 db)

Definition at line 138941 of file sqlite3.c.

SQLITE_API int sqlite3_collation_needed ( sqlite3 db,
void *  pCollNeededArg,
void(*)(void *, sqlite3 *, int eTextRep, const char *)  xCollNeeded 
)

Definition at line 141063 of file sqlite3.c.

SQLITE_API int sqlite3_collation_needed16 ( sqlite3 db,
void *  pCollNeededArg,
void(*)(void *, sqlite3 *, int eTextRep, const void *)  xCollNeeded16 
)

Definition at line 141084 of file sqlite3.c.

SQLITE_API const void * sqlite3_column_blob ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 76122 of file sqlite3.c.

SQLITE_API int sqlite3_column_bytes ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 76132 of file sqlite3.c.

SQLITE_API int sqlite3_column_bytes16 ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 76137 of file sqlite3.c.

SQLITE_API int sqlite3_column_count ( sqlite3_stmt pStmt)

Definition at line 76009 of file sqlite3.c.

SQLITE_API const char* sqlite3_column_database_name ( sqlite3_stmt ,
int   
)
SQLITE_API const void* sqlite3_column_database_name16 ( sqlite3_stmt ,
int   
)
SQLITE_API const char * sqlite3_column_decltype ( sqlite3_stmt pStmt,
int  N 
)

Definition at line 76267 of file sqlite3.c.

SQLITE_API const void * sqlite3_column_decltype16 ( sqlite3_stmt pStmt,
int  N 
)

Definition at line 76272 of file sqlite3.c.

SQLITE_API double sqlite3_column_double ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 76142 of file sqlite3.c.

SQLITE_API int sqlite3_column_int ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 76147 of file sqlite3.c.

SQLITE_API sqlite_int64 sqlite3_column_int64 ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 76152 of file sqlite3.c.

SQLITE_API const char * sqlite3_column_name ( sqlite3_stmt pStmt,
int  N 
)

Definition at line 76242 of file sqlite3.c.

SQLITE_API const void * sqlite3_column_name16 ( sqlite3_stmt pStmt,
int  N 
)

Definition at line 76247 of file sqlite3.c.

SQLITE_API const char* sqlite3_column_origin_name ( sqlite3_stmt ,
int   
)
SQLITE_API const void* sqlite3_column_origin_name16 ( sqlite3_stmt ,
int   
)
SQLITE_API const char* sqlite3_column_table_name ( sqlite3_stmt ,
int   
)
SQLITE_API const void* sqlite3_column_table_name16 ( sqlite3_stmt ,
int   
)
SQLITE_API const unsigned char * sqlite3_column_text ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 76157 of file sqlite3.c.

SQLITE_API const void * sqlite3_column_text16 ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 76172 of file sqlite3.c.

SQLITE_API int sqlite3_column_type ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 76178 of file sqlite3.c.

SQLITE_API sqlite3_value * sqlite3_column_value ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 76162 of file sqlite3.c.

SQLITE_API void * sqlite3_commit_hook ( sqlite3 db,
int(*)(void *)  xCallback,
void *  pArg 
)

Definition at line 139742 of file sqlite3.c.

SQLITE_API const char * sqlite3_compileoption_get ( int  N)

Definition at line 17659 of file sqlite3.c.

SQLITE_API int sqlite3_compileoption_used ( const char *  zOptName)

Definition at line 17631 of file sqlite3.c.

SQLITE_API int sqlite3_complete ( const char *  sql)

Definition at line 137570 of file sqlite3.c.

SQLITE_API int sqlite3_complete16 ( const void *  sql)

Definition at line 137735 of file sqlite3.c.

SQLITE_API int sqlite3_config ( int  op,
  ... 
)

Definition at line 138205 of file sqlite3.c.

SQLITE_API sqlite3 * sqlite3_context_db_handle ( sqlite3_context p)

Definition at line 75833 of file sqlite3.c.

SQLITE_API int sqlite3_create_collation ( sqlite3 db,
const char *  zName,
int  eTextRep,
void *  pArg,
int(*)(void *, int, const void *, int, const void *)  xCompare 
)

Definition at line 140995 of file sqlite3.c.

SQLITE_API int sqlite3_create_collation16 ( sqlite3 db,
const void *  zName,
int  eTextRep,
void *  pArg,
int(*)(void *, int, const void *, int, const void *)  xCompare 
)

Definition at line 141033 of file sqlite3.c.

SQLITE_API int 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 141008 of file sqlite3.c.

SQLITE_API int 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 139534 of file sqlite3.c.

SQLITE_API int 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 139591 of file sqlite3.c.

SQLITE_API int 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 139548 of file sqlite3.c.

SQLITE_API int sqlite3_create_module ( sqlite3 db,
const char *  zName,
const sqlite3_module p,
void *  pClientData 
)

Definition at line 122638 of file sqlite3.c.

SQLITE_API int sqlite3_create_module_v2 ( sqlite3 db,
const char *  zName,
const sqlite3_module p,
void *  pClientData,
void(*)(void *)  xDestroy 
)

Definition at line 122653 of file sqlite3.c.

SQLITE_API int sqlite3_data_count ( sqlite3_stmt pStmt)

Definition at line 76018 of file sqlite3.c.

SQLITE_API int sqlite3_db_cacheflush ( sqlite3 db)

Definition at line 138608 of file sqlite3.c.

SQLITE_API int sqlite3_db_config ( sqlite3 db,
int  op,
  ... 
)

Definition at line 138637 of file sqlite3.c.

SQLITE_API const char * sqlite3_db_filename ( sqlite3 db,
const char *  zDbName 
)

Definition at line 141779 of file sqlite3.c.

SQLITE_API sqlite3 * sqlite3_db_handle ( sqlite3_stmt pStmt)

Definition at line 76672 of file sqlite3.c.

SQLITE_API sqlite3_mutex * sqlite3_db_mutex ( sqlite3 db)

Definition at line 138570 of file sqlite3.c.

SQLITE_API int sqlite3_db_readonly ( sqlite3 db,
const char *  zDbName 
)

Definition at line 141795 of file sqlite3.c.

SQLITE_API int sqlite3_db_release_memory ( sqlite3 db)

Definition at line 138584 of file sqlite3.c.

SQLITE_API int sqlite3_db_status ( sqlite3 db,
int  op,
int *  pCur,
int *  pHiwtr,
int  resetFlg 
)

Definition at line 18398 of file sqlite3.c.

SQLITE_API int sqlite3_declare_vtab ( sqlite3 db,
const char *  zSQL 
)

Definition at line 123277 of file sqlite3.c.

SQLITE_API int sqlite3_enable_load_extension ( sqlite3 db,
int  onoff 
)

Definition at line 110893 of file sqlite3.c.

SQLITE_API int sqlite3_enable_shared_cache ( int  enable)

Definition at line 58332 of file sqlite3.c.

SQLITE_API int sqlite3_errcode ( sqlite3 db)

Definition at line 140134 of file sqlite3.c.

SQLITE_API const char * sqlite3_errmsg ( sqlite3 db)

Definition at line 140061 of file sqlite3.c.

SQLITE_API const void * sqlite3_errmsg16 ( sqlite3 db)

Definition at line 140089 of file sqlite3.c.

SQLITE_API const char * sqlite3_errstr ( int  rc)

Definition at line 140161 of file sqlite3.c.

SQLITE_API int sqlite3_exec ( sqlite3 db,
const char *  sql,
int(*)(void *, int, char **, char **)  callback,
void *  pArg,
char **  errmsg 
)

Definition at line 109600 of file sqlite3.c.

SQLITE_API char * sqlite3_expanded_sql ( sqlite3_stmt pStmt)

Definition at line 76750 of file sqlite3.c.

SQLITE_API int sqlite3_expired ( sqlite3_stmt pStmt)

Definition at line 75145 of file sqlite3.c.

SQLITE_API int sqlite3_extended_errcode ( sqlite3 db)

Definition at line 140143 of file sqlite3.c.

SQLITE_API int sqlite3_extended_result_codes ( sqlite3 db,
int  onoff 
)

Definition at line 141316 of file sqlite3.c.

SQLITE_API int sqlite3_file_control ( sqlite3 db,
const char *  zDbName,
int  op,
void *  pArg 
)

Definition at line 141329 of file sqlite3.c.

SQLITE_API int sqlite3_finalize ( sqlite3_stmt pStmt)

Definition at line 75214 of file sqlite3.c.

SQLITE_API void sqlite3_free ( void *  p)

Definition at line 24322 of file sqlite3.c.

SQLITE_API void sqlite3_free_table ( char **  result)

Definition at line 120252 of file sqlite3.c.

SQLITE_API int sqlite3_get_autocommit ( sqlite3 db)

Definition at line 141117 of file sqlite3.c.

SQLITE_API void * sqlite3_get_auxdata ( sqlite3_context pCtx,
int  N 
)

Definition at line 75924 of file sqlite3.c.

SQLITE_API int sqlite3_get_table ( sqlite3 db,
const char *  zSql,
char ***  pazResult,
int *  pnRow,
int *  pnColumn,
char **  pzErrmsg 
)

Definition at line 120183 of file sqlite3.c.

static int sqlite3_get_table_cb ( void *  pArg,
int  nCol,
char **  argv,
char **  colv 
)
static

Definition at line 120109 of file sqlite3.c.

SQLITE_API int sqlite3_global_recover ( void  )

Definition at line 141106 of file sqlite3.c.

SQLITE_API int sqlite3_initialize ( void  )

Definition at line 137985 of file sqlite3.c.

SQLITE_API void sqlite3_interrupt ( sqlite3 db)

Definition at line 139418 of file sqlite3.c.

SQLITE_API sqlite_int64 sqlite3_last_insert_rowid ( sqlite3 db)

Definition at line 138763 of file sqlite3.c.

SQLITE_API const char * sqlite3_libversion ( void  )

Definition at line 137895 of file sqlite3.c.

SQLITE_API int sqlite3_libversion_number ( void  )

Definition at line 137906 of file sqlite3.c.

SQLITE_API int sqlite3_limit ( sqlite3 db,
int  id,
int  newVal 
)

Definition at line 140309 of file sqlite3.c.

SQLITE_API int sqlite3_load_extension ( sqlite3 db,
const char *  zFile,
const char *  zProc,
char **  pzErrMsg 
)

Definition at line 110862 of file sqlite3.c.

SQLITE_API void sqlite3_log ( int  iErrCode,
const char *  zFormat,
  ... 
)

Definition at line 25764 of file sqlite3.c.

SQLITE_API void * sqlite3_malloc ( int  n)

Definition at line 24164 of file sqlite3.c.

SQLITE_API void * sqlite3_malloc64 ( sqlite3_uint64  n)

Definition at line 24170 of file sqlite3.c.

SQLITE_API SQLITE_DEPRECATED int sqlite3_memory_alarm ( void(*)(void *, sqlite3_int64, int)  ,
void *  ,
sqlite3_int64   
)
SQLITE_API int sqlite3_memory_alarm ( void(*)(void *pArg, sqlite3_int64 used, int N)  xCallback,
void *  pArg,
sqlite3_int64  iThreshold 
)

Definition at line 23966 of file sqlite3.c.

SQLITE_API sqlite3_int64 sqlite3_memory_highwater ( int  resetFlag)

Definition at line 24084 of file sqlite3.c.

SQLITE_API sqlite3_int64 sqlite3_memory_used ( void  )

Definition at line 24073 of file sqlite3.c.

SQLITE_API char * sqlite3_mprintf ( const char *  zFormat,
  ... 
)

Definition at line 25689 of file sqlite3.c.

SQLITE_API sqlite3_uint64 sqlite3_msize ( void *  p)

Definition at line 24313 of file sqlite3.c.

SQLITE_API sqlite3_mutex * sqlite3_mutex_alloc ( int  id)

Definition at line 22500 of file sqlite3.c.

SQLITE_API void sqlite3_mutex_enter ( sqlite3_mutex p)

Definition at line 22532 of file sqlite3.c.

SQLITE_API void sqlite3_mutex_free ( sqlite3_mutex p)

Definition at line 22521 of file sqlite3.c.

SQLITE_API int sqlite3_mutex_held ( sqlite3_mutex )
SQLITE_API void sqlite3_mutex_leave ( sqlite3_mutex p)

Definition at line 22558 of file sqlite3.c.

SQLITE_API int sqlite3_mutex_notheld ( sqlite3_mutex )
SQLITE_API int sqlite3_mutex_try ( sqlite3_mutex p)

Definition at line 22543 of file sqlite3.c.

SQLITE_API sqlite3_stmt * sqlite3_next_stmt ( sqlite3 pDb,
sqlite3_stmt pStmt 
)

Definition at line 76698 of file sqlite3.c.

SQLITE_API int sqlite3_open ( const char *  filename,
sqlite3 **  ppDb 
)

Definition at line 140936 of file sqlite3.c.

SQLITE_API int sqlite3_open16 ( const void *  filename,
sqlite3 **  ppDb 
)

Definition at line 140956 of file sqlite3.c.

SQLITE_API int sqlite3_open_v2 ( const char *  filename,
sqlite3 **  ppDb,
int  flags,
const char *  zVfs 
)

Definition at line 140943 of file sqlite3.c.

SQLITE_API int sqlite3_os_end ( void  )

Definition at line 36993 of file sqlite3.c.

SQLITE_API int sqlite3_os_init ( void  )

Definition at line 36894 of file sqlite3.c.

SQLITE_API int sqlite3_overload_function ( sqlite3 db,
const char *  zFuncName,
int  nArg 
)

Definition at line 139631 of file sqlite3.c.

SQLITE_API int sqlite3_prepare ( sqlite3 db,
const char *  zSql,
int  nByte,
sqlite3_stmt **  ppStmt,
const char **  pzTail 
)

Definition at line 114273 of file sqlite3.c.

SQLITE_API int sqlite3_prepare16 ( sqlite3 db,
const void *  zSql,
int  nByte,
sqlite3_stmt **  ppStmt,
const void **  pzTail 
)

Definition at line 114361 of file sqlite3.c.

SQLITE_API int sqlite3_prepare16_v2 ( sqlite3 db,
const void *  zSql,
int  nByte,
sqlite3_stmt **  ppStmt,
const void **  pzTail 
)

Definition at line 114373 of file sqlite3.c.

SQLITE_API int sqlite3_prepare_v2 ( sqlite3 db,
const char *  zSql,
int  nByte,
sqlite3_stmt **  ppStmt,
const char **  pzTail 
)

Definition at line 114285 of file sqlite3.c.

SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_preupdate_count ( sqlite3 )
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_preupdate_depth ( sqlite3 )
SQLITE_API SQLITE_EXPERIMENTAL void* 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 sqlite3_preupdate_new ( sqlite3 ,
int  ,
sqlite3_value **   
)
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_preupdate_old ( sqlite3 ,
int  ,
sqlite3_value **   
)
SQLITE_API void * sqlite3_profile ( sqlite3 db,
void(*)(void *, const char *, sqlite3_uint64 xProfile,
void *  pArg 
)

Definition at line 139714 of file sqlite3.c.

SQLITE_API void sqlite3_progress_handler ( sqlite3 db,
int  nOps,
int(*)(void *)  xProgress,
void *  pArg 
)

Definition at line 139371 of file sqlite3.c.

SQLITE_API void sqlite3_randomness ( int  N,
void *  P 
)

Definition at line 26358 of file sqlite3.c.

SQLITE_API void * sqlite3_realloc ( void *  pOld,
int  n 
)

Definition at line 24431 of file sqlite3.c.

SQLITE_API void * sqlite3_realloc64 ( void *  pOld,
sqlite3_uint64  n 
)

Definition at line 24438 of file sqlite3.c.

SQLITE_API int sqlite3_release_memory ( int  n)

Definition at line 23907 of file sqlite3.c.

SQLITE_API int sqlite3_reset ( sqlite3_stmt pStmt)

Definition at line 75241 of file sqlite3.c.

SQLITE_API void sqlite3_reset_auto_extension ( void  )

Definition at line 111011 of file sqlite3.c.

SQLITE_API void sqlite3_result_blob ( sqlite3_context pCtx,
const void *  z,
int  n,
void(*)(void *)  xDel 
)

Definition at line 75442 of file sqlite3.c.

SQLITE_API void sqlite3_result_blob64 ( sqlite3_context pCtx,
const void *  z,
sqlite3_uint64  n,
void(*)(void *)  xDel 
)

Definition at line 75452 of file sqlite3.c.

SQLITE_API void sqlite3_result_double ( sqlite3_context pCtx,
double  rVal 
)

Definition at line 75466 of file sqlite3.c.

SQLITE_API void sqlite3_result_error ( sqlite3_context pCtx,
const char *  z,
int  n 
)

Definition at line 75470 of file sqlite3.c.

SQLITE_API void sqlite3_result_error16 ( sqlite3_context pCtx,
const void *  z,
int  n 
)

Definition at line 75477 of file sqlite3.c.

SQLITE_API void sqlite3_result_error_code ( sqlite3_context pCtx,
int  errCode 
)

Definition at line 75573 of file sqlite3.c.

SQLITE_API void sqlite3_result_error_nomem ( sqlite3_context pCtx)

Definition at line 75595 of file sqlite3.c.

SQLITE_API void sqlite3_result_error_toobig ( sqlite3_context pCtx)

Definition at line 75586 of file sqlite3.c.

SQLITE_API void sqlite3_result_int ( sqlite3_context pCtx,
int  iVal 
)

Definition at line 75484 of file sqlite3.c.

SQLITE_API void sqlite3_result_int64 ( sqlite3_context pCtx,
sqlite3_int64  iVal 
)

Definition at line 75488 of file sqlite3.c.

SQLITE_API void sqlite3_result_null ( sqlite3_context pCtx)

Definition at line 75492 of file sqlite3.c.

SQLITE_API void sqlite3_result_subtype ( sqlite3_context pCtx,
unsigned int  eSubtype 
)

Definition at line 75496 of file sqlite3.c.

SQLITE_API void sqlite3_result_text ( sqlite3_context pCtx,
const char *  z,
int  n,
void(*)(void *)  xDel 
)

Definition at line 75502 of file sqlite3.c.

SQLITE_API void sqlite3_result_text16 ( sqlite3_context pCtx,
const void *  z,
int  n,
void(*)(void *)  xDel 
)

Definition at line 75528 of file sqlite3.c.

SQLITE_API void sqlite3_result_text16be ( sqlite3_context pCtx,
const void *  z,
int  n,
void(*)(void *)  xDel 
)

Definition at line 75537 of file sqlite3.c.

SQLITE_API void sqlite3_result_text16le ( sqlite3_context pCtx,
const void *  z,
int  n,
void(*)(void *)  xDel 
)

Definition at line 75546 of file sqlite3.c.

SQLITE_API void sqlite3_result_text64 ( sqlite3_context pCtx,
const char *  z,
sqlite3_uint64  n,
void(*)(void *)  xDel,
unsigned char  encoding 
)

Definition at line 75511 of file sqlite3.c.

SQLITE_API void sqlite3_result_value ( sqlite3_context pCtx,
sqlite3_value pValue 
)

Definition at line 75556 of file sqlite3.c.

SQLITE_API void sqlite3_result_zeroblob ( sqlite3_context pCtx,
int  n 
)

Definition at line 75560 of file sqlite3.c.

SQLITE_API int sqlite3_result_zeroblob64 ( sqlite3_context pCtx,
sqlite3_uint64  n 
)

Definition at line 75564 of file sqlite3.c.

SQLITE_API void * sqlite3_rollback_hook ( sqlite3 db,
void(*)(void *)  xCallback,
void *  pArg 
)

Definition at line 139792 of file sqlite3.c.

SQLITE_API int sqlite3_rtree_geometry_callback ( sqlite3 db,
const char *  zGeom,
int(*)(sqlite3_rtree_geometry *, int, sqlite3_rtree_dbl *, int *)  xGeom,
void *  pContext 
)
SQLITE_API int sqlite3_rtree_query_callback ( sqlite3 db,
const char *  zQueryFunc,
int(*)(sqlite3_rtree_query_info *)  xQueryFunc,
void *  pContext,
void(*)(void *)  xDestructor 
)
SQLITE_API int sqlite3_set_authorizer ( sqlite3 db,
int(*)(void *, int, const char *, const char *, const char *, const char *)  xAuth,
void *  pUserData 
)

Definition at line 98107 of file sqlite3.c.

SQLITE_API void sqlite3_set_auxdata ( sqlite3_context pCtx,
int  N,
void *  pAux,
void(*)(void *)  xDelete 
)

Definition at line 75945 of file sqlite3.c.

SQLITE_API int sqlite3_shutdown ( void  )

Definition at line 138151 of file sqlite3.c.

SQLITE_API int sqlite3_sleep ( int  ms)

Definition at line 141300 of file sqlite3.c.

SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_cmp ( sqlite3_snapshot p1,
sqlite3_snapshot p2 
)
SQLITE_API SQLITE_EXPERIMENTAL void sqlite3_snapshot_free ( sqlite3_snapshot )
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_get ( sqlite3 db,
const char *  zSchema,
sqlite3_snapshot **  ppSnapshot 
)
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_open ( sqlite3 db,
const char *  zSchema,
sqlite3_snapshot pSnapshot 
)
SQLITE_API char * sqlite3_snprintf ( int  n,
char *  zBuf,
const char *  zFormat,
  ... 
)

Definition at line 25728 of file sqlite3.c.

SQLITE_API void sqlite3_soft_heap_limit ( int  N)

Definition at line 24004 of file sqlite3.c.

SQLITE_API sqlite3_int64 sqlite3_soft_heap_limit64 ( sqlite3_int64  N)

Definition at line 23982 of file sqlite3.c.

SQLITE_API const char * sqlite3_sourceid ( void  )

Definition at line 137901 of file sqlite3.c.

SQLITE_API const char * sqlite3_sql ( sqlite3_stmt pStmt)

Definition at line 76736 of file sqlite3.c.

SQLITE_API int sqlite3_status ( int  op,
int *  pCurrent,
int *  pHighwater,
int  resetFlag 
)

Definition at line 18381 of file sqlite3.c.

SQLITE_API int sqlite3_status64 ( int  op,
sqlite3_int64 pCurrent,
sqlite3_int64 pHighwater,
int  resetFlag 
)

Definition at line 18356 of file sqlite3.c.

SQLITE_API int sqlite3_step ( sqlite3_stmt pStmt)

Definition at line 75767 of file sqlite3.c.

SQLITE_API int sqlite3_stmt_busy ( sqlite3_stmt pStmt)

Definition at line 76687 of file sqlite3.c.

SQLITE_API int sqlite3_stmt_readonly ( sqlite3_stmt pStmt)

Definition at line 76680 of file sqlite3.c.

SQLITE_API int sqlite3_stmt_scanstatus ( sqlite3_stmt pStmt,
int  idx,
int  iScanStatusOp,
void *  pOut 
)
SQLITE_API void sqlite3_stmt_scanstatus_reset ( sqlite3_stmt )
SQLITE_API int sqlite3_stmt_status ( sqlite3_stmt pStmt,
int  op,
int  resetFlg 
)

Definition at line 76719 of file sqlite3.c.

SQLITE_API int sqlite3_strglob ( const char *  zGlob,
const char *  zStr 
)

Definition at line 104872 of file sqlite3.c.

SQLITE_API int sqlite3_stricmp ( const char *  zLeft,
const char *  zRight 
)

Definition at line 27561 of file sqlite3.c.

SQLITE_API int sqlite3_strlike ( const char *  zGlob,
const char *  zStr,
unsigned int  cEsc 
)

Definition at line 104879 of file sqlite3.c.

SQLITE_API int sqlite3_strnicmp ( const char *  zLeft,
const char *  zRight,
int  N 
)

Definition at line 27582 of file sqlite3.c.

SQLITE_API int sqlite3_system_errno ( sqlite3 db)

Definition at line 140152 of file sqlite3.c.

SQLITE_API int 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 141182 of file sqlite3.c.

SQLITE_API int sqlite3_test_control ( int  op,
  ... 
)

Definition at line 141369 of file sqlite3.c.

SQLITE_API void sqlite3_thread_cleanup ( void  )

Definition at line 141174 of file sqlite3.c.

SQLITE_API int sqlite3_threadsafe ( void  )

Definition at line 137912 of file sqlite3.c.

SQLITE_API int sqlite3_total_changes ( sqlite3 db)

Definition at line 138789 of file sqlite3.c.

SQLITE_API void * sqlite3_trace ( sqlite3 db,
void(*)(void *, const char *)  xTrace,
void *  pArg 
)

Definition at line 139663 of file sqlite3.c.

SQLITE_API int sqlite3_trace_v2 ( sqlite3 db,
unsigned  uMask,
int(*)(unsigned, void *, void *, void *)  xCallback,
void *  pCtx 
)

Definition at line 139684 of file sqlite3.c.

SQLITE_API int sqlite3_transfer_bindings ( sqlite3_stmt pFromStmt,
sqlite3_stmt pToStmt 
)

Definition at line 76650 of file sqlite3.c.

SQLITE_API int sqlite3_unlock_notify ( sqlite3 pBlocked,
void(*)(void **apArg, int nArg)  xNotify,
void *  pNotifyArg 
)
SQLITE_API void * sqlite3_update_hook ( sqlite3 db,
void(*)(void *, int,char const *, char const *, sqlite3_int64 xCallback,
void *  pArg 
)

Definition at line 139767 of file sqlite3.c.

SQLITE_API int sqlite3_uri_boolean ( const char *  zFile,
const char *  zParam,
int  bDefault 
)

Definition at line 141738 of file sqlite3.c.

SQLITE_API sqlite3_int64 sqlite3_uri_int64 ( const char *  zFilename,
const char *  zParam,
sqlite3_int64  bDflt 
)

Definition at line 141747 of file sqlite3.c.

SQLITE_API const char * sqlite3_uri_parameter ( const char *  zFilename,
const char *  zParam 
)

Definition at line 141723 of file sqlite3.c.

SQLITE_API void * sqlite3_user_data ( sqlite3_context p)

Definition at line 75818 of file sqlite3.c.

SQLITE_API const void * sqlite3_value_blob ( sqlite3_value pVal)

Definition at line 75286 of file sqlite3.c.

SQLITE_API int sqlite3_value_bytes ( sqlite3_value pVal)

Definition at line 75299 of file sqlite3.c.

SQLITE_API int sqlite3_value_bytes16 ( sqlite3_value pVal)

Definition at line 75302 of file sqlite3.c.

SQLITE_API double sqlite3_value_double ( sqlite3_value pVal)

Definition at line 75305 of file sqlite3.c.

SQLITE_API sqlite3_value * sqlite3_value_dup ( const sqlite3_value pOrig)

Definition at line 75376 of file sqlite3.c.

SQLITE_API void sqlite3_value_free ( sqlite3_value pOld)

Definition at line 75399 of file sqlite3.c.

SQLITE_API int sqlite3_value_int ( sqlite3_value pVal)

Definition at line 75308 of file sqlite3.c.

SQLITE_API sqlite_int64 sqlite3_value_int64 ( sqlite3_value pVal)

Definition at line 75311 of file sqlite3.c.

SQLITE_API int sqlite3_value_numeric_type ( sqlite3_value pVal)

Definition at line 77541 of file sqlite3.c.

SQLITE_API unsigned int sqlite3_value_subtype ( sqlite3_value pVal)

Definition at line 75314 of file sqlite3.c.

SQLITE_API const unsigned char * sqlite3_value_text ( sqlite3_value pVal)

Definition at line 75318 of file sqlite3.c.

SQLITE_API const void * sqlite3_value_text16 ( sqlite3_value pVal)

Definition at line 75322 of file sqlite3.c.

SQLITE_API const void * sqlite3_value_text16be ( sqlite3_value pVal)

Definition at line 75325 of file sqlite3.c.

SQLITE_API const void * sqlite3_value_text16le ( sqlite3_value pVal)

Definition at line 75328 of file sqlite3.c.

SQLITE_API int sqlite3_value_type ( sqlite3_value pVal)

Definition at line 75336 of file sqlite3.c.

SQLITE_API sqlite3_vfs * sqlite3_vfs_find ( const char *  zVfsName)

Definition at line 20075 of file sqlite3.c.

SQLITE_API int sqlite3_vfs_register ( sqlite3_vfs pVfs,
int  makeDflt 
)

Definition at line 20121 of file sqlite3.c.

SQLITE_API int sqlite3_vfs_unregister ( sqlite3_vfs pVfs)

Definition at line 20149 of file sqlite3.c.

SQLITE_API char * sqlite3_vmprintf ( const char *  zFormat,
va_list  ap 
)

Definition at line 25665 of file sqlite3.c.

SQLITE_API char * sqlite3_vsnprintf ( int  n,
char *  zBuf,
const char *  zFormat,
va_list  ap 
)

Definition at line 25714 of file sqlite3.c.

SQLITE_API int sqlite3_vtab_config ( sqlite3 db,
int  op,
  ... 
)

Definition at line 123752 of file sqlite3.c.

SQLITE_API int sqlite3_vtab_on_conflict ( sqlite3 db)

Definition at line 123734 of file sqlite3.c.

SQLITE_API int sqlite3_wal_autocheckpoint ( sqlite3 db,
int  N 
)

Definition at line 139867 of file sqlite3.c.

SQLITE_API int sqlite3_wal_checkpoint ( sqlite3 db,
const char *  zDb 
)

Definition at line 139970 of file sqlite3.c.

SQLITE_API int sqlite3_wal_checkpoint_v2 ( sqlite3 db,
const char *  zDb,
int  eMode,
int *  pnLog,
int *  pnCkpt 
)

Definition at line 139915 of file sqlite3.c.

SQLITE_API void * sqlite3_wal_hook ( sqlite3 db,
int(*)(void *, sqlite3 *, const char *, int)  xCallback,
void *  pArg 
)

Definition at line 139888 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3AbsInt32 ( int  x)

Definition at line 28602 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AddCheckConstraint ( Parse pParse,
Expr pCheckExpr 
)

Definition at line 99645 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AddCollateType ( Parse pParse,
Token pToken 
)

Definition at line 99670 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AddColumn ( Parse pParse,
Token pName,
Token pType 
)

Definition at line 99336 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AddDefaultValue ( Parse pParse,
ExprSpan pSpan 
)

Definition at line 99503 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3AddInt64 ( i64 pA,
i64  iB 
)

Definition at line 28553 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AddNotNull ( Parse pParse,
int  onError 
)

Definition at line 99399 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AddPrimaryKey ( Parse pParse,
ExprList pList,
int  onError,
int  autoInc,
int  sortOrder 
)

Definition at line 99575 of file sqlite3.c.

SQLITE_PRIVATE char sqlite3AffinityType ( const char *  zIn,
u8 pszEst 
)

Definition at line 99431 of file sqlite3.c.

SQLITE_PRIVATE Index * sqlite3AllocateIndexObject ( sqlite3 db,
i16  nCol,
int  nExtra,
char **  ppExtra 
)

Definition at line 101138 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AlterBeginAddColumn ( Parse pParse,
SrcList pSrc 
)

Definition at line 95482 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AlterFinishAddColumn ( Parse pParse,
Token pColDef 
)

Definition at line 95344 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AlterFunctions ( void  )

Definition at line 94982 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AlterRenameTable ( Parse pParse,
SrcList pSrc,
Token pName 
)

Definition at line 95140 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3AnalysisLoad ( sqlite3 db,
int  iDB 
)

Definition at line 97387 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Analyze ( Parse pParse,
Token pName1,
Token pName2 
)

Definition at line 96905 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ApiExit ( sqlite3 db,
int  rc 
)

Definition at line 24697 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AppendChar ( StrAccum p,
int  N,
char  c 
)

Definition at line 25518 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3ArrayAllocate ( sqlite3 db,
void *  pArray,
int  szEntry,
int *  pnEntry,
int *  pIdx 
)

Definition at line 101846 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3AtoF ( const char *  z,
double *  pResult,
int  length,
u8  enc 
)

Definition at line 27617 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Atoi ( const char *  z)

Definition at line 28017 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Atoi64 ( const char *  zNum,
i64 pNum,
int  length,
u8  enc 
)

Definition at line 27843 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Attach ( Parse pParse,
Expr p,
Expr pDbname,
Expr pKey 
)

Definition at line 97858 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3AuthCheck ( Parse pParse,
int  code,
const char *  zArg1,
const char *  zArg2,
const char *  zArg3 
)

Definition at line 98236 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AuthContextPop ( AuthContext pContext)

Definition at line 98291 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AuthContextPush ( Parse pParse,
AuthContext pContext,
const char *  zContext 
)

Definition at line 98276 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AuthRead ( Parse pParse,
Expr pExpr,
Schema pSchema,
SrcList pTabList 
)

Definition at line 98179 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3AuthReadCol ( Parse pParse,
const char *  zTab,
const char *  zCol,
int  iDb 
)

Definition at line 98141 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AutoincrementBegin ( Parse pParse)

Definition at line 107634 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AutoincrementEnd ( Parse pParse)

Definition at line 107737 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AutoLoadExtensions ( sqlite3 db)

Definition at line 111033 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BackupRestart ( sqlite3_backup pBackup)

Definition at line 68689 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BackupUpdate ( sqlite3_backup pBackup,
Pgno  iPage,
const u8 aData 
)

Definition at line 68674 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BeginBenignMalloc ( void  )

Definition at line 20234 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BeginTransaction ( Parse pParse,
int  type 
)

Definition at line 102221 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 120348 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BeginWriteOperation ( Parse pParse,
int  setStatement,
int  iDb 
)

Definition at line 102379 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BenignMallocHooks ( void(*)(void)  xBenignBegin,
void(*)(void)  xBenignEnd 
)

Definition at line 20220 of file sqlite3.c.

SQLITE_PRIVATE CollSeq * sqlite3BinaryCompareCollSeq ( Parse pParse,
Expr pLeft,
Expr pRight 
)

Definition at line 90009 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BitvecBuiltinTest ( int  sz,
int *  aOp 
)

Definition at line 43501 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BitvecClear ( Bitvec p,
u32  i,
void *  pBuf 
)

Definition at line 43404 of file sqlite3.c.

SQLITE_PRIVATE Bitvec * sqlite3BitvecCreate ( u32  iSize)

Definition at line 43279 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BitvecDestroy ( Bitvec p)

Definition at line 43441 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BitvecSet ( Bitvec p,
u32  i 
)

Definition at line 43333 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3BitvecSize ( Bitvec p)

Definition at line 43456 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BitvecTest ( Bitvec p,
u32  i 
)

Definition at line 43317 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BitvecTestNotNull ( Bitvec p,
u32  i 
)

Definition at line 43294 of file sqlite3.c.

static SQLITE_NOINLINE int sqlite3BlobCompare ( const Mem pB1,
const Mem pB2 
)
static

Definition at line 74216 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeBeginStmt ( Btree p,
int  iStatement 
)

Definition at line 62243 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeBeginTrans ( Btree p,
int  wrflag 
)

Definition at line 61378 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCheckpoint ( Btree p,
int  eMode,
int *  pnLog,
int *  pnCkpt 
)

Definition at line 67715 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeClearCursor ( BtCursor pCur)

Definition at line 58988 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeClearTable ( Btree p,
int  iTable,
int *  pnChange 
)

Definition at line 66740 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeClearTableOfCursor ( BtCursor pCur)

Definition at line 66764 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeClose ( Btree p)

Definition at line 60748 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCloseCursor ( BtCursor pCur)

Definition at line 62447 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCommit ( Btree p)

Definition at line 62094 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCommitPhaseOne ( Btree p,
const char *  zMaster 
)

Definition at line 61973 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCommitPhaseTwo ( Btree p,
int  bCleanup 
)

Definition at line 62062 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeConnectionCount ( Btree p)

Definition at line 67952 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCopyFile ( Btree pTo,
Btree pFrom 
)

Definition at line 68706 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCount ( BtCursor pCur,
i64 pnEntry 
)

Definition at line 66982 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCreateTable ( Btree p,
int *  piTable,
int  flags 
)

Definition at line 66661 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCursor ( Btree p,
int  iTable,
int  wrFlag,
struct KeyInfo pKeyInfo,
BtCursor pCursor 
)

Definition at line 62401 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCursorHasHint ( BtCursor pCsr,
unsigned int  mask 
)

Definition at line 67923 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCursorHasMoved ( BtCursor pCur)

Definition at line 59079 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeCursorHintFlags ( BtCursor pCur,
unsigned  x 
)

Definition at line 59129 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCursorRestore ( BtCursor pCur,
int *  pDifferentRow 
)

Definition at line 59096 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCursorSize ( void  )

Definition at line 62427 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeCursorZero ( BtCursor p)

Definition at line 62439 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeData ( BtCursor pCur,
u32  offset,
u32  amt,
void *  pBuf 
)

Definition at line 62914 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeDelete ( BtCursor pCur,
u8  flags 
)

Definition at line 66353 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeDropTable ( Btree p,
int  iTable,
int *  piMoved 
)

Definition at line 66890 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeEnter ( Btree p)

Definition at line 58014 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeEnterAll ( sqlite3 db)

Definition at line 58129 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeEnterCursor ( BtCursor pCur)

Definition at line 58230 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeEof ( BtCursor pCur)

Definition at line 63531 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeFirst ( BtCursor pCur,
int *  pRes 
)

Definition at line 63212 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeGetAutoVacuum ( Btree p)

Definition at line 61033 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3BtreeGetFilename ( Btree p)

Definition at line 67680 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3BtreeGetJournalname ( Btree p)

Definition at line 67693 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeGetMeta ( Btree pBtree,
int  idx,
u32 pValue 
)

Definition at line 66919 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeGetOptimalReserve ( Btree p)

Definition at line 60960 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeGetPageSize ( Btree p)

Definition at line 60929 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeGetReserveNoMutex ( Btree p)

Definition at line 60944 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeIncrblobCursor ( BtCursor pCur)

Definition at line 67877 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeIncrVacuum ( Btree p)

Definition at line 61852 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeInsert ( BtCursor pCur,
const BtreePayload pPayload,
int  bias,
int  seekResult 
)

Definition at line 66186 of file sqlite3.c.

SQLITE_PRIVATE i64 sqlite3BtreeIntegerKey ( BtCursor pCur)

Definition at line 62524 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3BtreeIntegrityCheck ( Btree p,
int *  aRoot,
int  nRoot,
int  mxErr,
int *  pnErr 
)

Definition at line 67561 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeIsInBackup ( Btree p)

Definition at line 67740 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeIsInReadTrans ( Btree p)

Definition at line 67734 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeIsInTrans ( Btree p)

Definition at line 67701 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeIsReadonly ( Btree pBt)

Definition at line 67930 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeKey ( BtCursor pCur,
u32  offset,
u32  amt,
void *  pBuf 
)

Definition at line 62897 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeLast ( BtCursor pCur,
int *  pRes 
)

Definition at line 63235 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3BtreeLastPage ( Btree p)

Definition at line 60210 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeLeave ( Btree p)

Definition at line 58086 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeLeaveAll ( sqlite3 db)

Definition at line 58138 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeLeaveCursor ( BtCursor pCur)

Definition at line 58234 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeLockTable ( Btree pBtree,
int  iTab,
u8  isWriteLock 
)

Definition at line 67799 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeMaxPageCount ( Btree p,
int  mxPage 
)

Definition at line 60977 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeMovetoUnpacked ( BtCursor pCur,
UnpackedRecord pUnKey,
i64  intKey,
int  bias,
int *  pRes 
)

Definition at line 63306 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeNewDb ( Btree p)

Definition at line 61334 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeNext ( BtCursor pCur,
int *  pRes 
)

Definition at line 63627 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 60384 of file sqlite3.c.

SQLITE_PRIVATE Pager * sqlite3BtreePager ( Btree p)

Definition at line 67052 of file sqlite3.c.

SQLITE_PRIVATE const void * sqlite3BtreePayloadFetch ( BtCursor pCur,
u32 pAmt 
)

Definition at line 62987 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3BtreePayloadSize ( BtCursor pCur)

Definition at line 62541 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreePrevious ( BtCursor pCur,
int *  pRes 
)

Definition at line 63729 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreePutData ( BtCursor pCsr,
u32  offset,
u32  amt,
void *  z 
)

Definition at line 67829 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeRollback ( Btree p,
int  tripCode,
int  writeOnly 
)

Definition at line 62174 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSavepoint ( Btree p,
int  op,
int  iSavepoint 
)

Definition at line 62274 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3BtreeSchema ( Btree p,
int  nBytes,
void(*)(void *)  xFree 
)

Definition at line 67766 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSchemaLocked ( Btree pBtree)

Definition at line 67782 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSecureDelete ( Btree p,
int  newFlag 
)

Definition at line 60990 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSetAutoVacuum ( Btree p,
int  autoVacuum 
)

Definition at line 61009 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSetCacheSize ( Btree p,
int  mxPage 
)

Definition at line 60810 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSetPagerFlags ( Btree p,
unsigned  pgFlags 
)

Definition at line 60863 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSetPageSize ( Btree p,
int  nPagesize,
int  nReserve,
int  eFix 
)

Definition at line 60896 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSetSpillSize ( Btree p,
int  mxPage 
)

Definition at line 60829 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSetVersion ( Btree pBt,
int  iVersion 
)

Definition at line 67888 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSharable ( Btree p)

Definition at line 67943 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeTripAllCursors ( Btree pBtree,
int  errCode,
int  writeOnly 
)

Definition at line 62131 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeUpdateMeta ( Btree p,
int  idx,
u32  value 
)

Definition at line 66949 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3CantopenError ( int  lineno)

Definition at line 141151 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ChangeCookie ( Parse pParse,
int  iDb 
)

Definition at line 99756 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3CheckCollSeq ( Parse pParse,
CollSeq pColl 
)

Definition at line 102851 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3CheckObjectName ( Parse pParse,
const char *  zName 
)

Definition at line 99081 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Checkpoint ( sqlite3 db,
int  iDb,
int  eMode,
int *  pnLog,
int *  pnCkpt 
)

Definition at line 139996 of file sqlite3.c.

static void sqlite3ClearStatTables ( Parse pParse,
int  iDb,
const char *  zType,
const char *  zName 
)
static

Definition at line 100699 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ClearTempRegCache ( Parse pParse)

Definition at line 94722 of file sqlite3.c.

static int sqlite3Close ( sqlite3 db,
int  forceZombie 
)
static

Definition at line 138881 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CloseExtensions ( sqlite3 db)

Definition at line 110880 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CloseSavepoints ( sqlite3 db)

Definition at line 138804 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CodeDropTable ( Parse pParse,
Table pTab,
int  iDb,
int  isView 
)

Definition at line 100722 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 121276 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CodeRowTriggerDirect ( Parse pParse,
Trigger p,
Table pTab,
int  reg,
int  orconf,
int  ignoreJump 
)

Definition at line 121204 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3CodeSubselect ( Parse pParse,
Expr pExpr,
int  rHasNullFlag,
int  isRowid 
)

Definition at line 92113 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CodeVerifyNamedSchema ( Parse pParse,
const char *  zDb 
)

Definition at line 102355 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CodeVerifySchema ( Parse pParse,
int  iDb 
)

Definition at line 102336 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CollapseDatabaseArray ( sqlite3 db)

Definition at line 98782 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ColumnDefault ( Vdbe v,
Table pTab,
int  i,
int  iReg 
)

Definition at line 121431 of file sqlite3.c.

SQLITE_PRIVATE i16 sqlite3ColumnOfIndex ( Index pIdx,
i16  iCol 
)

Definition at line 99104 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ColumnsFromExprList ( Parse pParse,
ExprList pEList,
i16 pnCol,
Column **  paCol 
)

Definition at line 115996 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3ColumnType ( Column pCol,
char *  zDflt 
)

Definition at line 27391 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CommitInternalChanges ( sqlite3 db)

Definition at line 98852 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CommitTransaction ( Parse pParse)

Definition at line 102246 of file sqlite3.c.

SQLITE_PRIVATE char sqlite3CompareAffinity ( Expr pExpr,
char  aff2 
)

Definition at line 89925 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 109036 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3CorruptError ( int  lineno)

Definition at line 141143 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3CreateColumnExpr ( sqlite3 db,
SrcList pSrc,
int  iSrc,
int  iCol 
)

Definition at line 88691 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CreateForeignKey ( Parse pParse,
ExprList pFromCol,
Token pTo,
ExprList pToCol,
int  flags 
)

Definition at line 100909 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 139435 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CreateIndex ( Parse pParse,
Token pName1,
Token pName2,
SrcList pTblName,
ExprList pList,
int  onError,
Token pStart,
Expr pPIWhere,
int  sortOrder,
int  ifNotExist,
u8  idxType 
)

Definition at line 101178 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 100360 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DbFree ( sqlite3 db,
void *  p 
)

Definition at line 24349 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3DbMallocRaw ( sqlite3 db,
u64  n 
)

Definition at line 24505 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3DbMallocRawNN ( sqlite3 db,
u64  n 
)

Definition at line 24512 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3DbMallocSize ( sqlite3 db,
void *  p 
)

Definition at line 24295 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3DbMallocZero ( sqlite3 db,
u64  n 
)

Definition at line 24461 of file sqlite3.c.

SQLITE_PRIVATE Btree * sqlite3DbNameToBtree ( sqlite3 db,
const char *  zDbName 
)

Definition at line 141763 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3DbRealloc ( sqlite3 db,
void *  p,
u64  n 
)

Definition at line 24554 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3DbReallocOrFree ( sqlite3 db,
void *  p,
u64  n 
)

Definition at line 24591 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3DbStrDup ( sqlite3 db,
const char *  z 
)

Definition at line 24607 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3DbStrNDup ( sqlite3 db,
const char *  z,
u64  n 
)

Definition at line 24621 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3DecOrHexToI64 ( const char *  z,
i64 pOut 
)

Definition at line 27929 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_mutex_methods const * sqlite3DefaultMutex ( void  )

Definition at line 23167 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DefaultRowEst ( Index pIdx)

Definition at line 101736 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeferForeignKey ( Parse pParse,
int  isDeferred 
)

Definition at line 101030 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeleteColumnNames ( sqlite3 db,
Table pTable 
)

Definition at line 98860 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeleteFrom ( Parse pParse,
SrcList pTabList,
Expr pWhere 
)

Definition at line 103424 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeleteIndexSamples ( sqlite3 db,
Index pIdx 
)

Definition at line 97109 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeleteTable ( sqlite3 db,
Table pTable 
)

Definition at line 98933 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeleteTrigger ( sqlite3 db,
Trigger pTrigger 
)

Definition at line 120732 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeleteTriggerStep ( sqlite3 db,
TriggerStep pTriggerStep 
)

Definition at line 120287 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Dequote ( char *  z)

Definition at line 27517 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Detach ( Parse pParse,
Expr pDbname 
)

Definition at line 97839 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DropIndex ( Parse pParse,
SrcList pName,
int  ifExists 
)

Definition at line 101765 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DropTable ( Parse pParse,
SrcList pName,
int  isView,
int  noErr 
)

Definition at line 100793 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DropTrigger ( Parse pParse,
SrcList pName,
int  noErr 
)

Definition at line 120750 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DropTriggerPtr ( Parse pParse,
Trigger pTrigger 
)

Definition at line 120800 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3EndBenignMalloc ( void  )

Definition at line 20240 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3EndTable ( Parse pParse,
Token pCons,
Token pEnd,
u8  tabOpts,
Select pSelect 
)

Definition at line 100118 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Error ( sqlite3 db,
int  err_code 
)

Definition at line 27411 of file sqlite3.c.

static SQLITE_NOINLINE void sqlite3ErrorFinish ( sqlite3 db,
int  err_code 
)
static

Definition at line 27401 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ErrorMsg ( Parse pParse,
const char *  zFormat,
  ... 
)

Definition at line 27483 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ErrorWithMsg ( sqlite3 db,
int  err_code,
const char *  zFormat,
  ... 
)

Definition at line 27450 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3ErrStr ( int  rc)

Definition at line 139233 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExpirePreparedStatements ( sqlite3 db)

Definition at line 74963 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3Expr ( sqlite3 db,
int  op,
const char *  zToken 
)

Definition at line 90500 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprAddCollateString ( Parse pParse,
Expr pExpr,
const char *  zC 
)

Definition at line 89826 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprAddCollateToken ( Parse pParse,
Expr pExpr,
const Token pCollName,
int  dequote 
)

Definition at line 89810 of file sqlite3.c.

SQLITE_PRIVATE char sqlite3ExprAffinity ( Expr pExpr)

Definition at line 89774 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprAlloc ( sqlite3 db,
int  op,
const Token pToken,
int  dequote 
)

Definition at line 90451 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprAnalyzeAggList ( NameContext pNC,
ExprList pList 
)

Definition at line 94647 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprAnalyzeAggregates ( NameContext pNC,
Expr pExpr 
)

Definition at line 94631 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprAnd ( sqlite3 db,
Expr pLeft,
Expr pRight 
)

Definition at line 90619 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprAssignVarNumber ( Parse pParse,
Expr pExpr,
u32  n 
)

Definition at line 90670 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprAttachSubtrees ( sqlite3 db,
Expr pRoot,
Expr pLeft,
Expr pRight 
)

Definition at line 90517 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCacheAffinityChange ( Parse pParse,
int  iStart,
int  iCount 
)

Definition at line 92958 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCacheClear ( Parse pParse)

Definition at line 92936 of file sqlite3.c.

static void sqlite3ExprCachePinRegister ( Parse pParse,
int  iReg 
)
static

Definition at line 92824 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCachePop ( Parse pParse)

Definition at line 92800 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCachePush ( Parse pParse)

Definition at line 92786 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCacheRemove ( Parse pParse,
int  iReg,
int  nReg 
)

Definition at line 92769 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCacheStore ( Parse pParse,
int  iTab,
int  iCol,
int  iReg 
)

Definition at line 92714 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCanBeNull ( const Expr p)

Definition at line 91588 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCheckHeight ( Parse pParse,
int  nHeight 
)

Definition at line 90323 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCheckIN ( Parse pParse,
Expr pIn 
)

Definition at line 92357 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCode ( Parse pParse,
Expr pExpr,
int  target 
)

Definition at line 93719 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeAndCache ( Parse pParse,
Expr pExpr,
int  target 
)

Definition at line 93772 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeAtInit ( Parse pParse,
Expr pExpr,
int  regDest,
u8  reusable 
)

Definition at line 93649 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeCopy ( Parse pParse,
Expr pExpr,
int  target 
)

Definition at line 93739 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCodeExprList ( Parse pParse,
ExprList pList,
int  target,
int  srcReg,
u8  flags 
)

Definition at line 93800 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeFactorable ( Parse pParse,
Expr pExpr,
int  target 
)

Definition at line 93752 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCodeGetColumn ( Parse pParse,
Table pTab,
int  iColumn,
int  iTable,
int  iReg,
u8  p5 
)

Definition at line 92893 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeGetColumnOfTable ( Vdbe v,
Table pTab,
int  iTabCur,
int  iCol,
int  regOut 
)

Definition at line 92859 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeGetColumnToReg ( Parse pParse,
Table pTab,
int  iColumn,
int  iTable,
int  iReg 
)

Definition at line 92921 of file sqlite3.c.

static void sqlite3ExprCodeIN ( Parse pParse,
Expr pExpr,
int  destIfFalse,
int  destIfNull 
)
static

Definition at line 92402 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeLoadIndexColumn ( Parse pParse,
Index pIdx,
int  iTabCur,
int  iIdxCol,
int  regOut 
)

Definition at line 92837 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeMove ( Parse pParse,
int  iFrom,
int  iTo,
int  nReg 
)

Definition at line 92966 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCodeTarget ( Parse pParse,
Expr pExpr,
int  target 
)

Definition at line 93047 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCodeTemp ( Parse pParse,
Expr pExpr,
int *  pReg 
)

Definition at line 93681 of file sqlite3.c.

SQLITE_PRIVATE CollSeq * sqlite3ExprCollSeq ( Parse pParse,
Expr pExpr 
)

Definition at line 89861 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCompare ( Expr pA,
Expr pB,
int  iTab 
)

Definition at line 94230 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCoveredByIndex ( Expr pExpr,
int  iCur,
Index pIdx 
)

Definition at line 94379 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprDelete ( sqlite3 db,
Expr p 
)

Definition at line 90769 of file sqlite3.c.

static SQLITE_NOINLINE void sqlite3ExprDeleteNN ( sqlite3 db,
Expr p 
)
static

Definition at line 90742 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprDup ( sqlite3 db,
Expr p,
int  flags 
)

Definition at line 91020 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprForVectorField ( Parse pParse,
Expr pVector,
int  iField 
)

Definition at line 90136 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprFunction ( Parse pParse,
ExprList pList,
Token pToken 
)

Definition at line 90639 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprIfFalse ( Parse pParse,
Expr pExpr,
int  dest,
int  jumpIfNull 
)

Definition at line 94048 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprIfFalseDup ( Parse pParse,
Expr pExpr,
int  dest,
int  jumpIfNull 
)

Definition at line 94198 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprIfTrue ( Parse pParse,
Expr pExpr,
int  dest,
int  jumpIfNull 
)

Definition at line 93925 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprImpliesExpr ( Expr pE1,
Expr pE2,
int  iTab 
)

Definition at line 94322 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprIsConstant ( Expr p)

Definition at line 91483 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprIsConstantNotJoin ( Expr p)

Definition at line 91493 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprIsConstantOrFunction ( Expr p,
u8  isInit 
)

Definition at line 91516 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprIsInteger ( Expr p,
int *  pValue 
)

Definition at line 91543 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprIsTableConstant ( Expr p,
int  iCur 
)

Definition at line 91503 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprIsVector ( Expr pExpr)

Definition at line 90062 of file sqlite3.c.

SQLITE_PRIVATE ExprList * sqlite3ExprListAppend ( Parse pParse,
ExprList pList,
Expr pExpr 
)

Definition at line 91170 of file sqlite3.c.

SQLITE_PRIVATE ExprList * sqlite3ExprListAppendVector ( Parse pParse,
ExprList pList,
IdList pColumns,
Expr pExpr 
)

Definition at line 91220 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprListCheckLength ( Parse pParse,
ExprList pEList,
const char *  zObject 
)

Definition at line 91331 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprListCompare ( ExprList pA,
ExprList pB,
int  iTab 
)

Definition at line 94288 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprListDelete ( sqlite3 db,
ExprList pList 
)

Definition at line 91359 of file sqlite3.c.

SQLITE_PRIVATE ExprList * sqlite3ExprListDup ( sqlite3 db,
ExprList p,
int  flags 
)

Definition at line 91024 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3ExprListFlags ( const ExprList pList)

Definition at line 91367 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprListSetName ( Parse pParse,
ExprList pList,
Token pName,
int  dequote 
)

Definition at line 91285 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprListSetSortOrder ( ExprList p,
int  iSortOrder 
)

Definition at line 91266 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprListSetSpan ( Parse pParse,
ExprList pList,
ExprSpan pSpan 
)

Definition at line 91310 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprNeedsNoAffinityChange ( const Expr p,
char  aff 
)

Definition at line 91618 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprSetHeightAndFlags ( Parse pParse,
Expr p 
)

Definition at line 90403 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprSkipCollate ( Expr pExpr)

Definition at line 89837 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprVectorSize ( Expr pExpr)

Definition at line 90072 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprWalkNoop ( Walker NotUsed,
Expr NotUsed2 
)

Definition at line 118889 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FaultSim ( int  iTest)

Definition at line 27318 of file sqlite3.c.

SQLITE_PRIVATE CollSeq * sqlite3FindCollSeq ( sqlite3 db,
u8  enc,
const char *  zName,
int  create 
)

Definition at line 102932 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FindDb ( sqlite3 db,
Token pName 
)

Definition at line 99020 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FindDbName ( sqlite3 db,
const char *  zName 
)

Definition at line 99003 of file sqlite3.c.

SQLITE_PRIVATE FuncDef * sqlite3FindFunction ( sqlite3 db,
const char *  zName,
int  nArg,
u8  enc,
u8  createFlag 
)

Definition at line 103074 of file sqlite3.c.

SQLITE_PRIVATE Index * sqlite3FindIndex ( sqlite3 db,
const char *  zName,
const char *  zDb 
)

Definition at line 98709 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FindInIndex ( Parse pParse,
Expr pX,
u32  inFlags,
int *  prRhsHasNull,
int *  aiMap 
)

Definition at line 91823 of file sqlite3.c.

SQLITE_PRIVATE Table * sqlite3FindTable ( sqlite3 db,
const char *  zName,
const char *  zDatabase 
)

Definition at line 98597 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FinishCoding ( Parse pParse)

Definition at line 98431 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FinishTrigger ( Parse pParse,
TriggerStep pStepList,
Token pAll 
)

Definition at line 120536 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FixExpr ( DbFixer pFix,
Expr pExpr 
)

Definition at line 97973 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FixExprList ( DbFixer pFix,
ExprList pList 
)

Definition at line 97999 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FixInit ( DbFixer pFix,
Parse pParse,
int  iDb,
const char *  zType,
const Token pName 
)

Definition at line 97877 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FixSelect ( DbFixer pFix,
Select pSelect 
)

Definition at line 97940 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FixSrcList ( DbFixer pFix,
SrcList pList 
)

Definition at line 97910 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FixTriggerStep ( DbFixer pFix,
TriggerStep pStep 
)

Definition at line 98016 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FkActions ( Parse pParse,
Table pTab,
ExprList pChanges,
int  regOld,
int *  aChange,
int  bChngRowid 
)

Definition at line 107306 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FkCheck ( Parse pParse,
Table pTab,
int  regOld,
int  regNew,
int *  aChange,
int  bChngRowid 
)

Definition at line 106820 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FkDelete ( sqlite3 db,
Table pTab 
)

Definition at line 107338 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FkDropTable ( Parse pParse,
SrcList pName,
Table pTab 
)

Definition at line 106670 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FkLocateIndex ( Parse pParse,
Table pParent,
FKey pFKey,
Index **  ppIdx,
int **  paiCol 
)

Definition at line 106150 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3FkOldmask ( Parse pParse,
Table pTab 
)

Definition at line 107020 of file sqlite3.c.

SQLITE_PRIVATE FKey * sqlite3FkReferences ( Table pTab)

Definition at line 106630 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FkRequired ( Parse pParse,
Table pTab,
int *  aChange,
int  chngRowid 
)

Definition at line 107060 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FunctionUsesThisSrc ( Expr pExpr,
SrcList pSrcList 
)

Definition at line 94440 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 108595 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 104049 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 103841 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3GenerateRowIndexDelete ( Parse pParse,
Table pTab,
int  iDataCur,
int  iIdxCur,
int *  aRegIdx,
int  iIdxNoSeek 
)

Definition at line 103985 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3Get4byte ( const u8 p)

Definition at line 28410 of file sqlite3.c.

SQLITE_PRIVATE u8 sqlite3GetBoolean ( const char *  z,
u8  dflt 
)

Definition at line 111610 of file sqlite3.c.

SQLITE_PRIVATE CollSeq * sqlite3GetCollSeq ( Parse pParse,
u8  enc,
CollSeq pColl,
const char *  zName 
)

Definition at line 102810 of file sqlite3.c.

static CollSeq* sqlite3GetFuncCollSeq ( sqlite3_context context)
static

Definition at line 104139 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3GetInt32 ( const char *  zNum,
int *  pValue 
)

Definition at line 27959 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3GetTempRange ( Parse pParse,
int  nReg 
)

Definition at line 94692 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3GetTempReg ( Parse pParse)

Definition at line 94660 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3GetToken ( const unsigned char *  z,
int *  tokenType 
)

Definition at line 137054 of file sqlite3.c.

SQLITE_PRIVATE u8 sqlite3GetVarint ( const unsigned char *  p,
u64 v 
)

Definition at line 28106 of file sqlite3.c.

SQLITE_PRIVATE u8 sqlite3GetVarint32 ( const unsigned char *  p,
u32 v 
)

Definition at line 28277 of file sqlite3.c.

SQLITE_PRIVATE Vdbe * sqlite3GetVdbe ( Parse pParse)

Definition at line 116192 of file sqlite3.c.

SQLITE_PRIVATE VTable * sqlite3GetVTable ( sqlite3 db,
Table pTab 
)

Definition at line 122684 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3HaltConstraint ( Parse pParse,
int  errCode,
int  onError,
char *  p4,
i8  p4type,
u8  p5Errmsg 
)

Definition at line 102424 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3HashClear ( Hash pH)

Definition at line 28765 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3HashFind ( const Hash pH,
const char *  pKey 
)

Definition at line 28945 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3HashInit ( Hash pNew)

Definition at line 28753 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3HashInsert ( Hash pH,
const char *  pKey,
void *  pData 
)

Definition at line 28969 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3HeaderSizeBtree ( void  )

Definition at line 67937 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3HeaderSizePcache ( void  )

Definition at line 44425 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3HeaderSizePcache1 ( void  )

Definition at line 45644 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3HeapNearlyFull ( void  )

Definition at line 24056 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3HexToBlob ( sqlite3 db,
const char *  z,
int  n 
)

Definition at line 28474 of file sqlite3.c.

SQLITE_PRIVATE u8 sqlite3HexToInt ( int  h)

Definition at line 28456 of file sqlite3.c.

SQLITE_PRIVATE IdList * sqlite3IdListAppend ( sqlite3 db,
IdList pList,
Token pToken 
)

Definition at line 101877 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3IdListDelete ( sqlite3 db,
IdList pList 
)

Definition at line 101901 of file sqlite3.c.

SQLITE_PRIVATE IdList * sqlite3IdListDup ( sqlite3 db,
IdList p 
)

Definition at line 91102 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IdListIndex ( IdList pList,
const char *  zName 
)

Definition at line 101915 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IndexAffinityOk ( Expr pExpr,
char  idx_affinity 
)

Definition at line 89975 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3IndexAffinityStr ( sqlite3 db,
Index pIdx 
)

Definition at line 107450 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IndexedByLookup ( Parse pParse,
struct SrcList_item *  pFrom 
)

Definition at line 118289 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Init ( sqlite3 db,
char **  pzErrMsg 
)

Definition at line 113889 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3InitCallback ( void *  pInit,
int  argc,
char **  argv,
char **  NotUsed 
)

Definition at line 113585 of file sqlite3.c.

static int sqlite3InitOne ( sqlite3 db,
int  iDb,
char **  pzErrMsg 
)
static

Definition at line 113669 of file sqlite3.c.

static int sqlite3InRhsIsConstant ( Expr pIn)
static

Definition at line 91729 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Insert ( Parse pParse,
SrcList pTabList,
Select pSelect,
IdList pColumn,
int  onError 
)

Definition at line 107856 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3InsertBuiltinFuncs ( FuncDef aDef,
int  nDef 
)

Definition at line 103030 of file sqlite3.c.

static int sqlite3IntFloatCompare ( i64  i,
double  r 
)
static

Definition at line 74249 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3InvalidFunction ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)

Definition at line 75869 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3InvokeBusyHandler ( BusyHandler p)

Definition at line 139332 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IsIdChar ( u8  c)

Definition at line 137046 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IsLikeFunction ( sqlite3 db,
Expr pExpr,
int *  pIsNocase,
char *  aWc 
)

Definition at line 105811 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IsNaN ( double  x)

Definition at line 27331 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IsReadOnly ( Parse pParse,
Table pTab,
int  viewOk 
)

Definition at line 103268 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IsRowid ( const char *  z)

Definition at line 91651 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3JoinType ( Parse pParse,
Token pA,
Token pB,
Token pC 
)

Definition at line 114590 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3JournalIsInMemory ( sqlite3_file p)

Definition at line 88008 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3JournalModename ( int  eMode)

Definition at line 111802 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3JournalOpen ( sqlite3_vfs pVfs,
const char *  zName,
sqlite3_file pJfd,
int  flags,
int  nSpill 
)

Definition at line 87947 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3JournalSize ( sqlite3_vfs pVfs)

Definition at line 88016 of file sqlite3.c.

SQLITE_PRIVATE KeyInfo * sqlite3KeyInfoAlloc ( sqlite3 db,
int  N,
int  X 
)

Definition at line 115395 of file sqlite3.c.

SQLITE_PRIVATE KeyInfo * sqlite3KeyInfoOfIndex ( Parse pParse,
Index pIdx 
)

Definition at line 102631 of file sqlite3.c.

SQLITE_PRIVATE KeyInfo * sqlite3KeyInfoRef ( KeyInfo p)

Definition at line 115426 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3KeyInfoUnref ( KeyInfo p)

Definition at line 115415 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3KeywordCode ( const unsigned char *  z,
int  n 
)

Definition at line 136995 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3LeaveMutexAndCloseZombie ( sqlite3 db)

Definition at line 138952 of file sqlite3.c.

static int sqlite3LoadExtension ( sqlite3 db,
const char *  zFile,
const char *  zProc,
char **  pzErrMsg 
)
static

Definition at line 110721 of file sqlite3.c.

SQLITE_PRIVATE CollSeq * sqlite3LocateCollSeq ( Parse pParse,
const char *  zName 
)

Definition at line 99722 of file sqlite3.c.

SQLITE_PRIVATE Table * sqlite3LocateTable ( Parse pParse,
u32  flags,
const char *  zName,
const char *  zDbase 
)

Definition at line 98631 of file sqlite3.c.

SQLITE_PRIVATE Table * sqlite3LocateTableItem ( Parse pParse,
u32  flags,
struct SrcList_item *  p 
)

Definition at line 98681 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 114197 of file sqlite3.c.

SQLITE_PRIVATE LogEst sqlite3LogEst ( u64  x)

Definition at line 28672 of file sqlite3.c.

SQLITE_PRIVATE LogEst sqlite3LogEstAdd ( LogEst  a,
LogEst  b 
)

Definition at line 28645 of file sqlite3.c.

SQLITE_PRIVATE LogEst sqlite3LogEstFromDouble ( double  x)

Definition at line 28690 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3Malloc ( u64  n)

Definition at line 24139 of file sqlite3.c.

static void sqlite3MallocAlarm ( int  nByte)
static

Definition at line 24093 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MallocEnd ( void  )

Definition at line 24063 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MallocInit ( void  )

Definition at line 24012 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_mutex * sqlite3MallocMutex ( void  )

Definition at line 23956 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MallocSize ( void *  p)

Definition at line 24291 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3MallocZero ( u64  n)

Definition at line 24449 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MatchSpanName ( const char *  zSpan,
const char *  zCol,
const char *  zTab,
const char *  zDb 
)

Definition at line 88314 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MaterializeView ( Parse pParse,
Table pView,
Expr pWhere,
int  iCur 
)

Definition at line 103305 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MayAbort ( Parse pParse)

Definition at line 102414 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MemCompare ( const Mem pMem1,
const Mem pMem2,
const CollSeq pColl 
)

Definition at line 74282 of file sqlite3.c.

static void sqlite3MemFree ( void *  pPrior)
static

Definition at line 20470 of file sqlite3.c.

static int sqlite3MemInit ( void *  NotUsed)
static

Definition at line 20547 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MemJournalOpen ( sqlite3_file pJfd)

Definition at line 87983 of file sqlite3.c.

static void* sqlite3MemMalloc ( int  nByte)
static

Definition at line 20438 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MemoryBarrier ( void  )

Definition at line 22891 of file sqlite3.c.

static void* sqlite3MemRealloc ( void *  pPrior,
int  nByte 
)
static

Definition at line 20508 of file sqlite3.c.

static int sqlite3MemRoundup ( int  n)
static

Definition at line 20540 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MemSetDefault ( void  )

Definition at line 20594 of file sqlite3.c.

static void sqlite3MemShutdown ( void *  NotUsed)
static

Definition at line 20583 of file sqlite3.c.

static int sqlite3MemSize ( void *  pPrior)
static

Definition at line 20485 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MisuseError ( int  lineno)

Definition at line 141147 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3MPrintf ( sqlite3 db,
const char *  zFormat,
  ... 
)

Definition at line 25652 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MulInt64 ( i64 pA,
i64  iB 
)

Definition at line 28580 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MultiWrite ( Parse pParse)

Definition at line 102393 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_mutex * sqlite3MutexAlloc ( int  id)

Definition at line 22509 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MutexEnd ( void  )

Definition at line 22484 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MutexInit ( void  )

Definition at line 22443 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3NameFromToken ( sqlite3 db,
Token pName 
)

Definition at line 98973 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3NestedParse ( Parse pParse,
const char *  zFormat,
  ... 
)

Definition at line 98550 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_mutex_methods const * sqlite3NoopMutex ( void  )

Definition at line 22635 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OomClear ( sqlite3 db)

Definition at line 24667 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OomFault ( sqlite3 db)

Definition at line 24650 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3OpcodeName ( int  i)

Definition at line 29015 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OpenMasterTable ( Parse p,
int  iDb 
)

Definition at line 98988 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OpenTable ( Parse pParse,
int  iCur,
int  iDb,
Table pTab,
int  opcode 
)

Definition at line 107404 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 109120 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OpenTempDatabase ( Parse pParse)

Definition at line 102301 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsAccess ( sqlite3_vfs pVfs,
const char *  zPath,
int  flags,
int *  pResOut 
)

Definition at line 19964 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsCheckReservedLock ( sqlite3_file id,
int *  pResOut 
)

Definition at line 19856 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OsClose ( sqlite3_file pId)

Definition at line 19824 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OsCloseFree ( sqlite3_file pFile)

Definition at line 20046 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsCurrentTimeInt64 ( sqlite3_vfs pVfs,
sqlite3_int64 pTimeOut 
)

Definition at line 20006 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsDelete ( sqlite3_vfs pVfs,
const char *  zPath,
int  dirSync 
)

Definition at line 19959 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsDeviceCharacteristics ( sqlite3_file id)

Definition at line 19895 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OsDlClose ( sqlite3_vfs pVfs,
void *  pHandle 
)

Definition at line 19993 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OsDlError ( sqlite3_vfs pVfs,
int  nByte,
char *  zBufOut 
)

Definition at line 19987 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3OsDlOpen ( sqlite3_vfs pVfs,
const char *  zPath 
)

Definition at line 19984 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsFetch ( sqlite3_file id,
i64  iOff,
int  iAmt,
void **  pp 
)

Definition at line 19929 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsFileControl ( sqlite3_file id,
int  op,
void *  pArg 
)

Definition at line 19869 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OsFileControlHint ( sqlite3_file id,
int  op,
void *  pArg 
)

Definition at line 19887 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsFileSize ( sqlite3_file id,
i64 pSize 
)

Definition at line 19845 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsFullPathname ( sqlite3_vfs pVfs,
const char *  zPath,
int  nPathOut,
char *  zPathOut 
)

Definition at line 19973 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsGetLastError ( sqlite3_vfs pVfs)

Definition at line 20003 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsInit ( void  )

Definition at line 20058 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsLock ( sqlite3_file id,
int  lockType 
)

Definition at line 19849 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsOpen ( sqlite3_vfs pVfs,
const char *  zPath,
sqlite3_file pFile,
int  flags,
int *  pFlagsOut 
)

Definition at line 19942 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsOpenMalloc ( sqlite3_vfs pVfs,
const char *  zFile,
sqlite3_file **  ppFile,
int  flags,
int *  pOutFlags 
)

Definition at line 20024 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsRandomness ( sqlite3_vfs pVfs,
int  nByte,
char *  zBufOut 
)

Definition at line 19997 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsRead ( sqlite3_file id,
void *  pBuf,
int  amt,
i64  offset 
)

Definition at line 19830 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsSectorSize ( sqlite3_file id)

Definition at line 19891 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OsShmBarrier ( sqlite3_file id)

Definition at line 19901 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsShmLock ( sqlite3_file id,
int  offset,
int  n,
int  flags 
)

Definition at line 19898 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsShmMap ( sqlite3_file id,
int  iPage,
int  pgsz,
int  bExtend,
void volatile **  pp 
)

Definition at line 19907 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsShmUnmap ( sqlite3_file id,
int  deleteFlag 
)

Definition at line 19904 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsSleep ( sqlite3_vfs pVfs,
int  nMicro 
)

Definition at line 20000 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsSync ( sqlite3_file id,
int  flags 
)

Definition at line 19841 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsTruncate ( sqlite3_file id,
i64  size 
)

Definition at line 19838 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsUnfetch ( sqlite3_file id,
i64  iOff,
void *  p 
)

Definition at line 19933 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsUnlock ( sqlite3_file id,
int  lockType 
)

Definition at line 19853 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsWrite ( sqlite3_file id,
const void *  pBuf,
int  amt,
i64  offset 
)

Definition at line 19834 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PageFree ( void *  p)

Definition at line 44935 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3PageMalloc ( int  sz)

Definition at line 44928 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_backup ** sqlite3PagerBackupPtr ( Pager pPager)

Definition at line 53540 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerBegin ( Pager pPager,
int  exFlag,
int  subjInMemory 
)

Definition at line 52005 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerCacheStat ( Pager pPager,
int  eStat,
int  reset,
int *  pnVal 
)

Definition at line 52903 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerCheckpoint ( Pager pPager,
int  eMode,
int *  pnLog,
int *  pnCkpt 
)

Definition at line 53563 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerClearCache ( Pager pPager)

Definition at line 53548 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerClose ( Pager pPager)

Definition at line 50390 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerCloseWal ( Pager pPager)

Definition at line 53698 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerCommitPhaseOne ( Pager pPager,
const char *  zMaster,
int  noSync 
)

Definition at line 52551 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerCommitPhaseTwo ( Pager pPager)

Definition at line 52728 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3PagerDataVersion ( Pager pPager)

Definition at line 48069 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerDontWrite ( DbPage pPg)

Definition at line 52366 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerExclusiveLock ( Pager pPager)

Definition at line 52509 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_file * sqlite3PagerFile ( Pager pPager)

Definition at line 53115 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3PagerFilename ( Pager pPager,
int  nullIfMemDb 
)

Definition at line 53099 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerFlush ( Pager pPager)

Definition at line 50888 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerGet ( Pager pPager,
Pgno  pgno,
DbPage **  ppPage,
int  clrFlag 
)

Definition at line 51677 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3PagerGetData ( DbPage pPg)

Definition at line 53350 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3PagerGetExtra ( DbPage pPg)

Definition at line 53359 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerGetJournalMode ( Pager pPager)

Definition at line 53504 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerIsMemdb ( Pager pPager)

Definition at line 52923 of file sqlite3.c.

SQLITE_PRIVATE u8 sqlite3PagerIsreadonly ( Pager pPager)

Definition at line 52843 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3PagerJournalname ( Pager pPager)

Definition at line 53134 of file sqlite3.c.

SQLITE_PRIVATE i64 sqlite3PagerJournalSizeLimit ( Pager pPager,
i64  iLimit 
)

Definition at line 53526 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_file * sqlite3PagerJrnlFile ( Pager pPager)

Definition at line 53123 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerLockingMode ( Pager pPager,
int  eMode 
)

Definition at line 53373 of file sqlite3.c.

SQLITE_PRIVATE DbPage * sqlite3PagerLookup ( Pager pPager,
Pgno  pgno 
)

Definition at line 51860 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerMaxPageCount ( Pager pPager,
int  mxPage 
)

Definition at line 50099 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerMemUsed ( Pager pPager)

Definition at line 52860 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerMovepage ( Pager pPager,
DbPage pPg,
Pgno  pgno,
int  isCommit 
)

Definition at line 53207 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerOkToChangeJournalMode ( Pager pPager)

Definition at line 53513 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 50935 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerOpenSavepoint ( Pager pPager,
int  n 
)

Definition at line 52982 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerOpenWal ( Pager pPager,
int *  pisOpen 
)

Definition at line 53659 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerPagecount ( Pager pPager,
int *  pnPage 
)

Definition at line 50174 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerPageRefcount ( DbPage pPage)

Definition at line 52871 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerReadFileheader ( Pager pPager,
int  N,
unsigned char *  pDest 
)

Definition at line 50146 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerRef ( DbPage pPg)

Definition at line 50455 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerRekey ( DbPage pPg,
Pgno  iNew,
u16  flags 
)

Definition at line 53341 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerRollback ( Pager pPager)

Definition at line 52794 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerSavepoint ( Pager pPager,
int  op,
int  iSavepoint 
)

Definition at line 53024 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerSetBusyhandler ( Pager pPager,
int(*)(void *)  xBusyHandler,
void *  pBusyHandlerArg 
)

Definition at line 49979 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerSetCachesize ( Pager pPager,
int  mxPage 
)

Definition at line 49783 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerSetFlags ( Pager pPager,
unsigned  pgFlags 
)

Definition at line 49877 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerSetJournalMode ( Pager pPager,
int  eMode 
)

Definition at line 53406 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerSetMmapLimit ( Pager pPager,
sqlite3_int64  szMmap 
)

Definition at line 49813 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerSetPagesize ( Pager pPager,
u32 pPageSize,
int  nReserve 
)

Definition at line 50025 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerSetSpillsize ( Pager pPager,
int  mxPage 
)

Definition at line 49791 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerSharedLock ( Pager pPager)

Definition at line 51399 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerShrink ( Pager pPager)

Definition at line 49821 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerSync ( Pager pPager,
const char *  zMaster 
)

Definition at line 52483 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3PagerTempSpace ( Pager pPager)

Definition at line 50088 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerTruncateImage ( Pager pPager,
Pgno  nPage 
)

Definition at line 50259 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerUnref ( DbPage pPg)

Definition at line 51890 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerUnrefNotNull ( DbPage pPg)

Definition at line 51879 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerUseWal ( Pager pPager)

Definition at line 47185 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_vfs * sqlite3PagerVfs ( Pager pPager)

Definition at line 53106 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerWalCallback ( Pager pPager)

Definition at line 53576 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerWalSupported ( Pager pPager)

Definition at line 53584 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerWrite ( DbPage pPg)

Definition at line 52317 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 136411 of file sqlite3.c.

SQLITE_PRIVATE void* sqlite3ParserAlloc ( void *  *)(u64)
SQLITE_PRIVATE void* sqlite3ParserAlloc ( void *(*)(YYMALLOCARGTYPE mallocProc)

Definition at line 134319 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ParserFree ( void *  p,
void(*)(void *)  freeProc 
)

Definition at line 134477 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ParserReset ( Parse pParse)

Definition at line 114030 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 140377 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_mutex * sqlite3Pcache1Mutex ( void  )

Definition at line 45650 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PCacheBufferSetup ( void *  pBuf,
int  sz,
int  n 
)

Definition at line 44698 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheCleanAll ( PCache pCache)

Definition at line 44164 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheClear ( PCache pCache)

Definition at line 44262 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheClearSyncFlags ( PCache pCache)

Definition at line 44187 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheClearWritable ( PCache pCache)

Definition at line 44175 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheClose ( PCache pCache)

Definition at line 44253 of file sqlite3.c.

SQLITE_PRIVATE PgHdr * sqlite3PcacheDirtyList ( PCache pCache)

Definition at line 44342 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheDrop ( PgHdr p)

Definition at line 44113 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_pcache_page * sqlite3PcacheFetch ( PCache pCache,
Pgno  pgno,
int  createFlag 
)

Definition at line 43935 of file sqlite3.c.

SQLITE_PRIVATE PgHdr * sqlite3PcacheFetchFinish ( PCache pCache,
Pgno  pgno,
sqlite3_pcache_page pPage 
)

Definition at line 44059 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcacheFetchStress ( PCache pCache,
Pgno  pgno,
sqlite3_pcache_page **  ppPage 
)

Definition at line 43977 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcacheInitialize ( void  )

Definition at line 43839 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheMakeClean ( PgHdr p)

Definition at line 44146 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheMakeDirty ( PgHdr p)

Definition at line 44127 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheMove ( PgHdr p,
Pgno  newPgno 
)

Definition at line 44198 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 43866 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcachePagecount ( PCache pCache)

Definition at line 44370 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcachePageRefcount ( PgHdr p)

Definition at line 44363 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PCachePercentDirty ( PCache pCache)

Definition at line 44431 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheRef ( PgHdr p)

Definition at line 44101 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcacheRefCount ( PCache pCache)

Definition at line 44356 of file sqlite3.c.

SQLITE_PRIVATE void SQLITE_NOINLINE sqlite3PcacheRelease ( PgHdr p)

Definition at line 44082 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheSetCachesize ( PCache pCache,
int  mxPage 
)

Definition at line 44387 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PCacheSetDefault ( void  )

Definition at line 45622 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcacheSetPageSize ( PCache pCache,
int  szPage 
)

Definition at line 43891 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcacheSetSpillsize ( PCache p,
int  mxPage 
)

Definition at line 44399 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheShrink ( PCache pCache)

Definition at line 44416 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheShutdown ( void  )

Definition at line 43848 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcacheSize ( void  )

Definition at line 43858 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheTruncate ( PCache pCache,
Pgno  x 
)

Definition at line 44220 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3PExpr ( Parse pParse,
int  op,
Expr pLeft,
Expr pRight,
const Token pToken 
)

Definition at line 90547 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PExprAddSelect ( Parse pParse,
Expr pExpr,
Select pSelect 
)

Definition at line 90572 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Pragma ( Parse pParse,
Token pId1,
Token pId2,
Token pValue,
int  minusFlag 
)

Definition at line 111836 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 114046 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 114303 of file sqlite3.c.

SQLITE_PRIVATE Index * sqlite3PrimaryKeyIndex ( Table pTab)

Definition at line 99094 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PrngRestoreState ( void  )

Definition at line 26452 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PrngSaveState ( void  )

Definition at line 26445 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Put4byte ( u8 ,
u32   
)
SQLITE_PRIVATE void sqlite3Put4byte ( unsigned char *  p,
u32  v 
)

Definition at line 28430 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PutVarint ( unsigned char *  p,
u64  v 
)

Definition at line 28076 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ReadSchema ( Parse pParse)

Definition at line 113933 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3Realloc ( void *  pOld,
u64  nBytes 
)

Definition at line 24379 of file sqlite3.c.

static void sqlite3RefillIndex ( Parse pParse,
Index pIndex,
int  memRootPage 
)
static

Definition at line 101051 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RegisterBuiltinFunctions ( void  )

Definition at line 105844 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RegisterDateTimeFunctions ( void  )

Definition at line 19721 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RegisterLikeFunctions ( sqlite3 db,
int  caseSensitive 
)

Definition at line 105783 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RegisterPerConnectionBuiltinFunctions ( sqlite3 db)

Definition at line 105759 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Reindex ( Parse pParse,
Token pName1,
Token pName2 
)

Definition at line 102571 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ReleaseTempRange ( Parse pParse,
int  iReg,
int  nReg 
)

Definition at line 94707 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ReleaseTempReg ( Parse pParse,
int  iReg 
)

Definition at line 94675 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Reprepare ( Vdbe p)

Definition at line 114236 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ResetAllSchemasOfConnection ( sqlite3 db)

Definition at line 98834 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ResetOneSchema ( sqlite3 db,
int  iDb 
)

Definition at line 98808 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ResolveExprListNames ( NameContext pNC,
ExprList pList 
)

Definition at line 89652 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ResolveExprNames ( NameContext pNC,
Expr pExpr 
)

Definition at line 89607 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ResolveOrderGroupBy ( Parse pParse,
Select pSelect,
ExprList pOrderBy,
const char *  zType 
)

Definition at line 89230 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ResolvePartIdxLabel ( Parse pParse,
int  iLabel 
)

Definition at line 104107 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ResolveSelectNames ( Parse pParse,
Select p,
NameContext pOuterNC 
)

Definition at line 89677 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ResolveSelfReference ( Parse pParse,
Table pTab,
int  type,
Expr pExpr,
ExprList pList 
)

Definition at line 89704 of file sqlite3.c.

SQLITE_PRIVATE Table * sqlite3ResultSetOfSelect ( Parse pParse,
Select pSelect 
)

Definition at line 116146 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RollbackAll ( sqlite3 db,
int  tripCode 
)

Definition at line 139075 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RollbackTransaction ( Parse pParse)

Definition at line 102263 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RootPageMoved ( sqlite3 db,
int  iDb,
int  iFrom,
int  iTo 
)

Definition at line 100582 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RowidConstraint ( Parse pParse,
int  onError,
Table pTab 
)

Definition at line 102477 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RowSetClear ( RowSet p)

Definition at line 45873 of file sqlite3.c.

SQLITE_PRIVATE RowSet * sqlite3RowSetInit ( sqlite3 db,
void *  pSpace,
unsigned int  N 
)

Definition at line 45852 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RowSetInsert ( RowSet p,
i64  rowid 
)

Definition at line 45920 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3RowSetNext ( RowSet p,
i64 pRowid 
)

Definition at line 46118 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3RowSetTest ( RowSet pRowSet,
int  iBatch,
i64  iRowid 
)

Definition at line 46152 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3RunParser ( Parse pParse,
const char *  zSql,
char **  pzErrMsg 
)

Definition at line 137334 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3RunVacuum ( char **  pzErrMsg,
sqlite3 db,
int  iDb 
)

Definition at line 122315 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3SafetyCheckOk ( sqlite3 db)

Definition at line 28516 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3SafetyCheckSickOrOk ( sqlite3 db)

Definition at line 28533 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Savepoint ( Parse pParse,
int  op,
Token pName 
)

Definition at line 102281 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SchemaClear ( void *  p)

Definition at line 103164 of file sqlite3.c.

SQLITE_PRIVATE Schema * sqlite3SchemaGet ( sqlite3 db,
Btree pBt 
)

Definition at line 103196 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3SchemaToIndex ( sqlite3 db,
Schema pSchema 
)

Definition at line 114002 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ScratchFree ( void *  p)

Definition at line 24233 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3ScratchMalloc ( int  n)

Definition at line 24196 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3SectorSize ( sqlite3_file pFile)

Definition at line 48967 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Select ( Parse pParse,
Select p,
SelectDest pDest 
)

Definition at line 119195 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SelectAddColumnTypeAndCollation ( Parse pParse,
Table pTab,
Select pSelect 
)

Definition at line 116097 of file sqlite3.c.

static void sqlite3SelectAddTypeInfo ( Parse pParse,
Select pSelect 
)
static

Definition at line 118972 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SelectDelete ( sqlite3 db,
Select p 
)

Definition at line 114561 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SelectDestInit ( SelectDest pDest,
int  eDest,
int  iParm 
)

Definition at line 114477 of file sqlite3.c.

SQLITE_PRIVATE Select * sqlite3SelectDup ( sqlite3 db,
Select p,
int  flags 
)

Definition at line 91126 of file sqlite3.c.

static void sqlite3SelectExpand ( Parse pParse,
Select pSelect 
)
static

Definition at line 118907 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3SelectExprHeight ( Select p)

Definition at line 90413 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 114490 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SelectPrep ( Parse pParse,
Select p,
NameContext pOuterNC 
)

Definition at line 118996 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SelectWrongNumTermsError ( Parse pParse,
Select p 
)

Definition at line 116941 of file sqlite3.c.

static void sqlite3SetHasNullFlag ( Vdbe v,
int  iCur,
int  regHasNull 
)
static

Definition at line 91712 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SetString ( char **  pz,
sqlite3 db,
const char *  zNew 
)

Definition at line 24639 of file sqlite3.c.

static void sqlite3SkipAccumulatorLoad ( sqlite3_context context)
static

Definition at line 104152 of file sqlite3.c.

SQLITE_PRIVATE SrcList * sqlite3SrcListAppend ( sqlite3 db,
SrcList pList,
Token pTable,
Token pDatabase 
)

Definition at line 102025 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 102114 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SrcListAssignCursors ( Parse pParse,
SrcList pList 
)

Definition at line 102062 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SrcListDelete ( sqlite3 db,
SrcList pList 
)

Definition at line 102080 of file sqlite3.c.

SQLITE_PRIVATE SrcList * sqlite3SrcListDup ( sqlite3 db,
SrcList p,
int  flags 
)

Definition at line 91061 of file sqlite3.c.

SQLITE_PRIVATE SrcList * sqlite3SrcListEnlarge ( sqlite3 db,
SrcList pSrc,
int  nExtra,
int  iStart 
)

Definition at line 101943 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SrcListFuncArgs ( Parse pParse,
SrcList p,
ExprList pList 
)

Definition at line 102180 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SrcListIndexedBy ( Parse pParse,
SrcList p,
Token pIndexedBy 
)

Definition at line 102158 of file sqlite3.c.

SQLITE_PRIVATE Table * sqlite3SrcListLookup ( Parse pParse,
SrcList pSrc 
)

Definition at line 103247 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SrcListShiftJoinType ( SrcList p)

Definition at line 102208 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 99128 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3StatusDown ( int  op,
int  N 
)

Definition at line 18321 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3StatusHighwater ( int  op,
int  X 
)

Definition at line 18335 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3StatusUp ( int  op,
int  N 
)

Definition at line 18310 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_int64 sqlite3StatusValue ( int  op)

Definition at line 18290 of file sqlite3.c.

static int sqlite3Step ( Vdbe p)
static

Definition at line 75637 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_int64 sqlite3StmtCurrentTime ( sqlite3_context p)

Definition at line 75845 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3StrAccumAppend ( StrAccum p,
const char *  z,
int  N 
)

Definition at line 25548 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3StrAccumAppendAll ( StrAccum p,
const char *  z 
)

Definition at line 25565 of file sqlite3.c.

static int sqlite3StrAccumEnlarge ( StrAccum p,
int  N 
)
static

Definition at line 25466 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3StrAccumFinish ( StrAccum p)

Definition at line 25575 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3StrAccumInit ( StrAccum p,
sqlite3 db,
char *  zBase,
int  n,
int  mx 
)

Definition at line 25618 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3StrAccumReset ( StrAccum p)

Definition at line 25595 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3StrICmp ( const char *  zLeft,
const char *  zRight 
)

Definition at line 27569 of file sqlite3.c.

static void sqlite3StringToId ( Expr p)
static

Definition at line 99549 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Strlen30 ( const char *  z)

Definition at line 27379 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3SubInt64 ( i64 pA,
i64  iB 
)

Definition at line 28569 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SubselectError ( Parse pParse,
int  nActual,
int  nExpect 
)

Definition at line 92077 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SystemError ( sqlite3 db,
int  rc 
)

Definition at line 27421 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3TableAffinity ( Vdbe v,
Table pTab,
int  iReg 
)

Definition at line 107508 of file sqlite3.c.

SQLITE_PRIVATE char sqlite3TableColumnAffinity ( Table pTab,
int  iCol 
)

Definition at line 89753 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3TableLock ( Parse pParse,
int  iDb,
int  iTab,
u8  isWriteLock,
const char *  zName 
)

Definition at line 98350 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3TempInMemory ( const sqlite3 db)

Definition at line 140040 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 26513 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ThreadJoin ( SQLiteThread p,
void **  ppOut 
)

Definition at line 26550 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3TokenInit ( Token p,
char *  z 
)

Definition at line 27543 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3TransferBindings ( sqlite3_stmt pFromStmt,
sqlite3_stmt pToStmt 
)

Definition at line 76623 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 121338 of file sqlite3.c.

SQLITE_PRIVATE TriggerStep * sqlite3TriggerDeleteStep ( sqlite3 db,
Token pTableName,
Expr pWhere 
)

Definition at line 120713 of file sqlite3.c.

SQLITE_PRIVATE TriggerStep * sqlite3TriggerInsertStep ( sqlite3 db,
Token pTableName,
IdList pColumn,
Select pSelect,
u8  orconf 
)

Definition at line 120659 of file sqlite3.c.

SQLITE_PRIVATE Trigger * sqlite3TriggerList ( Parse pParse,
Table pTab 
)

Definition at line 120315 of file sqlite3.c.

SQLITE_PRIVATE TriggerStep * sqlite3TriggerSelectStep ( sqlite3 db,
Select pSelect 
)

Definition at line 120616 of file sqlite3.c.

SQLITE_PRIVATE Trigger * sqlite3TriggersExist ( Parse pParse,
Table pTab,
int  op,
ExprList pChanges,
int *  pMask 
)

Definition at line 120883 of file sqlite3.c.

SQLITE_PRIVATE TriggerStep * sqlite3TriggerUpdateStep ( sqlite3 db,
Token pTableName,
ExprList pEList,
Expr pWhere,
u8  orconf 
)

Definition at line 120688 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3TwoPartName ( Parse pParse,
Token pName1,
Token pName2,
Token **  pUnqual 
)

Definition at line 99045 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3UniqueConstraint ( Parse pParse,
int  onError,
Index pIdx 
)

Definition at line 102444 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3UnlinkAndDeleteIndex ( sqlite3 db,
int  iDb,
const char *  zIdxName 
)

Definition at line 98749 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3UnlinkAndDeleteTable ( sqlite3 db,
int  iDb,
const char *  zTabName 
)

Definition at line 98945 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3UnlinkAndDeleteTrigger ( sqlite3 db,
int  iDb,
const char *  zName 
)

Definition at line 120840 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Update ( Parse pParse,
SrcList pTabList,
ExprList pChanges,
Expr pWhere,
int  onError 
)

Definition at line 121459 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Utf16ByteLen ( const void *  pData,
int  nChar 
)

Definition at line 27197 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3Utf16to8 ( sqlite3 db,
const void *  z,
int  nByte,
u8  enc 
)

Definition at line 27176 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Utf8CharLen ( const char *  pData,
int  nByte 
)

Definition at line 27122 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3Utf8Read ( const u8 **  )
SQLITE_PRIVATE u32 sqlite3Utf8Read ( const unsigned char **  pz)

Definition at line 26905 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Vacuum ( Parse pParse,
Token pNm 
)

Definition at line 122302 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ValueApplyAffinity ( sqlite3_value pVal,
u8  affinity,
u8  enc 
)

Definition at line 77555 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ValueBytes ( sqlite3_value pVal,
u8  enc 
)

Definition at line 70460 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ValueFree ( sqlite3_value v)

Definition at line 70446 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ValueFromExpr ( sqlite3 db,
Expr pExpr,
u8  enc,
u8  affinity,
sqlite3_value **  ppVal 
)

Definition at line 70152 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_value * sqlite3ValueNew ( sqlite3 db)

Definition at line 69833 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ValueSetNull ( sqlite3_value p)

Definition at line 69420 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ValueSetStr ( sqlite3_value v,
int  n,
const void *  z,
u8  enc,
void(*)(void *)  xDel 
)

Definition at line 70433 of file sqlite3.c.

SQLITE_PRIVATE const void * sqlite3ValueText ( sqlite3_value pVal,
u8  enc 
)

Definition at line 69816 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VarintLen ( u64  v)

Definition at line 28400 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeAddOp0 ( Vdbe p,
int  op 
)

Definition at line 70685 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeAddOp1 ( Vdbe p,
int  op,
int  p1 
)

Definition at line 70688 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeAddOp2 ( Vdbe p,
int  op,
int  p1,
int  p2 
)

Definition at line 70691 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeAddOp3 ( Vdbe p,
int  op,
int  p1,
int  p2,
int  p3 
)

Definition at line 70640 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 70736 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 70754 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeAddOp4Int ( Vdbe p,
int  op,
int  p1,
int  p2,
int  p3,
int  p4 
)

Definition at line 70785 of file sqlite3.c.

SQLITE_PRIVATE VdbeOp * sqlite3VdbeAddOpList ( Vdbe p,
int  nOp,
VdbeOpList const *  aOp,
int  iLineno 
)

Definition at line 71156 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeAddParseSchemaOp ( Vdbe p,
int  iDb,
char *  zWhere 
)

Definition at line 70776 of file sqlite3.c.

SQLITE_PRIVATE UnpackedRecord * sqlite3VdbeAllocUnpackedRecord ( KeyInfo pKeyInfo,
char *  pSpace,
int  szSpace,
char **  ppFree 
)

Definition at line 73948 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeChangeEncoding ( Mem pMem,
int  desiredEnc 
)

Definition at line 68843 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeChangeOpcode ( Vdbe p,
u32  addr,
u8  iNewOpcode 
)

Definition at line 71232 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeChangeP1 ( Vdbe p,
u32  addr,
int  P1 
)

Definition at line 71235 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeChangeP2 ( Vdbe p,
u32  addr,
int  P2 
)

Definition at line 71238 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeChangeP3 ( Vdbe p,
u32  addr,
int  P3 
)

Definition at line 71241 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeChangeP4 ( Vdbe p,
int  addr,
const char *  zP4,
int  N 
)

Definition at line 71419 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeChangeP5 ( Vdbe p,
u8  P5 
)

Definition at line 71244 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeChangeToNoop ( Vdbe p,
int  addr 
)

Definition at line 71359 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeCheckFk ( Vdbe p,
int  deferred 
)

Definition at line 73004 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeClearObject ( sqlite3 db,
Vdbe p 
)

Definition at line 73425 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeCloseStatement ( Vdbe p,
int  eOp 
)

Definition at line 72938 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeCountChanges ( Vdbe v)

Definition at line 74949 of file sqlite3.c.

SQLITE_PRIVATE Vdbe * sqlite3VdbeCreate ( Parse pParse)

Definition at line 70499 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeCurrentAddr ( Vdbe p)

Definition at line 71106 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeCursorMoveto ( VdbeCursor **  pp,
int *  piCol 
)

Definition at line 73543 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeCursorRestore ( VdbeCursor p)

Definition at line 73522 of file sqlite3.c.

SQLITE_PRIVATE sqlite3 * sqlite3VdbeDb ( Vdbe v)

Definition at line 74973 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeDelete ( Vdbe p)

Definition at line 73455 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeDeleteAuxData ( sqlite3 db,
AuxData **  pp,
int  iOp,
int  mask 
)

Definition at line 73399 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeDeletePriorOpcode ( Vdbe p,
u8  op 
)

Definition at line 71375 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeEndCoroutine ( Vdbe v,
int  regYield 
)

Definition at line 70800 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeEnter ( Vdbe p)

Definition at line 71871 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeError ( Vdbe p,
const char *  zFormat,
  ... 
)

Definition at line 70524 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeExec ( Vdbe p)

Definition at line 77868 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3VdbeExpandSql ( Vdbe p,
const char *  zRawSql 
)

Definition at line 77093 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeFinalize ( Vdbe p)

Definition at line 73373 of file sqlite3.c.

SQLITE_PRIVATE RecordCompare sqlite3VdbeFindCompare ( UnpackedRecord p)

Definition at line 74781 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeFrameDelete ( VdbeFrame p)

Definition at line 72003 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeFrameRestore ( VdbeFrame pFrame)

Definition at line 72512 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeFreeCursor ( Vdbe p,
VdbeCursor pCx 
)

Definition at line 72457 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_value * sqlite3VdbeGetBoundValue ( Vdbe v,
int  iVar,
u8  aff 
)

Definition at line 74985 of file sqlite3.c.

SQLITE_PRIVATE VdbeOp * sqlite3VdbeGetOp ( Vdbe p,
int  addr 
)

Definition at line 71522 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeGoto ( Vdbe p,
int  iDest 
)

Definition at line 70697 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeHalt ( Vdbe p)

Definition at line 73031 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeIdxKeyCompare ( sqlite3 db,
VdbeCursor pC,
UnpackedRecord pUnpacked,
int *  res 
)

Definition at line 74904 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeIdxRowid ( sqlite3 db,
BtCursor pCur,
i64 rowid 
)

Definition at line 74827 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeIntegerAffinity ( Mem pMem)

Definition at line 69268 of file sqlite3.c.

SQLITE_PRIVATE i64 sqlite3VdbeIntValue ( Mem pMem)

Definition at line 69221 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeJumpHere ( Vdbe p,
int  addr 
)

Definition at line 71253 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeLeave ( Vdbe p)

Definition at line 71906 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeLinkSubProgram ( Vdbe pVdbe,
SubProgram p 
)

Definition at line 71351 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeList ( Vdbe p)

Definition at line 72031 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeLoadString ( Vdbe p,
int  iDest,
const char *  zStr 
)

Definition at line 70704 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMakeLabel ( Vdbe v)

Definition at line 70827 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMakeReady ( Vdbe p,
Parse pParse 
)

Definition at line 72356 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemCast ( Mem pMem,
u8  aff,
u8  encoding 
)

Definition at line 69351 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemClearAndResize ( Mem pMem,
int  n 
)

Definition at line 68935 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemCopy ( Mem pTo,
const Mem pFrom 
)

Definition at line 69564 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemExpandBlob ( Mem pMem)

Definition at line 68980 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemFinalize ( Mem pMem,
FuncDef pFunc 
)

Definition at line 69090 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemFromBtree ( BtCursor pCur,
u32  offset,
u32  amt,
int  key,
Mem pMem 
)

Definition at line 69739 of file sqlite3.c.

SQLITE_PRIVATE SQLITE_NOINLINE int sqlite3VdbeMemGrow ( Mem pMem,
int  n,
int  preserve 
)

Definition at line 68878 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemHandleBom ( Mem pMem)

Definition at line 27084 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemInit ( Mem pMem,
sqlite3 db,
u16  flags 
)

Definition at line 69393 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemIntegerify ( Mem pMem)

Definition at line 69296 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemMakeWriteable ( Mem pMem)

Definition at line 68953 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemMove ( Mem pTo,
Mem pFrom 
)

Definition at line 69587 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemNulTerminate ( Mem pMem)

Definition at line 69020 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemNumerify ( Mem pMem)

Definition at line 69327 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemRealify ( Mem pMem)

Definition at line 69310 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemRelease ( Mem p)

Definition at line 69173 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemSetDouble ( Mem pMem,
double  val 
)

Definition at line 69467 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemSetInt64 ( Mem pMem,
i64  val 
)

Definition at line 69453 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemSetNull ( Mem pMem)

Definition at line 69413 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemSetRowSet ( Mem pMem)

Definition at line 69480 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemSetStr ( Mem pMem,
const char *  z,
int  n,
u8  enc,
void(*)(void *)  xDel 
)

Definition at line 69613 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemSetZeroBlob ( Mem pMem,
int  n 
)

Definition at line 69428 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemShallowCopy ( Mem pTo,
const Mem pFrom,
int  srcType 
)

Definition at line 69548 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemStringify ( Mem pMem,
u8  enc,
u8  bForce 
)

Definition at line 69045 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemTooBig ( Mem p)

Definition at line 69502 of file sqlite3.c.

SQLITE_PRIVATE SQLITE_NOINLINE int sqlite3VdbeMemTranslate ( Mem pMem,
u8  desiredEnc 
)

Definition at line 26941 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMultiLoad ( Vdbe p,
int  iDest,
const char *  zTypes,
  ... 
)

Definition at line 70716 of file sqlite3.c.

SQLITE_PRIVATE u8 sqlite3VdbeOneByteSerialTypeLen ( u8  serial_type)

Definition at line 73688 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeParameterIndex ( Vdbe p,
const char *  zName,
int  nName 
)

Definition at line 76601 of file sqlite3.c.

SQLITE_PRIVATE double sqlite3VdbeRealValue ( Mem pMem)

Definition at line 69246 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeRecordCompare ( int  nKey1,
const void *  pKey1,
UnpackedRecord pPKey2 
)

Definition at line 74609 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeRecordCompareWithSkip ( int  nKey1,
const void *  pKey1,
UnpackedRecord pPKey2,
int  bSkip 
)

Definition at line 74423 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeRecordUnpack ( KeyInfo pKeyInfo,
int  nKey,
const void *  pKey,
UnpackedRecord p 
)

Definition at line 73985 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeReset ( Vdbe p)

Definition at line 73293 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeResetStepResult ( Vdbe p)

Definition at line 73232 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeResolveLabel ( Vdbe v,
int  x 
)

Definition at line 70846 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeReusable ( Vdbe p)

Definition at line 70867 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeRewind ( Vdbe p)

Definition at line 72303 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeRunOnlyOnce ( Vdbe p)

Definition at line 70860 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3VdbeSerialGet ( const unsigned char *  buf,
u32  serial_type,
Mem pMem 
)

Definition at line 73849 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 73759 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3VdbeSerialType ( Mem pMem,
int  file_format,
u32 pLen 
)

Definition at line 73607 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3VdbeSerialTypeLen ( u32  serial_type)

Definition at line 73679 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSetChanges ( sqlite3 db,
int  nChange 
)

Definition at line 74939 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSetColName ( Vdbe p,
int  idx,
int  var,
const char *  zName,
void(*)(void *)  xDel 
)

Definition at line 72616 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSetNumCols ( Vdbe p,
int  nResColumn 
)

Definition at line 72592 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSetP4KeyInfo ( Parse pParse,
Index pIdx 
)

Definition at line 71457 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSetSql ( Vdbe p,
const char *  z,
int  n,
int  isPrepareV2 
)

Definition at line 70535 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSetVarmask ( Vdbe v,
int  iVar 
)

Definition at line 75006 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSorterClose ( sqlite3 db,
VdbeCursor pCsr 
)

Definition at line 86102 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSorterCompare ( const VdbeCursor pCsr,
Mem pVal,
int  nKeyCol,
int *  pRes 
)

Definition at line 87561 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSorterInit ( sqlite3 db,
int  nField,
VdbeCursor pCsr 
)

Definition at line 85769 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSorterNext ( sqlite3 db,
const VdbeCursor pCsr,
int *  pbEof 
)

Definition at line 87464 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSorterReset ( sqlite3 db,
VdbeSorter pSorter 
)

Definition at line 86069 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSorterRewind ( const VdbeCursor pCsr,
int *  pbEof 
)

Definition at line 87416 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSorterRowkey ( const VdbeCursor pCsr,
Mem pOut 
)

Definition at line 87528 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSorterWrite ( const VdbeCursor pCsr,
Mem pVal 
)

Definition at line 86611 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSwap ( Vdbe pA,
Vdbe pB 
)

Definition at line 70549 of file sqlite3.c.

SQLITE_PRIVATE VdbeOp * sqlite3VdbeTakeOpArray ( Vdbe p,
int *  pnOp,
int *  pnMaxArg 
)

Definition at line 71136 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeTransferError ( Vdbe p)

Definition at line 73244 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeUsesBtree ( Vdbe p,
int  i 
)

Definition at line 71840 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3VectorFieldSubexpr ( Expr pVector,
int  i 
)

Definition at line 90100 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ViewGetColumnNames ( Parse pParse,
Table pTable 
)

Definition at line 100432 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3VMPrintf ( sqlite3 db,
const char *  zFormat,
va_list  ap 
)

Definition at line 25632 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabArgExtend ( Parse pParse,
Token p 
)

Definition at line 123021 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabArgInit ( Parse pParse)

Definition at line 123011 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabBegin ( sqlite3 db,
VTable pVTab 
)

Definition at line 123472 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabBeginParse ( Parse pParse,
Token pName1,
Token pName2,
Token pModuleName,
int  ifNotExists 
)

Definition at line 122864 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabCallConnect ( Parse pParse,
Table pTab 
)

Definition at line 123166 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabCallCreate ( sqlite3 db,
int  iDb,
const char *  zTab,
char **  pzErr 
)

Definition at line 123236 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabCallDestroy ( sqlite3 db,
int  iDb,
const char *  zTab 
)

Definition at line 123362 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabClear ( sqlite3 db,
Table p 
)

Definition at line 122828 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabCommit ( sqlite3 db)

Definition at line 123459 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabDisconnect ( sqlite3 db,
Table p 
)

Definition at line 122759 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabEponymousTableClear ( sqlite3 db,
Module pMod 
)

Definition at line 123715 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabEponymousTableInit ( Parse pParse,
Module pMod 
)

Definition at line 123677 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabFinishParse ( Parse pParse,
Token pEnd 
)

Definition at line 122927 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabImportErrmsg ( Vdbe p,
sqlite3_vtab pVtab 
)

Definition at line 75021 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabLock ( VTable pVTab)

Definition at line 122674 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabMakeWritable ( Parse pParse,
Table pTab 
)

Definition at line 123644 of file sqlite3.c.

SQLITE_PRIVATE FuncDef * sqlite3VtabOverloadFunction ( sqlite3 db,
FuncDef pDef,
int  nArg,
Expr pExpr 
)

Definition at line 123578 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabRollback ( sqlite3 db)

Definition at line 123450 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabSavepoint ( sqlite3 db,
int  op,
int  iSavepoint 
)

Definition at line 123532 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabSync ( sqlite3 db,
Vdbe p 
)

Definition at line 123428 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabUnlock ( VTable pVTab)

Definition at line 122695 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabUnlockList ( sqlite3 db)

Definition at line 122797 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VXPrintf ( StrAccum pAccum,
const char *  fmt,
va_list  ap 
)

Definition at line 24883 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalBeginReadTransaction ( Wal pWal,
int *  pChanged 
)

Definition at line 56172 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalBeginWriteTransaction ( Wal pWal)

Definition at line 56417 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalCallback ( Wal pWal)

Definition at line 57084 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 56975 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalClose ( Wal pWal,
int  sync_flags,
int  nBuf,
u8 zBuf 
)

Definition at line 55705 of file sqlite3.c.

SQLITE_PRIVATE Pgno sqlite3WalDbsize ( Wal pWal)

Definition at line 56396 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalDefaultHook ( void *  pClientData,
sqlite3 db,
const char *  zDb,
int  nFrame 
)

Definition at line 139841 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WalEndReadTransaction ( Wal pWal)

Definition at line 56258 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalEndWriteTransaction ( Wal pWal)

Definition at line 56455 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalExclusiveMode ( Wal pWal,
int  op 
)

Definition at line 57117 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_file * sqlite3WalFile ( Wal pWal)

Definition at line 57223 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalFindFrame ( Wal pWal,
Pgno  pgno,
u32 piRead 
)

Definition at line 56274 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalFrames ( Wal pWal,
int  szPage,
PgHdr pList,
Pgno  nTruncate,
int  isCommit,
int  sync_flags 
)

Definition at line 56735 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalHeapMemory ( Wal pWal)

Definition at line 57159 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalkExpr ( Walker pWalker,
Expr pExpr 
)

Definition at line 88077 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalkExprList ( Walker pWalker,
ExprList p 
)

Definition at line 88085 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalkSelect ( Walker pWalker,
Select p 
)

Definition at line 88157 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalkSelectExpr ( Walker pWalker,
Select p 
)

Definition at line 88102 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalkSelectFrom ( Walker pWalker,
Select p 
)

Definition at line 88120 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WalLimit ( Wal pWal,
i64  iLimit 
)

Definition at line 55136 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 55062 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalReadFrame ( Wal pWal,
u32  iRead,
int  nOut,
u8 pOut 
)

Definition at line 56376 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WalSavepoint ( Wal pWal,
u32 aWalData 
)

Definition at line 56517 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalSavepointUndo ( Wal pWal,
u32 aWalData 
)

Definition at line 56531 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalUndo ( Wal pWal,
int(*)(void *, Pgno xUndo,
void *  pUndoCtx 
)

Definition at line 56477 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 132171 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereBreakLabel ( WhereInfo pWInfo)

Definition at line 127905 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WhereClauseClear ( WhereClause pWC)

Definition at line 127713 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WhereClauseInit ( WhereClause pWC,
WhereInfo pWInfo 
)

Definition at line 127697 of file sqlite3.c.

SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart ( WhereInfo pWInfo,
int  iLevel,
Bitmask  notReady 
)

Definition at line 125387 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereContinueLabel ( WhereInfo pWInfo)

Definition at line 127896 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WhereEnd ( WhereInfo pWInfo)

Definition at line 132633 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereExplainOneScan ( Parse pParse,
SrcList pTabList,
WhereLevel pLevel,
int  iLevel,
int  iFrom,
u16  wctrlFlags 
)

Definition at line 124462 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WhereExprAnalyze ( SrcList pTabList,
WhereClause pWC 
)

Definition at line 127775 of file sqlite3.c.

SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage ( WhereMaskSet pMaskSet,
ExprList pList 
)

Definition at line 127755 of file sqlite3.c.

SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage ( WhereMaskSet pMaskSet,
Expr p 
)

Definition at line 127738 of file sqlite3.c.

SQLITE_PRIVATE WhereTerm * sqlite3WhereFindTerm ( WhereClause pWC,
int  iCur,
int  iColumn,
Bitmask  notReady,
u32  op,
Index pIdx 
)

Definition at line 128176 of file sqlite3.c.

SQLITE_PRIVATE Bitmask sqlite3WhereGetMask ( WhereMaskSet pMaskSet,
int  iCursor 
)

Definition at line 127990 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereIsDistinct ( WhereInfo pWInfo)

Definition at line 127868 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereIsOrdered ( WhereInfo pWInfo)

Definition at line 127876 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereIsSorted ( WhereInfo pWInfo)

Definition at line 131569 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereOkOnePass ( WhereInfo pWInfo,
int *  aiCur 
)

Definition at line 127926 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereOrderedInnerLoop ( WhereInfo pWInfo)

Definition at line 127888 of file sqlite3.c.

SQLITE_PRIVATE LogEst sqlite3WhereOutputRowCount ( WhereInfo pWInfo)

Definition at line 127860 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WhereSplit ( WhereClause pWC,
Expr pExpr,
u8  op 
)

Definition at line 127682 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WhereTabFuncArgs ( Parse pParse,
struct SrcList_item *  pItem,
WhereClause pWC 
)

Definition at line 127792 of file sqlite3.c.

SQLITE_PRIVATE With * sqlite3WithAdd ( Parse pParse,
With pWith,
Token pName,
ExprList pArglist,
Select pQuery 
)

Definition at line 102663 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WithDelete ( sqlite3 db,
With pWith 
)

Definition at line 102713 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WithPush ( Parse pParse,
With pWith,
u8  bFree 
)

Definition at line 118433 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3XPrintf ( StrAccum p,
const char *  zFormat,
  ... 
)

Definition at line 25798 of file sqlite3.c.

static void sqliteAuthBadReturnCode ( Parse pParse)
static

Definition at line 98127 of file sqlite3.c.

static int sqliteDefaultBusyCallback ( void *  ptr,
int  count 
)
static

Definition at line 139286 of file sqlite3.c.

static int sqliteErrorFromPosixError ( int  posixError,
int  sqliteIOErr 
)
static

Definition at line 30186 of file sqlite3.c.

static int sqliteProcessJoin ( Parse pParse,
Select p 
)
static

Definition at line 114793 of file sqlite3.c.

void sqliteVdbePopStack ( Vdbe ,
int   
)
static void sqliteViewResetAll ( sqlite3 db,
int  idx 
)
static

Definition at line 100546 of file sqlite3.c.

void sqliteViewTriggers ( Parse ,
Table ,
Expr ,
int  ,
ExprList  
)
static void stat4Destructor ( void *  pOld)
static

Definition at line 95922 of file sqlite3.c.

static void statGet ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 96367 of file sqlite3.c.

static void statInit ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 95956 of file sqlite3.c.

static void statPush ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 96268 of file sqlite3.c.

static void storeLastErrno ( unixFile pFile,
int  error 
)
static

Definition at line 30579 of file sqlite3.c.

static void strftimeFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 19495 of file sqlite3.c.

static unsigned int strHash ( const char *  z)
static

Definition at line 28785 of file sqlite3.c.

static int subjournalPage ( PgHdr pPg)
static

Definition at line 50755 of file sqlite3.c.

static int subjournalPageIfRequired ( PgHdr pPg)
static

Definition at line 50792 of file sqlite3.c.

static int subjRequiresPage ( PgHdr pPg)
static

Definition at line 47396 of file sqlite3.c.

static Expr* substExpr ( sqlite3 db,
Expr pExpr,
int  iTable,
ExprList pEList 
)
static

Definition at line 117507 of file sqlite3.c.

static void substExprList ( sqlite3 db,
ExprList pList,
int  iTable,
ExprList pEList 
)
static

Definition at line 117536 of file sqlite3.c.

static void substrFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 104379 of file sqlite3.c.

static void substSelect ( sqlite3 db,
Select p,
int  iTable,
ExprList pEList,
int  doPrior 
)
static

Definition at line 117548 of file sqlite3.c.

static void sumFinalize ( sqlite3_context context)
static

Definition at line 105591 of file sqlite3.c.

static void sumStep ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 105570 of file sqlite3.c.

static int syncJournal ( Pager pPager,
int  newHdr 
)
static

Definition at line 50494 of file sqlite3.c.

static int synthCollSeq ( sqlite3 db,
CollSeq pColl 
)
static

Definition at line 102780 of file sqlite3.c.

static int tableAndColumnIndex ( SrcList pSrc,
int  N,
const char *  zCol,
int *  piTab,
int *  piCol 
)
static

Definition at line 114668 of file sqlite3.c.

static Table* tableOfTrigger ( Trigger pTrigger)
static

Definition at line 120792 of file sqlite3.c.

static SrcList* targetSrcList ( Parse pParse,
TriggerStep pStep 
)
static

Definition at line 120919 of file sqlite3.c.

static int termCanDriveIndex ( WhereTerm pTerm,
struct SrcList_item *  pSrc,
Bitmask  notReady 
)
static

Definition at line 128421 of file sqlite3.c.

static int termIsEquivalence ( Parse pParse,
Expr pExpr 
)
static

Definition at line 127154 of file sqlite3.c.

static void timeFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 19443 of file sqlite3.c.

static void total_changes ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 104672 of file sqlite3.c.

static void totalFinalize ( sqlite3_context context)
static

Definition at line 105611 of file sqlite3.c.

static void transferJoinMarkings ( Expr pDerived,
Expr pBase 
)
static

Definition at line 126714 of file sqlite3.c.

static void transferParseError ( Parse pTo,
Parse pFrom 
)
static

Definition at line 121041 of file sqlite3.c.

static void translateColumnToCopy ( Vdbe v,
int  iStart,
int  iTabCur,
int  iRegister,
int  bIncrRowid 
)
static

Definition at line 128339 of file sqlite3.c.

static TriggerStep* triggerStepAllocate ( sqlite3 db,
u8  op,
Token pName 
)
static

Definition at line 120634 of file sqlite3.c.

static void trimFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 105355 of file sqlite3.c.

static void typeofFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 104189 of file sqlite3.c.

static void unicodeFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 105164 of file sqlite3.c.

static int unixAccess ( sqlite3_vfs NotUsed,
const char *  zPath,
int  flags,
int *  pResOut 
)
static

Definition at line 35344 of file sqlite3.c.

static int unixCheckReservedLock ( sqlite3_file id,
int *  pResOut 
)
static

Definition at line 30774 of file sqlite3.c.

static int unixClose ( sqlite3_file id)
static

Definition at line 31350 of file sqlite3.c.

static int unixCurrentTime ( sqlite3_vfs NotUsed,
double *  prNow 
)
static

Definition at line 35671 of file sqlite3.c.

static int unixCurrentTimeInt64 ( sqlite3_vfs NotUsed,
sqlite3_int64 piNow 
)
static

Definition at line 35639 of file sqlite3.c.

static int unixDelete ( sqlite3_vfs NotUsed,
const char *  zPath,
int  dirSync 
)
static

Definition at line 35296 of file sqlite3.c.

static int unixDeviceCharacteristics ( sqlite3_file id)
static

Definition at line 33348 of file sqlite3.c.

static void unixDlClose ( sqlite3_vfs NotUsed,
void *  pHandle 
)
static

Definition at line 35538 of file sqlite3.c.

static void unixDlError ( sqlite3_vfs NotUsed,
int  nBuf,
char *  zBufOut 
)
static

Definition at line 35505 of file sqlite3.c.

static void* unixDlOpen ( sqlite3_vfs NotUsed,
const char *  zFilename 
)
static

Definition at line 35493 of file sqlite3.c.

static void unixEnterMutex ( void  )
static

Definition at line 30063 of file sqlite3.c.

static int unixFetch ( sqlite3_file fd,
i64  iOff,
int  nAmt,
void **  pp 
)
static

Definition at line 34242 of file sqlite3.c.

static int unixFileControl ( sqlite3_file id,
int  op,
void *  pArg 
)
static

Definition at line 33153 of file sqlite3.c.

static int unixFileLock ( unixFile pFile,
struct flock *  pLock 
)
static

Definition at line 30834 of file sqlite3.c.

static int unixFileSize ( sqlite3_file id,
i64 pSize 
)
static

Definition at line 33030 of file sqlite3.c.

static int unixFullPathname ( sqlite3_vfs pVfs,
const char *  zPath,
int  nOut,
char *  zOut 
)
static

Definition at line 35403 of file sqlite3.c.

static int unixGetLastError ( sqlite3_vfs NotUsed,
int  NotUsed2,
char *  NotUsed3 
)
static

Definition at line 35689 of file sqlite3.c.

static int unixGetpagesize ( void  )
static

Definition at line 33369 of file sqlite3.c.

static sqlite3_syscall_ptr unixGetSystemCall ( sqlite3_vfs pNotUsed,
const char *  zName 
)
static

Definition at line 29952 of file sqlite3.c.

static int unixGetTempname ( int  nBuf,
char *  zBuf 
)
static

Definition at line 34824 of file sqlite3.c.

static void unixLeaveMutex ( void  )
static

Definition at line 30066 of file sqlite3.c.

static int unixLock ( sqlite3_file id,
int  eFileLock 
)
static

Definition at line 30884 of file sqlite3.c.

static int unixLogErrorAtLine ( int  errcode,
const char *  zFunc,
const char *  zPath,
int  iLine 
)
static

Definition at line 30503 of file sqlite3.c.

static void unixModeBit ( unixFile pFile,
unsigned char  mask,
int *  pArg 
)
static

Definition at line 33137 of file sqlite3.c.

static const char* unixNextSystemCall ( sqlite3_vfs p,
const char *  zName 
)
static

Definition at line 29971 of file sqlite3.c.

static int unixOpen ( sqlite3_vfs pVfs,
const char *  zPath,
sqlite3_file pFile,
int  flags,
int *  pOutFlags 
)
static

Definition at line 35040 of file sqlite3.c.

static int unixOpenSharedMemory ( unixFile pDbFd)
static

Definition at line 33617 of file sqlite3.c.

static int unixRandomness ( sqlite3_vfs NotUsed,
int  nBuf,
char *  zBuf 
)
static

Definition at line 35552 of file sqlite3.c.

static int unixRead ( sqlite3_file id,
void *  pBuf,
int  amt,
sqlite3_int64  offset 
)
static

Definition at line 32548 of file sqlite3.c.

static int unixSectorSize ( sqlite3_file NotUsed)
static

Definition at line 33249 of file sqlite3.c.

static int unixSetSystemCall ( sqlite3_vfs pNotUsed,
const char *  zName,
sqlite3_syscall_ptr  pNewFunc 
)
static

Definition at line 29909 of file sqlite3.c.

static void unixShmBarrier ( sqlite3_file fd)
static

Definition at line 34016 of file sqlite3.c.

static int unixShmLock ( sqlite3_file fd,
int  ofst,
int  n,
int  flags 
)
static

Definition at line 33904 of file sqlite3.c.

static int unixShmMap ( sqlite3_file fd,
int  iRegion,
int  szRegion,
int  bExtend,
void volatile **  pp 
)
static

Definition at line 33766 of file sqlite3.c.

static void unixShmPurge ( unixFile pFd)
static

Definition at line 33557 of file sqlite3.c.

static int unixShmRegionPerMap ( void  )
static

Definition at line 33543 of file sqlite3.c.

static int unixShmSystemLock ( unixFile pFile,
int  lockType,
int  ofst,
int  n 
)
static

Definition at line 33464 of file sqlite3.c.

static int unixShmUnmap ( sqlite3_file fd,
int  deleteFlag 
)
static

Definition at line 34032 of file sqlite3.c.

static int unixSleep ( sqlite3_vfs NotUsed,
int  microseconds 
)
static

Definition at line 35599 of file sqlite3.c.

static int unixSync ( sqlite3_file id,
int  flags 
)
static

Definition at line 32930 of file sqlite3.c.

static const char* unixTempFileDir ( void  )
static

Definition at line 34790 of file sqlite3.c.

static int unixTruncate ( sqlite3_file id,
i64  nByte 
)
static

Definition at line 32980 of file sqlite3.c.

static int unixUnfetch ( sqlite3_file fd,
i64  iOff,
void *  p 
)
static

Definition at line 34273 of file sqlite3.c.

static int unixUnlock ( sqlite3_file id,
int  eFileLock 
)
static

Definition at line 31293 of file sqlite3.c.

static int unixWrite ( sqlite3_file id,
const void *  pBuf,
int  amt,
sqlite3_int64  offset 
)
static

Definition at line 32662 of file sqlite3.c.

static void unlockBtreeIfUnused ( BtShared pBt)
static

Definition at line 61273 of file sqlite3.c.

static void SQLITE_NOINLINE unlockBtreeMutex ( Btree p)
static

Definition at line 57984 of file sqlite3.c.

static void updateAccumulator ( Parse pParse,
AggInfo pAggInfo 
)
static

Definition at line 119078 of file sqlite3.c.

static void updateRangeAffinityStr ( Expr pRight,
int  n,
char *  zAff 
)
static

Definition at line 124704 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 122098 of file sqlite3.c.

static void upperFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 104536 of file sqlite3.c.

static SQLITE_NOINLINE int valueBytes ( sqlite3_value pVal,
u8  enc 
)
static

Definition at line 70457 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 70020 of file sqlite3.c.

static sqlite3_value* valueNew ( sqlite3 db,
struct ValueNewStat4Ctx p 
)
static

Definition at line 69864 of file sqlite3.c.

static SQLITE_NOINLINE const void* valueToText ( sqlite3_value pVal,
u8  enc 
)
static

Definition at line 69775 of file sqlite3.c.

static void SQLITE_NOINLINE vdbeChangeP4Full ( Vdbe p,
Op pOp,
const char *  zP4,
int  n 
)
static

Definition at line 71400 of file sqlite3.c.

static SQLITE_NOINLINE void vdbeClrCopy ( Mem pTo,
const Mem pFrom,
int  eType 
)
static

Definition at line 69543 of file sqlite3.c.

static int vdbeCommit ( sqlite3 db,
Vdbe p 
)
static

Definition at line 72644 of file sqlite3.c.

static int vdbeCompareMemString ( const Mem pMem1,
const Mem pMem2,
const CollSeq pColl,
u8 prcErr 
)
static

Definition at line 74167 of file sqlite3.c.

static void vdbeFreeOpArray ( sqlite3 db,
Op aOp,
int  nOp 
)
static

Definition at line 71333 of file sqlite3.c.

static int vdbeIncrBgPopulate ( IncrMerger pIncr)
static

Definition at line 86771 of file sqlite3.c.

static void vdbeIncrFree ( IncrMerger pIncr)
static

Definition at line 86052 of file sqlite3.c.

static int vdbeIncrMergerNew ( SortSubtask pTask,
MergeEngine pMerger,
IncrMerger **  ppOut 
)
static

Definition at line 86834 of file sqlite3.c.

static void vdbeIncrMergerSetThreads ( IncrMerger pIncr)
static

Definition at line 86858 of file sqlite3.c.

static int vdbeIncrPopulate ( IncrMerger pIncr)
static

Definition at line 86719 of file sqlite3.c.

static void* vdbeIncrPopulateThread ( void *  pCtx)
static

Definition at line 86761 of file sqlite3.c.

static int vdbeIncrSwap ( IncrMerger pIncr)
static

Definition at line 86795 of file sqlite3.c.

static SQLITE_NOINLINE void vdbeLeave ( Vdbe p)
static

Definition at line 71892 of file sqlite3.c.

static SQLITE_NOINLINE int vdbeMemAddTerminator ( Mem pMem)
static

Definition at line 69007 of file sqlite3.c.

static SQLITE_NOINLINE void vdbeMemClear ( Mem p)
static

Definition at line 69152 of file sqlite3.c.

static SQLITE_NOINLINE void vdbeMemClearExternAndSetNull ( Mem p)
static

Definition at line 69122 of file sqlite3.c.

static SQLITE_NOINLINE int vdbeMemFromBtreeResize ( BtCursor pCur,
u32  offset,
u32  amt,
int  key,
Mem pMem 
)
static

Definition at line 69713 of file sqlite3.c.

static void vdbeMergeEngineCompare ( MergeEngine pMerger,
int  iOut 
)
static

Definition at line 86871 of file sqlite3.c.

static void vdbeMergeEngineFree ( MergeEngine pMerger)
static

Definition at line 86038 of file sqlite3.c.

static int vdbeMergeEngineInit ( SortSubtask pTask,
MergeEngine pMerger,
int  eMode 
)
static

Definition at line 86953 of file sqlite3.c.

static int vdbeMergeEngineLevel0 ( SortSubtask pTask,
int  nPMA,
i64 piOffset,
MergeEngine **  ppOut 
)
static

Definition at line 87142 of file sqlite3.c.

static MergeEngine* vdbeMergeEngineNew ( int  nReader)
static

Definition at line 86015 of file sqlite3.c.

static int vdbeMergeEngineStep ( MergeEngine pMerger,
int *  pbEof 
)
static

Definition at line 86459 of file sqlite3.c.

static int vdbePmaReadBlob ( PmaReader p,
int  nByte,
u8 **  ppOut 
)
static

Definition at line 85328 of file sqlite3.c.

static void* vdbePmaReaderBgIncrInit ( void *  pCtx)
static

Definition at line 87091 of file sqlite3.c.

static void vdbePmaReaderClear ( PmaReader pReadr)
static

Definition at line 85311 of file sqlite3.c.

static int vdbePmaReaderIncrInit ( PmaReader pReadr,
int  eMode 
)
static

Definition at line 87112 of file sqlite3.c.

static int vdbePmaReaderIncrMergeInit ( PmaReader pReadr,
int  eMode 
)
static

Definition at line 87024 of file sqlite3.c.

static int vdbePmaReaderInit ( SortSubtask pTask,
SorterFile pFile,
i64  iStart,
PmaReader pReadr,
i64 pnByte 
)
static

Definition at line 85566 of file sqlite3.c.

static int vdbePmaReaderNext ( PmaReader pReadr)
static

Definition at line 85519 of file sqlite3.c.

static int vdbePmaReaderSeek ( SortSubtask pTask,
PmaReader pReadr,
SorterFile pFile,
i64  iOff 
)
static

Definition at line 85472 of file sqlite3.c.

static int vdbePmaReadVarint ( PmaReader p,
u64 pnOut 
)
static

Definition at line 85422 of file sqlite3.c.

static void vdbePmaWriteBlob ( PmaWriter p,
u8 pData,
int  nData 
)
static

Definition at line 86322 of file sqlite3.c.

static int vdbePmaWriterFinish ( PmaWriter p,
i64 piEof 
)
static

Definition at line 86355 of file sqlite3.c.

static void vdbePmaWriterInit ( sqlite3_file pFd,
PmaWriter p,
int  nBuf,
i64  iStart 
)
static

Definition at line 86300 of file sqlite3.c.

static void vdbePmaWriteVarint ( PmaWriter p,
u64  iVal 
)
static

Definition at line 86374 of file sqlite3.c.

static int vdbeRecordCompareInt ( int  nKey1,
const void *  pKey1,
UnpackedRecord pPKey2 
)
static

Definition at line 74626 of file sqlite3.c.

static int vdbeRecordCompareString ( int  nKey1,
const void *  pKey1,
UnpackedRecord pPKey2 
)
static

Definition at line 74720 of file sqlite3.c.

static i64 vdbeRecordDecodeInt ( u32  serial_type,
const u8 aKey 
)
static

Definition at line 74368 of file sqlite3.c.

static SQLITE_NOINLINE void vdbeReleaseAndSetInt64 ( Mem pMem,
i64  val 
)
static

Definition at line 69443 of file sqlite3.c.

static int vdbeSafety ( Vdbe p)
static

Definition at line 75156 of file sqlite3.c.

static int vdbeSafetyNotNull ( Vdbe p)
static

Definition at line 75164 of file sqlite3.c.

static int vdbeSortAllocUnpacked ( SortSubtask pTask)
static

Definition at line 86170 of file sqlite3.c.

static int vdbeSorterAddToTree ( SortSubtask pTask,
int  nDepth,
int  iSeq,
MergeEngine pRoot,
MergeEngine pLeaf 
)
static

Definition at line 87199 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 85626 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 85686 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 85599 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 85645 of file sqlite3.c.

static int vdbeSorterCreateThread ( SortSubtask pTask,
void *(*)(void *)  xTask,
void *  pIn 
)
static

Definition at line 85972 of file sqlite3.c.

static int vdbeSorterFlushPMA ( VdbeSorter pSorter)
static

Definition at line 86544 of file sqlite3.c.

static void* vdbeSorterFlushThread ( void *  pCtx)
static

Definition at line 86530 of file sqlite3.c.

static SorterCompare vdbeSorterGetCompare ( VdbeSorter p)
static

Definition at line 86230 of file sqlite3.c.

static int vdbeSorterJoinAll ( VdbeSorter pSorter,
int  rcin 
)
static

Definition at line 85985 of file sqlite3.c.

static int vdbeSorterJoinThread ( SortSubtask pTask)
static

Definition at line 85951 of file sqlite3.c.

static int vdbeSorterListToPMA ( SortSubtask pTask,
SorterList pList 
)
static

Definition at line 86395 of file sqlite3.c.

static int vdbeSorterMapFile ( SortSubtask pTask,
SorterFile pFile,
u8 **  pp 
)
static

Definition at line 85455 of file sqlite3.c.

static SorterRecord* vdbeSorterMerge ( SortSubtask pTask,
SorterRecord p1,
SorterRecord p2 
)
static

Definition at line 86188 of file sqlite3.c.

static int vdbeSorterMergeTreeBuild ( VdbeSorter pSorter,
MergeEngine **  ppOut 
)
static

Definition at line 87255 of file sqlite3.c.

static int vdbeSorterOpenTempFile ( sqlite3 db,
i64  nExtend,
sqlite3_file **  ppFd 
)
static

Definition at line 86143 of file sqlite3.c.

static void vdbeSorterRecordFree ( sqlite3 db,
SorterRecord pRecord 
)
static

Definition at line 85873 of file sqlite3.c.

static void* vdbeSorterRowkey ( const VdbeSorter pSorter,
int *  pnKey 
)
static

Definition at line 87501 of file sqlite3.c.

static int vdbeSorterSetupMerge ( VdbeSorter pSorter)
static

Definition at line 87334 of file sqlite3.c.

static int vdbeSorterSort ( SortSubtask pTask,
SorterList pList 
)
static

Definition at line 86244 of file sqlite3.c.

static int vdbeSorterTreeDepth ( int  nPMA)
static

Definition at line 87181 of file sqlite3.c.

static void vdbeSortSubtaskCleanup ( sqlite3 db,
SortSubtask pTask 
)
static

Definition at line 85886 of file sqlite3.c.

static int vdbeUnbind ( Vdbe p,
int  i 
)
static

Definition at line 76345 of file sqlite3.c.

static void verifyDbFile ( unixFile pFile)
static

Definition at line 30741 of file sqlite3.c.

static void versionFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 104986 of file sqlite3.c.

static void vfsUnlink ( sqlite3_vfs pVfs)
static

Definition at line 20099 of file sqlite3.c.

static int vtabBestIndex ( Parse pParse,
Table pTab,
sqlite3_index_info p 
)
static

Definition at line 128790 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 123037 of file sqlite3.c.

static VTable* vtabDisconnectAll ( sqlite3 db,
Table p 
)
static

Definition at line 122719 of file sqlite3.c.

static int walBusyLock ( Wal pWal,
int(*)(void *)  xBusy,
void *  pBusyArg,
int  lockIdx,
int  n 
)
static

Definition at line 55421 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 55507 of file sqlite3.c.

static void walChecksumBytes ( int  nativeCksum,
u8 a,
int  nByte,
const u32 aIn,
u32 aOut 
)
static

Definition at line 54398 of file sqlite3.c.

static volatile WalCkptInfo* walCkptInfo ( Wal pWal)
static

Definition at line 54364 of file sqlite3.c.

static void walCleanupHash ( Wal pWal)
static

Definition at line 54717 of file sqlite3.c.

static int walDecodeFrame ( Wal pWal,
u32 piPage,
u32 pnTruncate,
u8 aData,
u8 aFrame 
)
static

Definition at line 54504 of file sqlite3.c.

static void walEncodeFrame ( Wal pWal,
u32  iPage,
u32  nTruncate,
u8 aData,
u8 aFrame 
)
static

Definition at line 54473 of file sqlite3.c.

static int walFramePage ( u32  iFrame)
static

Definition at line 54683 of file sqlite3.c.

static u32 walFramePgno ( Wal pWal,
u32  iFrame 
)
static

Definition at line 54697 of file sqlite3.c.

static int walHash ( u32  iPage)
static

Definition at line 54622 of file sqlite3.c.

static int walHashGet ( Wal pWal,
int  iHash,
volatile ht_slot **  paHash,
volatile u32 **  paPgno,
u32 piZero 
)
static

Definition at line 54645 of file sqlite3.c.

static int walIndexAppend ( Wal pWal,
u32  iFrame,
u32  iPage 
)
static

Definition at line 54779 of file sqlite3.c.

static void walIndexClose ( Wal pWal,
int  isDelete 
)
static

Definition at line 55035 of file sqlite3.c.

static volatile WalIndexHdr* walIndexHdr ( Wal pWal)
static

Definition at line 54372 of file sqlite3.c.

static int walIndexPage ( Wal pWal,
int  iPage,
volatile u32 **  ppPage 
)
static

Definition at line 54322 of file sqlite3.c.

static int walIndexReadHdr ( Wal pWal,
int *  pChanged 
)
static

Definition at line 55842 of file sqlite3.c.

static int walIndexRecover ( Wal pWal)
static

Definition at line 54868 of file sqlite3.c.

static int walIndexTryHdr ( Wal pWal,
int *  pChanged 
)
static

Definition at line 55784 of file sqlite3.c.

static void walIndexWriteHdr ( Wal pWal)
static

Definition at line 54447 of file sqlite3.c.

static void walIteratorFree ( WalIterator p)
static

Definition at line 55323 of file sqlite3.c.

static int walIteratorInit ( Wal pWal,
WalIterator **  pp 
)
static

Definition at line 55339 of file sqlite3.c.

static int walIteratorNext ( WalIterator p,
u32 piPage,
u32 piFrame 
)
static

Definition at line 55150 of file sqlite3.c.

static SQLITE_NOINLINE int walkExpr ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 88060 of file sqlite3.c.

static void walLimitSize ( Wal pWal,
i64  nMax 
)
static

Definition at line 55688 of file sqlite3.c.

static int walLockExclusive ( Wal pWal,
int  lockIdx,
int  n 
)
static

Definition at line 54599 of file sqlite3.c.

static int walLockShared ( Wal pWal,
int  lockIdx 
)
static

Definition at line 54583 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 55203 of file sqlite3.c.

static void walMergesort ( const u32 aContent,
ht_slot aBuffer,
ht_slot aList,
int *  pnList 
)
static

Definition at line 55260 of file sqlite3.c.

static int walNextHash ( int  iPriorHash)
static

Definition at line 54627 of file sqlite3.c.

static int walPagesize ( Wal pWal)
static

Definition at line 55439 of file sqlite3.c.

static void walRestartHdr ( Wal pWal,
u32  salt1 
)
static

Definition at line 55460 of file sqlite3.c.

static int walRestartLog ( Wal pWal)
static

Definition at line 56568 of file sqlite3.c.

static int walRewriteChecksums ( Wal pWal,
u32  iLast 
)
static

Definition at line 56686 of file sqlite3.c.

static void walShmBarrier ( Wal pWal)
static

Definition at line 54436 of file sqlite3.c.

static int walTryBeginRead ( Wal pWal,
int *  pChanged,
int  useWal,
int  cnt 
)
static

Definition at line 55959 of file sqlite3.c.

static void walUnlockExclusive ( Wal pWal,
int  lockIdx,
int  n 
)
static

Definition at line 54609 of file sqlite3.c.

static void walUnlockShared ( Wal pWal,
int  lockIdx 
)
static

Definition at line 54593 of file sqlite3.c.

static int walWriteOneFrame ( WalWriter p,
PgHdr pPage,
int  nTruncate,
sqlite3_int64  iOffset 
)
static

Definition at line 56656 of file sqlite3.c.

static int walWriteToLog ( WalWriter p,
void *  pContent,
int  iAmt,
sqlite3_int64  iOffset 
)
static

Definition at line 56631 of file sqlite3.c.

static void whereAndInfoDelete ( sqlite3 db,
WhereAndInfo p 
)
static

Definition at line 126418 of file sqlite3.c.

static int whereClauseInsert ( WhereClause pWC,
Expr p,
u16  wtFlags 
)
static

Definition at line 126442 of file sqlite3.c.

static void whereCombineDisjuncts ( SrcList pSrc,
WhereClause pWC,
WhereTerm pOne,
WhereTerm pTwo 
)
static

Definition at line 126765 of file sqlite3.c.

static char* whereForeignKeys ( Parse pParse,
Table pTab 
)
static

Definition at line 95029 of file sqlite3.c.

static void whereInfoFree ( sqlite3 db,
WhereInfo pWInfo 
)
static

Definition at line 129666 of file sqlite3.c.

static void whereLikeOptimizationStringFixup ( Vdbe v,
WhereLevel pLevel,
WhereTerm pTerm 
)
static

Definition at line 125065 of file sqlite3.c.

static int whereLoopAddAll ( WhereLoopBuilder pBuilder)
static

Definition at line 131191 of file sqlite3.c.

static int whereLoopAddBtree ( WhereLoopBuilder pBuilder,
Bitmask  mPrereq 
)
static

Definition at line 130549 of file sqlite3.c.

static int whereLoopAddBtreeIndex ( WhereLoopBuilder pBuilder,
struct SrcList_item *  pSrc,
Index pProbe,
LogEst  nInMul 
)
static

Definition at line 130123 of file sqlite3.c.

static int whereLoopAddOr ( WhereLoopBuilder pBuilder,
Bitmask  mPrereq,
Bitmask  mUnusable 
)
static

Definition at line 131068 of file sqlite3.c.

static int whereLoopAddVirtual ( WhereLoopBuilder pBuilder,
Bitmask  mPrereq,
Bitmask  mUnusable 
)
static

Definition at line 130947 of file sqlite3.c.

static int whereLoopAddVirtualOne ( WhereLoopBuilder pBuilder,
Bitmask  mPrereq,
Bitmask  mUsable,
u16  mExclude,
sqlite3_index_info pIdxInfo,
u16  mNoOmit,
int *  pbIn 
)
static

Definition at line 130793 of file sqlite3.c.

static void whereLoopAdjustCost ( const WhereLoop p,
WhereLoop pTemplate 
)
static

Definition at line 129739 of file sqlite3.c.

static int whereLoopCheaperProperSubset ( const WhereLoop pX,
const WhereLoop pY 
)
static

Definition at line 129702 of file sqlite3.c.

static void whereLoopClear ( sqlite3 db,
WhereLoop p 
)
static

Definition at line 129614 of file sqlite3.c.

static void whereLoopClearUnion ( sqlite3 db,
WhereLoop p 
)
static

Definition at line 129597 of file sqlite3.c.

static void whereLoopDelete ( sqlite3 db,
WhereLoop p 
)
static

Definition at line 129658 of file sqlite3.c.

static WhereLoop** whereLoopFindLesser ( WhereLoop **  ppPrev,
const WhereLoop pTemplate 
)
static

Definition at line 129775 of file sqlite3.c.

static void whereLoopInit ( WhereLoop p)
static

Definition at line 129587 of file sqlite3.c.

static int whereLoopInsert ( WhereLoopBuilder pBuilder,
WhereLoop pTemplate 
)
static

Definition at line 129863 of file sqlite3.c.

static void whereLoopOutputAdjust ( WhereClause pWC,
WhereLoop pLoop,
LogEst  nRow 
)
static

Definition at line 129989 of file sqlite3.c.

static int whereLoopResize ( sqlite3 db,
WhereLoop p,
int  n 
)
static

Definition at line 129623 of file sqlite3.c.

static int whereLoopXfer ( sqlite3 db,
WhereLoop pTo,
WhereLoop pFrom 
)
static

Definition at line 129639 of file sqlite3.c.

static WhereTerm* whereNthSubterm ( WhereTerm pTerm,
int  N 
)
static

Definition at line 126735 of file sqlite3.c.

static void whereOrInfoDelete ( sqlite3 db,
WhereOrInfo p 
)
static

Definition at line 126410 of file sqlite3.c.

static int whereOrInsert ( WhereOrSet pSet,
Bitmask  prereq,
LogEst  rRun,
LogEst  nOut 
)
static

Definition at line 127953 of file sqlite3.c.

static void whereOrMove ( WhereOrSet pDest,
WhereOrSet pSrc 
)
static

Definition at line 127941 of file sqlite3.c.

static char* whereOrName ( sqlite3 db,
char *  zWhere,
char *  zConstant 
)
static

Definition at line 95011 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 131259 of file sqlite3.c.

static int wherePathSolver ( WhereInfo pWInfo,
LogEst  nRowEst 
)
static

Definition at line 131637 of file sqlite3.c.

static LogEst whereRangeAdjust ( WhereTerm pTerm,
LogEst  nNew 
)
static

Definition at line 129031 of file sqlite3.c.

static int whereRangeScanEst ( Parse pParse,
WhereLoopBuilder pBuilder,
WhereTerm pLower,
WhereTerm pUpper,
WhereLoop pLoop 
)
static

Definition at line 129206 of file sqlite3.c.

static int whereRangeVectorLen ( Parse pParse,
int  iCur,
Index pIdx,
int  nEq,
WhereTerm pTerm 
)
static

Definition at line 130052 of file sqlite3.c.

static WhereTerm* whereScanInit ( WhereScan pScan,
WhereClause pWC,
int  iCur,
int  iColumn,
u32  opMask,
Index pIdx 
)
static

Definition at line 128115 of file sqlite3.c.

static WhereTerm* whereScanNext ( WhereScan pScan)
static

Definition at line 128019 of file sqlite3.c.

static int whereShortCut ( WhereLoopBuilder pBuilder)
static

Definition at line 132005 of file sqlite3.c.

static LogEst whereSortingCost ( WhereInfo pWInfo,
LogEst  nRow,
int  nOrderBy,
int  nSorted 
)
static

Definition at line 131592 of file sqlite3.c.

static char* whereTempTriggers ( Parse pParse,
Table pTab 
)
static

Definition at line 95045 of file sqlite3.c.

static int whereUsablePartialIndex ( int  iTab,
WhereClause pWC,
Expr pWhere 
)
static

Definition at line 130495 of file sqlite3.c.

static With* withDup ( sqlite3 db,
With p 
)
static

Definition at line 90982 of file sqlite3.c.

static int withExpand ( Walker pWalker,
struct SrcList_item *  pFrom 
)
static

Definition at line 118458 of file sqlite3.c.

static int write32bits ( sqlite3_file fd,
i64  offset,
u32  val 
)
static

Definition at line 47445 of file sqlite3.c.

static int writeJournalHdr ( Pager pPager)
static

Definition at line 47749 of file sqlite3.c.

static int writeMasterJournal ( Pager pPager,
const char *  zMaster 
)
static

Definition at line 47992 of file sqlite3.c.

static int xferCompatibleIndex ( Index pDest,
Index pSrc 
)
static

Definition at line 109198 of file sqlite3.c.

static int xferOptimization ( Parse pParse,
Table pDest,
Select pSelect,
int  onError,
int  iDbDest 
)
static

Definition at line 109259 of file sqlite3.c.

static void yy_accept ( yyParser yypParser)
static

Definition at line 136372 of file sqlite3.c.

static void yy_destructor ( yyParser yypParser,
YYCODETYPE  yymajor,
YYMINORTYPE yypminor 
)
static

Definition at line 134352 of file sqlite3.c.

static int yy_find_reduce_action ( int  stateno,
YYCODETYPE  iLookAhead 
)
static

Definition at line 134569 of file sqlite3.c.

static unsigned int yy_find_shift_action ( yyParser pParser,
YYCODETYPE  iLookAhead 
)
static

Definition at line 134506 of file sqlite3.c.

static void yy_pop_parser_stack ( yyParser pParser)
static

Definition at line 134454 of file sqlite3.c.

static void yy_reduce ( yyParser yypParser,
unsigned int  yyruleno 
)
static

Definition at line 135024 of file sqlite3.c.

static void yy_shift ( yyParser yypParser,
int  yyNewState,
int  yyMajor,
sqlite3ParserTOKENTYPE  yyMinor 
)
static

Definition at line 134640 of file sqlite3.c.

static void yy_syntax_error ( yyParser yypParser,
int  yymajor,
sqlite3ParserTOKENTYPE  yyminor 
)
static

Definition at line 136353 of file sqlite3.c.

static void yyStackOverflow ( yyParser yypParser)
static

Definition at line 134599 of file sqlite3.c.

static void zeroblobFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 105248 of file sqlite3.c.

static int zeroJournalHdr ( Pager pPager,
int  doTruncate 
)
static

Definition at line 47699 of file sqlite3.c.

static void zeroPage ( MemPage pPage,
int  flags 
)
static

Definition at line 60110 of file sqlite3.c.

Variable Documentation

const char aDigits[] = "0123456789ABCDEF0123456789abcdef"
static

Definition at line 24781 of file sqlite3.c.

const int aHardLimit[]
static
Initial value:
= {
}
#define SQLITE_MAX_ATTACHED
Definition: sqlite3.c:10773
#define SQLITE_MAX_VARIABLE_NUMBER
Definition: sqlite3.c:10781
#define SQLITE_MAX_TRIGGER_DEPTH
Definition: sqlite3.c:10855
#define SQLITE_MAX_VDBE_OP
Definition: sqlite3.c:10735
#define SQLITE_MAX_LENGTH
Definition: sqlite3.c:10669
#define SQLITE_MAX_FUNCTION_ARG
Definition: sqlite3.c:10742
#define SQLITE_MAX_EXPR_DEPTH
Definition: sqlite3.c:10715
#define SQLITE_MAX_SQL_LENGTH
Definition: sqlite3.c:10701
#define SQLITE_MAX_COMPOUND_SELECT
Definition: sqlite3.c:10727
#define SQLITE_MAX_COLUMN
Definition: sqlite3.c:10690
#define SQLITE_MAX_LIKE_PATTERN_LENGTH
Definition: sqlite3.c:10844
#define SQLITE_MAX_WORKER_THREADS
Definition: sqlite3.c:11540

Definition at line 140246 of file sqlite3.c.

const unsigned char aiClass[]
static

Definition at line 136627 of file sqlite3.c.

const unsigned char aJournalMagic[]
static
Initial value:
= {
0xd9, 0xd5, 0x05, 0xf9, 0x20, 0xa1, 0x63, 0xd7,
}

Definition at line 47123 of file sqlite3.c.

const struct sPragmaNames aPragmaNames[]
static
const char aPrefix[] = "-x0\000X0"
static

Definition at line 24782 of file sqlite3.c.

struct unix_syscall aSyscall[]
static
const char* const azCompileOpt[]
static

Definition at line 17244 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:24735
#define etSQLESCAPE3
Definition: sqlite3.c:24745
#define etORDINAL
Definition: sqlite3.c:24746
#define etSRCLIST
Definition: sqlite3.c:24743
#define etSQLESCAPE
Definition: sqlite3.c:24739
#define etSTRING
Definition: sqlite3.c:24734
#define etPOINTER
Definition: sqlite3.c:24744
#define etSIZE
Definition: sqlite3.c:24733
#define etTOKEN
Definition: sqlite3.c:24742
#define etSQLESCAPE2
Definition: sqlite3.c:24740
#define etGENERIC
Definition: sqlite3.c:24732
#define etPERCENT
Definition: sqlite3.c:24736
#define etEXP
Definition: sqlite3.c:24731
#define etCHARX
Definition: sqlite3.c:24737
#define etRADIX
Definition: sqlite3.c:24729
#define etFLOAT
Definition: sqlite3.c:24730

Definition at line 24783 of file sqlite3.c.

const struct compareInfo globInfo = { '*', '?', '[', 0 }
static

Definition at line 104707 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 105076 of file sqlite3.c.

unixInodeInfo* inodeList = 0
static

Definition at line 30484 of file sqlite3.c.

Definition at line 134681 of file sqlite3.c.

const struct compareInfo likeInfoAlt = { '%', '_', 0, 0 }
static

Definition at line 104713 of file sqlite3.c.

const struct compareInfo likeInfoNorm = { '%', '_', 0, 1 }
static

Definition at line 104710 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:87868
static int memjrnlRead(sqlite3_file *pJfd, void *zBuf, int iAmt, sqlite_int64 iOfst)
Definition: sqlite3.c:87687
static int memjrnlSync(sqlite3_file *pJfd, int flags)
Definition: sqlite3.c:87896
static int memjrnlClose(sqlite3_file *pJfd)
Definition: sqlite3.c:87884
static int memjrnlWrite(sqlite3_file *pJfd, const void *zBuf, int iAmt, sqlite_int64 iOfst)
Definition: sqlite3.c:87790
static int memjrnlFileSize(sqlite3_file *pJfd, sqlite_int64 *pSize)
Definition: sqlite3.c:87904

Definition at line 87913 of file sqlite3.c.

unsigned char nrhs

Definition at line 134682 of file sqlite3.c.

SQLITE_WSD struct PCacheGlobal pcache1_g
static
pid_t randomnessPid = 0
static

Definition at line 29448 of file sqlite3.c.

SQLITE_API char * sqlite3_data_directory = 0

Definition at line 5491 of file sqlite3.c.

SQLITE_API char * sqlite3_temp_directory = 0

Definition at line 5454 of file sqlite3.c.

SQLITE_API const char sqlite3_version[] = SQLITE_VERSION

Definition at line 418 of file sqlite3.c.

const sqlite3_api_routines sqlite3Apis
static

Definition at line 110413 of file sqlite3.c.

SQLITE_WSD struct sqlite3AutoExtList sqlite3Autoext = { 0, 0 }
static
SQLITE_PRIVATE FuncDefHash sqlite3BuiltinFunctions

Definition at line 17167 of file sqlite3.c.

SQLITE_PRIVATE SQLITE_WSD struct Sqlite3Config sqlite3Config

Definition at line 17109 of file sqlite3.c.

SQLITE_PRIVATE const unsigned char sqlite3CtypeMap[256]

Definition at line 17024 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 17172 of file sqlite3.c.

const int sqlite3one = 1

Definition at line 11753 of file sqlite3.c.

SQLITE_PRIVATE const unsigned char sqlite3OpcodeProperty[] = OPFLG_INITIALIZER

Definition at line 17207 of file sqlite3.c.

SQLITE_PRIVATE void(*)(void) sqlite3OsDlSym(sqlite3_vfs *pVfs, void *pHdle, const char *zSym)

Definition at line 13603 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PendingByte = 0x40000000

Definition at line 17197 of file sqlite3.c.

SQLITE_WSD struct sqlite3PrngType sqlite3Prng
static
SQLITE_WSD struct sqlite3PrngType sqlite3SavedPrng
static

Definition at line 26444 of file sqlite3.c.

BtShared* SQLITE_WSD sqlite3SharedCacheList = 0
static

Definition at line 58320 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 73659 of file sqlite3.c.

SQLITE_WSD struct sqlite3StatType sqlite3Stat = { {0,}, {0,} }
static
SQLITE_PRIVATE const char sqlite3StrBINARY[] = "BINARY"

Definition at line 17212 of file sqlite3.c.

SQLITE_PRIVATE const unsigned char sqlite3UpperToLower[]

Definition at line 16957 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 26791 of file sqlite3.c.

const FuncDef statGetFuncdef
static
Initial value:
= {
0,
0,
0,
"stat_get",
{0}
}
#define SQLITE_UTF8
Definition: sqlite3.c:4756
#define IsStat34
Definition: sqlite3.c:95719
static void statGet(sqlite3_context *context, int argc, sqlite3_value **argv)
Definition: sqlite3.c:96367

Definition at line 96482 of file sqlite3.c.

const FuncDef statInitFuncdef
static
Initial value:
= {
0,
0,
0,
"stat_init",
{0}
}
#define SQLITE_UTF8
Definition: sqlite3.c:4756
#define IsStat34
Definition: sqlite3.c:95719
static void statInit(sqlite3_context *context, int argc, sqlite3_value **argv)
Definition: sqlite3.c:95956

Definition at line 96038 of file sqlite3.c.

const char statMutex[]
static
Initial value:
= {
0,
1,
1,
0,
0,
0,
0,
1,
0,
0,
}

Definition at line 18258 of file sqlite3.c.

const FuncDef statPushFuncdef
static
Initial value:
= {
0,
0,
0,
"stat_push",
{0}
}
#define SQLITE_UTF8
Definition: sqlite3.c:4756
static void statPush(sqlite3_context *context, int argc, sqlite3_value **argv)
Definition: sqlite3.c:96268
#define IsStat34
Definition: sqlite3.c:95719

Definition at line 96337 of file sqlite3.c.

void(*)(void) unixDlSym(sqlite3_vfs *NotUsed, void *p, const char *zSym)
static

Definition at line 35515 of file sqlite3.c.

sqlite3_vfs* SQLITE_WSD vfsList = 0
static

Definition at line 20068 of file sqlite3.c.

const YYACTIONTYPE yy_action[]
static

Definition at line 133203 of file sqlite3.c.

const YYACTIONTYPE yy_default[]
static

Definition at line 133612 of file sqlite3.c.

const YYCODETYPE yy_lookahead[]
static

Definition at line 133362 of file sqlite3.c.

const short yy_reduce_ofst[]
static

Definition at line 133577 of file sqlite3.c.

const short yy_shift_ofst[]
static

Definition at line 133525 of file sqlite3.c.

const YYCODETYPE yyFallback[]
static

Definition at line 133677 of file sqlite3.c.

const { ... } yyRuleInfo[]
const char zMagicHeader[] = SQLITE_FILE_HEADER
static

Definition at line 58265 of file sqlite3.c.



asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 04:00:09