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:

Go to the source code of this file.

Classes

struct  Hash::_ht
 
struct  AggInfo
 
struct  AggInfo::AggInfo_col
 
struct  AggInfo::AggInfo_func
 
struct  analysisInfo
 
struct  AttachKey
 
struct  AuthContext
 
struct  AutoincInfo
 
struct  AuxData
 
struct  BenignMallocHooks
 
struct  Bitvec
 
struct  BtCursor
 
struct  BtLock
 
struct  Btree
 
struct  BtShared
 
struct  BusyHandler
 
struct  CellInfo
 
struct  CollSeq
 
struct  Column
 
struct  compareInfo
 
struct  CountCtx
 
struct  DateTime
 
struct  Db
 
struct  DbFixer
 
struct  DistinctCtx
 
struct  et_info
 
struct  Explain
 
struct  Expr
 
struct  ExprList
 
struct  ExprList::ExprList_item
 
struct  ExprSpan
 
struct  FileChunk
 
struct  FilePoint
 
struct  FileWriter
 
struct  FKey
 
struct  FuncDef
 
struct  FuncDefHash
 
struct  FuncDestructor
 
struct  Hash
 
struct  HashElem
 
struct  IdList
 
struct  IdList::IdList_item
 
struct  Incrblob
 
struct  Index
 
struct  IndexSample
 
struct  InitData
 
struct  IntegrityCk
 
struct  KeyInfo
 
struct  LikeOp
 
struct  LimitVal
 
struct  Lookaside
 
struct  LookasideSlot
 
struct  Mem
 
struct  Mem0Global
 
struct  MemJournal
 
struct  MemPage
 
struct  Module
 
struct  NameContext
 
struct  Pager
 
struct  PagerSavepoint
 
struct  Parse
 
struct  PCache
 
struct  PCache1
 
struct  PCacheGlobal
 
struct  PgFreeslot
 
struct  PgHdr
 
struct  PgHdr1
 
struct  PGroup
 
struct  RowSet
 
struct  RowSetChunk
 
struct  RowSetEntry
 
struct  Savepoint
 
struct  Schema
 
struct  FKey::sColMap
 
struct  ScratchFreeslot
 
struct  Select
 
struct  SelectDest
 
struct  SorterRecord
 
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_vfs
 
struct  sqlite3_vtab
 
struct  sqlite3_vtab_cursor
 
struct  sqlite3AutoExtList
 
struct  Sqlite3Config
 
struct  sqlite3::sqlite3InitInfo
 
struct  sqlite3PrngType
 
struct  sqlite3StatType
 
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  ValueList
 
struct  ValueNewStat4Ctx
 
struct  Vdbe
 
struct  VdbeCursor
 
struct  VdbeFrame
 
struct  VdbeOp
 
struct  VdbeOpList
 
struct  VdbeSorter
 
struct  VdbeSorterIter
 
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  Parse::yColCache
 
union  YYMINORTYPE
 
struct  yyParser
 
struct  yyStackEntry
 

Macros

#define _BTREE_H_
 
#define _FILE_OFFSET_BITS   64
 
#define _FTSINT_H
 
#define _GNU_SOURCE
 
#define _LARGE_FILE   1
 
#define _LARGE_FILE   1
 
#define _LARGEFILE_SOURCE   1
 
#define _LARGEFILE_SOURCE   1
 
#define _OS_COMMON_H_
 
#define _PAGER_H_
 
#define _SQLITE3_H_
 
#define _SQLITE3EXT_H_
 
#define _SQLITE3RTREE_H_
 
#define _SQLITE_HASH_H_
 
#define _SQLITE_OS_C_   1
 
#define _SQLITE_OS_H_
 
#define _SQLITE_VDBE_H_
 
#define _SQLITEINT_H_
 
#define _VDBEINT_H_
 
#define _WAL_H_
 
#define _XOPEN_SOURCE   600
 
#define ADDR(X)   (-1-(X))
 
#define AGGREGATE(zName, nArg, arg, nc, xStep, xFinal)
 
#define ALWAYS(X)   (X)
 
#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 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_BLOBKEY   2 /* Table has keys only - no data */
 
#define BTREE_BULKLOAD   0x00000001
 
#define BTREE_DEFAULT_CACHE_SIZE   3
 
#define BTREE_FILE_FORMAT   2
 
#define BTREE_FREE_PAGE_COUNT   0
 
#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_SCHEMA_VERSION   1
 
#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 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 charMap(X)   sqlite3UpperToLower[(unsigned char)X]
 
#define CHECK_FOR_INTERRUPT   if( db->u1.isInterrupted ) goto abort_due_to_interrupt;
 
#define CHECK_PAGE(x)
 
#define checkActiveVdbeCnt(x)
 
#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 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)->cookieGoto>0 && OptimizationEnabled((P)->db,SQLITE_FactorOutConst))
 
#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 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->flags&=~(P)
 
#define DbHasAnyProperty(D, I, P)   (((D)->aDb[I].pSchema->flags&(P))!=0)
 
#define DbHasProperty(D, I, P)   (((D)->aDb[I].pSchema->flags&(P))==(P))
 
#define DbSetProperty(D, I, P)   (D)->aDb[I].pSchema->flags|=(P)
 
#define Deephemeralize(P)
 
#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)->aDb[0].pSchema->enc)
 
#define EP_Agg   0x000002 /* Contains one or more aggregate functions */
 
#define EP_Collate   0x000100 /* Tree contains a TK_COLLATE opeartor */
 
#define EP_Constant   0x080000 /* Node is a constant */
 
#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 /* Originated in ON or USING clause of a join */
 
#define EP_InfixFunc   0x000080 /* True for an infix function: LIKE, GLOB, etc */
 
#define EP_IntValue   0x000400 /* Integer value contained in u.iValue */
 
#define EP_MemToken   0x010000 /* Need to sqlite3DbFree() Expr.zToken */
 
#define EP_NoReduce   0x020000 /* Cannot EXPRDUP_REDUCE this Expr */
 
#define EP_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_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   9 /* Characters. %c */
 
#define etDYNSTRING   7 /* Dynamically allocated strings. %z */
 
#define etEXP   3 /* Exponentional notation. %e and %E */
 
#define etFLOAT   2 /* Floating point. %f */
 
#define etGENERIC   4 /* Floating or exponential, depending on exponent. %g */
 
#define etINVALID   0 /* Any unrecognized conversion type */
 
#define etORDINAL   16 /* %r -> 1st, 2nd, 3rd, 4th, etc. English only */
 
#define etPERCENT   8 /* Percent symbol. %% */
 
#define etPOINTER   14 /* The %p conversion */
 
#define etRADIX   1 /* Integer types. %d, %x, %o, and so forth */
 
#define etSIZE   5 /* Return number of characters processed so far. %n */
 
#define etSQLESCAPE   10 /* Strings with '\'' doubled. %q */
 
#define etSQLESCAPE2
 
#define etSQLESCAPE3   15 /* %w -> Strings with '\"' doubled */
 
#define etSRCLIST   13 /* a pointer to a SrcList */
 
#define etSTRING   6 /* Strings. %s */
 
#define etTOKEN   12 /* a pointer to a Token structure */
 
#define EXCLUSIVE_LOCK   4
 
#define ExpandBlob(P)   (((P)->flags&MEM_Zero)?sqlite3VdbeMemExpandBlob(P):0)
 
#define expensive_assert(X)
 
#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 FILEHANDLEID(fd)   ((int)fd)
 
#define findCell(P, I)   ((P)->aData + ((P)->maskPage & get2byte(&(P)->aCellIdx[2*(I)])))
 
#define findCellv2(D, M, O, I)   (D+(M&get2byte(D+(O+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 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 get2byte(x)   ((x)[0]<<8 | (x)[1])
 
#define get2byteNotZero(X)   (((((int)get2byte(X))-1)&0xffff)+1)
 
#define get4byte   sqlite3Get4byte
 
#define getCellInfo(pCur)
 
#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 GlobUpperToLower(A)   if( !((A)&~0x7f) ){ A = sqlite3UpperToLower[A]; }
 
#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_FULLFSYNC   0
 
#define HAVE_MREMAP   0
 
#define IdChar(C)   ((sqlite3CtypeMap[(unsigned char)C]&0x46)!=0)
 
#define IfNotOmitAV(expr)   (expr)
 
#define IgnorableOrderby(X)   ((X->eDest)<=SRT_Discard)
 
#define IN_DECLARE_VTAB   (pParse->declareVtab)
 
#define IN_INDEX_EPH   2
 
#define IN_INDEX_INDEX_ASC   3
 
#define IN_INDEX_INDEX_DESC   4
 
#define IN_INDEX_ROWID   1
 
#define initMaskSet(P)   (P)->n=0
 
#define INT16_TYPE   short int
 
#define INT8_TYPE   signed char
 
#define INTERFACE   1
 
#define IOMETHODS(FINDER, METHOD, VERSION, CLOSE, LOCK, UNLOCK, CKLOCK)
 
#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 isOpen(pFd)   ((pFd)->pMethods)
 
#define IsPowerOfTwo(X)   (((X)&((X)-1))==0)
 
#define isSorter(x)   ((x)->pSorter!=0)
 
#define IsStat3   0
 
#define IsStat34   (IsStat3+IsStat4) /* 1 for STAT3 or STAT4. 0 otherwise */
 
#define IsStat4   0
 
#define IsVirtual(X)   (((X)->tabFlags & TF_Virtual)!=0)
 
#define JOURNAL_CHUNKSIZE   ((int)(1024-sizeof(FileChunk*)))
 
#define JOURNAL_HDR_SZ(pPager)   (pPager->sectorSize)
 
#define JOURNAL_PG_SZ(pPager)   ((pPager->pageSize) + 8)
 
#define JT_CROSS   0x0002 /* Explicit use of the CROSS keyword */
 
#define JT_ERROR   0x0040 /* unknown or unsupported join type */
 
#define JT_INNER   0x0001 /* Any kind of inner or cross join */
 
#define JT_LEFT   0x0008 /* Left outer join */
 
#define JT_NATURAL   0x0004 /* True for a "natural" join */
 
#define JT_OUTER   0x0020 /* The "OUTER" keyword is present */
 
#define JT_RIGHT   0x0010 /* Right outer join */
 
#define LARGEST_INT64   (0xffffffff|(((i64)0x7fffffff)<<32))
 
#define LIKEFUNC(zName, nArg, arg, flags)
 
#define likely(X)   (X)
 
#define LONGDOUBLE_TYPE   long double
 
#define MASKBIT(n)   (((Bitmask)1)<<(n))
 
#define 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_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 sqliteFree() 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_Invalid   0x0080 /* Value is undefined */
 
#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_Term   0x0200 /* String rep is nul terminated */
 
#define MEM_TypeMask   0x01ff /* Mask of type bits */
 
#define MEM_Zero   0x4000 /* Mem.i contains count of 0s appended to blob */
 
#define memAboutToChange(P, M)
 
#define MEMCELLSIZE   (size_t)(&(((Mem *)0)->zMalloc))
 
#define MEMDB   pPager->memDb
 
#define MemSetTypeFlag(p, f)   ((p)->flags = ((p)->flags&~(MEM_TypeMask|MEM_Zero))|f)
 
#define MEMTYPE_DB   0x10 /* Uses sqlite3DbMalloc, not sqlite_malloc */
 
#define MEMTYPE_HEAP   0x01 /* General heap allocations */
 
#define MEMTYPE_LOOKASIDE   0x02 /* Might have been lookaside memory */
 
#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   0x01 /* Aggregate functions are allowed here */
 
#define NC_HasAgg   0x02 /* One or more aggregate functions seen */
 
#define NC_InAggFunc   0x08 /* True if analyzing arguments to an agg func */
 
#define NC_IsCheck   0x04 /* True if resolving names in a CHECK constraint */
 
#define NC_PartIdx   0x10 /* True if resolving a partial index WHERE */
 
#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 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 OP_Add   87 /* same as TK_PLUS, synopsis: r[P3]=r[P1]+r[P2] */
 
#define OP_AddImm   34 /* synopsis: r[P1]=r[P1]+P2 */
 
#define OP_Affinity   44 /* synopsis: affinity(r[P1@P2]) */
 
#define OP_AggFinal   132 /* synopsis: accum=r[P1] N=P2 */
 
#define OP_AggStep   10 /* synopsis: accum=r[P3] step(r[P2@P5]) */
 
#define OP_And   70 /* same as TK_AND, synopsis: r[P3]=(r[P1] && r[P2]) */
 
#define OP_AutoCommit   3
 
#define OP_BitAnd   83 /* same as TK_BITAND, synopsis: r[P3]=r[P1]&r[P2] */
 
#define OP_BitNot   94 /* same as TK_BITNOT, synopsis: r[P1]= ~r[P1] */
 
#define OP_BitOr   84 /* same as TK_BITOR, synopsis: r[P3]=r[P1]|r[P2] */
 
#define OP_Blob   27 /* synopsis: r[P2]=P4 (len=P1) */
 
#define OP_Checkpoint   11
 
#define OP_Clear   111
 
#define OP_Close   56
 
#define OP_CollSeq   33
 
#define OP_Column   43 /* synopsis: r[P3]=PX */
 
#define OP_Compare   38
 
#define OP_Concat   92 /* same as TK_CONCAT, synopsis: r[P3]=r[P2]+r[P1] */
 
#define OP_Copy   30 /* synopsis: r[P2@P3]=r[P1@P3] */
 
#define OP_Count   46 /* synopsis: r[P2]=count() */
 
#define OP_CreateIndex   112 /* synopsis: r[P2]=root iDb=P1 */
 
#define OP_CreateTable   113 /* synopsis: r[P2]=root iDb=P1 */
 
#define OP_Delete   72
 
#define OP_Destroy   110
 
#define OP_Divide   90 /* same as TK_SLASH, synopsis: r[P3]=r[P2]/r[P1] */
 
#define OP_DropIndex   117
 
#define OP_DropTable   116
 
#define OP_DropTrigger   118
 
#define OP_Eq   77 /* same as TK_EQ, synopsis: if r[P1]==r[P3] goto P2 */
 
#define OP_Expire   134
 
#define OP_Explain   152
 
#define OP_FkCounter   125 /* synopsis: fkctr[P1]+=P2 */
 
#define OP_FkIfZero   126 /* synopsis: if fkctr[P1]==0 goto P2 */
 
#define OP_Found   64 /* synopsis: key=r[P3@P4] */
 
#define OP_Function   1 /* synopsis: r[P3]=func(r[P2@P5]) */
 
#define OP_Ge   81 /* same as TK_GE, synopsis: if r[P1]>=r[P3] goto P2 */
 
#define OP_Gosub   17
 
#define OP_Goto   16
 
#define OP_Gt   78 /* same as TK_GT, synopsis: if r[P1]>r[P3] goto P2 */
 
#define OP_Halt   22
 
#define OP_HaltIfNull   21 /* synopsis: if r[P3] null then halt */
 
#define OP_IdxDelete   106 /* synopsis: key=r[P2@P3] */
 
#define OP_IdxGE   109 /* synopsis: key=r[P3@P4] */
 
#define OP_IdxInsert   105 /* synopsis: key=r[P2] */
 
#define OP_IdxLT   108 /* synopsis: key=r[P3@P4] */
 
#define OP_IdxRowid   107 /* synopsis: r[P2]=rowid */
 
#define OP_If   41
 
#define OP_IfNeg   129 /* synopsis: if r[P1]<0 goto P2 */
 
#define OP_IfNot   42
 
#define OP_IfPos   128 /* synopsis: if r[P1]>0 goto P2 */
 
#define OP_IfZero   130 /* synopsis: r[P1]+=P3, if r[P1]==0 goto P2 */
 
#define OP_IncrVacuum   133
 
#define OP_Insert   68 /* synopsis: intkey=r[P3] data=r[P2] */
 
#define OP_InsertInt   71 /* synopsis: intkey=P3 data=r[P2] */
 
#define OP_Int64   24 /* synopsis: r[P2]=P4 */
 
#define OP_Integer   23 /* synopsis: r[P2]=P1 */
 
#define OP_IntegrityCk   119
 
#define OP_IsNull   74 /* same as TK_ISNULL, synopsis: if r[P1]==NULL goto P2 */
 
#define OP_JournalMode   12
 
#define OP_Jump   39
 
#define OP_Last   100
 
#define OP_Le   79 /* same as TK_LE, synopsis: if r[P1]<=r[P3] goto P2 */
 
#define OP_LoadAnalysis   115
 
#define OP_Lt   80 /* same as TK_LT, synopsis: if r[P1]<r[P3] goto P2 */
 
#define OP_MakeRecord   45 /* synopsis: r[P3]=mkrec(r[P1@P2]) */
 
#define OP_MaxPgcnt   149
 
#define OP_MemMax   127 /* synopsis: r[P1]=max(r[P1],r[P2]) */
 
#define OP_Move   29 /* synopsis: r[P2@P3]=r[P1@P3] */
 
#define OP_Multiply   89 /* same as TK_STAR, synopsis: r[P3]=r[P1]*r[P2] */
 
#define OP_MustBeInt   35
 
#define OP_Ne   76 /* same as TK_NE, synopsis: if r[P1]!=r[P3] goto P2 */
 
#define OP_NewRowid   67 /* synopsis: r[P2]=rowid */
 
#define OP_Next   9
 
#define OP_NextIfOpen   7
 
#define OP_NoConflict   62 /* synopsis: key=r[P3@P4] */
 
#define OP_Noop   151
 
#define OP_Not   19 /* same as TK_NOT, synopsis: r[P2]= !r[P1] */
 
#define OP_NotExists   65 /* synopsis: intkey=r[P3] */
 
#define OP_NotFound   63 /* synopsis: key=r[P3@P4] */
 
#define OP_NotNull   75 /* same as TK_NOTNULL, synopsis: if r[P1]!=NULL goto P2 */
 
#define OP_Null   26 /* synopsis: r[P2..P3]=NULL */
 
#define OP_NullRow   99
 
#define OP_Once   40
 
#define OP_OpenAutoindex   52 /* synopsis: nColumn=P2 */
 
#define OP_OpenEphemeral   53 /* synopsis: nColumn=P2 */
 
#define OP_OpenPseudo   55 /* synopsis: content in r[P2@P3] */
 
#define OP_OpenRead   50 /* synopsis: root=P2 iDb=P3 */
 
#define OP_OpenWrite   51 /* synopsis: root=P2 iDb=P3 */
 
#define OP_Or   69 /* same as TK_OR, synopsis: r[P3]=(r[P1] || r[P2]) */
 
#define OP_Pagecount   148
 
#define OP_Param   124
 
#define OP_ParseSchema   114
 
#define OP_Permutation   37
 
#define OP_Prev   8
 
#define OP_PrevIfOpen   6
 
#define OP_Program   123
 
#define OP_ReadCookie   47
 
#define OP_Real   131 /* same as TK_FLOAT, synopsis: r[P2]=P4 */
 
#define OP_RealAffinity   36
 
#define OP_Remainder   91 /* same as TK_REM, synopsis: r[P3]=r[P2]%r[P1] */
 
#define OP_ResetCount   73
 
#define OP_ResultRow   32 /* synopsis: output=r[P1@P2] */
 
#define OP_Return   18
 
#define OP_Rewind   103
 
#define OP_RowData   97 /* synopsis: r[P2]=data */
 
#define OP_Rowid   98 /* synopsis: r[P2]=rowid */
 
#define OP_RowKey   96 /* synopsis: r[P2]=key */
 
#define OP_RowSetAdd   120 /* synopsis: rowset(P1)=r[P2] */
 
#define OP_RowSetRead   121 /* synopsis: r[P3]=rowset(P1) */
 
#define OP_RowSetTest   122 /* synopsis: if r[P3] in rowset(P1) goto P2 */
 
#define OP_Savepoint   2
 
#define OP_SCopy   31 /* synopsis: r[P2]=r[P1] */
 
#define OP_Seek   61 /* synopsis: intkey=r[P2] */
 
#define OP_SeekGe   59 /* synopsis: key=r[P3@P4] */
 
#define OP_SeekGt   60 /* synopsis: key=r[P3@P4] */
 
#define OP_SeekLe   58 /* synopsis: key=r[P3@P4] */
 
#define OP_SeekLt   57 /* synopsis: key=r[P3@P4] */
 
#define OP_Sequence   66 /* synopsis: r[P2]=rowid */
 
#define OP_SetCookie   48
 
#define OP_ShiftLeft   85 /* same as TK_LSHIFT, synopsis: r[P3]=r[P2]<<r[P1] */
 
#define OP_ShiftRight   86 /* same as TK_RSHIFT, synopsis: r[P3]=r[P2]>>r[P1] */
 
#define OP_Sort   102
 
#define OP_SorterCompare   82 /* synopsis: if key(P1)!=rtrim(r[P3],P4) goto P2 */
 
#define OP_SorterData   93 /* synopsis: r[P2]=data */
 
#define OP_SorterInsert   104
 
#define OP_SorterNext   5
 
#define OP_SorterOpen   54
 
#define OP_SorterSort   101
 
#define OP_String   25 /* synopsis: r[P2]='P4' (len=P1) */
 
#define OP_String8   95 /* same as TK_STRING, synopsis: r[P2]='P4' */
 
#define OP_Subtract   88 /* same as TK_MINUS, synopsis: r[P3]=r[P2]-r[P1] */
 
#define OP_TableLock   135 /* synopsis: iDb=P1 root=P2 write=P3 */
 
#define OP_ToBlob   143 /* same as TK_TO_BLOB */
 
#define OP_ToInt   145 /* same as TK_TO_INT */
 
#define OP_ToNumeric   144 /* same as TK_TO_NUMERIC */
 
#define OP_ToReal   146 /* same as TK_TO_REAL */
 
#define OP_ToText   142 /* same as TK_TO_TEXT */
 
#define OP_Trace   150
 
#define OP_Transaction   4
 
#define OP_Vacuum   13
 
#define OP_Variable   28 /* synopsis: r[P2]=parameter(P1,P4) */
 
#define OP_VBegin   136
 
#define OP_VColumn   140 /* synopsis: r[P3]=vcolumn(P2) */
 
#define OP_VCreate   137
 
#define OP_VDestroy   138
 
#define OP_VerifyCookie   49
 
#define OP_VFilter   14 /* synopsis: iPlan=r[P3] zPlan='P4' */
 
#define OP_VNext   141
 
#define OP_VOpen   139
 
#define OP_VRename   147
 
#define OP_VUpdate   15 /* synopsis: data=r[P3@P2] */
 
#define OP_Yield   20
 
#define OpenCounter(X)
 
#define OPFLAG_APPEND   0x08 /* This is likely to be an append */
 
#define OPFLAG_BULKCSR   0x01 /* OP_Open** used to open bulk cursor */
 
#define OPFLAG_CLEARCACHE   0x20 /* Clear pseudo-table cache in OP_Column */
 
#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 /* Set to update db->nChange */
 
#define OPFLAG_P2ISREG   0x02 /* P2 to OP_Open** is a register number */
 
#define OPFLAG_PERMUTE   0x01 /* OP_Compare: use the permutation */
 
#define OPFLAG_TYPEOFARG   0x80 /* OP_Column only used for typeof() */
 
#define OPFLAG_USESEEKRESULT   0x10 /* Try to avoid a seek in BtreeInsert() */
 
#define OPFLG_IN1   0x0004 /* in1: P1 is an input */
 
#define OPFLG_IN2   0x0008 /* in2: P2 is an input */
 
#define OPFLG_IN3   0x0010 /* in3: P3 is an input */
 
#define OPFLG_INITIALIZER
 
#define OPFLG_JUMP   0x0001 /* jump: P2 holds jmp target */
 
#define OPFLG_OUT2   0x0020 /* out2: P2 is an output */
 
#define OPFLG_OUT2_PRERELEASE   0x0002 /* out2-prerelease: */
 
#define OPFLG_OUT3   0x0040 /* 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 osMkdir   ((int(*)(const char*,mode_t))aSyscall[18].pCurrent)
 
#define osMmap   ((void*(*)(void*,size_t,int,int,int,off_t))aSyscall[21].pCurrent)
 
#define osMremap   ((void*(*)(void*,size_t,size_t,int,...))aSyscall[23].pCurrent)
 
#define osMunmap   ((void*(*)(void*,size_t))aSyscall[22].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,off_t))aSyscall[10].pCurrent)
 
#define osPwrite
 
#define osPwrite64
 
#define osRead   ((ssize_t(*)(int,void*,size_t))aSyscall[8].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_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_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   0x10 /* PRAGMA cache_spill=ON */
 
#define PAGER_CKPT_FULLFSYNC   0x08 /* PRAGMA checkpoint_fullfsync=ON */
 
#define pager_datahash(X, Y)   0
 
#define PAGER_ERROR   6
 
#define PAGER_FLAGS_MASK   0x1c /* All above except SYNCHRONOUS */
 
#define PAGER_FULLFSYNC   0x04 /* 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_FULL   0x03 /* PRAGMA synchronous=FULL */
 
#define PAGER_SYNCHRONOUS_MASK   0x03 /* Mask for three 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 parseCell(pPage, iCell, pInfo)   btreeParseCellPtr((pPage), findCell((pPage), (iCell)), (pInfo))
 
#define pcache1   (GLOBAL(struct PCacheGlobal, pcache1_g))
 
#define pcache1EnterMutex(X)   sqlite3_mutex_enter((X)->mutex)
 
#define pcache1LeaveMutex(X)   sqlite3_mutex_leave((X)->mutex)
 
#define PENDING_BYTE   sqlite3PendingByte
 
#define PENDING_BYTE_PAGE(pBt)   PAGER_MJ_PGNO(pBt)
 
#define PENDING_LOCK   3
 
#define PGHDR_DIRTY   0x002 /* Page has changed */
 
#define PGHDR_DONT_WRITE   0x020 /* Do not write content to disk */
 
#define PGHDR_MMAP   0x040 /* This is an mmap page object */
 
#define PGHDR_NEED_READ   0x008 /* Content is unread */
 
#define PGHDR_NEED_SYNC
 
#define PGHDR_REUSE_UNLIKELY   0x010 /* A hint that reuse is unlikely */
 
#define PragFlag_NeedSchema   0x01
 
#define PragTyp_ACTIVATE_EXTENSIONS   35
 
#define PragTyp_AUTO_VACUUM   1
 
#define PragTyp_BUSY_TIMEOUT   3
 
#define PragTyp_CACHE_SIZE   4
 
#define PragTyp_CASE_SENSITIVE_LIKE   5
 
#define PragTyp_COLLATION_LIST   6
 
#define PragTyp_COMPILE_OPTIONS   7
 
#define PragTyp_DATA_STORE_DIRECTORY   8
 
#define PragTyp_DATABASE_LIST   9
 
#define PragTyp_DEFAULT_CACHE_SIZE   10
 
#define PragTyp_ENCODING   11
 
#define PragTyp_FLAG   2
 
#define PragTyp_FOREIGN_KEY_CHECK   12
 
#define PragTyp_FOREIGN_KEY_LIST   13
 
#define PragTyp_HEADER_VALUE   0
 
#define PragTyp_HEXKEY   36
 
#define PragTyp_INCREMENTAL_VACUUM   14
 
#define PragTyp_INDEX_INFO   15
 
#define PragTyp_INDEX_LIST   16
 
#define PragTyp_INTEGRITY_CHECK   17
 
#define PragTyp_JOURNAL_MODE   18
 
#define PragTyp_JOURNAL_SIZE_LIMIT   19
 
#define PragTyp_KEY   37
 
#define PragTyp_LOCK_PROXY_FILE   20
 
#define PragTyp_LOCK_STATUS   39
 
#define PragTyp_LOCKING_MODE   21
 
#define PragTyp_MMAP_SIZE   23
 
#define PragTyp_PAGE_COUNT   22
 
#define PragTyp_PAGE_SIZE   24
 
#define PragTyp_PARSER_TRACE   40
 
#define PragTyp_REKEY   38
 
#define PragTyp_SECURE_DELETE   25
 
#define PragTyp_SHRINK_MEMORY   26
 
#define PragTyp_SOFT_HEAP_LIMIT   27
 
#define PragTyp_STATS   28
 
#define PragTyp_SYNCHRONOUS   29
 
#define PragTyp_TABLE_INFO   30
 
#define PragTyp_TEMP_STORE   31
 
#define PragTyp_TEMP_STORE_DIRECTORY   32
 
#define PragTyp_WAL_AUTOCHECKPOINT   33
 
#define PragTyp_WAL_CHECKPOINT   34
 
#define PTF_INTKEY   0x01
 
#define PTF_LEAF   0x08
 
#define PTF_LEAFDATA   0x04
 
#define PTF_ZERODATA   0x02
 
#define PTRMAP_BTREE   5
 
#define PTRMAP_FREEPAGE   2
 
#define PTRMAP_ISPAGE(pBt, pgno)   (PTRMAP_PAGENO((pBt),(pgno))==(pgno))
 
#define PTRMAP_OVERFLOW1   3
 
#define PTRMAP_OVERFLOW2   4
 
#define PTRMAP_PAGENO(pBt, pgno)   ptrmapPageno(pBt, pgno)
 
#define PTRMAP_PTROFFSET(pgptrmap, pgno)   (5*(pgno-pgptrmap-1))
 
#define PTRMAP_ROOTPAGE   1
 
#define put2byte(p, v)   ((p)[0] = (u8)((v)>>8), (p)[1] = (u8)(v))
 
#define put32bits(A, B)   sqlite3Put4byte((u8*)A,B)
 
#define put4byte   sqlite3Put4byte
 
#define putVarint   sqlite3PutVarint
 
#define putVarint32(A, B)
 
#define READ_LOCK   1
 
#define READ_UTF16BE(zIn, TERM, c)
 
#define READ_UTF16LE(zIn, TERM, c)
 
#define READ_UTF8(zIn, zTerm, c)
 
#define READMARK_NOT_USED   0xffffffff
 
#define REGISTER_TRACE(R, M)
 
#define RESERVED_BYTE   (PENDING_BYTE+1)
 
#define RESERVED_LOCK   2
 
#define restoreCursorPosition(p)
 
#define ROUND8(x)   (((x)+7)&~7)
 
#define ROUNDDOWN8(x)   ((x)&~7)
 
#define ROWSET_ALLOCATION_SIZE   1024
 
#define ROWSET_ENTRY_PER_CHUNK   ((ROWSET_ALLOCATION_SIZE-8)/sizeof(struct RowSetEntry))
 
#define ROWSET_NEXT   0x02 /* True if sqlite3RowSetNext() has been called */
 
#define ROWSET_SORTED   0x01 /* True if RowSet.pEntry is sorted */
 
#define SAVE_SZ   (sizeof(Parse) - offsetof(Parse,nVar))
 
#define SAVEPOINT_BEGIN   0
 
#define SAVEPOINT_RELEASE   1
 
#define SAVEPOINT_ROLLBACK   2
 
#define SCHEMA_TABLE(x)   ((!OMIT_TEMPDB)&&(x==1)?TEMP_MASTER_NAME:MASTER_NAME)
 
#define SET_FULLSYNC(x, y)
 
#define SETBIT(V, I)   V[I>>3] |= (1<<(I&7))
 
#define SF_Aggregate   0x0004 /* Contains aggregate functions */
 
#define SF_Distinct   0x0001 /* Output should be DISTINCT */
 
#define SF_Expanded   0x0010 /* sqlite3SelectExpand() called on this */
 
#define SF_HasTypeInfo   0x0020 /* FROM subqueries have Table metadata */
 
#define SF_Materialize   0x0100 /* Force materialization of views */
 
#define SF_MaybeConvert   0x0400 /* Need convertCompoundSelectToSubquery() */
 
#define SF_NestedFrom   0x0200 /* Part of a parenthesized FROM clause */
 
#define SF_Resolved   0x0002 /* Identifiers have been resolved */
 
#define SF_UsesEphemeral   0x0008 /* Uses the OpenEphemeral opcode */
 
#define SF_UseSorter   0x0040 /* Sort using a sorter */
 
#define SF_Values   0x0080 /* 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_MIN_WORKING   10
 
#define SPILLFLAG_NOSYNC   0x04 /* Spill is ok, but do not sync */
 
#define SPILLFLAG_OFF   0x01 /* Never spill cache. Set via pragma */
 
#define SPILLFLAG_ROLLBACK   0x02 /* Current rolling back, so do not spill */
 
#define sqlite3_column_database_name   0
 
#define sqlite3_column_database_name16   0
 
#define sqlite3_column_origin_name   0
 
#define sqlite3_column_origin_name16   0
 
#define sqlite3_column_table_name   0
 
#define sqlite3_column_table_name16   0
 
#define SQLITE3_MUTEX_INITIALIZER   { PTHREAD_MUTEX_INITIALIZER }
 
#define sqlite3_table_column_metadata   0
 
#define SQLITE3_TEXT   3
 
#define sqlite3ConnectionBlocked(x, y)
 
#define sqlite3ConnectionClosed(x)
 
#define sqlite3ConnectionUnlocked(x)
 
#define sqlite3ExplainBegin(X)
 
#define sqlite3ExplainExpr(A, B)
 
#define sqlite3ExplainExprList(A, B)
 
#define sqlite3ExplainFinish(X)
 
#define sqlite3ExplainSelect(A, B)
 
#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 sqlite3Isspace(x)   (sqlite3CtypeMap[(unsigned char)(x)]&0x01)
 
#define sqlite3Isxdigit(x)   (sqlite3CtypeMap[(unsigned char)(x)]&0x08)
 
#define sqlite3JournalExists(p)   1
 
#define sqlite3JournalSize(pVfs)   ((pVfs)->szOsFile)
 
#define sqlite3MemdebugHasType(X, Y)   1
 
#define sqlite3MemdebugNoType(X, Y)   1
 
#define sqlite3MemdebugSetType(X, Y)   /* no-op */
 
#define sqlite3PagerGet(A, B, C)   sqlite3PagerAcquire(A,B,C,0)
 
#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 sqlite3StackAllocRaw(D, N)   sqlite3DbMallocRaw(D,N)
 
#define sqlite3StackAllocZero(D, N)   sqlite3DbMallocZero(D,N)
 
#define sqlite3StackFree(D, P)   sqlite3DbFree(D,P)
 
#define sqlite3StrICmp   sqlite3_stricmp
 
#define sqlite3StrNICmp   sqlite3_strnicmp
 
#define sqlite3Tolower(x)   (sqlite3UpperToLower[(unsigned char)(x)])
 
#define sqlite3Toupper(x)   ((x)&~(sqlite3CtypeMap[(unsigned char)(x)]&0x20))
 
#define sqlite3VdbeExplanation(X)   0
 
#define sqlite3VdbeIOTraceSql(X)
 
#define sqlite3VtabInSync(db)   ((db)->nVTrans>0 && (db)->aVTrans==0)
 
#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_AdjustOutEst   0x1000 /* Adjust output estimates using WHERE */
 
#define SQLITE_AFF_INTEGER   'd'
 
#define SQLITE_AFF_MASK   0x67
 
#define SQLITE_AFF_NONE   'b'
 
#define SQLITE_AFF_NUMERIC   'c'
 
#define SQLITE_AFF_REAL   'e'
 
#define SQLITE_AFF_TEXT   'a'
 
#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 /* sqlite3_create_function only */
 
#define SQLITE_API
 
#define SQLITE_ASCII   1
 
#define SQLITE_ATTACH   24 /* Filename NULL */
 
#define SQLITE_AUTH   23 /* Authorization denied */
 
#define SQLITE_AutoIndex   0x00100000 /* Enable automatic indexes */
 
#define SQLITE_BIG_DBL   (1e99)
 
#define SQLITE_BIGENDIAN   (*(char *)(&sqlite3one)==0)
 
#define SQLITE_BLOB   4
 
#define SQLITE_BUSY   5 /* The database file is locked */
 
#define SQLITE_BUSY_RECOVERY   (SQLITE_BUSY | (1<<8))
 
#define SQLITE_BUSY_SNAPSHOT   (SQLITE_BUSY | (2<<8))
 
#define SQLITE_CacheSpill   0x00000010 /* OK to spill pager cache */
 
#define SQLITE_CANTOPEN   14 /* Unable to open the database file */
 
#define SQLITE_CANTOPEN_BKPT   sqlite3CantopenError(__LINE__)
 
#define SQLITE_CANTOPEN_CONVPATH   (SQLITE_CANTOPEN | (4<<8))
 
#define SQLITE_CANTOPEN_FULLPATH   (SQLITE_CANTOPEN | (3<<8))
 
#define SQLITE_CANTOPEN_ISDIR   (SQLITE_CANTOPEN | (2<<8))
 
#define SQLITE_CANTOPEN_NOTEMPDIR   (SQLITE_CANTOPEN | (1<<8))
 
#define SQLITE_CHECKPOINT_FULL   1
 
#define SQLITE_CHECKPOINT_PASSIVE   0
 
#define SQLITE_CHECKPOINT_RESTART   2
 
#define SQLITE_CkptFullFSync   0x00000008 /* 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_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_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_DBCONFIG_ENABLE_FKEY   1002 /* int int* */
 
#define SQLITE_DBCONFIG_ENABLE_TRIGGER   1003 /* int int* */
 
#define SQLITE_DBCONFIG_LOOKASIDE   1001 /* void* int int */
 
#define SQLITE_DBSTATUS_CACHE_HIT   7
 
#define SQLITE_DBSTATUS_CACHE_MISS   8
 
#define SQLITE_DBSTATUS_CACHE_USED   1
 
#define SQLITE_DBSTATUS_CACHE_WRITE   9
 
#define SQLITE_DBSTATUS_DEFERRED_FKS   10
 
#define SQLITE_DBSTATUS_LOOKASIDE_HIT   4
 
#define SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL   6
 
#define SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE   5
 
#define SQLITE_DBSTATUS_LOOKASIDE_USED   0
 
#define SQLITE_DBSTATUS_MAX   10 /* Largest defined DBSTATUS */
 
#define SQLITE_DBSTATUS_SCHEMA_USED   2
 
#define SQLITE_DBSTATUS_STMT_USED   3
 
#define SQLITE_DEFAULT_AUTOVACUUM   0
 
#define SQLITE_DEFAULT_CACHE_SIZE   2000
 
#define SQLITE_DEFAULT_FILE_FORMAT   4
 
#define SQLITE_DEFAULT_FILE_PERMISSIONS   0644
 
#define SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT   -1
 
#define SQLITE_DEFAULT_MEMSTATUS   1
 
#define SQLITE_DEFAULT_MMAP_SIZE   0
 
#define SQLITE_DEFAULT_MMAP_SIZE_xc   1 /* Exclude from ctime.c */
 
#define SQLITE_DEFAULT_PAGE_SIZE   1024
 
#define SQLITE_DEFAULT_PROXYDIR_PERMISSIONS   0755
 
#define SQLITE_DEFAULT_RECURSIVE_TRIGGERS   0
 
#define SQLITE_DEFAULT_SECTOR_SIZE   4096
 
#define SQLITE_DEFAULT_TEMP_CACHE_SIZE   500
 
#define SQLITE_DEFAULT_WAL_AUTOCHECKPOINT   1000
 
#define SQLITE_DeferFKs   0x01000000 /* 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_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_EMPTY   16 /* Database is empty */
 
#define SQLITE_ENABLE_LOCKING_STYLE   0
 
#define SQLITE_EnableTrigger   0x00800000 /* 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_DB_UNCHANGED   0xca093fa0
 
#define SQLITE_FCNTL_FILE_POINTER   7
 
#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_SIZE_HINT   5
 
#define SQLITE_FCNTL_SYNC_OMITTED   8
 
#define SQLITE_FCNTL_TEMPFILENAME   16
 
#define SQLITE_FCNTL_TRACE   19
 
#define SQLITE_FCNTL_VFSNAME   12
 
#define SQLITE_FCNTL_WIN32_AV_RETRY   9
 
#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_FULL   13 /* Insertion failed because database is full */
 
#define SQLITE_FullColNames   0x00000020 /* Show full column names on SELECT */
 
#define SQLITE_FullFSync   0x00000004 /* Use full fsync on the backend */
 
#define SQLITE_FUNC_CASE   0x008 /* Case-sensitive LIKE-type function */
 
#define SQLITE_FUNC_COALESCE   0x200 /* Built-in coalesce() or ifnull() */
 
#define SQLITE_FUNC_CONSTANT   0x800 /* Constant inputs give a constant output */
 
#define SQLITE_FUNC_COUNT   0x100 /* Built-in count(*) aggregate */
 
#define SQLITE_FUNC_ENCMASK   0x003 /* SQLITE_UTF8, SQLITE_UTF16BE or UTF16LE */
 
#define SQLITE_FUNC_EPHEM   0x010 /* Ephemeral. Delete with VDBE */
 
#define SQLITE_FUNC_LENGTH   0x040 /* Built-in length() function */
 
#define SQLITE_FUNC_LIKE   0x004 /* Candidate for the LIKE optimization */
 
#define SQLITE_FUNC_NEEDCOLL   0x020 /* sqlite3GetFuncCollSeq() might be called */
 
#define SQLITE_FUNC_TYPEOF   0x080 /* Built-in typeof() function */
 
#define SQLITE_FUNC_UNLIKELY   0x400 /* Built-in unlikely() function */
 
#define SQLITE_FUNCTION   31 /* NULL Function Name */
 
#define SQLITE_GET_LOCKPROXYFILE   2
 
#define SQLITE_GroupByOrder   0x0004 /* GROUPBY cover of ORDERBY */
 
#define SQLITE_IdxRealAsInt   0x0010 /* Store REAL as INT in indices */
 
#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_GT   4
 
#define SQLITE_INDEX_CONSTRAINT_LE   8
 
#define SQLITE_INDEX_CONSTRAINT_LT   16
 
#define SQLITE_INDEX_CONSTRAINT_MATCH   64
 
#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_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_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_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_WRITE   (SQLITE_IOERR | (3<<8))
 
#define SQLITE_JUMPIFNULL   0x08 /* jumps if either operand is NULL */
 
#define SQLITE_LAST_ERRNO   4
 
#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_LITTLEENDIAN   (*(char *)(&sqlite3one)==1)
 
#define SQLITE_LoadExtension   0x00400000 /* Enable load_extension */
 
#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_SCHEMA_RETRY   50
 
#define SQLITE_MAX_SQL_LENGTH   1000000000
 
#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_MINIMUM_FILE_DESCRIPTOR   3
 
#define SQLITE_MISMATCH   20 /* Data type mismatch */
 
#define SQLITE_MISUSE   21 /* Library used incorrectly */
 
#define SQLITE_MISUSE_BKPT   sqlite3MisuseError(__LINE__)
 
#define SQLITE_MUTEX_FAST   0
 
#define SQLITE_MUTEX_NREF   0
 
#define SQLITE_MUTEX_PTHREADS
 
#define SQLITE_MUTEX_RECURSIVE   1
 
#define SQLITE_MUTEX_STATIC_LRU   6 /* lru page list */
 
#define SQLITE_MUTEX_STATIC_LRU2   7 /* NOT USED */
 
#define SQLITE_MUTEX_STATIC_MASTER   2
 
#define SQLITE_MUTEX_STATIC_MEM   3 /* sqlite3_malloc() */
 
#define SQLITE_MUTEX_STATIC_MEM2   4 /* NOT USED */
 
#define SQLITE_MUTEX_STATIC_OPEN   4 /* sqlite3BtreeOpen() */
 
#define SQLITE_MUTEX_STATIC_PMEM   7 /* sqlite3PageMalloc() */
 
#define SQLITE_MUTEX_STATIC_PRNG   5 /* sqlite3_random() */
 
#define SQLITE_N_BTREE_META   10
 
#define SQLITE_N_COLCACHE   10
 
#define SQLITE_N_KEYWORD   122
 
#define SQLITE_N_LIMIT   (SQLITE_LIMIT_TRIGGER_DEPTH+1)
 
#define SQLITE_NOLFS   22 /* Uses OS features not supported on host */
 
#define SQLITE_NOMEM   7 /* A malloc() failed */
 
#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_NULL   5
 
#define SQLITE_NullCallback   0x00000100 /* Invoke the callback once if the */
 
#define SQLITE_NULLEQ   0x80 /* NULL=NULL */
 
#define SQLITE_OK   0 /* Successful result */
 
#define SQLITE_OmitNoopJoin   0x0400 /* Omit unused tables in joins */
 
#define SQLITE_OPEN_AUTOPROXY   0x00000020 /* VFS only */
 
#define SQLITE_OPEN_CREATE   0x00000004 /* Ok for sqlite3_open_v2() */
 
#define SQLITE_OPEN_DELETEONCLOSE   0x00000008 /* VFS only */
 
#define SQLITE_OPEN_EXCLUSIVE   0x00000010 /* VFS only */
 
#define SQLITE_OPEN_FULLMUTEX   0x00010000 /* Ok for sqlite3_open_v2() */
 
#define SQLITE_OPEN_MAIN_DB   0x00000100 /* VFS only */
 
#define SQLITE_OPEN_MAIN_JOURNAL   0x00000800 /* VFS only */
 
#define SQLITE_OPEN_MASTER_JOURNAL   0x00004000 /* VFS only */
 
#define SQLITE_OPEN_MEMORY   0x00000080 /* Ok for sqlite3_open_v2() */
 
#define SQLITE_OPEN_NOMUTEX   0x00008000 /* Ok for sqlite3_open_v2() */
 
#define SQLITE_OPEN_PRIVATECACHE   0x00040000 /* Ok for sqlite3_open_v2() */
 
#define SQLITE_OPEN_READONLY   0x00000001 /* Ok for sqlite3_open_v2() */
 
#define SQLITE_OPEN_READWRITE   0x00000002 /* Ok for sqlite3_open_v2() */
 
#define SQLITE_OPEN_SHAREDCACHE   0x00020000 /* Ok for sqlite3_open_v2() */
 
#define SQLITE_OPEN_SUBJOURNAL   0x00002000 /* VFS only */
 
#define SQLITE_OPEN_TEMP_DB   0x00000200 /* VFS only */
 
#define SQLITE_OPEN_TEMP_JOURNAL   0x00001000 /* VFS only */
 
#define SQLITE_OPEN_TRANSIENT_DB   0x00000400 /* VFS only */
 
#define SQLITE_OPEN_URI   0x00000040 /* Ok for sqlite3_open_v2() */
 
#define SQLITE_OPEN_WAL   0x00080000 /* VFS only */
 
#define SQLITE_OrderByIdxJoin   0x0080 /* ORDER BY of joins via index */
 
#define SQLITE_OS_OTHER   0
 
#define SQLITE_OS_UNIX   1
 
#define SQLITE_OS_WIN   0
 
#define SQLITE_OS_WINCE   0
 
#define SQLITE_OS_WINRT   0
 
#define SQLITE_PERM   3 /* Access permission denied */
 
#define SQLITE_POWERSAFE_OVERWRITE   1
 
#define SQLITE_PRAGMA   19 /* Pragma Name 1st arg or NULL */
 
#define SQLITE_PreferBuiltin   0x00200000 /* Preference to built-in funcs */
 
#define SQLITE_PRINT_BUF_SIZE   70
 
#define SQLITE_PRIVATE   static
 
#define SQLITE_PROTOCOL   15 /* Database lock protocol error */
 
#define SQLITE_PTR_TO_INT(X)   ((int)(((char*)X)-(char*)0))
 
#define SQLITE_QueryFlattener   0x0001 /* Query flattening */
 
#define SQLITE_QueryOnly   0x02000000 /* 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_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_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_SCHEMA   17 /* The database schema changed */
 
#define SQLITE_SELECT   21 /* NULL NULL */
 
#define SQLITE_SET_LOCKPROXYFILE   3
 
#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_SOURCE_ID   "2013-12-06 14:53:30 27392118af4c38c5203a04b8013e1afdb1cebd0d"
 
#define SQLITE_SqlTrace   0x00000200 /* Debug print SQL as it executes */
 
#define SQLITE_Stat3   0x0800 /* Use the SQLITE_STAT3 table */
 
#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_STMTSTATUS_AUTOINDEX   3
 
#define SQLITE_STMTSTATUS_FULLSCAN_STEP   1
 
#define SQLITE_STMTSTATUS_SORT   2
 
#define SQLITE_STMTSTATUS_VM_STEP   4
 
#define SQLITE_STOREP2   0x10 /* Store result in reg[P2] rather than jump */
 
#define SQLITE_SubqCoroutine   0x0100 /* Evaluate subqueries as coroutines */
 
#define SQLITE_SYNC_DATAONLY   0x00010
 
#define SQLITE_SYNC_FULL   0x00003
 
#define SQLITE_SYNC_MASK   0x13 /* Mask off the SQLITE_SYNC_* values */
 
#define SQLITE_SYNC_NORMAL   0x00002
 
#define SQLITE_SYSTEM_MALLOC   1
 
#define SQLITE_TEMP_FILE_PREFIX   "etilqs_"
 
#define SQLITE_TEMP_STORE   1
 
#define SQLITE_TEMP_STORE_xc   1 /* Exclude from ctime.c */
 
#define SQLITE_TESTCTRL_ALWAYS   13
 
#define SQLITE_TESTCTRL_ASSERT   12
 
#define SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS   10
 
#define SQLITE_TESTCTRL_BITVEC_TEST   8
 
#define SQLITE_TESTCTRL_EXPLAIN_STMT   19
 
#define SQLITE_TESTCTRL_FAULT_INSTALL   9
 
#define SQLITE_TESTCTRL_FIRST   5
 
#define SQLITE_TESTCTRL_ISKEYWORD   16
 
#define SQLITE_TESTCTRL_LAST   20
 
#define SQLITE_TESTCTRL_LOCALTIME_FAULT   18
 
#define SQLITE_TESTCTRL_NEVER_CORRUPT   20
 
#define SQLITE_TESTCTRL_OPTIMIZATIONS   15
 
#define SQLITE_TESTCTRL_PENDING_BYTE   11
 
#define SQLITE_TESTCTRL_PRNG_RESET   7
 
#define SQLITE_TESTCTRL_PRNG_RESTORE   6
 
#define SQLITE_TESTCTRL_PRNG_SAVE   5
 
#define SQLITE_TESTCTRL_RESERVE   14
 
#define SQLITE_TESTCTRL_SCRATCHMALLOC   17
 
#define SQLITE_TEXT   3
 
#define SQLITE_THREADSAFE   1 /* IMP: R-07272-22309 */
 
#define SQLITE_TOOBIG   18 /* String or BLOB exceeds size limit */
 
#define SQLITE_TRANSACTION   22 /* Operation NULL */
 
#define SQLITE_TRANSIENT   ((sqlite3_destructor_type)-1)
 
#define SQLITE_Transitive   0x0200 /* Transitive constraints */
 
#define SQLITE_UNIX_THREADS   1
 
#define SQLITE_UPDATE   23 /* Table Name Column Name */
 
#define SQLITE_USE_URI   0
 
#define SQLITE_UTF16   4 /* Use native byte order */
 
#define SQLITE_UTF16_ALIGNED   8 /* sqlite3_create_collation only */
 
#define SQLITE_UTF16BE   3
 
#define SQLITE_UTF16LE   2
 
#define SQLITE_UTF16NATIVE   (SQLITE_BIGENDIAN?SQLITE_UTF16BE:SQLITE_UTF16LE)
 
#define SQLITE_UTF8   1
 
#define SQLITE_VdbeAddopTrace   0x00001000 /* Trace sqlite3VdbeAddOp() calls */
 
#define SQLITE_VdbeEQP   0x04000000 /* Debug EXPLAIN QUERY PLAN */
 
#define SQLITE_VdbeListing   0x00000400 /* Debug listings of VDBE programs */
 
#define SQLITE_VdbeTrace   0x00000001 /* True to trace VDBE execution */
 
#define SQLITE_VERSION   "3.8.2"
 
#define SQLITE_VERSION_NUMBER   3008002
 
#define SQLITE_VTAB_CONSTRAINT_SUPPORT   1
 
#define SQLITE_WARNING   28 /* Warnings from sqlite3_log() */
 
#define SQLITE_WARNING_AUTOINDEX   (SQLITE_WARNING | (1<<8))
 
#define SQLITE_WriteSchema   0x00000800 /* OK to update SQLITE_MASTER */
 
#define SQLITE_WSD
 
#define sqliteHashData(E)   ((E)->data)
 
#define sqliteHashFirst(H)   ((H)->first)
 
#define sqliteHashNext(E)   ((E)->next)
 
#define SRT_Coroutine   10 /* Generate a single row of result */
 
#define SRT_Discard   4 /* Do not save the results anywhere */
 
#define SRT_EphemTab   9 /* 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_Mem   6 /* Store result in a memory cell */
 
#define SRT_Output   5 /* Output each row of result */
 
#define SRT_Set   7 /* Store results as keys in an index */
 
#define SRT_Table   8 /* Store result as data with an automatic rowid */
 
#define SRT_Union   1 /* Store result as keys in an index */
 
#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 STRICMP(x, y)
 
#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_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_Readonly   0x01 /* Read-only system table */
 
#define TF_Virtual   0x10 /* Is a virtual table */
 
#define TF_WithoutRowid   0x20 /* No rowid used. PRIMARY KEY is the key */
 
#define threadid   pthread_self()
 
#define TIMER_ELAPSED   ((sqlite_uint64)0)
 
#define TIMER_END
 
#define TIMER_START
 
#define TK_ABORT   29
 
#define TK_ACTION   30
 
#define TK_ADD   141
 
#define TK_AFTER   31
 
#define TK_AGG_COLUMN   155
 
#define TK_AGG_FUNCTION   154
 
#define TK_ALL   114
 
#define TK_ALTER   140
 
#define TK_ANALYZE   32
 
#define TK_AND   70
 
#define TK_ANY   68
 
#define TK_AS   24
 
#define TK_ASC   33
 
#define TK_ATTACH   34
 
#define TK_AUTOINCR   104
 
#define TK_BEFORE   35
 
#define TK_BEGIN   5
 
#define TK_BETWEEN   72
 
#define TK_BITAND   83
 
#define TK_BITNOT   94
 
#define TK_BITOR   84
 
#define TK_BLOB   132
 
#define TK_BY   36
 
#define TK_CASCADE   37
 
#define TK_CASE   135
 
#define TK_CAST   38
 
#define TK_CHECK   102
 
#define TK_COLLATE   93
 
#define TK_COLUMN   153
 
#define TK_COLUMNKW   39
 
#define TK_COMMA   26
 
#define TK_COMMIT   10
 
#define TK_CONCAT   92
 
#define TK_CONFLICT   40
 
#define TK_CONSTRAINT   97
 
#define TK_CREATE   17
 
#define TK_CTIME_KW   67
 
#define TK_DATABASE   41
 
#define TK_DEFAULT   98
 
#define TK_DEFERRABLE   110
 
#define TK_DEFERRED   7
 
#define TK_DELETE   107
 
#define TK_DESC   42
 
#define TK_DETACH   43
 
#define TK_DISTINCT   118
 
#define TK_DOT   119
 
#define TK_DROP   112
 
#define TK_EACH   44
 
#define TK_ELSE   138
 
#define TK_END   11
 
#define TK_END_OF_FILE   148
 
#define TK_EQ   77
 
#define TK_ESCAPE   82
 
#define TK_EXCEPT   115
 
#define TK_EXCLUSIVE   9
 
#define TK_EXISTS   20
 
#define TK_EXPLAIN   2
 
#define TK_FAIL   45
 
#define TK_FLOAT   131
 
#define TK_FOR   46
 
#define TK_FOREIGN   111
 
#define TK_FROM   120
 
#define TK_FUNCTION   152
 
#define TK_GE   81
 
#define TK_GROUP   124
 
#define TK_GT   78
 
#define TK_HAVING   125
 
#define TK_ID   27
 
#define TK_IF   18
 
#define TK_IGNORE   47
 
#define TK_ILLEGAL   149
 
#define TK_IMMEDIATE   8
 
#define TK_IN   73
 
#define TK_INDEX   139
 
#define TK_INDEXED   28
 
#define TK_INITIALLY   48
 
#define TK_INSERT   106
 
#define TK_INSTEAD   49
 
#define TK_INTEGER   130
 
#define TK_INTERSECT   116
 
#define TK_INTO   128
 
#define TK_IS   71
 
#define TK_ISNOT   147
 
#define TK_ISNULL   74
 
#define TK_JOIN   121
 
#define TK_JOIN_KW   96
 
#define TK_KEY   53
 
#define TK_LE   79
 
#define TK_LIKE_KW   50
 
#define TK_LIMIT   126
 
#define TK_LP   22
 
#define TK_LSHIFT   85
 
#define TK_LT   80
 
#define TK_MATCH   51
 
#define TK_MINUS   88
 
#define TK_NE   76
 
#define TK_NO   52
 
#define TK_NOT   19
 
#define TK_NOTNULL   75
 
#define TK_NULL   99
 
#define TK_OF   54
 
#define TK_OFFSET   55
 
#define TK_ON   105
 
#define TK_OR   69
 
#define TK_ORDER   123
 
#define TK_PLAN   4
 
#define TK_PLUS   87
 
#define TK_PRAGMA   56
 
#define TK_PRIMARY   100
 
#define TK_QUERY   3
 
#define TK_RAISE   57
 
#define TK_REFERENCES   103
 
#define TK_REGISTER   133
 
#define TK_REINDEX   65
 
#define TK_RELEASE   14
 
#define TK_REM   91
 
#define TK_RENAME   66
 
#define TK_REPLACE   58
 
#define TK_RESTRICT   59
 
#define TK_ROLLBACK   12
 
#define TK_ROW   60
 
#define TK_RP   23
 
#define TK_RSHIFT   86
 
#define TK_SAVEPOINT   13
 
#define TK_SELECT   117
 
#define TK_SEMI   1
 
#define TK_SET   109
 
#define TK_SLASH   90
 
#define TK_SPACE   150
 
#define TK_STAR   89
 
#define TK_STRING   95
 
#define TK_TABLE   16
 
#define TK_TEMP   21
 
#define TK_THEN   137
 
#define TK_TO   15
 
#define TK_TO_BLOB   143
 
#define TK_TO_INT   145
 
#define TK_TO_NUMERIC   144
 
#define TK_TO_REAL   146
 
#define TK_TO_TEXT   142
 
#define TK_TRANSACTION   6
 
#define TK_TRIGGER   61
 
#define TK_UMINUS   156
 
#define TK_UNCLOSED_STRING   151
 
#define TK_UNION   113
 
#define TK_UNIQUE   101
 
#define TK_UPDATE   108
 
#define TK_UPLUS   157
 
#define TK_USING   122
 
#define TK_VACUUM   62
 
#define TK_VALUES   129
 
#define TK_VARIABLE   134
 
#define TK_VIEW   63
 
#define TK_VIRTUAL   64
 
#define TK_WHEN   136
 
#define TK_WHERE   127
 
#define TK_WITHOUT   25
 
#define tkCREATE   4
 
#define tkEND   7
 
#define tkEXPLAIN   3
 
#define tkOTHER   2
 
#define tkSEMI   0
 
#define tkTEMP   5
 
#define tkTRIGGER   6
 
#define tkWS   1
 
#define TOKEN   (yyminor.yy0)
 
#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 TWOPOWER31   (((i64)1)<<31)
 
#define TWOPOWER32   (((i64)1)<<32)
 
#define UINT16_TYPE   unsigned short int
 
#define UINT32_TYPE   unsigned int
 
#define UINT8_TYPE   unsigned char
 
#define UNIX_SHM_BASE   ((22+SQLITE_SHM_NLOCK)*4) /* first lock byte */
 
#define UNIX_SHM_DMS   (UNIX_SHM_BASE+SQLITE_SHM_NLOCK) /* deadman switch */
 
#define 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 UNIXFILE_WARNED   0x0100 /* verifyDbFile() warnings have been issued */
 
#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 UNPACKED_INCRKEY   0x01 /* Make this key an epsilon larger */
 
#define UNPACKED_PREFIX_MATCH   0x02 /* A prefix match is considered OK */
 
#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 VDBE_MAGIC_DEAD   0xb606c3c8 /* The VDBE has been deallocated */
 
#define VDBE_MAGIC_HALT   0x519c2973 /* VDBE has completed execution */
 
#define VDBE_MAGIC_INIT   0x26bceaa5 /* Building a VDBE program */
 
#define VDBE_MAGIC_RUN   0xbdf20da3 /* VDBE is ready to execute */
 
#define VdbeComment(X)
 
#define VdbeFrameMem(p)   ((Mem *)&((u8 *)p)[ROUND8(sizeof(VdbeFrame))])
 
#define vdbeInvokeSqllog(x)
 
#define VdbeMemRelease(X)
 
#define VdbeModuleComment(X)
 
#define VdbeNoopComment(X)
 
#define vfsList   GLOBAL(sqlite3_vfs *, vfsList)
 
#define VFUNCTION(zName, nArg, iArg, bNC, xFunc)
 
#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   (WALINDEX_LOCK_OFFSET+WALINDEX_LOCK_RESERVED)
 
#define WALINDEX_LOCK_OFFSET   (sizeof(WalIndexHdr)*2 + sizeof(WalCkptInfo))
 
#define WALINDEX_LOCK_RESERVED   16
 
#define WALINDEX_MAX_VERSION   3007000
 
#define WALINDEX_PGSZ
 
#define WALTRACE(X)
 
#define WHERE_AND_ONLY   0x0080 /* Don't use indices for OR terms */
 
#define WHERE_AUTO_INDEX   0x00004000 /* Uses an ephemeral index */
 
#define WHERE_BOTH_LIMIT   0x00000030 /* Both x>EXPR and x<EXPR */
 
#define WHERE_BTM_LIMIT   0x00000020 /* x>EXPR or x>=EXPR constraint */
 
#define WHERE_COLUMN_EQ   0x00000001 /* x=EXPR */
 
#define WHERE_COLUMN_IN   0x00000004 /* x IN (...) */
 
#define WHERE_COLUMN_NULL   0x00000008 /* x IS NULL */
 
#define WHERE_COLUMN_RANGE   0x00000002 /* x<EXPR and/or x>EXPR */
 
#define WHERE_CONSTRAINT   0x0000000f /* Any of the WHERE_COLUMN_xxx values */
 
#define WHERE_DISTINCT_NOOP   0 /* DISTINCT keyword not used */
 
#define WHERE_DISTINCT_ORDERED   2 /* All duplicates are adjacent */
 
#define WHERE_DISTINCT_UNIQUE   1 /* No duplicates */
 
#define WHERE_DISTINCT_UNORDERED   3 /* Duplicates are scattered */
 
#define WHERE_DISTINCTBY   0x0200 /* pOrderby is really a DISTINCT clause */
 
#define WHERE_DUPLICATES_OK   0x0008 /* Ok to return a row more than once */
 
#define WHERE_FORCE_TABLE   0x0020 /* Do not use an index-only search */
 
#define WHERE_GROUPBY   0x0100 /* pOrderBy is really a GROUP BY */
 
#define WHERE_IDX_ONLY   0x00000040 /* Use index only - omit table */
 
#define WHERE_IN_ABLE   0x00000800 /* Able to support an IN operator */
 
#define WHERE_INDEXED   0x00000200 /* WhereLoop.u.btree.pIndex is valid */
 
#define WHERE_IPK   0x00000100 /* x is the INTEGER PRIMARY KEY */
 
#define WHERE_LOOP_XFER_SZ   offsetof(WhereLoop,nLSlot)
 
#define WHERE_MULTI_OR   0x00002000 /* OR using multiple indices */
 
#define WHERE_OMIT_OPEN_CLOSE   0x0010 /* Table cursors are already open */
 
#define WHERE_ONEPASS_DESIRED   0x0004 /* Want to do one-pass UPDATE/DELETE */
 
#define WHERE_ONEROW   0x00001000 /* Selects no more than one row */
 
#define WHERE_ONETABLE_ONLY   0x0040 /* Only code the 1st table in pTabList */
 
#define WHERE_ORDERBY_MAX   0x0002 /* ORDER BY processing for max() func */
 
#define WHERE_ORDERBY_MIN   0x0001 /* ORDER BY processing for min() func */
 
#define WHERE_ORDERBY_NORMAL   0x0000 /* No-op */
 
#define WHERE_SKIPSCAN   0x00008000 /* Uses the skip-scan algorithm */
 
#define WHERE_TOP_LIMIT   0x00000010 /* x<EXPR or x<=EXPR constraint */
 
#define WHERE_VIRTUALTABLE   0x00000400 /* WhereLoop.u.vtab is valid */
 
#define WHERE_WANT_DISTINCT   0x0400 /* All output needs to be distinct */
 
#define WHERETRACE(K, X)
 
#define WO_ALL   0xfff /* Mask of all possible WO_* values */
 
#define WO_AND   0x200 /* Two or more AND-connected terms */
 
#define WO_EQ   0x002
 
#define WO_EQUIV   0x400 /* 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   0x001
 
#define WO_ISNULL   0x080
 
#define WO_LE   (WO_EQ<<(TK_LE-TK_EQ))
 
#define WO_LT   (WO_EQ<<(TK_LT-TK_EQ))
 
#define WO_MATCH   0x040
 
#define WO_NOOP   0x800 /* This term does not restrict search space */
 
#define WO_OR   0x100 /* Two or more OR-connected terms */
 
#define WO_SINGLE   0x0ff /* 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 YY_ACCEPT_ACTION   (YYNSTATE+YYNRULE+1)
 
#define YY_ACTTAB_COUNT   (1582)
 
#define YY_ERROR_ACTION   (YYNSTATE+YYNRULE)
 
#define YY_NO_ACTION   (YYNSTATE+YYNRULE+2)
 
#define YY_REDUCE_COUNT   (311)
 
#define YY_REDUCE_MAX   (1387)
 
#define YY_REDUCE_MIN   (-142)
 
#define YY_REDUCE_USE_DFLT   (-143)
 
#define YY_SHIFT_COUNT   (419)
 
#define YY_SHIFT_MAX   (1480)
 
#define YY_SHIFT_MIN   (-81)
 
#define YY_SHIFT_USE_DFLT   (-82)
 
#define YYACTIONTYPE   unsigned short int
 
#define YYCODETYPE   unsigned char
 
#define YYFALLBACK   1
 
#define YYNOCODE   253
 
#define YYNOERRORRECOVERY   1
 
#define YYNRULE   329
 
#define YYNSTATE   631
 
#define YYSTACKDEPTH   100
 
#define yytestcase(X)   testcase(X)
 
#define YYWILDCARD   68
 

Typedefs

typedef struct AggInfo AggInfo
 
typedef struct analysisInfo analysisInfo
 
typedef struct AuthContext AuthContext
 
typedef struct AutoincInfo AutoincInfo
 
typedef struct AuxData AuxData
 
typedef struct BenignMallocHooks BenignMallocHooks
 
typedef unsigned bft
 
typedef u64 Bitmask
 
typedef struct Bitvec Bitvec
 
typedef unsigned Bool
 
typedef struct BtCursor BtCursor
 
typedef struct BtLock BtLock
 
typedef struct Btree Btree
 
typedef struct BtShared BtShared
 
typedef struct BusyHandler BusyHandler
 
typedef struct CellInfo CellInfo
 
typedef struct CollSeq CollSeq
 
typedef struct Column Column
 
typedef struct CountCtx CountCtx
 
typedef struct DateTime DateTime
 
typedef struct Db Db
 
typedef struct DbFixer DbFixer
 
typedef struct PgHdr DbPage
 
typedef struct DistinctCtx DistinctCtx
 
typedef struct et_info et_info
 
typedef unsigned char etByte
 
typedef struct Explain Explain
 
typedef struct Expr Expr
 
typedef struct ExprList ExprList
 
typedef struct ExprSpan ExprSpan
 
typedef struct FileChunk FileChunk
 
typedef struct FilePoint FilePoint
 
typedef struct FileWriter FileWriter
 
typedef struct FKey FKey
 
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 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 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 RowSet RowSet
 
typedef struct Savepoint Savepoint
 
typedef struct Schema Schema
 
typedef struct ScratchFreeslot ScratchFreeslot
 
typedef struct Select Select
 
typedef struct SelectDest SelectDest
 
typedef struct SorterRecord SorterRecord
 
typedef struct sqlite3 sqlite3
 
typedef struct sqlite3_api_routines sqlite3_api_routines
 
typedef struct sqlite3_backup sqlite3_backup
 
typedef struct sqlite3_blob sqlite3_blob
 
typedef int(* sqlite3_callback) (void *, int, char **, char **)
 
typedef struct sqlite3_context sqlite3_context
 
typedef void(* sqlite3_destructor_type) (void *)
 
typedef struct sqlite3_file sqlite3_file
 
typedef struct sqlite3_index_info sqlite3_index_info
 
typedef sqlite_int64 sqlite3_int64
 
typedef struct sqlite3_io_methods sqlite3_io_methods
 
typedef struct sqlite3_mem_methods sqlite3_mem_methods
 
typedef struct sqlite3_module sqlite3_module
 
typedef struct sqlite3_mutex sqlite3_mutex
 
typedef struct sqlite3_mutex_methods sqlite3_mutex_methods
 
typedef struct sqlite3_pcache sqlite3_pcache
 
typedef struct sqlite3_pcache_methods sqlite3_pcache_methods
 
typedef struct sqlite3_pcache_methods2 sqlite3_pcache_methods2
 
typedef struct sqlite3_pcache_page sqlite3_pcache_page
 
typedef struct sqlite3_rtree_geometry sqlite3_rtree_geometry
 
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 struct sqlite3AutoExtList sqlite3AutoExtList
 
typedef struct sqlite3StatType sqlite3StatType
 
typedef long long int sqlite_int64
 
typedef unsigned long long int sqlite_uint64
 
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 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 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 VdbeSorterIter VdbeSorterIter
 
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 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, int isBtreeCursor)
 
static sqlite3_index_infoallocateIndexInfo (Parse *pParse, WhereClause *pWC, struct SrcList_item *pSrc, ExprList *pOrderBy)
 
static int allocateSpace (MemPage *pPage, int nByte, int *pIdx)
 
static void allocateTempSpace (BtShared *pBt)
 
static void * allocSpace (void *pBuf, int nByte, u8 **ppFrom, u8 *pEnd, int *pnByte)
 
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 void applyAffinity (Mem *pRec, char affinity, u8 enc)
 
static void applyNumericAffinity (Mem *pRec)
 
static void assemblePage (MemPage *pPage, int nCell, u8 **apCell, u16 *aSize)
 
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 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 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 btreeInitPage (MemPage *pPage)
 
static int btreeInvokeBusyHandler (void *pArg)
 
static int btreeMoveto (BtCursor *pCur, const void *pKey, i64 nKey, int bias, 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 void btreeParseCellPtr (MemPage *pPage, u8 *pCell, CellInfo *pInfo)
 
static void btreeReleaseAllCursorPages (BtCursor *pCur)
 
static int btreeRestoreCursorPosition (BtCursor *pCur)
 
static int btreeSetHasContent (BtShared *pBt, Pgno pgno)
 
static void cacheEntryClear (Parse *pParse, struct yColCache *p)
 
static void callCollNeeded (sqlite3 *db, int enc, const char *zName)
 
static void callFinaliser (sqlite3 *db, int offset)
 
static void callStatGet (Vdbe *v, int regStat4, int iParam, int regOut)
 
static void cdateFunc (sqlite3_context *context, int NotUsed, sqlite3_value **NotUsed2)
 
static u16 cellSizePtr (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, char *zMsg1, const char *zFormat,...)
 
static int checkColumnOverlap (IdList *pIdList, ExprList *pEList)
 
static int checkForMultiColumnSelectError (Parse *pParse, SelectDest *pDest, int nExpr)
 
static void checkList (IntegrityCk *pCheck, int isFreeList, int iPage, int N, char *zContext)
 
static void checkPtrmap (IntegrityCk *pCheck, Pgno iChild, u8 eType, Pgno iParent, char *zContext)
 
static int checkRef (IntegrityCk *pCheck, Pgno iPage, char *zContext)
 
static int checkTreePage (IntegrityCk *pCheck, int iPage, char *zParentContext, i64 *pnParentMinKey, i64 *pnParentMaxKey)
 
static void Cleanup (Vdbe *p)
 
static void clearAllSharedCacheTableLocks (Btree *p)
 
static int clearCell (MemPage *pPage, unsigned char *pCell)
 
static int clearDatabasePage (BtShared *pBt, Pgno pgno, int freePageFlag, int *pnChange)
 
static void clearSelect (sqlite3 *db, Select *p)
 
static void clearYMD_HMS_TZ (DateTime *p)
 
static void closeAllCursors (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 codeDistinct (Parse *pParse, int iTab, int addrRepeat, int N, int iMem)
 
static int codeEqualityTerm (Parse *pParse, WhereTerm *pTerm, WhereLevel *pLevel, int iEq, int bRev, int iTarget)
 
static void codeInteger (Parse *pParse, Expr *pExpr, int negFlag, int iMem)
 
static void codeOffset (Vdbe *v, Select *p, int iContinue)
 
static Bitmask codeOneLoopStart (WhereInfo *pWInfo, int iLevel, Bitmask notReady)
 
static void codeReal (Vdbe *v, const char *z, int negateFlag, int iMem)
 
static TriggerPrgcodeRowTrigger (Parse *pParse, Trigger *pTrigger, Table *pTab, int orconf)
 
static void codeTableLocks (Parse *pParse)
 
static int codeTriggerProgram (Parse *pParse, TriggerStep *pStepList, int orconf)
 
static int collationMatch (const char *zColl, Index *pIndex)
 
static int columnIndex (Table *pTab, const char *zCol)
 
static void columnMallocFailure (sqlite3_stmt *pStmt)
 
static MemcolumnMem (sqlite3_stmt *pStmt, int i)
 
static const void * columnName (sqlite3_stmt *pStmt, int N, const void *(*xFunc)(Mem *), int useType)
 
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 void computeHMS (DateTime *p)
 
static void computeJD (DateTime *p)
 
static void computeLimitRegisters (Parse *pParse, Select *p, int iBreak)
 
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 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 void dateFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static void datetimeFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static int decodeFlags (MemPage *pPage, int flagByte)
 
static void decodeIntArray (char *zIntArray, int nOut, tRowcnt *aOut, Index *pIndex)
 
static int defragmentPage (MemPage *pPage)
 
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 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 char * dup8bytes (Vdbe *v, const char *in)
 
static int dupedExprNodeSize (Expr *p, int flags)
 
static int dupedExprSize (Expr *p, int flags)
 
static int dupedExprStructSize (Expr *p, int flags)
 
static void errlogFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static void estimateIndexWidth (Index *pIdx)
 
static void estimateTableWidth (Table *pTab)
 
static LogEst estLog (LogEst N)
 
static char et_getdigit (LONGDOUBLE_TYPE *val, int *cnt)
 
static int execExecSql (sqlite3 *db, char **pzErrMsg, const char *zSql)
 
static int execSql (sqlite3 *db, char **pzErrMsg, const char *zSql)
 
static void explainAppendTerm (StrAccum *pStr, int iTerm, const char *zColumn, const char *zOp)
 
static void explainComposite (Parse *pParse, int op, int iSub1, int iSub2, int bUseTmp)
 
static char * explainIndexRange (sqlite3 *db, WhereLoop *pLoop, Table *pTab)
 
static void explainOneScan (Parse *pParse, SrcList *pTabList, WhereLevel *pLevel, int iLevel, int iFrom, u16 wctrlFlags)
 
static void explainSimpleCount (Parse *pParse, Table *pTab, Index *pIdx)
 
static void explainTempTable (Parse *pParse, const char *zUsage)
 
static int exprAlwaysFalse (Expr *p)
 
static void exprAnalyze (SrcList *, WhereClause *, int)
 
static void exprAnalyzeAll (SrcList *pTabList, WhereClause *pWC)
 
static void exprAnalyzeOrTerm (SrcList *pSrc, WhereClause *pWC, int idxTerm)
 
static void exprCodeBetween (Parse *pParse, Expr *pExpr, int dest, int jumpIfTrue, int jumpIfNull)
 
static void exprCommute (Parse *pParse, Expr *pExpr)
 
static ExprexprDup (sqlite3 *db, Expr *p, int flags, u8 **pzBuffer)
 
static int exprIsConst (Expr *p, int initFlag)
 
static Bitmask exprListTableUsage (WhereMaskSet *, ExprList *)
 
static int exprNodeIsConstant (Walker *pWalker, Expr *pExpr)
 
static int exprProbability (Expr *p)
 
static Bitmask exprSelectTableUsage (WhereMaskSet *, Select *)
 
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 Bitmask exprTableUsage (WhereMaskSet *pMaskSet, Expr *p)
 
static void exprToRegister (Expr *p, int iReg)
 
static int exprWalkNoop (Walker *NotUsed, Expr *NotUsed2)
 
static int fcntlSizeHint (unixFile *pFile, i64 nByte)
 
static const unsigned char * fetchPayload (BtCursor *pCur, u32 *pAmt, int skipKey)
 
static int fileWriterFinish (sqlite3 *db, FileWriter *p, i64 *piEof)
 
static void fileWriterInit (sqlite3 *db, sqlite3_file *pFile, FileWriter *p, i64 iStart)
 
static void fileWriterWrite (FileWriter *p, u8 *pData, int nData)
 
static void fileWriterWriteVarint (FileWriter *p, u64 iVal)
 
static int fillInCell (MemPage *pPage, unsigned char *pCell, const void *pKey, i64 nKey, const void *pData, int nData, int nZero, int *pnSize)
 
static Pgno finalDbSize (BtShared *pBt, Pgno nOrig, Pgno nFree)
 
static void finalizeAggFunctions (Parse *pParse, AggInfo *pAggInfo)
 
static BtreefindBtree (sqlite3 *pErrorDb, sqlite3 *pDb, const char *zDb)
 
static CollSeqfindCollSeqEntry (sqlite3 *db, const char *zName, int create)
 
static int findCreateFileMode (const char *zPath, int flags, mode_t *pMode, uid_t *pUid, gid_t *pGid)
 
static HashElemfindElementGivenHash (const Hash *pH, const char *pKey, int nKey, unsigned int h)
 
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 u8findOverflowCell (MemPage *pPage, int iCell)
 
static UnixUnusedFdfindReusableFd (const char *zPath, int flags)
 
static WhereTermfindTerm (WhereClause *pWC, int iCur, int iColumn, Bitmask notReady, u32 op, Index *pIdx)
 
static TriggerfkActionTrigger (Parse *pParse, Table *pTab, FKey *pFKey, ExprList *pChanges)
 
static int fkChildIsModified (Table *pTab, FKey *p, int *aChange, int bChngRowid)
 
static void fkLookupParent (Parse *pParse, int iDb, Table *pTab, Index *pIdx, FKey *pFKey, int *aiCol, int regData, int nIncr, int isIgnore)
 
static int fkParentIsModified (Table *pTab, FKey *p, int *aChange, int bChngRowid)
 
static void fkScanChildren (Parse *pParse, SrcList *pSrc, Table *pTab, Index *pIdx, FKey *pFKey, int *aiCol, int regData, int nIncr)
 
static void fkTriggerDelete (sqlite3 *dbMem, Trigger *p)
 
static int flattenSubquery (Parse *pParse, Select *p, int iFrom, int isAgg, int subqueryIsAgg)
 
static void freeEphemeralFunction (sqlite3 *db, FuncDef *pDef)
 
static void freeIndex (sqlite3 *db, Index *p)
 
static void freeP4 (sqlite3 *db, int p4type, void *p4)
 
static void freePage (MemPage *pPage, int *pRC)
 
static int freePage2 (BtShared *pBt, MemPage *pMemPage, Pgno iPage)
 
static int freeSpace (MemPage *pPage, int start, int size)
 
static void freeTempSpace (BtShared *pBt)
 
static int full_fsync (int fd, int fullSync, int dataOnly)
 
static void functionDestroy (sqlite3 *db, FuncDef *p)
 
static FuncDeffunctionSearch (FuncDefHash *pHash, int h, const char *zFunc, int nFunc)
 
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, Vdbe *v, int nColumn, SelectDest *pDest)
 
static int getAndInitPage (BtShared *pBt, Pgno pgno, MemPage **ppPage, int bReadonly)
 
static int getAutoVacuum (const char *z)
 
static int getDigits (const char *zDate,...)
 
static int getLockingMode (const char *z)
 
static Bitmask getMask (WhereMaskSet *pMaskSet, int iCursor)
 
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, int dflt)
 
static int getTempStore (const char *z)
 
static void groupConcatFinalize (sqlite3_context *context)
 
static void groupConcatStep (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static int growOpArray (Vdbe *p)
 
static int growVTrans (sqlite3 *db)
 
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 indexMightHelpWithOrderBy (WhereLoopBuilder *pBuilder, Index *pIndex, int iCursor)
 
static void insertCell (MemPage *pPage, int i, u8 *pCell, int sz, u8 *pTemp, Pgno iChild, int *pRC)
 
static void insertElement (Hash *pH, struct _ht *pEntry, HashElem *pNew)
 
static void instrFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static void invalidateAllOverflowCache (BtShared *pBt)
 
static void invalidateCachedKeyInfo (sqlite3 *db)
 
static void invalidateIncrblobCursors (Btree *pBtree, i64 iRow, int isClearTable)
 
static void invalidateOverflowCache (BtCursor *pCur)
 
static int invalidateTempStorage (Parse *pParse)
 
 IOMETHODS (posixIoFinder, posixIoMethods, 3, unixClose, unixLock, unixUnlock, unixCheckReservedLock)
 
static int isCandidateForInOpt (Select *p)
 
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)
 
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)
 
static int keywordCode (const char *z, int n)
 
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 int matchQuality (FuncDef *p, int nArg, u8 enc)
 
static int memjrnlClose (sqlite3_file *pJfd)
 
static int memjrnlFileSize (sqlite3_file *pJfd, sqlite_int64 *pSize)
 
static int memjrnlRead (sqlite3_file *pJfd, void *zBuf, int iAmt, sqlite_int64 iOfst)
 
static int memjrnlSync (sqlite3_file *NotUsed, int NotUsed2)
 
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 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 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 notValidCheckConstraint (Parse *pParse, NameContext *pNC, const char *zMsg)
 
static void notValidPartIdxWhere (Parse *pParse, NameContext *pNC, const char *zMsg)
 
static void nullifFunc (sqlite3_context *context, int NotUsed, sqlite3_value **argv)
 
static int numberOfCachePages (PCache *p)
 
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 int pageInJournal (PgHdr *pPg)
 
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 PgHdrpager_lookup (Pager *pPager, Pgno pgno)
 
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 int pagerBeginReadTransaction (Pager *pPager)
 
static void pageReinit (DbPage *pData)
 
static int pagerExclusiveLock (Pager *pPager)
 
static void pagerFixMaplimit (Pager *pPager)
 
static void pagerFreeMapHdrs (Pager *pPager)
 
static int pagerLockDb (Pager *pPager, int eLock)
 
static int pagerOpentemp (Pager *pPager, sqlite3_file *pFile, int vfsFlags)
 
static int pagerOpenWal (Pager *pPager)
 
static int pagerOpenWalIfPresent (Pager *pPager)
 
static int pagerPagecount (Pager *pPager, Pgno *pnPage)
 
static int pagerPlaybackSavepoint (Pager *pPager, PagerSavepoint *pSavepoint)
 
static void pagerReleaseMapPage (PgHdr *pPg)
 
static int pagerRollbackWal (Pager *pPager)
 
static int pagerStress (void *p, PgHdr *pPg)
 
static int pagerSyncHotJournal (Pager *pPager)
 
static int pagerUndoCallback (void *pCtx, Pgno iPg)
 
static void pagerUnlockAndRollback (Pager *pPager)
 
static int pagerUnlockDb (Pager *pPager, int eLock)
 
static void pagerUnlockIfUnused (Pager *pPager)
 
static int pagerUseWal (Pager *pPager)
 
static int pagerWalFrames (Pager *pPager, PgHdr *pList, Pgno nTruncate, int isCommit)
 
static 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 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 esc)
 
static void * pcache1Alloc (int nByte)
 
static PgHdr1pcache1AllocPage (PCache1 *pCache)
 
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 (PGroup *pGroup)
 
static sqlite3_pcache_pagepcache1Fetch (sqlite3_pcache *p, unsigned int iKey, int createFlag)
 
static int pcache1Free (void *p)
 
static void pcache1FreePage (PgHdr1 *p)
 
static int pcache1Init (void *NotUsed)
 
static int pcache1Pagecount (sqlite3_pcache *p)
 
static void pcache1PinPage (PgHdr1 *pPage)
 
static void pcache1Rekey (sqlite3_pcache *p, sqlite3_pcache_page *pPg, unsigned int iOld, unsigned int iNew)
 
static void pcache1RemoveFromHash (PgHdr1 *pPage)
 
static int 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 void pcacheAddToDirtyList (PgHdr *pPage)
 
static PgHdrpcacheMergeDirtyList (PgHdr *pA, PgHdr *pB)
 
static void pcacheRemoveFromDirtyList (PgHdr *pPage)
 
static PgHdrpcacheSortDirtyList (PgHdr *pIn)
 
static void pcacheUnpin (PgHdr *p)
 
static int posixFchown (int fd, uid_t uid, gid_t gid)
 
static int posixOpen (const char *zFile, int flags, int mode)
 
static int posixUnlock (sqlite3_file *id, int eFileLock, int handleNFSUnlock)
 
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 void pushOntoSorter (Parse *pParse, ExprList *pOrderBy, Select *pSelect, int regData)
 
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 iStartAddr, int iDb, Table *pTab)
 
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 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 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 (Parse *pParse, const char *zLabel, i64 value)
 
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 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 rowSetToList (RowSet *p)
 
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 saveCursorPosition (BtCursor *pCur)
 
static void schemaIsValid (Parse *pParse)
 
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 selectAddColumnTypeAndCollation (Parse *pParse, Table *pTab, Select *pSelect)
 
static int selectAddSubqueryTypeInfo (Walker *pWalker, Select *p)
 
static int selectColumnsFromExprList (Parse *pParse, ExprList *pEList, i16 *pnCol, Column **paCol)
 
static int selectExpander (Walker *pWalker, Select *p)
 
static void selectInnerLoop (Parse *pParse, Select *p, ExprList *pEList, int srcTab, int nColumn, ExprList *pOrderBy, DistinctCtx *pDistinct, SelectDest *pDest, int iContinue, int iBreak)
 
static int selectNodeIsConstant (Walker *pWalker, Select *NotUsed)
 
static const char * selectOpName (int id)
 
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 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 int setupLookaside (sqlite3 *db, void *pBuf, int sz, int cnt)
 
static void softHeapLimitEnforcer (void *NotUsed, sqlite3_int64 NotUsed2, int allocSize)
 
static void sourceidFunc (sqlite3_context *context, int NotUsed, sqlite3_value **NotUsed2)
 
static void spanBinaryExpr (ExprSpan *pOut, Parse *pParse, int op, ExprSpan *pLeft, ExprSpan *pRight)
 
static void spanExpr (ExprSpan *pOut, Parse *pParse, int op, Token *pValue)
 
static void spanSet (ExprSpan *pOut, Token *pStart, Token *pEnd)
 
static void spanUnaryPostfix (ExprSpan *pOut, 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_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 n, void(*)(void *))
 
SQLITE_API int sqlite3_bind_text16 (sqlite3_stmt *, int, const void *, int, void(*)(void *))
 
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_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 SQLITE_EXPERIMENTAL 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_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 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 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_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 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 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_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_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_value (sqlite3_context *, sqlite3_value *)
 
SQLITE_API void sqlite3_result_zeroblob (sqlite3_context *, int 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 n, double *a, int *pRes), void *pContext)
 
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 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_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_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_strnicmp (const char *, const char *, int)
 
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 void * sqlite3_trace (sqlite3 *, void(*xTrace)(void *, const char *), void *)
 
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 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 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 *)
 
SQLITE_PRIVATE void sqlite3AddColumnType (Parse *, 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 sqlite3AppendSpace (StrAccum *, int)
 
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 sqlite3BeginParse (Parse *, int)
 
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 sqlite3BtreeBeginStmt (Btree *, int)
 
SQLITE_PRIVATE int sqlite3BtreeBeginTrans (Btree *, int)
 
SQLITE_PRIVATE void sqlite3BtreeCacheOverflow (BtCursor *)
 
SQLITE_PRIVATE int sqlite3BtreeCheckpoint (Btree *, int, int *, int *)
 
SQLITE_PRIVATE void sqlite3BtreeClearCursor (BtCursor *)
 
SQLITE_PRIVATE int sqlite3BtreeClearTable (Btree *, int, int *)
 
SQLITE_PRIVATE int sqlite3BtreeClose (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeCloseCursor (BtCursor *)
 
SQLITE_PRIVATE int sqlite3BtreeCommit (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeCommitPhaseOne (Btree *, const char *zMaster)
 
SQLITE_PRIVATE int sqlite3BtreeCommitPhaseTwo (Btree *, int)
 
SQLITE_PRIVATE int sqlite3BtreeCopyFile (Btree *, Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeCount (BtCursor *, i64 *)
 
SQLITE_PRIVATE int sqlite3BtreeCreateTable (Btree *, int *, int flags)
 
SQLITE_PRIVATE int sqlite3BtreeCursor (Btree *, int iTable, int wrFlag, struct KeyInfo *, BtCursor *pCursor)
 
SQLITE_PRIVATE int sqlite3BtreeCursorHasMoved (BtCursor *, int *)
 
SQLITE_PRIVATE void sqlite3BtreeCursorHints (BtCursor *, unsigned int mask)
 
SQLITE_PRIVATE int sqlite3BtreeCursorSize (void)
 
SQLITE_PRIVATE void sqlite3BtreeCursorZero (BtCursor *)
 
SQLITE_PRIVATE int sqlite3BtreeData (BtCursor *, u32 offset, u32 amt, void *)
 
SQLITE_PRIVATE const void * sqlite3BtreeDataFetch (BtCursor *, u32 *pAmt)
 
SQLITE_PRIVATE int sqlite3BtreeDataSize (BtCursor *, u32 *pSize)
 
SQLITE_PRIVATE int sqlite3BtreeDelete (BtCursor *)
 
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 sqlite3_int64 sqlite3BtreeGetCachedRowid (BtCursor *)
 
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 sqlite3BtreeGetPageSize (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeGetReserve (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeIncrVacuum (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeInsert (BtCursor *, const void *pKey, i64 nKey, const void *pData, int nData, int nZero, int bias, int seekResult)
 
SQLITE_PRIVATE char * sqlite3BtreeIntegrityCheck (Btree *, int *aRoot, int nRoot, int, int *)
 
SQLITE_PRIVATE int sqlite3BtreeIsInBackup (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeIsInReadTrans (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeIsInTrans (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeKey (BtCursor *, u32 offset, u32 amt, void *)
 
SQLITE_PRIVATE const void * sqlite3BtreeKeyFetch (BtCursor *, u32 *pAmt)
 
SQLITE_PRIVATE int sqlite3BtreeKeySize (BtCursor *, i64 *pSize)
 
SQLITE_PRIVATE int sqlite3BtreeLast (BtCursor *, int *pRes)
 
SQLITE_PRIVATE u32 sqlite3BtreeLastPage (Btree *)
 
SQLITE_PRIVATE void sqlite3BtreeLeave (Btree *)
 
SQLITE_PRIVATE void sqlite3BtreeLeaveAll (sqlite3 *)
 
SQLITE_PRIVATE void sqlite3BtreeLeaveCursor (BtCursor *)
 
SQLITE_PRIVATE int sqlite3BtreeLockTable (Btree *pBtree, int iTab, u8 isWriteLock)
 
SQLITE_PRIVATE int sqlite3BtreeMaxPageCount (Btree *, int)
 
SQLITE_PRIVATE int sqlite3BtreeMovetoUnpacked (BtCursor *, UnpackedRecord *pUnKey, i64 intKey, int bias, int *pRes)
 
SQLITE_PRIVATE int sqlite3BtreeNewDb (Btree *p)
 
SQLITE_PRIVATE int sqlite3BtreeNext (BtCursor *, int *pRes)
 
SQLITE_PRIVATE int sqlite3BtreeOpen (sqlite3_vfs *pVfs, const char *zFilename, sqlite3 *db, Btree **ppBtree, int flags, int vfsFlags)
 
SQLITE_PRIVATE struct Pagersqlite3BtreePager (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreePrevious (BtCursor *, int *pRes)
 
SQLITE_PRIVATE int sqlite3BtreePutData (BtCursor *, u32 offset, u32 amt, void *)
 
SQLITE_PRIVATE int sqlite3BtreeRollback (Btree *, int)
 
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 void sqlite3BtreeSetCachedRowid (BtCursor *, sqlite3_int64)
 
SQLITE_PRIVATE int sqlite3BtreeSetCacheSize (Btree *, int)
 
SQLITE_PRIVATE int sqlite3BtreeSetMmapLimit (Btree *, sqlite3_int64)
 
SQLITE_PRIVATE int sqlite3BtreeSetPagerFlags (Btree *, unsigned)
 
SQLITE_PRIVATE int sqlite3BtreeSetPageSize (Btree *p, int nPagesize, int nReserve, int eFix)
 
SQLITE_PRIVATE int sqlite3BtreeSetVersion (Btree *pBt, int iVersion)
 
SQLITE_PRIVATE int sqlite3BtreeSharable (Btree *)
 
SQLITE_PRIVATE int sqlite3BtreeSyncDisabled (Btree *)
 
SQLITE_PRIVATE void sqlite3BtreeTripAllCursors (Btree *, 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 int sqlite3CodeCoroutine (Parse *, Select *, SelectDest *)
 
SQLITE_PRIVATE void sqlite3CodeDropTable (Parse *, Table *, int, int)
 
SQLITE_PRIVATE int sqlite3CodeOnce (Parse *)
 
SQLITE_PRIVATE void sqlite3CodeRowTrigger (Parse *, Trigger *, int, ExprList *, int, Table *, int, int, int)
 
SQLITE_PRIVATE void sqlite3CodeRowTriggerDirect (Parse *, Trigger *, Table *, int, int, int)
 
SQLITE_PRIVATE int sqlite3CodeSubselect (Parse *, Expr *, int, int)
 
SQLITE_PRIVATE void sqlite3CodeVerifyNamedSchema (Parse *, const char *zDb)
 
SQLITE_PRIVATE void sqlite3CodeVerifySchema (Parse *, int)
 
SQLITE_PRIVATE void sqlite3CollapseDatabaseArray (sqlite3 *)
 
SQLITE_PRIVATE void sqlite3ColumnDefault (Vdbe *, Table *, int, int)
 
SQLITE_PRIVATE i16 sqlite3ColumnOfIndex (Index *, i16)
 
SQLITE_PRIVATE void sqlite3CommitInternalChanges (sqlite3 *)
 
SQLITE_PRIVATE void sqlite3CommitTransaction (Parse *)
 
SQLITE_PRIVATE char sqlite3CompareAffinity (Expr *pExpr, char aff2)
 
SQLITE_PRIVATE void sqlite3CompleteInsertion (Parse *, Table *, int, int, int, int *, int, int, int)
 
SQLITE_PRIVATE int sqlite3CorruptError (int)
 
SQLITE_PRIVATE Exprsqlite3CreateColumnExpr (sqlite3 *, SrcList *, int, int)
 
SQLITE_PRIVATE void sqlite3CreateForeignKey (Parse *, ExprList *, Token *, ExprList *, int)
 
SQLITE_PRIVATE int sqlite3CreateFunc (sqlite3 *, const char *, int, int, void *, void(*)(sqlite3_context *, int, sqlite3_value **), void(*)(sqlite3_context *, int, sqlite3_value **), void(*)(sqlite3_context *), FuncDestructor *pDestructor)
 
SQLITE_PRIVATE Indexsqlite3CreateIndex (Parse *, Token *, Token *, SrcList *, ExprList *, int, Token *, Expr *, int, int)
 
SQLITE_PRIVATE void sqlite3CreateView (Parse *, Token *, Token *, Token *, Select *, int, int)
 
SQLITE_PRIVATE void sqlite3DbFree (sqlite3 *, void *)
 
SQLITE_PRIVATE void * sqlite3DbMallocRaw (sqlite3 *, int)
 
SQLITE_PRIVATE int sqlite3DbMallocSize (sqlite3 *, void *)
 
SQLITE_PRIVATE void * sqlite3DbMallocZero (sqlite3 *, int)
 
SQLITE_PRIVATE Btreesqlite3DbNameToBtree (sqlite3 *, const char *)
 
SQLITE_PRIVATE void * sqlite3DbRealloc (sqlite3 *, void *, int)
 
SQLITE_PRIVATE void * sqlite3DbReallocOrFree (sqlite3 *, void *, int)
 
SQLITE_PRIVATE char * sqlite3DbStrDup (sqlite3 *, const char *)
 
SQLITE_PRIVATE char * sqlite3DbStrNDup (sqlite3 *, const char *, int)
 
SQLITE_PRIVATE sqlite3_mutex_methods const * sqlite3DefaultMutex (void)
 
SQLITE_PRIVATE void sqlite3DefaultRowEst (Index *)
 
SQLITE_PRIVATE void sqlite3DeferForeignKey (Parse *, int)
 
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 int 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, const char *,...)
 
SQLITE_PRIVATE void sqlite3ErrorMsg (Parse *, 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 *, Token *)
 
SQLITE_PRIVATE char sqlite3ExprAffinity (Expr *pExpr)
 
SQLITE_PRIVATE Exprsqlite3ExprAlloc (sqlite3 *, int, const Token *, int)
 
SQLITE_PRIVATE void sqlite3ExprAnalyzeAggList (NameContext *, ExprList *)
 
SQLITE_PRIVATE void sqlite3ExprAnalyzeAggregates (NameContext *, Expr *)
 
SQLITE_PRIVATE Exprsqlite3ExprAnd (sqlite3 *, Expr *, Expr *)
 
SQLITE_PRIVATE void sqlite3ExprAssignVarNumber (Parse *, Expr *)
 
SQLITE_PRIVATE void sqlite3ExprAttachSubtrees (sqlite3 *, Expr *, Expr *, Expr *)
 
SQLITE_PRIVATE void sqlite3ExprCacheAffinityChange (Parse *, int, int)
 
SQLITE_PRIVATE void sqlite3ExprCacheClear (Parse *)
 
static void sqlite3ExprCachePinRegister (Parse *pParse, int iReg)
 
SQLITE_PRIVATE void sqlite3ExprCachePop (Parse *, int)
 
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 sqlite3ExprCode (Parse *, Expr *, int)
 
SQLITE_PRIVATE int sqlite3ExprCodeAndCache (Parse *, Expr *, int)
 
SQLITE_PRIVATE void sqlite3ExprCodeAtInit (Parse *, Expr *, int, u8)
 
SQLITE_PRIVATE int sqlite3ExprCodeExprList (Parse *, ExprList *, int, u8)
 
SQLITE_PRIVATE int sqlite3ExprCodeGetColumn (Parse *, Table *, int, int, int, u8)
 
SQLITE_PRIVATE void sqlite3ExprCodeGetColumnOfTable (Vdbe *, Table *, int, int, int)
 
static void sqlite3ExprCodeIN (Parse *pParse, Expr *pExpr, int destIfFalse, int destIfNull)
 
SQLITE_PRIVATE void sqlite3ExprCodeIsNullJump (Vdbe *, const Expr *, int, int)
 
SQLITE_PRIVATE void sqlite3ExprCodeMove (Parse *, int, int, int)
 
SQLITE_PRIVATE int sqlite3ExprCodeTarget (Parse *, Expr *, int)
 
SQLITE_PRIVATE int sqlite3ExprCodeTemp (Parse *, Expr *, int *)
 
SQLITE_PRIVATE CollSeqsqlite3ExprCollSeq (Parse *pParse, Expr *pExpr)
 
SQLITE_PRIVATE int sqlite3ExprCompare (Expr *, Expr *, int)
 
SQLITE_PRIVATE void sqlite3ExprDelete (sqlite3 *, Expr *)
 
SQLITE_PRIVATE Exprsqlite3ExprDup (sqlite3 *, Expr *, int)
 
SQLITE_PRIVATE Exprsqlite3ExprFunction (Parse *, ExprList *, Token *)
 
SQLITE_PRIVATE void sqlite3ExprIfFalse (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 *)
 
SQLITE_PRIVATE int sqlite3ExprIsInteger (Expr *, int *)
 
SQLITE_PRIVATE ExprListsqlite3ExprListAppend (Parse *, ExprList *, Expr *)
 
SQLITE_PRIVATE void sqlite3ExprListCheckLength (Parse *, ExprList *, const char *)
 
SQLITE_PRIVATE int sqlite3ExprListCompare (ExprList *, ExprList *, int)
 
SQLITE_PRIVATE void sqlite3ExprListDelete (sqlite3 *, ExprList *)
 
SQLITE_PRIVATE ExprListsqlite3ExprListDup (sqlite3 *, ExprList *, int)
 
SQLITE_PRIVATE void sqlite3ExprListSetName (Parse *, ExprList *, Token *, int)
 
SQLITE_PRIVATE void sqlite3ExprListSetSpan (Parse *, ExprList *, ExprSpan *)
 
SQLITE_PRIVATE int sqlite3ExprNeedsNoAffinityChange (const Expr *, char)
 
SQLITE_PRIVATE void sqlite3ExprSetHeight (Parse *pParse, Expr *p)
 
SQLITE_PRIVATE Exprsqlite3ExprSkipCollate (Expr *)
 
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, int, u8, u8)
 
SQLITE_PRIVATE Indexsqlite3FindIndex (sqlite3 *, const char *, const char *)
 
SQLITE_PRIVATE int sqlite3FindInIndex (Parse *, Expr *, 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 void sqlite3FuncDefInsert (FuncDefHash *, FuncDef *)
 
SQLITE_PRIVATE int sqlite3FunctionUsesThisSrc (Expr *, SrcList *)
 
SQLITE_PRIVATE void sqlite3GenerateConstraintChecks (Parse *, Table *, int *, int, int, int, int, u8, u8, int, int *)
 
SQLITE_PRIVATE int sqlite3GenerateIndexKey (Parse *, Index *, int, int, int, int *)
 
SQLITE_PRIVATE void sqlite3GenerateRowDelete (Parse *, Table *, Trigger *, int, int, int, i16, u8, u8, u8)
 
SQLITE_PRIVATE void sqlite3GenerateRowIndexDelete (Parse *, Table *, int, int, int *)
 
SQLITE_PRIVATE u32 sqlite3Get4byte (const u8 *)
 
SQLITE_PRIVATE u8 sqlite3GetBoolean (const char *z, int)
 
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, int nKey)
 
SQLITE_PRIVATE void sqlite3HashInit (Hash *)
 
SQLITE_PRIVATE void * sqlite3HashInsert (Hash *, const char *pKey, int nKey, void *pData)
 
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 (Vdbe *, 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)
 
SQLITE_PRIVATE void sqlite3Insert (Parse *, SrcList *, ExprList *, Select *, IdList *, int)
 
SQLITE_PRIVATE void sqlite3InvalidFunction (sqlite3_context *, int, sqlite3_value **)
 
SQLITE_PRIVATE int sqlite3InvokeBusyHandler (BusyHandler *)
 
SQLITE_PRIVATE int sqlite3IsLikeFunction (sqlite3 *, Expr *, int *, char *)
 
SQLITE_PRIVATE int sqlite3IsMemJournal (sqlite3_file *)
 
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 const char * sqlite3JournalModename (int)
 
SQLITE_PRIVATE KeyInfosqlite3KeyInfoAlloc (sqlite3 *, int, int)
 
SQLITE_PRIVATE KeyInfosqlite3KeyInfoOfIndex (Parse *, Index *)
 
SQLITE_PRIVATE KeyInfosqlite3KeyInfoRef (KeyInfo *)
 
SQLITE_PRIVATE void sqlite3KeyInfoUnref (KeyInfo *)
 
SQLITE_PRIVATE int sqlite3KeywordCode (const unsigned char *, int)
 
SQLITE_PRIVATE void sqlite3LeaveMutexAndCloseZombie (sqlite3 *)
 
static int sqlite3LoadExtension (sqlite3 *db, const char *zFile, const char *zProc, char **pzErrMsg)
 
SQLITE_PRIVATE CollSeqsqlite3LocateCollSeq (Parse *pParse, const char *zName)
 
SQLITE_PRIVATE Tablesqlite3LocateTable (Parse *, int isView, const char *, const char *)
 
SQLITE_PRIVATE Tablesqlite3LocateTableItem (Parse *, int isView, struct SrcList_item *)
 
static int sqlite3LockAndPrepare (sqlite3 *db, const char *zSql, int nBytes, int saveSqlFlag, Vdbe *pOld, sqlite3_stmt **ppStmt, const char **pzTail)
 
SQLITE_PRIVATE LogEst sqlite3LogEst (u64)
 
SQLITE_PRIVATE LogEst sqlite3LogEstAdd (LogEst, LogEst)
 
SQLITE_PRIVATE LogEst sqlite3LogEstFromDouble (double)
 
SQLITE_PRIVATE u64 sqlite3LogEstToInt (LogEst)
 
SQLITE_PRIVATE void * sqlite3Malloc (int)
 
static void sqlite3MallocAlarm (int nByte)
 
SQLITE_PRIVATE void sqlite3MallocEnd (void)
 
SQLITE_PRIVATE int sqlite3MallocInit (void)
 
SQLITE_PRIVATE int sqlite3MallocSize (void *)
 
SQLITE_PRIVATE void * sqlite3MallocZero (int)
 
SQLITE_PRIVATE char * sqlite3MAppendf (sqlite3 *, char *, const char *,...)
 
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 *)
 
SQLITE_PRIVATE int sqlite3MemJournalSize (void)
 
static void * sqlite3MemMalloc (int nByte)
 
static int sqlite3MemoryAlarm (void(*xCallback)(void *pArg, sqlite3_int64 used, int N), void *pArg, sqlite3_int64 iThreshold)
 
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 void sqlite3MinimumFileFormat (Parse *, int, int)
 
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 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, 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 int sqlite3OsClose (sqlite3_file *)
 
SQLITE_PRIVATE int 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 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 int sqlite3PagerAcquire (Pager *pPager, Pgno pgno, DbPage **ppPage, int clrFlag)
 
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 void sqlite3PagerDontWrite (DbPage *)
 
SQLITE_PRIVATE int sqlite3PagerExclusiveLock (Pager *)
 
SQLITE_PRIVATE sqlite3_filesqlite3PagerFile (Pager *)
 
SQLITE_PRIVATE const char * sqlite3PagerFilename (Pager *, int)
 
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 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 sqlite3PagerNosync (Pager *)
 
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 int sqlite3PagerRefcount (Pager *)
 
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 sqlite3PagerSharedLock (Pager *pPager)
 
SQLITE_PRIVATE void sqlite3PagerShrink (Pager *)
 
SQLITE_PRIVATE int sqlite3PagerSync (Pager *pPager)
 
SQLITE_PRIVATE void * sqlite3PagerTempSpace (Pager *)
 
SQLITE_PRIVATE void sqlite3PagerTruncateImage (Pager *, Pgno)
 
SQLITE_PRIVATE void sqlite3PagerUnref (DbPage *)
 
SQLITE_PRIVATE const 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 *(*)(size_t))
 
SQLITE_PRIVATE void * sqlite3ParserAlloc (void *(*mallocProc)(size_t))
 
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 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 sqlite3PcacheClose (PCache *)
 
SQLITE_PRIVATE PgHdrsqlite3PcacheDirtyList (PCache *)
 
SQLITE_PRIVATE void sqlite3PcacheDrop (PgHdr *)
 
SQLITE_PRIVATE int sqlite3PcacheFetch (PCache *, Pgno, int createFlag, PgHdr **)
 
SQLITE_PRIVATE int sqlite3PcacheInitialize (void)
 
SQLITE_PRIVATE void sqlite3PcacheMakeClean (PgHdr *)
 
SQLITE_PRIVATE void sqlite3PcacheMakeDirty (PgHdr *)
 
SQLITE_PRIVATE void sqlite3PcacheMove (PgHdr *, Pgno)
 
SQLITE_PRIVATE void 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 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 void sqlite3PcacheSetPageSize (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 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 sqlite3PrngResetState (void)
 
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 sqlite3PutVarint32 (unsigned char *, u32)
 
SQLITE_PRIVATE int sqlite3ReadSchema (Parse *pParse)
 
SQLITE_PRIVATE void * sqlite3Realloc (void *, int)
 
static void sqlite3RefillIndex (Parse *pParse, Index *pIndex, int memRootPage)
 
SQLITE_PRIVATE void sqlite3RegisterBuiltinFunctions (sqlite3 *)
 
SQLITE_PRIVATE void sqlite3RegisterDateTimeFunctions (void)
 
SQLITE_PRIVATE void sqlite3RegisterGlobalFunctions (void)
 
SQLITE_PRIVATE void sqlite3RegisterLikeFunctions (sqlite3 *, int)
 
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 sqlite3ResolveExprNames (NameContext *, Expr *)
 
SQLITE_PRIVATE int sqlite3ResolveOrderGroupBy (Parse *, Select *, ExprList *, const char *)
 
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 *, u8 iBatch, i64)
 
SQLITE_PRIVATE int sqlite3RunParser (Parse *, const char *, char **)
 
SQLITE_PRIVATE int sqlite3RunVacuum (char **, sqlite3 *)
 
SQLITE_PRIVATE int sqlite3SafetyCheckOk (sqlite3 *)
 
SQLITE_PRIVATE int sqlite3SafetyCheckSickOrOk (sqlite3 *)
 
SQLITE_PRIVATE void sqlite3Savepoint (Parse *, int, Token *)
 
SQLITE_PRIVATE void sqlite3SchemaClear (void *)
 
SQLITE_PRIVATE Schemasqlite3SchemaGet (sqlite3 *, Btree *)
 
SQLITE_PRIVATE int sqlite3SchemaToIndex (sqlite3 *db, Schema *)
 
SQLITE_PRIVATE void sqlite3ScratchFree (void *)
 
SQLITE_PRIVATE void * sqlite3ScratchMalloc (int)
 
SQLITE_PRIVATE int sqlite3SectorSize (sqlite3_file *)
 
SQLITE_PRIVATE int sqlite3Select (Parse *, Select *, SelectDest *)
 
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 *, u16, Expr *, Expr *)
 
SQLITE_PRIVATE void sqlite3SelectPrep (Parse *, Select *, NameContext *)
 
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 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 sqlite3StatusAdd (int, int)
 
SQLITE_PRIVATE void sqlite3StatusSet (int, int)
 
SQLITE_PRIVATE int sqlite3StatusValue (int)
 
static int sqlite3Step (Vdbe *p)
 
SQLITE_PRIVATE sqlite3_int64 sqlite3StmtCurrentTime (sqlite3_context *)
 
SQLITE_PRIVATE void sqlite3StrAccumAppend (StrAccum *, const char *, int)
 
SQLITE_PRIVATE char * sqlite3StrAccumFinish (StrAccum *)
 
SQLITE_PRIVATE void sqlite3StrAccumInit (StrAccum *, char *, int, int)
 
SQLITE_PRIVATE void sqlite3StrAccumReset (StrAccum *)
 
SQLITE_PRIVATE int sqlite3Strlen30 (const char *)
 
SQLITE_PRIVATE int sqlite3SubInt64 (i64 *, i64)
 
SQLITE_PRIVATE void sqlite3TableAffinityStr (Vdbe *, Table *)
 
SQLITE_PRIVATE void sqlite3TableLock (Parse *, int, int, u8, const char *)
 
SQLITE_PRIVATE int sqlite3TempInMemory (const sqlite3 *)
 
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 *, ExprList *, Select *, u8)
 
SQLITE_PRIVATE Triggersqlite3TriggerList (Parse *, Table *)
 
SQLITE_PRIVATE TriggerStepsqlite3TriggerSelectStep (sqlite3 *, Select *)
 
SQLITE_PRIVATE Triggersqlite3TriggersExist (Parse *, Table *, int, ExprList *, int *pMask)
 
SQLITE_PRIVATE TriggerStepsqlite3TriggerUpdateStep (sqlite3 *, Token *, ExprList *, Expr *, u8)
 
SQLITE_PRIVATE int sqlite3TwoPartName (Parse *, Token *, Token *, Token **)
 
SQLITE_PRIVATE void sqlite3UniqueConstraint (Parse *, int, Index *)
 
SQLITE_PRIVATE void sqlite3UnlinkAndDeleteIndex (sqlite3 *, int, const char *)
 
SQLITE_PRIVATE void sqlite3UnlinkAndDeleteTable (sqlite3 *, int, const char *)
 
SQLITE_PRIVATE void sqlite3UnlinkAndDeleteTrigger (sqlite3 *, int, const char *)
 
SQLITE_PRIVATE void sqlite3Update (Parse *, SrcList *, ExprList *, Expr *, int)
 
SQLITE_PRIVATE int sqlite3Utf16ByteLen (const void *pData, int nChar)
 
SQLITE_PRIVATE char * sqlite3Utf16to8 (sqlite3 *, const void *, int, u8)
 
SQLITE_PRIVATE int sqlite3Utf8CharLen (const char *pData, int nByte)
 
SQLITE_PRIVATE u32 sqlite3Utf8Read (const u8 **)
 
SQLITE_PRIVATE u32 sqlite3Utf8Read (const unsigned char **pz)
 
SQLITE_PRIVATE void sqlite3Vacuum (Parse *)
 
SQLITE_PRIVATE void sqlite3ValueApplyAffinity (sqlite3_value *, u8, u8)
 
SQLITE_PRIVATE int sqlite3ValueBytes (sqlite3_value *, u8)
 
SQLITE_PRIVATE void sqlite3ValueFree (sqlite3_value *)
 
SQLITE_PRIVATE int sqlite3ValueFromExpr (sqlite3 *, Expr *, u8, u8, sqlite3_value **)
 
SQLITE_PRIVATE sqlite3_valuesqlite3ValueNew (sqlite3 *)
 
SQLITE_PRIVATE void 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 sqlite3VdbeAddOp4Int (Vdbe *, int, int, int, int, int)
 
SQLITE_PRIVATE int sqlite3VdbeAddOpList (Vdbe *, int nOp, VdbeOpList const *aOp)
 
SQLITE_PRIVATE void sqlite3VdbeAddParseSchemaOp (Vdbe *, int, char *)
 
SQLITE_PRIVATE UnpackedRecordsqlite3VdbeAllocUnpackedRecord (KeyInfo *, char *, int, char **)
 
SQLITE_PRIVATE int sqlite3VdbeChangeEncoding (Mem *, int)
 
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 void 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 (sqlite3 *)
 
SQLITE_PRIVATE int sqlite3VdbeCurrentAddr (Vdbe *)
 
SQLITE_PRIVATE int sqlite3VdbeCursorMoveto (VdbeCursor *)
 
SQLITE_PRIVATE sqlite3sqlite3VdbeDb (Vdbe *)
 
SQLITE_PRIVATE void sqlite3VdbeDelete (Vdbe *)
 
SQLITE_PRIVATE void sqlite3VdbeDeleteAuxData (Vdbe *, int, int)
 
SQLITE_PRIVATE void sqlite3VdbeEnter (Vdbe *)
 
SQLITE_PRIVATE int sqlite3VdbeExec (Vdbe *)
 
SQLITE_PRIVATE char * sqlite3VdbeExpandSql (Vdbe *, const char *)
 
SQLITE_PRIVATE int sqlite3VdbeFinalize (Vdbe *)
 
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 sqlite3VdbeHalt (Vdbe *)
 
SQLITE_PRIVATE int sqlite3VdbeIdxKeyCompare (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 sqlite3VdbeMakeLabel (Vdbe *)
 
SQLITE_PRIVATE void sqlite3VdbeMakeReady (Vdbe *, Parse *)
 
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 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 sqlite3VdbeMemReleaseExternal (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 void sqlite3VdbeMemStoreType (Mem *pMem)
 
SQLITE_PRIVATE int sqlite3VdbeMemStringify (Mem *, int)
 
SQLITE_PRIVATE int sqlite3VdbeMemTooBig (Mem *)
 
SQLITE_PRIVATE int sqlite3VdbeMemTranslate (Mem *, u8)
 
SQLITE_PRIVATE int sqlite3VdbeParameterIndex (Vdbe *, const char *, int)
 
SQLITE_PRIVATE double sqlite3VdbeRealValue (Mem *)
 
SQLITE_PRIVATE int sqlite3VdbeRecordCompare (int, const void *, UnpackedRecord *)
 
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 sqlite3VdbeRewind (Vdbe *)
 
SQLITE_PRIVATE void sqlite3VdbeRunOnlyOnce (Vdbe *)
 
SQLITE_PRIVATE u32 sqlite3VdbeSerialGet (const unsigned char *, u32, Mem *)
 
SQLITE_PRIVATE u32 sqlite3VdbeSerialPut (unsigned char *, int, Mem *, int)
 
SQLITE_PRIVATE u32 sqlite3VdbeSerialPut (u8 *buf, int nBuf, Mem *pMem, int file_format)
 
SQLITE_PRIVATE u32 sqlite3VdbeSerialType (Mem *, int)
 
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 *, VdbeCursor *)
 
SQLITE_PRIVATE int sqlite3VdbeSorterNext (sqlite3 *, const VdbeCursor *, int *)
 
SQLITE_PRIVATE int sqlite3VdbeSorterRewind (sqlite3 *, const VdbeCursor *, int *)
 
SQLITE_PRIVATE int sqlite3VdbeSorterRowkey (const VdbeCursor *, Mem *)
 
SQLITE_PRIVATE int sqlite3VdbeSorterWrite (sqlite3 *, const VdbeCursor *, Mem *)
 
SQLITE_PRIVATE void sqlite3VdbeSwap (Vdbe *, Vdbe *)
 
SQLITE_PRIVATE VdbeOpsqlite3VdbeTakeOpArray (Vdbe *, int *, int *)
 
SQLITE_PRIVATE int sqlite3VdbeTransferError (Vdbe *p)
 
SQLITE_PRIVATE void sqlite3VdbeUsesBtree (Vdbe *, int)
 
SQLITE_PRIVATE int sqlite3ViewGetColumnNames (Parse *, Table *)
 
SQLITE_PRIVATE char * sqlite3VMPrintf (sqlite3 *, const char *, va_list)
 
SQLITE_PRIVATE void sqlite3VtabArgExtend (Parse *, Token *)
 
SQLITE_PRIVATE void sqlite3VtabArgInit (Parse *)
 
SQLITE_PRIVATE int sqlite3VtabBegin (sqlite3 *, VTable *)
 
SQLITE_PRIVATE void sqlite3VtabBeginParse (Parse *, Token *, Token *, Token *, int)
 
SQLITE_PRIVATE int sqlite3VtabCallConnect (Parse *, Table *)
 
SQLITE_PRIVATE int sqlite3VtabCallCreate (sqlite3 *, int, const char *, char **)
 
SQLITE_PRIVATE int sqlite3VtabCallDestroy (sqlite3 *, int, const char *)
 
SQLITE_PRIVATE void sqlite3VtabClear (sqlite3 *db, Table *)
 
SQLITE_PRIVATE int sqlite3VtabCommit (sqlite3 *db)
 
SQLITE_PRIVATE void sqlite3VtabDisconnect (sqlite3 *db, Table *p)
 
SQLITE_PRIVATE void 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 *, int, 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 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 int sqlite3WhereContinueLabel (WhereInfo *)
 
SQLITE_PRIVATE void sqlite3WhereEnd (WhereInfo *)
 
SQLITE_PRIVATE int sqlite3WhereIsDistinct (WhereInfo *)
 
SQLITE_PRIVATE int sqlite3WhereIsOrdered (WhereInfo *)
 
SQLITE_PRIVATE int sqlite3WhereOkOnePass (WhereInfo *, int *)
 
SQLITE_PRIVATE u64 sqlite3WhereOutputRowCount (WhereInfo *)
 
SQLITE_PRIVATE void sqlite3XPrintf (StrAccum *, const char *,...)
 
static void sqliteAuthBadReturnCode (Parse *pParse)
 
static int sqliteDefaultBusyCallback (void *ptr, int count)
 
static void sqliteDeleteColumnNames (sqlite3 *db, Table *pTable)
 
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 strftimeFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static unsigned int strHash (const char *z, int nKey)
 
static int subjournalPage (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 *)
 
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 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 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 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 unixShmSystemLock (unixShmNode *pShmNode, 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 unlockBtreeMutex (Btree *p)
 
static void updateAccumulator (Parse *pParse, AggInfo *pAggInfo)
 
static void updateVirtualTable (Parse *pParse, SrcList *pSrc, Table *pTab, ExprList *pChanges, Expr *pRowidExpr, int *aXRef, Expr *pWhere, int onError)
 
static void upperFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
 
static int vacuumFinalize (sqlite3 *db, sqlite3_stmt *pStmt, char **pzErrMsg)
 
static 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 int vdbeCommit (sqlite3 *db, Vdbe *p)
 
static void vdbeFreeOpArray (sqlite3 *, Op *, int)
 
static int vdbeSafety (Vdbe *p)
 
static int vdbeSafetyNotNull (Vdbe *p)
 
static void vdbeSorterCompare (const VdbeCursor *pCsr, int nIgnore, const void *pKey1, int nKey1, const void *pKey2, int nKey2, int *pRes)
 
static int vdbeSorterDoCompare (const VdbeCursor *pCsr, int iOut)
 
static int vdbeSorterInitMerge (sqlite3 *db, const VdbeCursor *pCsr, i64 *pnByte)
 
static int vdbeSorterIterInit (sqlite3 *db, const VdbeSorter *pSorter, i64 iStart, VdbeSorterIter *pIter, i64 *pnByte)
 
static int vdbeSorterIterNext (sqlite3 *db, VdbeSorterIter *pIter)
 
static int vdbeSorterIterRead (sqlite3 *db, VdbeSorterIter *p, int nByte, u8 **ppOut)
 
static int vdbeSorterIterVarint (sqlite3 *db, VdbeSorterIter *p, u64 *pnOut)
 
static void vdbeSorterIterZero (sqlite3 *db, VdbeSorterIter *pIter)
 
static int vdbeSorterListToPMA (sqlite3 *db, const VdbeCursor *pCsr)
 
static void vdbeSorterMerge (const VdbeCursor *pCsr, SorterRecord *p1, SorterRecord *p2, SorterRecord **ppOut)
 
static int vdbeSorterOpenTempFile (sqlite3 *db, sqlite3_file **ppFile)
 
static void vdbeSorterRecordFree (sqlite3 *db, SorterRecord *pRecord)
 
static void * vdbeSorterRowkey (const VdbeSorter *pSorter, int *pnKey)
 
static int vdbeSorterSort (const VdbeCursor *pCsr)
 
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(*xBusyCall)(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 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 int walRestartLog (Wal *pWal)
 
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 void whereClauseClear (WhereClause *)
 
static void whereClauseInit (WhereClause *pWC, WhereInfo *pWInfo)
 
static int whereClauseInsert (WhereClause *pWC, Expr *p, u8 wtFlags)
 
static char * whereForeignKeys (Parse *pParse, Table *pTab)
 
static void whereInfoFree (sqlite3 *db, WhereInfo *pWInfo)
 
static int whereLoopAddAll (WhereLoopBuilder *pBuilder)
 
static int whereLoopAddBtree (WhereLoopBuilder *pBuilder, Bitmask mExtra)
 
static int whereLoopAddBtreeIndex (WhereLoopBuilder *pBuilder, struct SrcList_item *pSrc, Index *pProbe, LogEst nInMul)
 
static int whereLoopAddOr (WhereLoopBuilder *pBuilder, Bitmask mExtra)
 
static int whereLoopAddVirtual (WhereLoopBuilder *pBuilder, Bitmask mExtra)
 
static void whereLoopClear (sqlite3 *db, WhereLoop *p)
 
static void whereLoopClearUnion (sqlite3 *db, WhereLoop *p)
 
static void whereLoopDelete (sqlite3 *db, WhereLoop *p)
 
static void whereLoopInit (WhereLoop *p)
 
static int whereLoopInsert (WhereLoopBuilder *pBuilder, WhereLoop *pTemplate)
 
static void whereLoopOutputAdjust (WhereClause *pWC, WhereLoop *pLoop)
 
static int whereLoopResize (sqlite3 *, WhereLoop *, int)
 
static int whereLoopXfer (sqlite3 *db, WhereLoop *pTo, WhereLoop *pFrom)
 
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 int wherePathSatisfiesOrderBy (WhereInfo *pWInfo, ExprList *pOrderBy, WherePath *pPath, u16 wctrlFlags, u16 nLoop, WhereLoop *pLast, Bitmask *pRevMask)
 
static int wherePathSolver (WhereInfo *pWInfo, LogEst nRowEst)
 
static int whereRangeScanEst (Parse *pParse, WhereLoopBuilder *pBuilder, WhereTerm *pLower, WhereTerm *pUpper, WhereLoop *pLoop)
 
static WhereTermwhereScanInit (WhereScan *pScan, WhereClause *pWC, int iCur, int iColumn, u32 opMask, Index *pIdx)
 
static WhereTermwhereScanNext (WhereScan *pScan)
 
static int whereShortCut (WhereLoopBuilder *pBuilder)
 
static void whereSplit (WhereClause *pWC, Expr *pExpr, u8 op)
 
static char * whereTempTriggers (Parse *pParse, Table *pTab)
 
static int whereUsablePartialIndex (int iTab, WhereClause *pWC, Expr *pWhere)
 
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 xferCompatibleCollation (const char *z1, const char *z2)
 
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 int yy_find_shift_action (yyParser *pParser, YYCODETYPE iLookAhead)
 
static int yy_pop_parser_stack (yyParser *pParser)
 
static void yy_reduce (yyParser *yypParser, int yyruleno)
 
static void yy_shift (yyParser *yypParser, int yyNewState, int yyMajor, YYMINORTYPE *yypMinor)
 
static void yy_syntax_error (yyParser *yypParser, int yymajor, YYMINORTYPE yyminor)
 
static void yyStackOverflow (yyParser *yypParser, YYMINORTYPE *yypMinor)
 
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 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, 0, 0 }
 
static const struct sqlite3_io_methods MemJournalMethods
 
static SQLITE_WSD struct PCacheGlobal pcache1_g
 
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 SQLITE_WSD struct Sqlite3Config sqlite3Config
 
SQLITE_PRIVATE const unsigned char sqlite3CtypeMap [256]
 
SQLITE_PRIVATE SQLITE_WSD FuncDefHash sqlite3GlobalFunctions
 
static SQLITE_WSD struct BenignMallocHooks sqlite3Hooks = { 0, 0 }
 
SQLITE_PRIVATE const Token sqlite3IntTokens []
 
SQLITE_PRIVATE 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 SQLITE_WSD struct sqlite3StatType sqlite3Stat = { {0,}, {0,} }
 
SQLITE_PRIVATE const unsigned char sqlite3UpperToLower []
 
static const unsigned char sqlite3Utf8Trans1 []
 
static const FuncDef statGetFuncdef
 
static const FuncDef statInitFuncdef
 
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 YYMINORTYPE yyzerominor = { 0 }
 
static const char zMagicHeader [] = SQLITE_FILE_HEADER
 

Macro Definition Documentation

#define _BTREE_H_

Definition at line 8627 of file sqlite3.c.

#define _FILE_OFFSET_BITS   64

Definition at line 7409 of file sqlite3.c.

#define _FTSINT_H

Definition at line 123040 of file sqlite3.c.

#define _GNU_SOURCE

Definition at line 7647 of file sqlite3.c.

#define _LARGE_FILE   1

Definition at line 23203 of file sqlite3.c.

#define _LARGE_FILE   1

Definition at line 23203 of file sqlite3.c.

#define _LARGEFILE_SOURCE   1

Definition at line 23207 of file sqlite3.c.

#define _LARGEFILE_SOURCE   1

Definition at line 23207 of file sqlite3.c.

#define _OS_COMMON_H_

Definition at line 23403 of file sqlite3.c.

#define _PAGER_H_

Definition at line 9323 of file sqlite3.c.

#define _SQLITE3_H_

Definition at line 62 of file sqlite3.c.

#define _SQLITE3EXT_H_

Definition at line 95068 of file sqlite3.c.

#define _SQLITE3RTREE_H_

Definition at line 7321 of file sqlite3.c.

#define _SQLITE_HASH_H_

Definition at line 7913 of file sqlite3.c.

#define _SQLITE_OS_C_   1

Definition at line 15297 of file sqlite3.c.

#define _SQLITE_OS_H_

Definition at line 9707 of file sqlite3.c.

#define _SQLITE_VDBE_H_

Definition at line 8887 of file sqlite3.c.

#define _SQLITEINT_H_

Definition at line 7385 of file sqlite3.c.

#define _VDBEINT_H_

Definition at line 13427 of file sqlite3.c.

#define _WAL_H_

Definition at line 39004 of file sqlite3.c.

#define _XOPEN_SOURCE   600

Definition at line 7779 of file sqlite3.c.

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

Definition at line 9019 of file sqlite3.c.

#define AGGREGATE (   zName,
  nArg,
  arg,
  nc,
  xStep,
  xFinal 
)
Value:
SQLITE_INT_TO_PTR(arg), 0, 0, xStep,xFinal,#zName,0,0}
#define SQLITE_UTF8
Definition: sqlite3.c:4078
#define SQLITE_INT_TO_PTR(X)
Definition: sqlite3.c:7684
#define SQLITE_FUNC_NEEDCOLL
Definition: sqlite3.c:10419

Definition at line 10470 of file sqlite3.c.

#define ALWAYS (   X)    (X)

Definition at line 7875 of file sqlite3.c.

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

Definition at line 8496 of file sqlite3.c.

#define assertCellInfo (   x)

Definition at line 54108 of file sqlite3.c.

#define assertParentIndex (   x,
  y,
 
)

Definition at line 54686 of file sqlite3.c.

#define assertTruncateConstraint (   pPager)

Definition at line 42919 of file sqlite3.c.

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

Definition at line 36466 of file sqlite3.c.

#define BITVEC_MXHASH   (BITVEC_NINT/2)

Definition at line 36461 of file sqlite3.c.

#define BITVEC_NBIT   (BITVEC_NELEM*BITVEC_SZELEM)

Definition at line 36455 of file sqlite3.c.

#define BITVEC_NELEM   (BITVEC_USIZE/sizeof(BITVEC_TELEM))

Definition at line 36453 of file sqlite3.c.

#define BITVEC_NINT   (BITVEC_USIZE/sizeof(u32))

Definition at line 36458 of file sqlite3.c.

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

Definition at line 36468 of file sqlite3.c.

#define BITVEC_SZ   512

Definition at line 36439 of file sqlite3.c.

#define BITVEC_SZELEM   8

Definition at line 36451 of file sqlite3.c.

#define BITVEC_TELEM   u8

Definition at line 36449 of file sqlite3.c.

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

Definition at line 36443 of file sqlite3.c.

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

Definition at line 11248 of file sqlite3.c.

#define BTALLOC_ANY   0 /* Allocate any page */

Definition at line 50398 of file sqlite3.c.

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

Definition at line 50399 of file sqlite3.c.

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

Definition at line 50400 of file sqlite3.c.

#define BTCURSOR_MAX_DEPTH   20

Definition at line 49885 of file sqlite3.c.

#define BTREE_APPLICATION_ID   8

Definition at line 8753 of file sqlite3.c.

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

Definition at line 8643 of file sqlite3.c.

#define BTREE_AUTOVACUUM_INCR   2 /* Incremental vacuum */

Definition at line 8644 of file sqlite3.c.

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

Definition at line 8642 of file sqlite3.c.

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

Definition at line 8722 of file sqlite3.c.

#define BTREE_BULKLOAD   0x00000001

Definition at line 8759 of file sqlite3.c.

#define BTREE_DEFAULT_CACHE_SIZE   3

Definition at line 8748 of file sqlite3.c.

#define BTREE_FILE_FORMAT   2

Definition at line 8747 of file sqlite3.c.

#define BTREE_FREE_PAGE_COUNT   0

Definition at line 8745 of file sqlite3.c.

#define BTREE_INCR_VACUUM   7

Definition at line 8752 of file sqlite3.c.

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

Definition at line 8721 of file sqlite3.c.

#define BTREE_LARGEST_ROOT_PAGE   4

Definition at line 8749 of file sqlite3.c.

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

Definition at line 8670 of file sqlite3.c.

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

Definition at line 8669 of file sqlite3.c.

#define BTREE_SCHEMA_VERSION   1

Definition at line 8746 of file sqlite3.c.

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

Definition at line 8671 of file sqlite3.c.

#define BTREE_TEXT_ENCODING   5

Definition at line 8750 of file sqlite3.c.

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

Definition at line 8672 of file sqlite3.c.

#define BTREE_USER_VERSION   6

Definition at line 8751 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:49774

Definition at line 50028 of file sqlite3.c.

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

Definition at line 49856 of file sqlite3.c.

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

Definition at line 49854 of file sqlite3.c.

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

Definition at line 49855 of file sqlite3.c.

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

Definition at line 49852 of file sqlite3.c.

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

Definition at line 49857 of file sqlite3.c.

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

Definition at line 49851 of file sqlite3.c.

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

Definition at line 49853 of file sqlite3.c.

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

Definition at line 46872 of file sqlite3.c.

#define CACHE_STALE   0

Definition at line 13560 of file sqlite3.c.

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

Definition at line 117855 of file sqlite3.c.

#define CHECK_FOR_INTERRUPT   if( db->u1.isInterrupted ) goto abort_due_to_interrupt;

Definition at line 66586 of file sqlite3.c.

#define CHECK_PAGE (   x)

Definition at line 40313 of file sqlite3.c.

#define checkActiveVdbeCnt (   x)

Definition at line 63119 of file sqlite3.c.

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

Definition at line 36699 of file sqlite3.c.

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

Definition at line 39521 of file sqlite3.c.

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

Definition at line 39522 of file sqlite3.c.

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

Definition at line 10527 of file sqlite3.c.

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

Definition at line 10526 of file sqlite3.c.

#define COLNAME_COLUMN   4

Definition at line 9002 of file sqlite3.c.

#define COLNAME_DATABASE   2

Definition at line 9000 of file sqlite3.c.

#define COLNAME_DECLTYPE   1

Definition at line 8999 of file sqlite3.c.

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

Definition at line 9009 of file sqlite3.c.

#define COLNAME_NAME   0

Definition at line 8998 of file sqlite3.c.

#define COLNAME_TABLE   3

Definition at line 9001 of file sqlite3.c.

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

Definition at line 92460 of file sqlite3.c.

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

Definition at line 100596 of file sqlite3.c.

#define ConstFactorOk (   P)    ((P)->cookieGoto>0 && OptimizationEnabled((P)->db,SQLITE_FactorOutConst))

Definition at line 10356 of file sqlite3.c.

#define CORRUPT_DB   (sqlite3Config.neverCorrupt==0)

Definition at line 11866 of file sqlite3.c.

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

Definition at line 49962 of file sqlite3.c.

#define CURSOR_INVALID   0

Definition at line 49958 of file sqlite3.c.

#define CURSOR_REQUIRESEEK   3

Definition at line 49961 of file sqlite3.c.

#define CURSOR_SKIPNEXT   2

Definition at line 49960 of file sqlite3.c.

#define CURSOR_VALID   1

Definition at line 49959 of file sqlite3.c.

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

Definition at line 10115 of file sqlite3.c.

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

Definition at line 10113 of file sqlite3.c.

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

Definition at line 10114 of file sqlite3.c.

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

Definition at line 10101 of file sqlite3.c.

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

Definition at line 10099 of file sqlite3.c.

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

Definition at line 10098 of file sqlite3.c.

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

Definition at line 10100 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:13622
SQLITE_PRIVATE int sqlite3VdbeMemMakeWriteable(Mem *)
Definition: sqlite3.c:59757

Definition at line 66176 of file sqlite3.c.

#define DIRECT_MODE   0
#define disable_simulated_io_errors ( )

Definition at line 42802 of file sqlite3.c.

#define disable_simulated_io_errors ( )

Definition at line 42802 of file sqlite3.c.

#define DO_OS_MALLOC_TEST (   x)

Definition at line 15333 of file sqlite3.c.

#define DOTLOCK_SUFFIX   ".lock"

Definition at line 25343 of file sqlite3.c.

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

Definition at line 8397 of file sqlite3.c.

#define enable_simulated_io_errors ( )

Definition at line 42803 of file sqlite3.c.

#define enable_simulated_io_errors ( )

Definition at line 42803 of file sqlite3.c.

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

Definition at line 10284 of file sqlite3.c.

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

Definition at line 11111 of file sqlite3.c.

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

Definition at line 11118 of file sqlite3.c.

#define EP_Constant   0x080000 /* Node is a constant */

Definition at line 11129 of file sqlite3.c.

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

Definition at line 11116 of file sqlite3.c.

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

Definition at line 11114 of file sqlite3.c.

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

Definition at line 11113 of file sqlite3.c.

#define EP_FromJoin   0x000001 /* Originated in ON or USING clause of a join */

Definition at line 11110 of file sqlite3.c.

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

Definition at line 11117 of file sqlite3.c.

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

Definition at line 11120 of file sqlite3.c.

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

Definition at line 11126 of file sqlite3.c.

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

Definition at line 11127 of file sqlite3.c.

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

Definition at line 11123 of file sqlite3.c.

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

Definition at line 11112 of file sqlite3.c.

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

Definition at line 11122 of file sqlite3.c.

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

Definition at line 11125 of file sqlite3.c.

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

Definition at line 11124 of file sqlite3.c.

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

Definition at line 11128 of file sqlite3.c.

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

Definition at line 11115 of file sqlite3.c.

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

Definition at line 11121 of file sqlite3.c.

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

Definition at line 19892 of file sqlite3.c.

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

Definition at line 19763 of file sqlite3.c.

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

Definition at line 19761 of file sqlite3.c.

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

Definition at line 19757 of file sqlite3.c.

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

Definition at line 19756 of file sqlite3.c.

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

Definition at line 19758 of file sqlite3.c.

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

Definition at line 19774 of file sqlite3.c.

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

Definition at line 19772 of file sqlite3.c.

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

Definition at line 19762 of file sqlite3.c.

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

Definition at line 19770 of file sqlite3.c.

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

Definition at line 19755 of file sqlite3.c.

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

Definition at line 19759 of file sqlite3.c.

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

Definition at line 19765 of file sqlite3.c.

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

Definition at line 19766 of file sqlite3.c.

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

Definition at line 19771 of file sqlite3.c.

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

Definition at line 19769 of file sqlite3.c.

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

Definition at line 19760 of file sqlite3.c.

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

Definition at line 19768 of file sqlite3.c.

#define EXCLUSIVE_LOCK   4

Definition at line 9848 of file sqlite3.c.

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

Definition at line 13885 of file sqlite3.c.

#define expensive_assert (   X)

Definition at line 36850 of file sqlite3.c.

#define explainSetInteger (   a,
 
)    a = b

Definition at line 100400 of file sqlite3.c.

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

Definition at line 11155 of file sqlite3.c.

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

Definition at line 11156 of file sqlite3.c.

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

Definition at line 11157 of file sqlite3.c.

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

Definition at line 11138 of file sqlite3.c.

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

Definition at line 11163 of file sqlite3.c.

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

Definition at line 11136 of file sqlite3.c.

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

Definition at line 11135 of file sqlite3.c.

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

Definition at line 11137 of file sqlite3.c.

#define ExprSetVVAProperty (   E,
 
)

Definition at line 11147 of file sqlite3.c.

#define EXTRA_SIZE   sizeof(MemPage)

Definition at line 49711 of file sqlite3.c.

#define fdatasync   fsync

Definition at line 26685 of file sqlite3.c.

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

Definition at line 39234 of file sqlite3.c.

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

Definition at line 51246 of file sqlite3.c.

#define findCellv2 (   D,
  M,
  O,
 
)    (D+(M&get2byte(D+(O+2*(I)))))

Definition at line 51248 of file sqlite3.c.

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

Definition at line 19799 of file sqlite3.c.

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

Definition at line 19798 of file sqlite3.c.

#define FLAG_STRING   4 /* Allow infinity precision */

Definition at line 19800 of file sqlite3.c.

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

Definition at line 88693 of file sqlite3.c.

#define FUNCTION (   zName,
  nArg,
  iArg,
  bNC,
  xFunc 
)
Value:
SQLITE_INT_TO_PTR(iArg), 0, xFunc, 0, 0, #zName, 0, 0}
#define SQLITE_UTF8
Definition: sqlite3.c:4078
#define SQLITE_FUNC_CONSTANT
Definition: sqlite3.c:10425
#define SQLITE_INT_TO_PTR(X)
Definition: sqlite3.c:7684
#define SQLITE_FUNC_NEEDCOLL
Definition: sqlite3.c:10419

Definition at line 10455 of file sqlite3.c.

#define FUNCTION2 (   zName,
  nArg,
  iArg,
  bNC,
  xFunc,
  extraFlags 
)
Value:
SQLITE_INT_TO_PTR(iArg), 0, xFunc, 0, 0, #zName, 0, 0}
#define SQLITE_UTF8
Definition: sqlite3.c:4078
#define SQLITE_FUNC_CONSTANT
Definition: sqlite3.c:10425
#define SQLITE_INT_TO_PTR(X)
Definition: sqlite3.c:7684
#define SQLITE_FUNC_NEEDCOLL
Definition: sqlite3.c:10419

Definition at line 10461 of file sqlite3.c.

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

Definition at line 50072 of file sqlite3.c.

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

Definition at line 50393 of file sqlite3.c.

#define get4byte   sqlite3Get4byte

Definition at line 50074 of file sqlite3.c.

#define getCellInfo (   pCur)
Value:
if( pCur->info.nSize==0 ){ \
int iPage = pCur->iPage; \
btreeParseCell(pCur->apPage[iPage],pCur->aiIdx[iPage],&pCur->info); \
pCur->validNKey = 1; \
}else{ \
}
static void btreeParseCell(MemPage *pPage, int iCell, CellInfo *pInfo)
Definition: sqlite3.c:51349
#define assertCellInfo(x)
Definition: sqlite3.c:54108

Definition at line 54123 of file sqlite3.c.

#define getVarint   sqlite3GetVarint

Definition at line 12386 of file sqlite3.c.

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

Definition at line 12381 of file sqlite3.c.

#define GLOBAL (   t,
 
)    v

Definition at line 8535 of file sqlite3.c.

#define GlobUpperToLower (   A)    if( !((A)&~0x7f) ){ A = sqlite3UpperToLower[A]; }

Definition at line 90283 of file sqlite3.c.

#define HASHTABLE_HASH_1   383 /* Should be prime */

Definition at line 46786 of file sqlite3.c.

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

Definition at line 46785 of file sqlite3.c.

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

Definition at line 46794 of file sqlite3.c.

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

Definition at line 46787 of file sqlite3.c.

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

Definition at line 10726 of file sqlite3.c.

#define HAVE_FULLFSYNC   0

Definition at line 26696 of file sqlite3.c.

#define HAVE_MREMAP   0

Definition at line 23625 of file sqlite3.c.

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

Definition at line 118187 of file sqlite3.c.

#define IfNotOmitAV (   expr)    (expr)

Definition at line 50409 of file sqlite3.c.

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

Definition at line 11445 of file sqlite3.c.

#define IN_DECLARE_VTAB   (pParse->declareVtab)

Definition at line 11641 of file sqlite3.c.

#define IN_INDEX_EPH   2

Definition at line 12639 of file sqlite3.c.

#define IN_INDEX_INDEX_ASC   3

Definition at line 12640 of file sqlite3.c.

#define IN_INDEX_INDEX_DESC   4

Definition at line 12641 of file sqlite3.c.

#define IN_INDEX_ROWID   1

Definition at line 12638 of file sqlite3.c.

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

Definition at line 108685 of file sqlite3.c.

#define INT16_TYPE   short int

Definition at line 8273 of file sqlite3.c.

#define INT8_TYPE   signed char

Definition at line 8287 of file sqlite3.c.

#define INTERFACE   1

Definition at line 114475 of file sqlite3.c.

#define IOMETHODS (   FINDER,
  METHOD,
  VERSION,
  CLOSE,
  LOCK,
  UNLOCK,
  CKLOCK 
)
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 */ \
unixShmMap, /* 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:27160
static void unixShmBarrier(sqlite3_file *fd)
Definition: sqlite3.c:27873
static int unixShmUnmap(sqlite3_file *fd, int deleteFlag)
Definition: sqlite3.c:27888
static int unixFileSize(sqlite3_file *id, i64 *pSize)
Definition: sqlite3.c:26947
static int unixUnfetch(sqlite3_file *fd, i64 iOff, void *p)
Definition: sqlite3.c:28140
static int unixDeviceCharacteristics(sqlite3_file *id)
Definition: sqlite3.c:27259
static int unixShmMap(sqlite3_file *fd, int iRegion, int szRegion, int bExtend, void volatile **pp)
Definition: sqlite3.c:27634
static int unixFetch(sqlite3_file *fd, i64 iOff, int nAmt, void **pp)
Definition: sqlite3.c:28109
static int unixTruncate(sqlite3_file *id, i64 nByte)
Definition: sqlite3.c:26897
static int unixFileControl(sqlite3_file *id, int op, void *pArg)
Definition: sqlite3.c:27068
static int unixSync(sqlite3_file *id, int flags)
Definition: sqlite3.c:26848
static int unixRead(sqlite3_file *id, void *pBuf, int amt, sqlite3_int64 offset)
Definition: sqlite3.c:26475
static int unixShmLock(sqlite3_file *fd, int ofst, int n, int flags)
Definition: sqlite3.c:27761
#define UNUSED_PARAMETER(x)
Definition: sqlite3.c:8555
static int unixWrite(sqlite3_file *id, const void *pBuf, int amt, sqlite3_int64 offset)
Definition: sqlite3.c:26589

Definition at line 28204 of file sqlite3.c.

#define IOTRACE (   A)

Definition at line 12695 of file sqlite3.c.

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

Definition at line 7884 of file sqlite3.c.

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

Definition at line 23281 of file sqlite3.c.

#define ISAUTOVACUUM   (pBt->autoVacuum)

Definition at line 50041 of file sqlite3.c.

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

Definition at line 10719 of file sqlite3.c.

#define isOpen (   pFd)    ((pFd)->pMethods)

Definition at line 39910 of file sqlite3.c.

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

Definition at line 8501 of file sqlite3.c.

#define isSorter (   x)    ((x)->pSorter!=0)

Definition at line 66181 of file sqlite3.c.

#define IsStat3   0

Definition at line 81798 of file sqlite3.c.

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

Definition at line 81802 of file sqlite3.c.

#define IsStat4   0

Definition at line 81797 of file sqlite3.c.

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

Definition at line 10718 of file sqlite3.c.

#define JOURNAL_CHUNKSIZE   ((int)(1024-sizeof(FileChunk*)))

Definition at line 74781 of file sqlite3.c.

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

Definition at line 39869 of file sqlite3.c.

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

Definition at line 39863 of file sqlite3.c.

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

Definition at line 11306 of file sqlite3.c.

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

Definition at line 11311 of file sqlite3.c.

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

Definition at line 11305 of file sqlite3.c.

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

Definition at line 11308 of file sqlite3.c.

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

Definition at line 11307 of file sqlite3.c.

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

Definition at line 11310 of file sqlite3.c.

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

Definition at line 11309 of file sqlite3.c.

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

Definition at line 8371 of file sqlite3.c.

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

Definition at line 10467 of file sqlite3.c.

#define likely (   X)    (X)

Definition at line 7893 of file sqlite3.c.

#define LONGDOUBLE_TYPE   long double

Definition at line 8291 of file sqlite3.c.

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

Definition at line 11253 of file sqlite3.c.

#define MASTER_NAME   "sqlite_master"

Definition at line 8479 of file sqlite3.c.

#define MASTER_ROOT   1

Definition at line 8485 of file sqlite3.c.

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

Definition at line 8236 of file sqlite3.c.

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

Definition at line 23275 of file sqlite3.c.

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

Definition at line 39531 of file sqlite3.c.

#define mem0   GLOBAL(struct Mem0Global, mem0)

Definition at line 19025 of file sqlite3.c.

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

Definition at line 13623 of file sqlite3.c.

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

Definition at line 13606 of file sqlite3.c.

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

Definition at line 13610 of file sqlite3.c.

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

Definition at line 13620 of file sqlite3.c.

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

Definition at line 13622 of file sqlite3.c.

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

Definition at line 13608 of file sqlite3.c.

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

Definition at line 13604 of file sqlite3.c.

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

Definition at line 13609 of file sqlite3.c.

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

Definition at line 13602 of file sqlite3.c.

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

Definition at line 13605 of file sqlite3.c.

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

Definition at line 13607 of file sqlite3.c.

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

Definition at line 13621 of file sqlite3.c.

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

Definition at line 13603 of file sqlite3.c.

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

Definition at line 13619 of file sqlite3.c.

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

Definition at line 13611 of file sqlite3.c.

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

Definition at line 13624 of file sqlite3.c.

#define memAboutToChange (   P,
 
)

Definition at line 66083 of file sqlite3.c.

#define MEMCELLSIZE   (size_t)(&(((Mem *)0)->zMalloc))

Definition at line 60232 of file sqlite3.c.

#define MEMDB   pPager->memDb

Definition at line 39880 of file sqlite3.c.

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

Definition at line 13633 of file sqlite3.c.

#define MEMTYPE_DB   0x10 /* Uses sqlite3DbMalloc, not sqlite_malloc */

Definition at line 12740 of file sqlite3.c.

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

Definition at line 12736 of file sqlite3.c.

#define MEMTYPE_LOOKASIDE   0x02 /* Might have been lookaside memory */

Definition at line 12737 of file sqlite3.c.

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

Definition at line 12739 of file sqlite3.c.

#define MEMTYPE_SCRATCH   0x04 /* Scratch allocations */

Definition at line 12738 of file sqlite3.c.

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

Definition at line 8235 of file sqlite3.c.

#define MUTEX_LOGIC (   X)    X

Definition at line 10042 of file sqlite3.c.

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

Definition at line 49636 of file sqlite3.c.

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

Definition at line 49629 of file sqlite3.c.

#define N_OR_COST   3

Definition at line 108127 of file sqlite3.c.

#define N_SORT_BUCKET   32

Definition at line 37318 of file sqlite3.c.

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

Definition at line 56226 of file sqlite3.c.

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

Definition at line 11373 of file sqlite3.c.

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

Definition at line 11374 of file sqlite3.c.

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

Definition at line 11376 of file sqlite3.c.

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

Definition at line 11375 of file sqlite3.c.

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

Definition at line 11377 of file sqlite3.c.

#define NDEBUG   1

Definition at line 7794 of file sqlite3.c.

#define NEVER (   X)    (X)

Definition at line 7876 of file sqlite3.c.

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

Definition at line 56225 of file sqlite3.c.

#define NO_LOCK   0

Definition at line 9844 of file sqlite3.c.

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

Definition at line 90162 of file sqlite3.c.

#define O_BINARY   0

Definition at line 23605 of file sqlite3.c.

#define O_LARGEFILE   0

Definition at line 23595 of file sqlite3.c.

#define O_NOFOLLOW   0

Definition at line 23602 of file sqlite3.c.

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

Definition at line 10800 of file sqlite3.c.

#define OE_Cascade   9 /* Cascade the changes */

Definition at line 10808 of file sqlite3.c.

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

Definition at line 10810 of file sqlite3.c.

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

Definition at line 10801 of file sqlite3.c.

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

Definition at line 10802 of file sqlite3.c.

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

Definition at line 10798 of file sqlite3.c.

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

Definition at line 10803 of file sqlite3.c.

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

Definition at line 10805 of file sqlite3.c.

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

Definition at line 10799 of file sqlite3.c.

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

Definition at line 10807 of file sqlite3.c.

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

Definition at line 10806 of file sqlite3.c.

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

Definition at line 8229 of file sqlite3.c.

#define OMIT_TEMPDB   0

Definition at line 8193 of file sqlite3.c.

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

Definition at line 9115 of file sqlite3.c.

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

Definition at line 9062 of file sqlite3.c.

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

Definition at line 9072 of file sqlite3.c.

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

Definition at line 9160 of file sqlite3.c.

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

Definition at line 9038 of file sqlite3.c.

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

Definition at line 9098 of file sqlite3.c.

#define OP_AutoCommit   3

Definition at line 9031 of file sqlite3.c.

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

Definition at line 9111 of file sqlite3.c.

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

Definition at line 9122 of file sqlite3.c.

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

Definition at line 9112 of file sqlite3.c.

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

Definition at line 9055 of file sqlite3.c.

#define OP_Checkpoint   11

Definition at line 9039 of file sqlite3.c.

#define OP_Clear   111

Definition at line 9139 of file sqlite3.c.

#define OP_Close   56

Definition at line 9084 of file sqlite3.c.

#define OP_CollSeq   33

Definition at line 9061 of file sqlite3.c.

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

Definition at line 9071 of file sqlite3.c.

#define OP_Compare   38

Definition at line 9066 of file sqlite3.c.

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

Definition at line 9120 of file sqlite3.c.

#define OP_Copy   30 /* synopsis: r[P2@P3]=r[P1@P3] */

Definition at line 9058 of file sqlite3.c.

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

Definition at line 9074 of file sqlite3.c.

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

Definition at line 9140 of file sqlite3.c.

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

Definition at line 9141 of file sqlite3.c.

#define OP_Delete   72

Definition at line 9100 of file sqlite3.c.

#define OP_Destroy   110

Definition at line 9138 of file sqlite3.c.

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

Definition at line 9118 of file sqlite3.c.

#define OP_DropIndex   117

Definition at line 9145 of file sqlite3.c.

#define OP_DropTable   116

Definition at line 9144 of file sqlite3.c.

#define OP_DropTrigger   118

Definition at line 9146 of file sqlite3.c.

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

Definition at line 9105 of file sqlite3.c.

#define OP_Expire   134

Definition at line 9162 of file sqlite3.c.

#define OP_Explain   152

Definition at line 9180 of file sqlite3.c.

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

Definition at line 9153 of file sqlite3.c.

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

Definition at line 9154 of file sqlite3.c.

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

Definition at line 9092 of file sqlite3.c.

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

Definition at line 9029 of file sqlite3.c.

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

Definition at line 9109 of file sqlite3.c.

#define OP_Gosub   17

Definition at line 9045 of file sqlite3.c.

#define OP_Goto   16

Definition at line 9044 of file sqlite3.c.

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

Definition at line 9106 of file sqlite3.c.

#define OP_Halt   22

Definition at line 9050 of file sqlite3.c.

#define OP_HaltIfNull   21 /* synopsis: if r[P3] null then halt */

Definition at line 9049 of file sqlite3.c.

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

Definition at line 9134 of file sqlite3.c.

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

Definition at line 9137 of file sqlite3.c.

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

Definition at line 9133 of file sqlite3.c.

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

Definition at line 9136 of file sqlite3.c.

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

Definition at line 9135 of file sqlite3.c.

#define OP_If   41

Definition at line 9069 of file sqlite3.c.

#define OP_IfNeg   129 /* synopsis: if r[P1]<0 goto P2 */

Definition at line 9157 of file sqlite3.c.

#define OP_IfNot   42

Definition at line 9070 of file sqlite3.c.

#define OP_IfPos   128 /* synopsis: if r[P1]>0 goto P2 */

Definition at line 9156 of file sqlite3.c.

#define OP_IfZero   130 /* synopsis: r[P1]+=P3, if r[P1]==0 goto P2 */

Definition at line 9158 of file sqlite3.c.

#define OP_IncrVacuum   133

Definition at line 9161 of file sqlite3.c.

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

Definition at line 9096 of file sqlite3.c.

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

Definition at line 9099 of file sqlite3.c.

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

Definition at line 9052 of file sqlite3.c.

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

Definition at line 9051 of file sqlite3.c.

#define OP_IntegrityCk   119

Definition at line 9147 of file sqlite3.c.

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

Definition at line 9102 of file sqlite3.c.

#define OP_JournalMode   12

Definition at line 9040 of file sqlite3.c.

#define OP_Jump   39

Definition at line 9067 of file sqlite3.c.

#define OP_Last   100

Definition at line 9128 of file sqlite3.c.

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

Definition at line 9107 of file sqlite3.c.

#define OP_LoadAnalysis   115

Definition at line 9143 of file sqlite3.c.

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

Definition at line 9108 of file sqlite3.c.

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

Definition at line 9073 of file sqlite3.c.

#define OP_MaxPgcnt   149

Definition at line 9177 of file sqlite3.c.

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

Definition at line 9155 of file sqlite3.c.

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

Definition at line 9057 of file sqlite3.c.

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

Definition at line 9117 of file sqlite3.c.

#define OP_MustBeInt   35

Definition at line 9063 of file sqlite3.c.

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

Definition at line 9104 of file sqlite3.c.

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

Definition at line 9095 of file sqlite3.c.

#define OP_Next   9

Definition at line 9037 of file sqlite3.c.

#define OP_NextIfOpen   7

Definition at line 9035 of file sqlite3.c.

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

Definition at line 9090 of file sqlite3.c.

#define OP_Noop   151

Definition at line 9179 of file sqlite3.c.

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

Definition at line 9047 of file sqlite3.c.

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

Definition at line 9093 of file sqlite3.c.

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

Definition at line 9091 of file sqlite3.c.

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

Definition at line 9103 of file sqlite3.c.

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

Definition at line 9054 of file sqlite3.c.

#define OP_NullRow   99

Definition at line 9127 of file sqlite3.c.

#define OP_Once   40

Definition at line 9068 of file sqlite3.c.

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

Definition at line 9080 of file sqlite3.c.

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

Definition at line 9081 of file sqlite3.c.

#define OP_OpenPseudo   55 /* synopsis: content in r[P2@P3] */

Definition at line 9083 of file sqlite3.c.

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

Definition at line 9078 of file sqlite3.c.

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

Definition at line 9079 of file sqlite3.c.

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

Definition at line 9097 of file sqlite3.c.

#define OP_Pagecount   148

Definition at line 9176 of file sqlite3.c.

#define OP_Param   124

Definition at line 9152 of file sqlite3.c.

#define OP_ParseSchema   114

Definition at line 9142 of file sqlite3.c.

#define OP_Permutation   37

Definition at line 9065 of file sqlite3.c.

#define OP_Prev   8

Definition at line 9036 of file sqlite3.c.

#define OP_PrevIfOpen   6

Definition at line 9034 of file sqlite3.c.

#define OP_Program   123

Definition at line 9151 of file sqlite3.c.

#define OP_ReadCookie   47

Definition at line 9075 of file sqlite3.c.

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

Definition at line 9159 of file sqlite3.c.

#define OP_RealAffinity   36

Definition at line 9064 of file sqlite3.c.

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

Definition at line 9119 of file sqlite3.c.

#define OP_ResetCount   73

Definition at line 9101 of file sqlite3.c.

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

Definition at line 9060 of file sqlite3.c.

#define OP_Return   18

Definition at line 9046 of file sqlite3.c.

#define OP_Rewind   103

Definition at line 9131 of file sqlite3.c.

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

Definition at line 9125 of file sqlite3.c.

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

Definition at line 9126 of file sqlite3.c.

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

Definition at line 9124 of file sqlite3.c.

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

Definition at line 9148 of file sqlite3.c.

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

Definition at line 9149 of file sqlite3.c.

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

Definition at line 9150 of file sqlite3.c.

#define OP_Savepoint   2

Definition at line 9030 of file sqlite3.c.

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

Definition at line 9059 of file sqlite3.c.

#define OP_Seek   61 /* synopsis: intkey=r[P2] */

Definition at line 9089 of file sqlite3.c.

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

Definition at line 9087 of file sqlite3.c.

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

Definition at line 9088 of file sqlite3.c.

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

Definition at line 9086 of file sqlite3.c.

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

Definition at line 9085 of file sqlite3.c.

#define OP_Sequence   66 /* synopsis: r[P2]=rowid */

Definition at line 9094 of file sqlite3.c.

#define OP_SetCookie   48

Definition at line 9076 of file sqlite3.c.

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

Definition at line 9113 of file sqlite3.c.

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

Definition at line 9114 of file sqlite3.c.

#define OP_Sort   102

Definition at line 9130 of file sqlite3.c.

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

Definition at line 9110 of file sqlite3.c.

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

Definition at line 9121 of file sqlite3.c.

#define OP_SorterInsert   104

Definition at line 9132 of file sqlite3.c.

#define OP_SorterNext   5

Definition at line 9033 of file sqlite3.c.

#define OP_SorterOpen   54

Definition at line 9082 of file sqlite3.c.

#define OP_SorterSort   101

Definition at line 9129 of file sqlite3.c.

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

Definition at line 9053 of file sqlite3.c.

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

Definition at line 9123 of file sqlite3.c.

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

Definition at line 9116 of file sqlite3.c.

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

Definition at line 9163 of file sqlite3.c.

#define OP_ToBlob   143 /* same as TK_TO_BLOB */

Definition at line 9171 of file sqlite3.c.

#define OP_ToInt   145 /* same as TK_TO_INT */

Definition at line 9173 of file sqlite3.c.

#define OP_ToNumeric   144 /* same as TK_TO_NUMERIC */

Definition at line 9172 of file sqlite3.c.

#define OP_ToReal   146 /* same as TK_TO_REAL */

Definition at line 9174 of file sqlite3.c.

#define OP_ToText   142 /* same as TK_TO_TEXT */

Definition at line 9170 of file sqlite3.c.

#define OP_Trace   150

Definition at line 9178 of file sqlite3.c.

#define OP_Transaction   4

Definition at line 9032 of file sqlite3.c.

#define OP_Vacuum   13

Definition at line 9041 of file sqlite3.c.

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

Definition at line 9056 of file sqlite3.c.

#define OP_VBegin   136

Definition at line 9164 of file sqlite3.c.

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

Definition at line 9168 of file sqlite3.c.

#define OP_VCreate   137

Definition at line 9165 of file sqlite3.c.

#define OP_VDestroy   138

Definition at line 9166 of file sqlite3.c.

#define OP_VerifyCookie   49

Definition at line 9077 of file sqlite3.c.

#define OP_VFilter   14 /* synopsis: iPlan=r[P3] zPlan='P4' */

Definition at line 9042 of file sqlite3.c.

#define OP_VNext   141

Definition at line 9169 of file sqlite3.c.

#define OP_VOpen   139

Definition at line 9167 of file sqlite3.c.

#define OP_VRename   147

Definition at line 9175 of file sqlite3.c.

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

Definition at line 9043 of file sqlite3.c.

#define OP_Yield   20

Definition at line 9048 of file sqlite3.c.

#define OpenCounter (   X)

Definition at line 23583 of file sqlite3.c.

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

Definition at line 11659 of file sqlite3.c.

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

Definition at line 11664 of file sqlite3.c.

#define OPFLAG_CLEARCACHE   0x20 /* Clear pseudo-table cache in OP_Column */

Definition at line 11661 of file sqlite3.c.

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

Definition at line 11658 of file sqlite3.c.

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

Definition at line 11657 of file sqlite3.c.

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

Definition at line 11662 of file sqlite3.c.

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

Definition at line 11656 of file sqlite3.c.

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

Definition at line 11665 of file sqlite3.c.

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

Definition at line 11666 of file sqlite3.c.

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

Definition at line 11663 of file sqlite3.c.

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

Definition at line 11660 of file sqlite3.c.

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

Definition at line 9189 of file sqlite3.c.

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

Definition at line 9190 of file sqlite3.c.

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

Definition at line 9191 of file sqlite3.c.

#define OPFLG_INITIALIZER
Value:
{\
/* 0 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01,\
/* 8 */ 0x01, 0x01, 0x00, 0x00, 0x02, 0x00, 0x01, 0x00,\
/* 16 */ 0x01, 0x01, 0x04, 0x24, 0x04, 0x10, 0x00, 0x02,\
/* 24 */ 0x02, 0x02, 0x02, 0x02, 0x02, 0x00, 0x00, 0x20,\
/* 32 */ 0x00, 0x00, 0x04, 0x05, 0x04, 0x00, 0x00, 0x01,\
/* 40 */ 0x01, 0x05, 0x05, 0x00, 0x00, 0x00, 0x02, 0x02,\
/* 48 */ 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
/* 56 */ 0x00, 0x11, 0x11, 0x11, 0x11, 0x08, 0x11, 0x11,\
/* 64 */ 0x11, 0x11, 0x02, 0x02, 0x00, 0x4c, 0x4c, 0x00,\
/* 72 */ 0x00, 0x00, 0x05, 0x05, 0x15, 0x15, 0x15, 0x15,\
/* 80 */ 0x15, 0x15, 0x00, 0x4c, 0x4c, 0x4c, 0x4c, 0x4c,\
/* 88 */ 0x4c, 0x4c, 0x4c, 0x4c, 0x4c, 0x00, 0x24, 0x02,\
/* 96 */ 0x00, 0x00, 0x02, 0x00, 0x01, 0x01, 0x01, 0x01,\
/* 104 */ 0x08, 0x08, 0x00, 0x02, 0x01, 0x01, 0x02, 0x00,\
/* 112 */ 0x02, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
/* 120 */ 0x0c, 0x45, 0x15, 0x01, 0x02, 0x00, 0x01, 0x08,\
/* 128 */ 0x05, 0x05, 0x05, 0x02, 0x00, 0x01, 0x00, 0x00,\
/* 136 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x04, 0x04,\
/* 144 */ 0x04, 0x04, 0x04, 0x00, 0x02, 0x02, 0x00, 0x00,\
/* 152 */ 0x00,}

Definition at line 9194 of file sqlite3.c.

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

Definition at line 9187 of file sqlite3.c.

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

Definition at line 9192 of file sqlite3.c.

#define OPFLG_OUT2_PRERELEASE   0x0002 /* out2-prerelease: */

Definition at line 9188 of file sqlite3.c.

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

Definition at line 9193 of file sqlite3.c.

#define OpHelp (   X)

Definition at line 22937 of file sqlite3.c.

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

Definition at line 10345 of file sqlite3.c.

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

Definition at line 10346 of file sqlite3.c.

#define OS_VXWORKS   0

Definition at line 23180 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 osMkdir   ((int(*)(const char*,mode_t))aSyscall[18].pCurrent)
#define osMmap   ((void*(*)(void*,size_t,int,int,int,off_t))aSyscall[21].pCurrent)
#define osMremap   ((void*(*)(void*,size_t,size_t,int,...))aSyscall[23].pCurrent)
#define osMunmap   ((void*(*)(void*,size_t))aSyscall[22].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,off_t))aSyscall[10].pCurrent)
#define osPwrite
Value:
((ssize_t(*)(int,const void*,size_t,off_t))\
sqlite3_syscall_ptr pCurrent
Definition: sqlite3.c:23661
static struct unix_syscall aSyscall[]
#define osPwrite64
Value:
((ssize_t(*)(int,const void*,size_t,off_t))\
sqlite3_syscall_ptr pCurrent
Definition: sqlite3.c:23661
static struct unix_syscall aSyscall[]
#define osRead   ((ssize_t(*)(int,void*,size_t))aSyscall[8].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 23421 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 8986 of file sqlite3.c.

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

Definition at line 8974 of file sqlite3.c.

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

Definition at line 8972 of file sqlite3.c.

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

Definition at line 8975 of file sqlite3.c.

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

Definition at line 8983 of file sqlite3.c.

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

Definition at line 8982 of file sqlite3.c.

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

Definition at line 8984 of file sqlite3.c.

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

Definition at line 8976 of file sqlite3.c.

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

Definition at line 8977 of file sqlite3.c.

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

Definition at line 8980 of file sqlite3.c.

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

Definition at line 8971 of file sqlite3.c.

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

Definition at line 8981 of file sqlite3.c.

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

Definition at line 8973 of file sqlite3.c.

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

Definition at line 8985 of file sqlite3.c.

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

Definition at line 8978 of file sqlite3.c.

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

Definition at line 8979 of file sqlite3.c.

#define P5_ConstraintCheck   3

Definition at line 8991 of file sqlite3.c.

#define P5_ConstraintFK   4

Definition at line 8992 of file sqlite3.c.

#define P5_ConstraintNotNull   1

Definition at line 8989 of file sqlite3.c.

#define P5_ConstraintUnique   2

Definition at line 8990 of file sqlite3.c.

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

Definition at line 9401 of file sqlite3.c.

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

Definition at line 9400 of file sqlite3.c.

#define pager_datahash (   X,
 
)    0

Definition at line 40310 of file sqlite3.c.

#define PAGER_ERROR   6

Definition at line 39459 of file sqlite3.c.

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

Definition at line 9402 of file sqlite3.c.

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

Definition at line 9399 of file sqlite3.c.

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

Definition at line 9389 of file sqlite3.c.

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

Definition at line 9390 of file sqlite3.c.

#define PAGER_INCR (   v)

Definition at line 39827 of file sqlite3.c.

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

Definition at line 9379 of file sqlite3.c.

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

Definition at line 9383 of file sqlite3.c.

#define PAGER_JOURNALMODE_OFF   2 /* Journal omitted. */

Definition at line 9381 of file sqlite3.c.

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

Definition at line 9380 of file sqlite3.c.

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

Definition at line 9378 of file sqlite3.c.

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

Definition at line 9382 of file sqlite3.c.

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

Definition at line 9384 of file sqlite3.c.

#define PAGER_LOCKINGMODE_EXCLUSIVE   1

Definition at line 9373 of file sqlite3.c.

#define PAGER_LOCKINGMODE_NORMAL   0

Definition at line 9372 of file sqlite3.c.

#define PAGER_LOCKINGMODE_QUERY   -1

Definition at line 9371 of file sqlite3.c.

#define PAGER_MAX_PGNO   2147483647

Definition at line 39896 of file sqlite3.c.

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

Definition at line 9366 of file sqlite3.c.

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

Definition at line 9358 of file sqlite3.c.

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

Definition at line 9365 of file sqlite3.c.

#define PAGER_OPEN   0

Definition at line 39453 of file sqlite3.c.

#define pager_pagehash (   X)    0

Definition at line 40311 of file sqlite3.c.

#define PAGER_READER   1

Definition at line 39454 of file sqlite3.c.

#define pager_set_pagehash (   X)

Definition at line 40312 of file sqlite3.c.

#define PAGER_STAT_HIT   0

Definition at line 39812 of file sqlite3.c.

#define PAGER_STAT_MISS   1

Definition at line 39813 of file sqlite3.c.

#define PAGER_STAT_WRITE   2

Definition at line 39814 of file sqlite3.c.

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

Definition at line 9397 of file sqlite3.c.

#define PAGER_SYNCHRONOUS_MASK   0x03 /* Mask for three values above */

Definition at line 9398 of file sqlite3.c.

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

Definition at line 9396 of file sqlite3.c.

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

Definition at line 9395 of file sqlite3.c.

#define PAGER_WRITER_CACHEMOD   3

Definition at line 39456 of file sqlite3.c.

#define PAGER_WRITER_DBMOD   4

Definition at line 39457 of file sqlite3.c.

#define PAGER_WRITER_FINISHED   5

Definition at line 39458 of file sqlite3.c.

#define PAGER_WRITER_LOCKED   2

Definition at line 39455 of file sqlite3.c.

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

Definition at line 39233 of file sqlite3.c.

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

Definition at line 41208 of file sqlite3.c.

#define PAGERTRACE (   X)

Definition at line 39222 of file sqlite3.c.

#define parseCell (   pPage,
  iCell,
  pInfo 
)    btreeParseCellPtr((pPage), findCell((pPage), (iCell)), (pInfo))

Definition at line 51347 of file sqlite3.c.

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

Definition at line 37574 of file sqlite3.c.

#define pcache1EnterMutex (   X)    sqlite3_mutex_enter((X)->mutex)

Definition at line 37579 of file sqlite3.c.

#define pcache1LeaveMutex (   X)    sqlite3_mutex_leave((X)->mutex)

Definition at line 37580 of file sqlite3.c.

#define PENDING_BYTE   sqlite3PendingByte

Definition at line 9908 of file sqlite3.c.

#define PENDING_BYTE_PAGE (   pBt)    PAGER_MJ_PGNO(pBt)

Definition at line 49967 of file sqlite3.c.

#define PENDING_LOCK   3

Definition at line 9847 of file sqlite3.c.

#define PGHDR_DIRTY   0x002 /* Page has changed */

Definition at line 9568 of file sqlite3.c.

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

Definition at line 9573 of file sqlite3.c.

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

Definition at line 9575 of file sqlite3.c.

#define PGHDR_NEED_READ   0x008 /* Content is unread */

Definition at line 9571 of file sqlite3.c.

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

Definition at line 9569 of file sqlite3.c.

#define PGHDR_REUSE_UNLIKELY   0x010 /* A hint that reuse is unlikely */

Definition at line 9572 of file sqlite3.c.

#define PragFlag_NeedSchema   0x01

Definition at line 96350 of file sqlite3.c.

#define PragTyp_ACTIVATE_EXTENSIONS   35

Definition at line 96344 of file sqlite3.c.

#define PragTyp_AUTO_VACUUM   1

Definition at line 96310 of file sqlite3.c.

#define PragTyp_BUSY_TIMEOUT   3

Definition at line 96312 of file sqlite3.c.

#define PragTyp_CACHE_SIZE   4

Definition at line 96313 of file sqlite3.c.

#define PragTyp_CASE_SENSITIVE_LIKE   5

Definition at line 96314 of file sqlite3.c.

#define PragTyp_COLLATION_LIST   6

Definition at line 96315 of file sqlite3.c.

#define PragTyp_COMPILE_OPTIONS   7

Definition at line 96316 of file sqlite3.c.

#define PragTyp_DATA_STORE_DIRECTORY   8

Definition at line 96317 of file sqlite3.c.

#define PragTyp_DATABASE_LIST   9

Definition at line 96318 of file sqlite3.c.

#define PragTyp_DEFAULT_CACHE_SIZE   10

Definition at line 96319 of file sqlite3.c.

#define PragTyp_ENCODING   11

Definition at line 96320 of file sqlite3.c.

#define PragTyp_FLAG   2

Definition at line 96311 of file sqlite3.c.

#define PragTyp_FOREIGN_KEY_CHECK   12

Definition at line 96321 of file sqlite3.c.

#define PragTyp_FOREIGN_KEY_LIST   13

Definition at line 96322 of file sqlite3.c.

#define PragTyp_HEADER_VALUE   0

Definition at line 96309 of file sqlite3.c.

#define PragTyp_HEXKEY   36

Definition at line 96345 of file sqlite3.c.

#define PragTyp_INCREMENTAL_VACUUM   14

Definition at line 96323 of file sqlite3.c.

#define PragTyp_INDEX_INFO   15

Definition at line 96324 of file sqlite3.c.

#define PragTyp_INDEX_LIST   16

Definition at line 96325 of file sqlite3.c.

#define PragTyp_INTEGRITY_CHECK   17

Definition at line 96326 of file sqlite3.c.

#define PragTyp_JOURNAL_MODE   18

Definition at line 96327 of file sqlite3.c.

#define PragTyp_JOURNAL_SIZE_LIMIT   19

Definition at line 96328 of file sqlite3.c.

#define PragTyp_KEY   37

Definition at line 96346 of file sqlite3.c.

#define PragTyp_LOCK_PROXY_FILE   20

Definition at line 96329 of file sqlite3.c.

#define PragTyp_LOCK_STATUS   39

Definition at line 96348 of file sqlite3.c.

#define PragTyp_LOCKING_MODE   21

Definition at line 96330 of file sqlite3.c.

#define PragTyp_MMAP_SIZE   23

Definition at line 96332 of file sqlite3.c.

#define PragTyp_PAGE_COUNT   22

Definition at line 96331 of file sqlite3.c.

#define PragTyp_PAGE_SIZE   24

Definition at line 96333 of file sqlite3.c.

#define PragTyp_PARSER_TRACE   40

Definition at line 96349 of file sqlite3.c.

#define PragTyp_REKEY   38

Definition at line 96347 of file sqlite3.c.

#define PragTyp_SECURE_DELETE   25

Definition at line 96334 of file sqlite3.c.

#define PragTyp_SHRINK_MEMORY   26

Definition at line 96335 of file sqlite3.c.

#define PragTyp_SOFT_HEAP_LIMIT   27

Definition at line 96336 of file sqlite3.c.

#define PragTyp_STATS   28

Definition at line 96337 of file sqlite3.c.

#define PragTyp_SYNCHRONOUS   29

Definition at line 96338 of file sqlite3.c.

#define PragTyp_TABLE_INFO   30

Definition at line 96339 of file sqlite3.c.

#define PragTyp_TEMP_STORE   31

Definition at line 96340 of file sqlite3.c.

#define PragTyp_TEMP_STORE_DIRECTORY   32

Definition at line 96341 of file sqlite3.c.

#define PragTyp_WAL_AUTOCHECKPOINT   33

Definition at line 96342 of file sqlite3.c.

#define PragTyp_WAL_CHECKPOINT   34

Definition at line 96343 of file sqlite3.c.

#define PTF_INTKEY   0x01

Definition at line 49662 of file sqlite3.c.

#define PTF_LEAF   0x08

Definition at line 49665 of file sqlite3.c.

#define PTF_LEAFDATA   0x04

Definition at line 49664 of file sqlite3.c.

#define PTF_ZERODATA   0x02

Definition at line 49663 of file sqlite3.c.

#define PTRMAP_BTREE   5

Definition at line 50023 of file sqlite3.c.

#define PTRMAP_FREEPAGE   2

Definition at line 50020 of file sqlite3.c.

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

Definition at line 49986 of file sqlite3.c.

#define PTRMAP_OVERFLOW1   3

Definition at line 50021 of file sqlite3.c.

#define PTRMAP_OVERFLOW2   4

Definition at line 50022 of file sqlite3.c.

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

Definition at line 49984 of file sqlite3.c.

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

Definition at line 49985 of file sqlite3.c.

#define PTRMAP_ROOTPAGE   1

Definition at line 50019 of file sqlite3.c.

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

Definition at line 50073 of file sqlite3.c.

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

Definition at line 40169 of file sqlite3.c.

#define put4byte   sqlite3Put4byte

Definition at line 50075 of file sqlite3.c.

#define putVarint   sqlite3PutVarint

Definition at line 12387 of file sqlite3.c.

#define putVarint32 (   A,
 
)
Value:
(u8)(((u32)(B)<(u32)0x80)?(*(A)=(unsigned char)(B)),1:\
UINT8_TYPE u8
Definition: sqlite3.c:8298
SQLITE_PRIVATE int sqlite3PutVarint32(unsigned char *, u32)
Definition: sqlite3.c:22022
UINT32_TYPE u32
Definition: sqlite3.c:8295

Definition at line 12383 of file sqlite3.c.

#define READ_LOCK   1

Definition at line 49728 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 20942 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 20932 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:20876

Definition at line 20979 of file sqlite3.c.

#define READMARK_NOT_USED   0xffffffff

Definition at line 46660 of file sqlite3.c.

#define REGISTER_TRACE (   R,
 
)

Definition at line 66473 of file sqlite3.c.

#define RESERVED_BYTE   (PENDING_BYTE+1)

Definition at line 9910 of file sqlite3.c.

#define RESERVED_LOCK   2

Definition at line 9846 of file sqlite3.c.

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

Definition at line 51087 of file sqlite3.c.

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

Definition at line 8378 of file sqlite3.c.

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

Definition at line 8383 of file sqlite3.c.

#define ROWSET_ALLOCATION_SIZE   1024

Definition at line 38521 of file sqlite3.c.

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

Definition at line 38526 of file sqlite3.c.

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

Definition at line 38575 of file sqlite3.c.

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

Definition at line 38574 of file sqlite3.c.

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

Definition at line 10491 of file sqlite3.c.

#define SAVEPOINT_RELEASE   1

Definition at line 10492 of file sqlite3.c.

#define SAVEPOINT_ROLLBACK   2

Definition at line 10493 of file sqlite3.c.

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

Definition at line 8490 of file sqlite3.c.

#define SET_FULLSYNC (   x,
 
)

Definition at line 9792 of file sqlite3.c.

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

Definition at line 36698 of file sqlite3.c.

#define SF_Aggregate   0x0004 /* Contains aggregate functions */

Definition at line 11424 of file sqlite3.c.

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

Definition at line 11422 of file sqlite3.c.

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

Definition at line 11426 of file sqlite3.c.

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

Definition at line 11427 of file sqlite3.c.

#define SF_Materialize   0x0100 /* Force materialization of views */

Definition at line 11430 of file sqlite3.c.

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

Definition at line 11432 of file sqlite3.c.

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

Definition at line 11431 of file sqlite3.c.

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

Definition at line 11423 of file sqlite3.c.

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

Definition at line 11425 of file sqlite3.c.

#define SF_UseSorter   0x0040 /* Sort using a sorter */

Definition at line 11428 of file sqlite3.c.

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

Definition at line 11429 of file sqlite3.c.

#define SHARED_FIRST   (PENDING_BYTE+2)

Definition at line 9911 of file sqlite3.c.

#define SHARED_LOCK   1

Definition at line 9845 of file sqlite3.c.

#define SHARED_SIZE   510

Definition at line 9912 of file sqlite3.c.

#define SimulateDiskfullError (   A)

Definition at line 23573 of file sqlite3.c.

#define SimulateIOError (   A)

Definition at line 23572 of file sqlite3.c.

#define SimulateIOErrorBenign (   X)

Definition at line 23571 of file sqlite3.c.

#define SLOT_2_0   0x001fc07f

Definition at line 22046 of file sqlite3.c.

#define SLOT_4_2_0   0xf01fc07f

Definition at line 22047 of file sqlite3.c.

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

Definition at line 8372 of file sqlite3.c.

#define SORTER_MAX_MERGE_COUNT   16

Definition at line 73607 of file sqlite3.c.

#define SORTER_MIN_WORKING   10

Definition at line 73604 of file sqlite3.c.

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

Definition at line 39563 of file sqlite3.c.

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

Definition at line 39561 of file sqlite3.c.

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

Definition at line 39562 of file sqlite3.c.

#define sqlite3_column_database_name   0

Definition at line 95549 of file sqlite3.c.

#define sqlite3_column_database_name16   0

Definition at line 95550 of file sqlite3.c.

#define sqlite3_column_origin_name   0

Definition at line 95553 of file sqlite3.c.

#define sqlite3_column_origin_name16   0

Definition at line 95554 of file sqlite3.c.

#define sqlite3_column_table_name   0

Definition at line 95551 of file sqlite3.c.

#define sqlite3_column_table_name16   0

Definition at line 95552 of file sqlite3.c.

#define SQLITE3_MUTEX_INITIALIZER   { PTHREAD_MUTEX_INITIALIZER }

Definition at line 18305 of file sqlite3.c.

#define sqlite3_table_column_metadata   0

Definition at line 95555 of file sqlite3.c.

#define SQLITE3_TEXT   3

Definition at line 3724 of file sqlite3.c.

#define sqlite3ConnectionBlocked (   x,
 
)

Definition at line 12676 of file sqlite3.c.

#define sqlite3ConnectionClosed (   x)

Definition at line 12678 of file sqlite3.c.

#define sqlite3ConnectionUnlocked (   x)

Definition at line 12677 of file sqlite3.c.

#define sqlite3ExplainBegin (   X)

Definition at line 12066 of file sqlite3.c.

#define sqlite3ExplainExpr (   A,
 
)

Definition at line 12068 of file sqlite3.c.

#define sqlite3ExplainExprList (   A,
 
)

Definition at line 12069 of file sqlite3.c.

#define sqlite3ExplainFinish (   X)

Definition at line 12070 of file sqlite3.c.

#define sqlite3ExplainSelect (   A,
 
)

Definition at line 12067 of file sqlite3.c.

#define sqlite3FileSuffix3 (   X,
 
)

Definition at line 12424 of file sqlite3.c.

#define sqlite3GlobalConfig   sqlite3Config

Definition at line 8536 of file sqlite3.c.

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

Definition at line 11951 of file sqlite3.c.

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

Definition at line 11952 of file sqlite3.c.

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

Definition at line 11953 of file sqlite3.c.

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

Definition at line 10572 of file sqlite3.c.

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

Definition at line 11950 of file sqlite3.c.

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

Definition at line 11954 of file sqlite3.c.

#define sqlite3JournalExists (   p)    1

Definition at line 12651 of file sqlite3.c.

#define sqlite3JournalSize (   pVfs)    ((pVfs)->szOsFile)

Definition at line 12650 of file sqlite3.c.

#define sqlite3MemdebugHasType (   X,
 
)    1

Definition at line 12733 of file sqlite3.c.

#define sqlite3MemdebugNoType (   X,
 
)    1

Definition at line 12734 of file sqlite3.c.

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

Definition at line 12732 of file sqlite3.c.

#define sqlite3PagerGet (   A,
  B,
 
)    sqlite3PagerAcquire(A,B,C,0)

Definition at line 9440 of file sqlite3.c.

#define sqlite3ParserARG_FETCH   Parse *pParse = yypParser->pParse

Definition at line 114540 of file sqlite3.c.

#define sqlite3ParserARG_PDECL   ,Parse *pParse

Definition at line 114539 of file sqlite3.c.

#define sqlite3ParserARG_SDECL   Parse *pParse;

Definition at line 114538 of file sqlite3.c.

#define sqlite3ParserARG_STORE   yypParser->pParse = pParse

Definition at line 114541 of file sqlite3.c.

#define sqlite3ParserTOKENTYPE   Token

Definition at line 114515 of file sqlite3.c.

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

Definition at line 12302 of file sqlite3.c.

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

Definition at line 12008 of file sqlite3.c.

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

Definition at line 12009 of file sqlite3.c.

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

Definition at line 12010 of file sqlite3.c.

#define sqlite3StrICmp   sqlite3_stricmp

Definition at line 11969 of file sqlite3.c.

#define sqlite3StrNICmp   sqlite3_strnicmp

Definition at line 11971 of file sqlite3.c.

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

Definition at line 11955 of file sqlite3.c.

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

Definition at line 11949 of file sqlite3.c.

#define sqlite3VdbeExplanation (   X)    0

Definition at line 12071 of file sqlite3.c.

#define sqlite3VdbeIOTraceSql (   X)

Definition at line 12696 of file sqlite3.c.

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

Definition at line 12562 of file sqlite3.c.

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

Definition at line 433 of file sqlite3.c.

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

Definition at line 522 of file sqlite3.c.

#define SQLITE_ACCESS_EXISTS   0

Definition at line 1203 of file sqlite3.c.

#define SQLITE_ACCESS_READ   2 /* Unused */

Definition at line 1205 of file sqlite3.c.

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

Definition at line 1204 of file sqlite3.c.

#define SQLITE_AdjustOutEst   0x1000 /* Adjust output estimates using WHERE */

Definition at line 10338 of file sqlite3.c.

#define SQLITE_AFF_INTEGER   'd'

Definition at line 10569 of file sqlite3.c.

#define SQLITE_AFF_MASK   0x67

Definition at line 10578 of file sqlite3.c.

#define SQLITE_AFF_NONE   'b'

Definition at line 10567 of file sqlite3.c.

#define SQLITE_AFF_NUMERIC   'c'

Definition at line 10568 of file sqlite3.c.

#define SQLITE_AFF_REAL   'e'

Definition at line 10570 of file sqlite3.c.

#define SQLITE_AFF_TEXT   'a'

Definition at line 10566 of file sqlite3.c.

#define SQLITE_AllOpts   0xffff /* All optimizations */

Definition at line 10339 of file sqlite3.c.

#define SQLITE_ALLOW_COVERING_INDEX_SCAN   1

Definition at line 12881 of file sqlite3.c.

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

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

#define SQLITE_ANY   5 /* sqlite3_create_function only */

Definition at line 4082 of file sqlite3.c.

#define SQLITE_API

Definition at line 26 of file sqlite3.c.

#define SQLITE_ASCII   1

Definition at line 8245 of file sqlite3.c.

#define SQLITE_ATTACH   24 /* Filename NULL */

Definition at line 2560 of file sqlite3.c.

#define SQLITE_AUTH   23 /* Authorization denied */

Definition at line 452 of file sqlite3.c.

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

Definition at line 10312 of file sqlite3.c.

#define SQLITE_BIG_DBL   (1e99)

Definition at line 8182 of file sqlite3.c.

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

Definition at line 8361 of file sqlite3.c.

#define SQLITE_BLOB   4

Definition at line 3717 of file sqlite3.c.

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

Definition at line 434 of file sqlite3.c.

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

Definition at line 512 of file sqlite3.c.

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

Definition at line 513 of file sqlite3.c.

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

Definition at line 10293 of file sqlite3.c.

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

Definition at line 443 of file sqlite3.c.

#define SQLITE_CANTOPEN_BKPT   sqlite3CantopenError(__LINE__)

Definition at line 11922 of file sqlite3.c.

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

Definition at line 517 of file sqlite3.c.

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

Definition at line 516 of file sqlite3.c.

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

Definition at line 515 of file sqlite3.c.

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

Definition at line 514 of file sqlite3.c.

#define SQLITE_CHECKPOINT_FULL   1

Definition at line 7203 of file sqlite3.c.

#define SQLITE_CHECKPOINT_PASSIVE   0

Definition at line 7202 of file sqlite3.c.

#define SQLITE_CHECKPOINT_RESTART   2

Definition at line 7204 of file sqlite3.c.

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

Definition at line 10292 of file sqlite3.c.

#define SQLITE_ColumnCache   0x0002 /* Column cache */

Definition at line 10327 of file sqlite3.c.

#define SQLITE_CONFIG_COVERING_INDEX_SCAN   20 /* int */

Definition at line 1746 of file sqlite3.c.

#define SQLITE_CONFIG_GETMALLOC   5 /* sqlite3_mem_methods* */

Definition at line 1731 of file sqlite3.c.

#define SQLITE_CONFIG_GETMUTEX   11 /* sqlite3_mutex_methods* */

Definition at line 1737 of file sqlite3.c.

#define SQLITE_CONFIG_GETPCACHE   15 /* no-op */

Definition at line 1741 of file sqlite3.c.

#define SQLITE_CONFIG_GETPCACHE2   19 /* sqlite3_pcache_methods2* */

Definition at line 1745 of file sqlite3.c.

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

Definition at line 1734 of file sqlite3.c.

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

Definition at line 1742 of file sqlite3.c.

#define SQLITE_CONFIG_LOOKASIDE   13 /* int int */

Definition at line 1739 of file sqlite3.c.

#define SQLITE_CONFIG_MALLOC   4 /* sqlite3_mem_methods* */

Definition at line 1730 of file sqlite3.c.

#define SQLITE_CONFIG_MEMSTATUS   9 /* boolean */

Definition at line 1735 of file sqlite3.c.

#define SQLITE_CONFIG_MMAP_SIZE   22 /* sqlite3_int64, sqlite3_int64 */

Definition at line 1748 of file sqlite3.c.

#define SQLITE_CONFIG_MULTITHREAD   2 /* nil */

Definition at line 1728 of file sqlite3.c.

#define SQLITE_CONFIG_MUTEX   10 /* sqlite3_mutex_methods* */

Definition at line 1736 of file sqlite3.c.

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

Definition at line 1733 of file sqlite3.c.

#define SQLITE_CONFIG_PCACHE   14 /* no-op */

Definition at line 1740 of file sqlite3.c.

#define SQLITE_CONFIG_PCACHE2   18 /* sqlite3_pcache_methods2* */

Definition at line 1744 of file sqlite3.c.

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

Definition at line 1732 of file sqlite3.c.

#define SQLITE_CONFIG_SERIALIZED   3 /* nil */

Definition at line 1729 of file sqlite3.c.

#define SQLITE_CONFIG_SINGLETHREAD   1 /* nil */

Definition at line 1727 of file sqlite3.c.

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

Definition at line 1747 of file sqlite3.c.

#define SQLITE_CONFIG_URI   17 /* int */

Definition at line 1743 of file sqlite3.c.

#define SQLITE_CONFIG_WIN32_HEAPSIZE   23 /* int nByte */

Definition at line 1749 of file sqlite3.c.

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

Definition at line 448 of file sqlite3.c.

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

Definition at line 523 of file sqlite3.c.

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

Definition at line 524 of file sqlite3.c.

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

Definition at line 525 of file sqlite3.c.

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

Definition at line 526 of file sqlite3.c.

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

Definition at line 527 of file sqlite3.c.

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

Definition at line 528 of file sqlite3.c.

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

Definition at line 532 of file sqlite3.c.

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

Definition at line 529 of file sqlite3.c.

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

Definition at line 530 of file sqlite3.c.

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

Definition at line 531 of file sqlite3.c.

#define SQLITE_COPY   0 /* No longer used */

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

#define SQLITE_CORRUPT_BKPT   sqlite3CorruptError(__LINE__)

Definition at line 11920 of file sqlite3.c.

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

Definition at line 518 of file sqlite3.c.

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

Definition at line 10296 of file sqlite3.c.

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

Definition at line 10332 of file sqlite3.c.

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

Definition at line 2537 of file sqlite3.c.

#define SQLITE_CREATE_TABLE   2 /* Table Name NULL */

Definition at line 2538 of file sqlite3.c.

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

Definition at line 2539 of file sqlite3.c.

#define SQLITE_CREATE_TEMP_TABLE   4 /* Table Name NULL */

Definition at line 2540 of file sqlite3.c.

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

Definition at line 2541 of file sqlite3.c.

#define SQLITE_CREATE_TEMP_VIEW   6 /* View Name NULL */

Definition at line 2542 of file sqlite3.c.

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

Definition at line 2543 of file sqlite3.c.

#define SQLITE_CREATE_VIEW   8 /* View Name NULL */

Definition at line 2544 of file sqlite3.c.

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

Definition at line 2565 of file sqlite3.c.

#define SQLITE_DBCONFIG_ENABLE_FKEY   1002 /* int int* */

Definition at line 1810 of file sqlite3.c.

#define SQLITE_DBCONFIG_ENABLE_TRIGGER   1003 /* int int* */

Definition at line 1811 of file sqlite3.c.

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

Definition at line 1809 of file sqlite3.c.

#define SQLITE_DBSTATUS_CACHE_HIT   7

Definition at line 6354 of file sqlite3.c.

#define SQLITE_DBSTATUS_CACHE_MISS   8

Definition at line 6355 of file sqlite3.c.

#define SQLITE_DBSTATUS_CACHE_USED   1

Definition at line 6348 of file sqlite3.c.

#define SQLITE_DBSTATUS_CACHE_WRITE   9

Definition at line 6356 of file sqlite3.c.

#define SQLITE_DBSTATUS_DEFERRED_FKS   10

Definition at line 6357 of file sqlite3.c.

#define SQLITE_DBSTATUS_LOOKASIDE_HIT   4

Definition at line 6351 of file sqlite3.c.

#define SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL   6

Definition at line 6353 of file sqlite3.c.

#define SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE   5

Definition at line 6352 of file sqlite3.c.

#define SQLITE_DBSTATUS_LOOKASIDE_USED   0

Definition at line 6347 of file sqlite3.c.

#define SQLITE_DBSTATUS_MAX   10 /* Largest defined DBSTATUS */

Definition at line 6358 of file sqlite3.c.

#define SQLITE_DBSTATUS_SCHEMA_USED   2

Definition at line 6349 of file sqlite3.c.

#define SQLITE_DBSTATUS_STMT_USED   3

Definition at line 6350 of file sqlite3.c.

#define SQLITE_DEFAULT_AUTOVACUUM   0

Definition at line 8639 of file sqlite3.c.

#define SQLITE_DEFAULT_CACHE_SIZE   2000

Definition at line 7528 of file sqlite3.c.

#define SQLITE_DEFAULT_FILE_FORMAT   4

Definition at line 8204 of file sqlite3.c.

#define SQLITE_DEFAULT_FILE_PERMISSIONS   0644

Definition at line 23262 of file sqlite3.c.

#define SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT   -1

Definition at line 9331 of file sqlite3.c.

#define SQLITE_DEFAULT_MEMSTATUS   1

Definition at line 7728 of file sqlite3.c.

#define SQLITE_DEFAULT_MMAP_SIZE   0

Definition at line 8436 of file sqlite3.c.

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

Definition at line 8437 of file sqlite3.c.

#define SQLITE_DEFAULT_PAGE_SIZE   1024

Definition at line 7580 of file sqlite3.c.

#define SQLITE_DEFAULT_PROXYDIR_PERMISSIONS   0755

Definition at line 23269 of file sqlite3.c.

#define SQLITE_DEFAULT_RECURSIVE_TRIGGERS   0

Definition at line 8212 of file sqlite3.c.

#define SQLITE_DEFAULT_SECTOR_SIZE   4096

Definition at line 9799 of file sqlite3.c.

#define SQLITE_DEFAULT_TEMP_CACHE_SIZE   500

Definition at line 7531 of file sqlite3.c.

#define SQLITE_DEFAULT_WAL_AUTOCHECKPOINT   1000

Definition at line 7539 of file sqlite3.c.

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

Definition at line 10316 of file sqlite3.c.

#define SQLITE_DELETE   9 /* Table Name NULL */

Definition at line 2545 of file sqlite3.c.

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

Definition at line 2514 of file sqlite3.c.

#define SQLITE_DEPRECATED

Definition at line 98 of file sqlite3.c.

#define SQLITE_DETACH   25 /* Database Name NULL */

Definition at line 2561 of file sqlite3.c.

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

Definition at line 10331 of file sqlite3.c.

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

Definition at line 459 of file sqlite3.c.

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

Definition at line 2546 of file sqlite3.c.

#define SQLITE_DROP_TABLE   11 /* Table Name NULL */

Definition at line 2547 of file sqlite3.c.

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

Definition at line 2548 of file sqlite3.c.

#define SQLITE_DROP_TEMP_TABLE   13 /* Table Name NULL */

Definition at line 2549 of file sqlite3.c.

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

Definition at line 2550 of file sqlite3.c.

#define SQLITE_DROP_TEMP_VIEW   15 /* View Name NULL */

Definition at line 2551 of file sqlite3.c.

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

Definition at line 2552 of file sqlite3.c.

#define SQLITE_DROP_VIEW   17 /* View Name NULL */

Definition at line 2553 of file sqlite3.c.

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

Definition at line 2566 of file sqlite3.c.

#define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)

Definition at line 8511 of file sqlite3.c.

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

Definition at line 12210 of file sqlite3.c.

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

Definition at line 12211 of file sqlite3.c.

#define SQLITE_EMPTY   16 /* Database is empty */

Definition at line 445 of file sqlite3.c.

#define SQLITE_ENABLE_LOCKING_STYLE   0

Definition at line 23168 of file sqlite3.c.

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

Definition at line 10315 of file sqlite3.c.

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

Definition at line 430 of file sqlite3.c.

#define SQLITE_EXPERIMENTAL

Definition at line 99 of file sqlite3.c.

#define SQLITE_EXTENSION_INIT1   /*no-op*/

Definition at line 95530 of file sqlite3.c.

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

Definition at line 95531 of file sqlite3.c.

#define SQLITE_EXTENSION_INIT3   /*no-op*/

Definition at line 95532 of file sqlite3.c.

#define SQLITE_EXTERN   extern

Definition at line 77 of file sqlite3.c.

#define SQLITE_FactorOutConst   0x0008 /* Constant factoring */

Definition at line 10329 of file sqlite3.c.

#define SQLITE_FAIL   3

Definition at line 7288 of file sqlite3.c.

#define SQLITE_FAULTINJECTOR_COUNT   1

Definition at line 12623 of file sqlite3.c.

#define SQLITE_FAULTINJECTOR_MALLOC   0

Definition at line 12622 of file sqlite3.c.

#define SQLITE_FCNTL_BUSYHANDLER   15

Definition at line 968 of file sqlite3.c.

#define SQLITE_FCNTL_CHUNK_SIZE   6

Definition at line 959 of file sqlite3.c.

#define SQLITE_FCNTL_DB_UNCHANGED   0xca093fa0

Definition at line 9933 of file sqlite3.c.

#define SQLITE_FCNTL_FILE_POINTER   7

Definition at line 960 of file sqlite3.c.

#define SQLITE_FCNTL_LOCKSTATE   1

Definition at line 954 of file sqlite3.c.

#define SQLITE_FCNTL_MMAP_SIZE   18

Definition at line 970 of file sqlite3.c.

#define SQLITE_FCNTL_OVERWRITE   11

Definition at line 964 of file sqlite3.c.

#define SQLITE_FCNTL_PERSIST_WAL   10

Definition at line 963 of file sqlite3.c.

#define SQLITE_FCNTL_POWERSAFE_OVERWRITE   13

Definition at line 966 of file sqlite3.c.

#define SQLITE_FCNTL_PRAGMA   14

Definition at line 967 of file sqlite3.c.

#define SQLITE_FCNTL_SIZE_HINT   5

Definition at line 958 of file sqlite3.c.

#define SQLITE_FCNTL_SYNC_OMITTED   8

Definition at line 961 of file sqlite3.c.

#define SQLITE_FCNTL_TEMPFILENAME   16

Definition at line 969 of file sqlite3.c.

#define SQLITE_FCNTL_TRACE   19

Definition at line 971 of file sqlite3.c.

#define SQLITE_FCNTL_VFSNAME   12

Definition at line 965 of file sqlite3.c.

#define SQLITE_FCNTL_WIN32_AV_RETRY   9

Definition at line 962 of file sqlite3.c.

#define SQLITE_FILE_HEADER   "SQLite format 3"

Definition at line 49655 of file sqlite3.c.

#define SQLITE_FLOAT   2

Definition at line 3716 of file sqlite3.c.

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

Definition at line 10311 of file sqlite3.c.

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

Definition at line 453 of file sqlite3.c.

#define SQLITE_FREE (   x)    free(x)

Definition at line 15883 of file sqlite3.c.

#define SQLITE_FSFLAGS_IS_MSDOS   0x1

Definition at line 23247 of file sqlite3.c.

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

Definition at line 442 of file sqlite3.c.

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

Definition at line 10294 of file sqlite3.c.

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

Definition at line 10291 of file sqlite3.c.

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

Definition at line 10417 of file sqlite3.c.

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

Definition at line 10423 of file sqlite3.c.

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

Definition at line 10425 of file sqlite3.c.

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

Definition at line 10422 of file sqlite3.c.

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

Definition at line 10415 of file sqlite3.c.

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

Definition at line 10418 of file sqlite3.c.

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

Definition at line 10420 of file sqlite3.c.

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

Definition at line 10416 of file sqlite3.c.

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

Definition at line 10419 of file sqlite3.c.

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

Definition at line 10421 of file sqlite3.c.

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

Definition at line 10424 of file sqlite3.c.

#define SQLITE_FUNCTION   31 /* NULL Function Name */

Definition at line 2567 of file sqlite3.c.

#define SQLITE_GET_LOCKPROXYFILE   2

Definition at line 955 of file sqlite3.c.

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

Definition at line 10328 of file sqlite3.c.

#define SQLITE_IdxRealAsInt   0x0010 /* Store REAL as INT in indices */

Definition at line 10330 of file sqlite3.c.

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

Definition at line 2515 of file sqlite3.c.

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

Definition at line 10305 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_EQ   2

Definition at line 5386 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_GE   32

Definition at line 5390 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_GT   4

Definition at line 5387 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_LE   8

Definition at line 5388 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_LT   16

Definition at line 5389 of file sqlite3.c.

#define SQLITE_INDEX_CONSTRAINT_MATCH   64

Definition at line 5391 of file sqlite3.c.

#define SQLITE_INSERT   18 /* Table Name NULL */

Definition at line 2554 of file sqlite3.c.

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

Definition at line 7684 of file sqlite3.c.

#define SQLITE_INTEGER   1

Definition at line 3715 of file sqlite3.c.

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

Definition at line 431 of file sqlite3.c.

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

Definition at line 10290 of file sqlite3.c.

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

Definition at line 438 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC   0x00000001

Definition at line 591 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC16K   0x00000040

Definition at line 597 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC1K   0x00000004

Definition at line 593 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC2K   0x00000008

Definition at line 594 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC32K   0x00000080

Definition at line 598 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC4K   0x00000010

Definition at line 595 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC512   0x00000002

Definition at line 592 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC64K   0x00000100

Definition at line 599 of file sqlite3.c.

#define SQLITE_IOCAP_ATOMIC8K   0x00000020

Definition at line 596 of file sqlite3.c.

#define SQLITE_IOCAP_POWERSAFE_OVERWRITE   0x00001000

Definition at line 603 of file sqlite3.c.

#define SQLITE_IOCAP_SAFE_APPEND   0x00000200

Definition at line 600 of file sqlite3.c.

#define SQLITE_IOCAP_SEQUENTIAL   0x00000400

Definition at line 601 of file sqlite3.c.

#define SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN   0x00000800

Definition at line 602 of file sqlite3.c.

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

Definition at line 439 of file sqlite3.c.

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

Definition at line 497 of file sqlite3.c.

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

Definition at line 495 of file sqlite3.c.

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

Definition at line 498 of file sqlite3.c.

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

Definition at line 500 of file sqlite3.c.

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

Definition at line 510 of file sqlite3.c.

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

Definition at line 494 of file sqlite3.c.

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

Definition at line 507 of file sqlite3.c.

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

Definition at line 501 of file sqlite3.c.

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

Definition at line 489 of file sqlite3.c.

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

Definition at line 491 of file sqlite3.c.

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

Definition at line 488 of file sqlite3.c.

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

Definition at line 509 of file sqlite3.c.

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

Definition at line 499 of file sqlite3.c.

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

Definition at line 508 of file sqlite3.c.

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

Definition at line 496 of file sqlite3.c.

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

Definition at line 493 of file sqlite3.c.

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

Definition at line 485 of file sqlite3.c.

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

Definition at line 506 of file sqlite3.c.

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

Definition at line 504 of file sqlite3.c.

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

Definition at line 505 of file sqlite3.c.

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

Definition at line 502 of file sqlite3.c.

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

Definition at line 503 of file sqlite3.c.

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

Definition at line 486 of file sqlite3.c.

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

Definition at line 490 of file sqlite3.c.

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

Definition at line 492 of file sqlite3.c.

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

Definition at line 487 of file sqlite3.c.

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

Definition at line 10584 of file sqlite3.c.

#define SQLITE_LAST_ERRNO   4

Definition at line 957 of file sqlite3.c.

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

Definition at line 10307 of file sqlite3.c.

#define SQLITE_LIMIT_ATTACHED   7

Definition at line 3067 of file sqlite3.c.

#define SQLITE_LIMIT_COLUMN   2

Definition at line 3062 of file sqlite3.c.

#define SQLITE_LIMIT_COMPOUND_SELECT   4

Definition at line 3064 of file sqlite3.c.

#define SQLITE_LIMIT_EXPR_DEPTH   3

Definition at line 3063 of file sqlite3.c.

#define SQLITE_LIMIT_FUNCTION_ARG   6

Definition at line 3066 of file sqlite3.c.

#define SQLITE_LIMIT_LENGTH   0

Definition at line 3060 of file sqlite3.c.

#define SQLITE_LIMIT_LIKE_PATTERN_LENGTH   8

Definition at line 3068 of file sqlite3.c.

#define SQLITE_LIMIT_SQL_LENGTH   1

Definition at line 3061 of file sqlite3.c.

#define SQLITE_LIMIT_TRIGGER_DEPTH   10

Definition at line 3070 of file sqlite3.c.

#define SQLITE_LIMIT_VARIABLE_NUMBER   9

Definition at line 3069 of file sqlite3.c.

#define SQLITE_LIMIT_VDBE_OP   5

Definition at line 3065 of file sqlite3.c.

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

Definition at line 8362 of file sqlite3.c.

#define SQLITE_LoadExtension   0x00400000 /* Enable load_extension */

Definition at line 10314 of file sqlite3.c.

#define SQLITE_LOCK_EXCLUSIVE   4

Definition at line 616 of file sqlite3.c.

#define SQLITE_LOCK_NONE   0

Definition at line 612 of file sqlite3.c.

#define SQLITE_LOCK_PENDING   3

Definition at line 615 of file sqlite3.c.

#define SQLITE_LOCK_RESERVED   2

Definition at line 614 of file sqlite3.c.

#define SQLITE_LOCK_SHARED   1

Definition at line 613 of file sqlite3.c.

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

Definition at line 435 of file sqlite3.c.

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

Definition at line 511 of file sqlite3.c.

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

Definition at line 10367 of file sqlite3.c.

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

Definition at line 10365 of file sqlite3.c.

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

Definition at line 10368 of file sqlite3.c.

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

Definition at line 10364 of file sqlite3.c.

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

Definition at line 10366 of file sqlite3.c.

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

Definition at line 10369 of file sqlite3.c.

#define SQLITE_MALLOC (   x)    malloc(x)

Definition at line 15882 of file sqlite3.c.

#define SQLITE_MALLOC_SOFT_LIMIT   1024

Definition at line 7769 of file sqlite3.c.

#define SQLITE_MAX_ATTACHED   10

Definition at line 7548 of file sqlite3.c.

#define SQLITE_MAX_COLUMN   2000

Definition at line 7468 of file sqlite3.c.

#define SQLITE_MAX_COMPOUND_SELECT   500

Definition at line 7505 of file sqlite3.c.

#define SQLITE_MAX_DEFAULT_PAGE_SIZE   8192

Definition at line 7595 of file sqlite3.c.

#define SQLITE_MAX_EXPR_DEPTH   1000

Definition at line 7493 of file sqlite3.c.

#define SQLITE_MAX_FILE_FORMAT   4

Definition at line 8202 of file sqlite3.c.

#define SQLITE_MAX_FUNCTION_ARG   127

Definition at line 7520 of file sqlite3.c.

#define SQLITE_MAX_LENGTH   1000000000

Definition at line 7447 of file sqlite3.c.

#define SQLITE_MAX_LIKE_PATTERN_LENGTH   50000

Definition at line 7619 of file sqlite3.c.

#define SQLITE_MAX_MMAP_SIZE   0

Definition at line 8425 of file sqlite3.c.

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

Definition at line 8427 of file sqlite3.c.

#define SQLITE_MAX_PAGE_COUNT   1073741823

Definition at line 7611 of file sqlite3.c.

#define SQLITE_MAX_PAGE_SIZE   65536

Definition at line 7573 of file sqlite3.c.

#define SQLITE_MAX_SCHEMA_RETRY   50

Definition at line 13434 of file sqlite3.c.

#define SQLITE_MAX_SQL_LENGTH   1000000000

Definition at line 7479 of file sqlite3.c.

#define SQLITE_MAX_TRIGGER_DEPTH   1000

Definition at line 7630 of file sqlite3.c.

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

Definition at line 8307 of file sqlite3.c.

#define SQLITE_MAX_VARIABLE_NUMBER   999

Definition at line 7556 of file sqlite3.c.

#define SQLITE_MAX_VDBE_OP   25000

Definition at line 7513 of file sqlite3.c.

#define SQLITE_MINIMUM_FILE_DESCRIPTOR   3

Definition at line 23866 of file sqlite3.c.

#define SQLITE_MISMATCH   20 /* Data type mismatch */

Definition at line 449 of file sqlite3.c.

#define SQLITE_MISUSE   21 /* Library used incorrectly */

Definition at line 450 of file sqlite3.c.

#define SQLITE_MISUSE_BKPT   sqlite3MisuseError(__LINE__)

Definition at line 11921 of file sqlite3.c.

#define SQLITE_MUTEX_FAST   0

Definition at line 6003 of file sqlite3.c.

#define SQLITE_MUTEX_NREF   0

Definition at line 18287 of file sqlite3.c.

#define SQLITE_MUTEX_PTHREADS

Definition at line 10018 of file sqlite3.c.

#define SQLITE_MUTEX_RECURSIVE   1

Definition at line 6004 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_LRU   6 /* lru page list */

Definition at line 6010 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_LRU2   7 /* NOT USED */

Definition at line 6011 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_MASTER   2

Definition at line 6005 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_MEM   3 /* sqlite3_malloc() */

Definition at line 6006 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_MEM2   4 /* NOT USED */

Definition at line 6007 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_OPEN   4 /* sqlite3BtreeOpen() */

Definition at line 6008 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_PMEM   7 /* sqlite3PageMalloc() */

Definition at line 6012 of file sqlite3.c.

#define SQLITE_MUTEX_STATIC_PRNG   5 /* sqlite3_random() */

Definition at line 6009 of file sqlite3.c.

#define SQLITE_N_BTREE_META   10

Definition at line 8632 of file sqlite3.c.

#define SQLITE_N_COLCACHE   10

Definition at line 11486 of file sqlite3.c.

#define SQLITE_N_KEYWORD   122

Definition at line 118164 of file sqlite3.c.

#define SQLITE_N_LIMIT   (SQLITE_LIMIT_TRIGGER_DEPTH+1)

Definition at line 10121 of file sqlite3.c.

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

Definition at line 451 of file sqlite3.c.

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

Definition at line 436 of file sqlite3.c.

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

Definition at line 455 of file sqlite3.c.

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

Definition at line 441 of file sqlite3.c.

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

Definition at line 456 of file sqlite3.c.

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

Definition at line 534 of file sqlite3.c.

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

Definition at line 533 of file sqlite3.c.

#define SQLITE_NULL   5

Definition at line 3718 of file sqlite3.c.

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

Definition at line 10299 of file sqlite3.c.

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

Definition at line 10586 of file sqlite3.c.

#define SQLITE_OK   0 /* Successful result */

Definition at line 428 of file sqlite3.c.

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

Definition at line 10336 of file sqlite3.c.

#define SQLITE_OPEN_AUTOPROXY   0x00000020 /* VFS only */

Definition at line 549 of file sqlite3.c.

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

Definition at line 546 of file sqlite3.c.

#define SQLITE_OPEN_DELETEONCLOSE   0x00000008 /* VFS only */

Definition at line 547 of file sqlite3.c.

#define SQLITE_OPEN_EXCLUSIVE   0x00000010 /* VFS only */

Definition at line 548 of file sqlite3.c.

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

Definition at line 560 of file sqlite3.c.

#define SQLITE_OPEN_MAIN_DB   0x00000100 /* VFS only */

Definition at line 552 of file sqlite3.c.

#define SQLITE_OPEN_MAIN_JOURNAL   0x00000800 /* VFS only */

Definition at line 555 of file sqlite3.c.

#define SQLITE_OPEN_MASTER_JOURNAL   0x00004000 /* VFS only */

Definition at line 558 of file sqlite3.c.

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

Definition at line 551 of file sqlite3.c.

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

Definition at line 559 of file sqlite3.c.

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

Definition at line 562 of file sqlite3.c.

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

Definition at line 544 of file sqlite3.c.

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

Definition at line 545 of file sqlite3.c.

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

Definition at line 561 of file sqlite3.c.

#define SQLITE_OPEN_SUBJOURNAL   0x00002000 /* VFS only */

Definition at line 557 of file sqlite3.c.

#define SQLITE_OPEN_TEMP_DB   0x00000200 /* VFS only */

Definition at line 553 of file sqlite3.c.

#define SQLITE_OPEN_TEMP_JOURNAL   0x00001000 /* VFS only */

Definition at line 556 of file sqlite3.c.

#define SQLITE_OPEN_TRANSIENT_DB   0x00000400 /* VFS only */

Definition at line 554 of file sqlite3.c.

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

Definition at line 550 of file sqlite3.c.

#define SQLITE_OPEN_WAL   0x00080000 /* VFS only */

Definition at line 563 of file sqlite3.c.

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

Definition at line 10333 of file sqlite3.c.

#define SQLITE_OS_OTHER   0

Definition at line 9727 of file sqlite3.c.

#define SQLITE_OS_UNIX   1

Definition at line 9734 of file sqlite3.c.

#define SQLITE_OS_WIN   0

Definition at line 9733 of file sqlite3.c.

#define SQLITE_OS_WINCE   0

Definition at line 9777 of file sqlite3.c.

#define SQLITE_OS_WINRT   0

Definition at line 9785 of file sqlite3.c.

#define SQLITE_PERM   3 /* Access permission denied */

Definition at line 432 of file sqlite3.c.

#define SQLITE_POWERSAFE_OVERWRITE   1

Definition at line 7718 of file sqlite3.c.

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

Definition at line 2555 of file sqlite3.c.

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

Definition at line 10313 of file sqlite3.c.

#define SQLITE_PRINT_BUF_SIZE   70

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

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

Definition at line 7685 of file sqlite3.c.

#define SQLITE_QueryFlattener   0x0001 /* Query flattening */

Definition at line 10326 of file sqlite3.c.

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

Definition at line 10317 of file sqlite3.c.

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

Definition at line 454 of file sqlite3.c.

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

Definition at line 2556 of file sqlite3.c.

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

Definition at line 437 of file sqlite3.c.

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

Definition at line 520 of file sqlite3.c.

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

Definition at line 519 of file sqlite3.c.

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

Definition at line 521 of file sqlite3.c.

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

Definition at line 10306 of file sqlite3.c.

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

Definition at line 15884 of file sqlite3.c.

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

Definition at line 10308 of file sqlite3.c.

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

Definition at line 10310 of file sqlite3.c.

#define SQLITE_REINDEX   27 /* Index Name NULL */

Definition at line 2563 of file sqlite3.c.

#define SQLITE_REPLACE   5

Definition at line 7290 of file sqlite3.c.

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

Definition at line 10309 of file sqlite3.c.

#define SQLITE_ROLLBACK   1

Definition at line 7286 of file sqlite3.c.

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

Definition at line 458 of file sqlite3.c.

#define SQLITE_SAVEPOINT   32 /* Operation Savepoint Name */

Definition at line 2568 of file sqlite3.c.

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

Definition at line 446 of file sqlite3.c.

#define SQLITE_SELECT   21 /* NULL NULL */

Definition at line 2557 of file sqlite3.c.

#define SQLITE_SET_LOCKPROXYFILE   3

Definition at line 956 of file sqlite3.c.

#define SQLITE_SHM_EXCLUSIVE   8

Definition at line 1232 of file sqlite3.c.

#define SQLITE_SHM_LOCK   2

Definition at line 1230 of file sqlite3.c.

#define SQLITE_SHM_NLOCK   8

Definition at line 1242 of file sqlite3.c.

#define SQLITE_SHM_SHARED   4

Definition at line 1231 of file sqlite3.c.

#define SQLITE_SHM_UNLOCK   1

Definition at line 1229 of file sqlite3.c.

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

Definition at line 10295 of file sqlite3.c.

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

Definition at line 11904 of file sqlite3.c.

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

Definition at line 10549 of file sqlite3.c.

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

Definition at line 10550 of file sqlite3.c.

#define SQLITE_SOURCE_ID   "2013-12-06 14:53:30 27392118af4c38c5203a04b8013e1afdb1cebd0d"

Definition at line 140 of file sqlite3.c.

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

Definition at line 10301 of file sqlite3.c.

#define SQLITE_Stat3   0x0800 /* Use the SQLITE_STAT3 table */

Definition at line 10337 of file sqlite3.c.

#define SQLITE_STAT4_SAMPLES   1

Definition at line 81800 of file sqlite3.c.

#define SQLITE_STATIC   ((sqlite3_destructor_type)0)

Definition at line 4301 of file sqlite3.c.

#define SQLITE_STATUS_MALLOC_COUNT   9

Definition at line 6231 of file sqlite3.c.

#define SQLITE_STATUS_MALLOC_SIZE   5

Definition at line 6227 of file sqlite3.c.

#define SQLITE_STATUS_MEMORY_USED   0

Definition at line 6222 of file sqlite3.c.

#define SQLITE_STATUS_PAGECACHE_OVERFLOW   2

Definition at line 6224 of file sqlite3.c.

#define SQLITE_STATUS_PAGECACHE_SIZE   7

Definition at line 6229 of file sqlite3.c.

#define SQLITE_STATUS_PAGECACHE_USED   1

Definition at line 6223 of file sqlite3.c.

#define SQLITE_STATUS_PARSER_STACK   6

Definition at line 6228 of file sqlite3.c.

#define SQLITE_STATUS_SCRATCH_OVERFLOW   4

Definition at line 6226 of file sqlite3.c.

#define SQLITE_STATUS_SCRATCH_SIZE   8

Definition at line 6230 of file sqlite3.c.

#define SQLITE_STATUS_SCRATCH_USED   3

Definition at line 6225 of file sqlite3.c.

#define SQLITE_STMTSTATUS_AUTOINDEX   3

Definition at line 6425 of file sqlite3.c.

#define SQLITE_STMTSTATUS_FULLSCAN_STEP   1

Definition at line 6423 of file sqlite3.c.

#define SQLITE_STMTSTATUS_SORT   2

Definition at line 6424 of file sqlite3.c.

#define SQLITE_STMTSTATUS_VM_STEP   4

Definition at line 6426 of file sqlite3.c.

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

Definition at line 10585 of file sqlite3.c.

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

Definition at line 10334 of file sqlite3.c.

#define SQLITE_SYNC_DATAONLY   0x00010

Definition at line 646 of file sqlite3.c.

#define SQLITE_SYNC_FULL   0x00003

Definition at line 645 of file sqlite3.c.

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

Definition at line 39011 of file sqlite3.c.

#define SQLITE_SYNC_NORMAL   0x00002

Definition at line 644 of file sqlite3.c.

#define SQLITE_SYSTEM_MALLOC   1

Definition at line 7761 of file sqlite3.c.

#define SQLITE_TEMP_FILE_PREFIX   "etilqs_"

Definition at line 9824 of file sqlite3.c.

#define SQLITE_TEMP_STORE   1

Definition at line 8220 of file sqlite3.c.

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

Definition at line 8221 of file sqlite3.c.

#define SQLITE_TESTCTRL_ALWAYS   13

Definition at line 6098 of file sqlite3.c.

#define SQLITE_TESTCTRL_ASSERT   12

Definition at line 6097 of file sqlite3.c.

#define SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS   10

Definition at line 6095 of file sqlite3.c.

#define SQLITE_TESTCTRL_BITVEC_TEST   8

Definition at line 6093 of file sqlite3.c.

#define SQLITE_TESTCTRL_EXPLAIN_STMT   19

Definition at line 6104 of file sqlite3.c.

#define SQLITE_TESTCTRL_FAULT_INSTALL   9

Definition at line 6094 of file sqlite3.c.

#define SQLITE_TESTCTRL_FIRST   5

Definition at line 6089 of file sqlite3.c.

#define SQLITE_TESTCTRL_ISKEYWORD   16

Definition at line 6101 of file sqlite3.c.

#define SQLITE_TESTCTRL_LAST   20

Definition at line 6106 of file sqlite3.c.

#define SQLITE_TESTCTRL_LOCALTIME_FAULT   18

Definition at line 6103 of file sqlite3.c.

#define SQLITE_TESTCTRL_NEVER_CORRUPT   20

Definition at line 6105 of file sqlite3.c.

#define SQLITE_TESTCTRL_OPTIMIZATIONS   15

Definition at line 6100 of file sqlite3.c.

#define SQLITE_TESTCTRL_PENDING_BYTE   11

Definition at line 6096 of file sqlite3.c.

#define SQLITE_TESTCTRL_PRNG_RESET   7

Definition at line 6092 of file sqlite3.c.

#define SQLITE_TESTCTRL_PRNG_RESTORE   6

Definition at line 6091 of file sqlite3.c.

#define SQLITE_TESTCTRL_PRNG_SAVE   5

Definition at line 6090 of file sqlite3.c.

#define SQLITE_TESTCTRL_RESERVE   14

Definition at line 6099 of file sqlite3.c.

#define SQLITE_TESTCTRL_SCRATCHMALLOC   17

Definition at line 6102 of file sqlite3.c.

#define SQLITE_TEXT   3

Definition at line 3722 of file sqlite3.c.

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

Definition at line 7709 of file sqlite3.c.

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

Definition at line 447 of file sqlite3.c.

#define SQLITE_TRANSACTION   22 /* Operation NULL */

Definition at line 2558 of file sqlite3.c.

#define SQLITE_TRANSIENT   ((sqlite3_destructor_type)-1)

Definition at line 4302 of file sqlite3.c.

#define SQLITE_Transitive   0x0200 /* Transitive constraints */

Definition at line 10335 of file sqlite3.c.

#define SQLITE_UNIX_THREADS   1

Definition at line 23255 of file sqlite3.c.

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

Definition at line 2559 of file sqlite3.c.

#define SQLITE_USE_URI   0

Definition at line 12877 of file sqlite3.c.

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

Definition at line 4081 of file sqlite3.c.

#define SQLITE_UTF16_ALIGNED   8 /* sqlite3_create_collation only */

Definition at line 4083 of file sqlite3.c.

#define SQLITE_UTF16BE   3

Definition at line 4080 of file sqlite3.c.

#define SQLITE_UTF16LE   2

Definition at line 4079 of file sqlite3.c.

#define SQLITE_UTF16NATIVE   (SQLITE_BIGENDIAN?SQLITE_UTF16BE:SQLITE_UTF16LE)

Definition at line 8363 of file sqlite3.c.

#define SQLITE_UTF8   1

Definition at line 4078 of file sqlite3.c.

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

Definition at line 10304 of file sqlite3.c.

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

Definition at line 10318 of file sqlite3.c.

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

Definition at line 10302 of file sqlite3.c.

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

Definition at line 10289 of file sqlite3.c.

#define SQLITE_VERSION   "3.8.2"

Definition at line 138 of file sqlite3.c.

#define SQLITE_VERSION_NUMBER   3008002

Definition at line 139 of file sqlite3.c.

#define SQLITE_VTAB_CONSTRAINT_SUPPORT   1

Definition at line 7261 of file sqlite3.c.

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

Definition at line 457 of file sqlite3.c.

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

Definition at line 535 of file sqlite3.c.

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

Definition at line 10303 of file sqlite3.c.

#define SQLITE_WSD

Definition at line 8534 of file sqlite3.c.

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

Definition at line 7984 of file sqlite3.c.

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

Definition at line 7982 of file sqlite3.c.

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

Definition at line 7983 of file sqlite3.c.

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

Definition at line 11452 of file sqlite3.c.

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

Definition at line 11442 of file sqlite3.c.

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

Definition at line 11451 of file sqlite3.c.

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

Definition at line 11440 of file sqlite3.c.

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

Definition at line 11441 of file sqlite3.c.

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

Definition at line 11448 of file sqlite3.c.

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

Definition at line 11447 of file sqlite3.c.

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

Definition at line 11449 of file sqlite3.c.

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

Definition at line 11450 of file sqlite3.c.

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

Definition at line 11439 of file sqlite3.c.

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

Definition at line 82412 of file sqlite3.c.

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

Definition at line 82410 of file sqlite3.c.

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

Definition at line 82411 of file sqlite3.c.

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

Definition at line 82409 of file sqlite3.c.

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

Definition at line 82408 of file sqlite3.c.

#define STR_FUNCTION (   zName,
  nArg,
  pArg,
  bNC,
  xFunc 
)
Value:
pArg, 0, xFunc, 0, 0, #zName, 0, 0}
#define SQLITE_UTF8
Definition: sqlite3.c:4078
#define SQLITE_FUNC_CONSTANT
Definition: sqlite3.c:10425
#define SQLITE_FUNC_NEEDCOLL
Definition: sqlite3.c:10419

Definition at line 10464 of file sqlite3.c.

#define STRACCUM_NOMEM   1

Definition at line 11787 of file sqlite3.c.

#define STRACCUM_TOOBIG   2

Definition at line 11788 of file sqlite3.c.

#define STRICMP (   x,
 
)
Value:
(\
sqlite3UpperToLower[*(unsigned char *)(x)]== \
sqlite3UpperToLower[*(unsigned char *)(y)] \
&& sqlite3StrICmp((x)+1,(y)+1)==0 )
SQLITE_PRIVATE const unsigned char sqlite3UpperToLower[]
Definition: sqlite3.c:12768
#define sqlite3StrICmp
Definition: sqlite3.c:11969

Definition at line 85244 of file sqlite3.c.

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

Definition at line 66161 of file sqlite3.c.

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

Definition at line 108785 of file sqlite3.c.

#define swapMixedEndianFloat (   X)

Definition at line 63840 of file sqlite3.c.

#define TEMP_MASTER_NAME   "sqlite_temp_master"

Definition at line 8480 of file sqlite3.c.

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

Definition at line 108242 of file sqlite3.c.

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

Definition at line 108239 of file sqlite3.c.

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

Definition at line 108240 of file sqlite3.c.

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

Definition at line 108237 of file sqlite3.c.

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

Definition at line 108243 of file sqlite3.c.

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

Definition at line 108241 of file sqlite3.c.

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

Definition at line 108238 of file sqlite3.c.

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

Definition at line 108247 of file sqlite3.c.

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

Definition at line 36700 of file sqlite3.c.

#define testcase (   X)

Definition at line 7825 of file sqlite3.c.

#define TESTONLY (   X)

Definition at line 7836 of file sqlite3.c.

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

Definition at line 10707 of file sqlite3.c.

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

Definition at line 10705 of file sqlite3.c.

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

Definition at line 10706 of file sqlite3.c.

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

Definition at line 10704 of file sqlite3.c.

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

Definition at line 10708 of file sqlite3.c.

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

Definition at line 10709 of file sqlite3.c.

#define threadid   pthread_self()

Definition at line 23613 of file sqlite3.c.

#define TIMER_ELAPSED   ((sqlite_uint64)0)

Definition at line 23533 of file sqlite3.c.

#define TIMER_END

Definition at line 23532 of file sqlite3.c.

#define TIMER_START

Definition at line 23531 of file sqlite3.c.

#define TK_ABORT   29

Definition at line 8027 of file sqlite3.c.

#define TK_ACTION   30

Definition at line 8028 of file sqlite3.c.

#define TK_ADD   141

Definition at line 8139 of file sqlite3.c.

#define TK_AFTER   31

Definition at line 8029 of file sqlite3.c.

#define TK_AGG_COLUMN   155

Definition at line 8153 of file sqlite3.c.

#define TK_AGG_FUNCTION   154

Definition at line 8152 of file sqlite3.c.

#define TK_ALL   114

Definition at line 8112 of file sqlite3.c.

#define TK_ALTER   140

Definition at line 8138 of file sqlite3.c.

#define TK_ANALYZE   32

Definition at line 8030 of file sqlite3.c.

#define TK_AND   70

Definition at line 8068 of file sqlite3.c.

#define TK_ANY   68

Definition at line 8066 of file sqlite3.c.

#define TK_AS   24

Definition at line 8022 of file sqlite3.c.

#define TK_ASC   33

Definition at line 8031 of file sqlite3.c.

#define TK_ATTACH   34

Definition at line 8032 of file sqlite3.c.

#define TK_AUTOINCR   104

Definition at line 8102 of file sqlite3.c.

#define TK_BEFORE   35

Definition at line 8033 of file sqlite3.c.

#define TK_BEGIN   5

Definition at line 8003 of file sqlite3.c.

#define TK_BETWEEN   72

Definition at line 8070 of file sqlite3.c.

#define TK_BITAND   83

Definition at line 8081 of file sqlite3.c.

#define TK_BITNOT   94

Definition at line 8092 of file sqlite3.c.

#define TK_BITOR   84

Definition at line 8082 of file sqlite3.c.

#define TK_BLOB   132

Definition at line 8130 of file sqlite3.c.

#define TK_BY   36

Definition at line 8034 of file sqlite3.c.

#define TK_CASCADE   37

Definition at line 8035 of file sqlite3.c.

#define TK_CASE   135

Definition at line 8133 of file sqlite3.c.

#define TK_CAST   38

Definition at line 8036 of file sqlite3.c.

#define TK_CHECK   102

Definition at line 8100 of file sqlite3.c.

#define TK_COLLATE   93

Definition at line 8091 of file sqlite3.c.

#define TK_COLUMN   153

Definition at line 8151 of file sqlite3.c.

#define TK_COLUMNKW   39

Definition at line 8037 of file sqlite3.c.

#define TK_COMMA   26

Definition at line 8024 of file sqlite3.c.

#define TK_COMMIT   10

Definition at line 8008 of file sqlite3.c.

#define TK_CONCAT   92

Definition at line 8090 of file sqlite3.c.

#define TK_CONFLICT   40

Definition at line 8038 of file sqlite3.c.

#define TK_CONSTRAINT   97

Definition at line 8095 of file sqlite3.c.

#define TK_CREATE   17

Definition at line 8015 of file sqlite3.c.

#define TK_CTIME_KW   67

Definition at line 8065 of file sqlite3.c.

#define TK_DATABASE   41

Definition at line 8039 of file sqlite3.c.

#define TK_DEFAULT   98

Definition at line 8096 of file sqlite3.c.

#define TK_DEFERRABLE   110

Definition at line 8108 of file sqlite3.c.

#define TK_DEFERRED   7

Definition at line 8005 of file sqlite3.c.

#define TK_DELETE   107

Definition at line 8105 of file sqlite3.c.

#define TK_DESC   42

Definition at line 8040 of file sqlite3.c.

#define TK_DETACH   43

Definition at line 8041 of file sqlite3.c.

#define TK_DISTINCT   118

Definition at line 8116 of file sqlite3.c.

#define TK_DOT   119

Definition at line 8117 of file sqlite3.c.

#define TK_DROP   112

Definition at line 8110 of file sqlite3.c.

#define TK_EACH   44

Definition at line 8042 of file sqlite3.c.

#define TK_ELSE   138

Definition at line 8136 of file sqlite3.c.

#define TK_END   11

Definition at line 8009 of file sqlite3.c.

#define TK_END_OF_FILE   148

Definition at line 8146 of file sqlite3.c.

#define TK_EQ   77

Definition at line 8075 of file sqlite3.c.

#define TK_ESCAPE   82

Definition at line 8080 of file sqlite3.c.

#define TK_EXCEPT   115

Definition at line 8113 of file sqlite3.c.

#define TK_EXCLUSIVE   9

Definition at line 8007 of file sqlite3.c.

#define TK_EXISTS   20

Definition at line 8018 of file sqlite3.c.

#define TK_EXPLAIN   2

Definition at line 8000 of file sqlite3.c.

#define TK_FAIL   45

Definition at line 8043 of file sqlite3.c.

#define TK_FLOAT   131

Definition at line 8129 of file sqlite3.c.

#define TK_FOR   46

Definition at line 8044 of file sqlite3.c.

#define TK_FOREIGN   111

Definition at line 8109 of file sqlite3.c.

#define TK_FROM   120

Definition at line 8118 of file sqlite3.c.

#define TK_FUNCTION   152

Definition at line 8150 of file sqlite3.c.

#define TK_GE   81

Definition at line 8079 of file sqlite3.c.

#define TK_GROUP   124

Definition at line 8122 of file sqlite3.c.

#define TK_GT   78

Definition at line 8076 of file sqlite3.c.

#define TK_HAVING   125

Definition at line 8123 of file sqlite3.c.

#define TK_ID   27

Definition at line 8025 of file sqlite3.c.

#define TK_IF   18

Definition at line 8016 of file sqlite3.c.

#define TK_IGNORE   47

Definition at line 8045 of file sqlite3.c.

#define TK_ILLEGAL   149

Definition at line 8147 of file sqlite3.c.

#define TK_IMMEDIATE   8

Definition at line 8006 of file sqlite3.c.

#define TK_IN   73

Definition at line 8071 of file sqlite3.c.

#define TK_INDEX   139

Definition at line 8137 of file sqlite3.c.

#define TK_INDEXED   28

Definition at line 8026 of file sqlite3.c.

#define TK_INITIALLY   48

Definition at line 8046 of file sqlite3.c.

#define TK_INSERT   106

Definition at line 8104 of file sqlite3.c.

#define TK_INSTEAD   49

Definition at line 8047 of file sqlite3.c.

#define TK_INTEGER   130

Definition at line 8128 of file sqlite3.c.

#define TK_INTERSECT   116

Definition at line 8114 of file sqlite3.c.

#define TK_INTO   128

Definition at line 8126 of file sqlite3.c.

#define TK_IS   71

Definition at line 8069 of file sqlite3.c.

#define TK_ISNOT   147

Definition at line 8145 of file sqlite3.c.

#define TK_ISNULL   74

Definition at line 8072 of file sqlite3.c.

#define TK_JOIN   121

Definition at line 8119 of file sqlite3.c.

#define TK_JOIN_KW   96

Definition at line 8094 of file sqlite3.c.

#define TK_KEY   53

Definition at line 8051 of file sqlite3.c.

#define TK_LE   79

Definition at line 8077 of file sqlite3.c.

#define TK_LIKE_KW   50

Definition at line 8048 of file sqlite3.c.

#define TK_LIMIT   126

Definition at line 8124 of file sqlite3.c.

#define TK_LP   22

Definition at line 8020 of file sqlite3.c.

#define TK_LSHIFT   85

Definition at line 8083 of file sqlite3.c.

#define TK_LT   80

Definition at line 8078 of file sqlite3.c.

#define TK_MATCH   51

Definition at line 8049 of file sqlite3.c.

#define TK_MINUS   88

Definition at line 8086 of file sqlite3.c.

#define TK_NE   76

Definition at line 8074 of file sqlite3.c.

#define TK_NO   52

Definition at line 8050 of file sqlite3.c.

#define TK_NOT   19

Definition at line 8017 of file sqlite3.c.

#define TK_NOTNULL   75

Definition at line 8073 of file sqlite3.c.

#define TK_NULL   99

Definition at line 8097 of file sqlite3.c.

#define TK_OF   54

Definition at line 8052 of file sqlite3.c.

#define TK_OFFSET   55

Definition at line 8053 of file sqlite3.c.

#define TK_ON   105

Definition at line 8103 of file sqlite3.c.

#define TK_OR   69

Definition at line 8067 of file sqlite3.c.

#define TK_ORDER   123

Definition at line 8121 of file sqlite3.c.

#define TK_PLAN   4

Definition at line 8002 of file sqlite3.c.

#define TK_PLUS   87

Definition at line 8085 of file sqlite3.c.

#define TK_PRAGMA   56

Definition at line 8054 of file sqlite3.c.

#define TK_PRIMARY   100

Definition at line 8098 of file sqlite3.c.

#define TK_QUERY   3

Definition at line 8001 of file sqlite3.c.

#define TK_RAISE   57

Definition at line 8055 of file sqlite3.c.

#define TK_REFERENCES   103

Definition at line 8101 of file sqlite3.c.

#define TK_REGISTER   133

Definition at line 8131 of file sqlite3.c.

#define TK_REINDEX   65

Definition at line 8063 of file sqlite3.c.

#define TK_RELEASE   14

Definition at line 8012 of file sqlite3.c.

#define TK_REM   91

Definition at line 8089 of file sqlite3.c.

#define TK_RENAME   66

Definition at line 8064 of file sqlite3.c.

#define TK_REPLACE   58

Definition at line 8056 of file sqlite3.c.

#define TK_RESTRICT   59

Definition at line 8057 of file sqlite3.c.

#define TK_ROLLBACK   12

Definition at line 8010 of file sqlite3.c.

#define TK_ROW   60

Definition at line 8058 of file sqlite3.c.

#define TK_RP   23

Definition at line 8021 of file sqlite3.c.

#define TK_RSHIFT   86

Definition at line 8084 of file sqlite3.c.

#define TK_SAVEPOINT   13

Definition at line 8011 of file sqlite3.c.

#define TK_SELECT   117

Definition at line 8115 of file sqlite3.c.

#define TK_SEMI   1

Definition at line 7999 of file sqlite3.c.

#define TK_SET   109

Definition at line 8107 of file sqlite3.c.

#define TK_SLASH   90

Definition at line 8088 of file sqlite3.c.

#define TK_SPACE   150

Definition at line 8148 of file sqlite3.c.

#define TK_STAR   89

Definition at line 8087 of file sqlite3.c.

#define TK_STRING   95

Definition at line 8093 of file sqlite3.c.

#define TK_TABLE   16

Definition at line 8014 of file sqlite3.c.

#define TK_TEMP   21

Definition at line 8019 of file sqlite3.c.

#define TK_THEN   137

Definition at line 8135 of file sqlite3.c.

#define TK_TO   15

Definition at line 8013 of file sqlite3.c.

#define TK_TO_BLOB   143

Definition at line 8141 of file sqlite3.c.

#define TK_TO_INT   145

Definition at line 8143 of file sqlite3.c.

#define TK_TO_NUMERIC   144

Definition at line 8142 of file sqlite3.c.

#define TK_TO_REAL   146

Definition at line 8144 of file sqlite3.c.

#define TK_TO_TEXT   142

Definition at line 8140 of file sqlite3.c.

#define TK_TRANSACTION   6

Definition at line 8004 of file sqlite3.c.

#define TK_TRIGGER   61

Definition at line 8059 of file sqlite3.c.

#define TK_UMINUS   156

Definition at line 8154 of file sqlite3.c.

#define TK_UNCLOSED_STRING   151

Definition at line 8149 of file sqlite3.c.

#define TK_UNION   113

Definition at line 8111 of file sqlite3.c.

#define TK_UNIQUE   101

Definition at line 8099 of file sqlite3.c.

#define TK_UPDATE   108

Definition at line 8106 of file sqlite3.c.

#define TK_UPLUS   157

Definition at line 8155 of file sqlite3.c.

#define TK_USING   122

Definition at line 8120 of file sqlite3.c.

#define TK_VACUUM   62

Definition at line 8060 of file sqlite3.c.

#define TK_VALUES   129

Definition at line 8127 of file sqlite3.c.

#define TK_VARIABLE   134

Definition at line 8132 of file sqlite3.c.

#define TK_VIEW   63

Definition at line 8061 of file sqlite3.c.

#define TK_VIRTUAL   64

Definition at line 8062 of file sqlite3.c.

#define TK_WHEN   136

Definition at line 8134 of file sqlite3.c.

#define TK_WHERE   127

Definition at line 8125 of file sqlite3.c.

#define TK_WITHOUT   25

Definition at line 8023 of file sqlite3.c.

#define tkCREATE   4

Definition at line 118672 of file sqlite3.c.

#define tkEND   7

Definition at line 118675 of file sqlite3.c.

#define tkEXPLAIN   3

Definition at line 118671 of file sqlite3.c.

#define tkOTHER   2

Definition at line 118669 of file sqlite3.c.

#define tkSEMI   0

Definition at line 118667 of file sqlite3.c.

#define tkTEMP   5

Definition at line 118673 of file sqlite3.c.

#define tkTRIGGER   6

Definition at line 118674 of file sqlite3.c.

#define tkWS   1

Definition at line 118668 of file sqlite3.c.

#define TOKEN   (yyminor.yy0)
#define TRACE (   X)

Definition at line 50381 of file sqlite3.c.

#define TRACE_IDX_INPUTS (   A)

Definition at line 109957 of file sqlite3.c.

#define TRACE_IDX_OUTPUTS (   A)

Definition at line 109958 of file sqlite3.c.

#define TRANS_NONE   0

Definition at line 49774 of file sqlite3.c.

#define TRANS_READ   1

Definition at line 49775 of file sqlite3.c.

#define TRANS_WRITE   2

Definition at line 49776 of file sqlite3.c.

#define TRIGGER_AFTER   2

Definition at line 11705 of file sqlite3.c.

#define TRIGGER_BEFORE   1

Definition at line 11704 of file sqlite3.c.

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

Definition at line 22503 of file sqlite3.c.

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

Definition at line 22502 of file sqlite3.c.

#define UINT16_TYPE   unsigned short int

Definition at line 8266 of file sqlite3.c.

#define UINT32_TYPE   unsigned int

Definition at line 8259 of file sqlite3.c.

#define UINT8_TYPE   unsigned char

Definition at line 8280 of file sqlite3.c.

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

Definition at line 27347 of file sqlite3.c.

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

Definition at line 27348 of file sqlite3.c.

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

Definition at line 23373 of file sqlite3.c.

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

Definition at line 23368 of file sqlite3.c.

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

Definition at line 23364 of file sqlite3.c.

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

Definition at line 23375 of file sqlite3.c.

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

Definition at line 23366 of file sqlite3.c.

#define UNIXFILE_PSOW   0x10 /* SQLITE_IOCAP_POWERSAFE_OVERWRITE */

Definition at line 23372 of file sqlite3.c.

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

Definition at line 23365 of file sqlite3.c.

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

Definition at line 23374 of file sqlite3.c.

#define UNIXFILE_WARNED   0x0100 /* verifyDbFile() warnings have been issued */

Definition at line 23376 of file sqlite3.c.

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

Definition at line 24416 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:23845
static int unixSetSystemCall(sqlite3_vfs *pNotUsed, const char *zName, sqlite3_syscall_ptr pNewFunc)
Definition: sqlite3.c:23783
static void unixDlError(sqlite3_vfs *NotUsed, int nBuf, char *zBufOut)
Definition: sqlite3.c:29273
static int unixOpen(sqlite3_vfs *pVfs, const char *zPath, sqlite3_file *pFile, int flags, int *pOutFlags)
Definition: sqlite3.c:28881
static int unixDelete(sqlite3_vfs *NotUsed, const char *zPath, int dirSync)
Definition: sqlite3.c:29132
static void(*)(void) unixDlSym(sqlite3_vfs *NotUsed, void *p, const char *zSym)
Definition: sqlite3.c:29283
static int unixCurrentTimeInt64(sqlite3_vfs *NotUsed, sqlite3_int64 *piNow)
Definition: sqlite3.c:29407
static int unixRandomness(sqlite3_vfs *NotUsed, int nBuf, char *zBuf)
Definition: sqlite3.c:29320
static int unixCurrentTime(sqlite3_vfs *NotUsed, double *prNow)
Definition: sqlite3.c:29441
static int unixAccess(sqlite3_vfs *NotUsed, const char *zPath, int flags, int *pResOut)
Definition: sqlite3.c:29180
static int unixFullPathname(sqlite3_vfs *pVfs, const char *zPath, int nOut, char *zOut)
Definition: sqlite3.c:29223
static void * unixDlOpen(sqlite3_vfs *NotUsed, const char *zFilename)
Definition: sqlite3.c:29261
static int unixSleep(sqlite3_vfs *NotUsed, int microseconds)
Definition: sqlite3.c:29367
#define MAX_PATHNAME
Definition: sqlite3.c:23275
static sqlite3_syscall_ptr unixGetSystemCall(sqlite3_vfs *pNotUsed, const char *zName)
Definition: sqlite3.c:23826
static void unixDlClose(sqlite3_vfs *NotUsed, void *pHandle)
Definition: sqlite3.c:29306
static int unixGetLastError(sqlite3_vfs *NotUsed, int NotUsed2, char *NotUsed3)
Definition: sqlite3.c:29457
#define UNKNOWN_LOCK   (EXCLUSIVE_LOCK+1)

Definition at line 39509 of file sqlite3.c.

#define unlikely (   X)    (X)

Definition at line 7894 of file sqlite3.c.

#define UNPACKED_INCRKEY   0x01 /* Make this key an epsilon larger */

Definition at line 10856 of file sqlite3.c.

#define UNPACKED_PREFIX_MATCH   0x02 /* A prefix match is considered OK */

Definition at line 10857 of file sqlite3.c.

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

Definition at line 8555 of file sqlite3.c.

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

Definition at line 8556 of file sqlite3.c.

#define UPDATE_MAX_BLOBSIZE (   P)

Definition at line 66154 of file sqlite3.c.

#define UpperToLower   sqlite3UpperToLower

Definition at line 21570 of file sqlite3.c.

#define USEFETCH (   x)    0

Definition at line 39890 of file sqlite3.c.

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

Definition at line 13787 of file sqlite3.c.

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

Definition at line 13786 of file sqlite3.c.

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

Definition at line 13784 of file sqlite3.c.

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

Definition at line 13785 of file sqlite3.c.

#define VdbeComment (   X)

Definition at line 9295 of file sqlite3.c.

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

Definition at line 13555 of file sqlite3.c.

#define vdbeInvokeSqllog (   x)

Definition at line 63469 of file sqlite3.c.

#define VdbeMemRelease (   X)
Value:
#define MEM_RowSet
Definition: sqlite3.c:13607
#define MEM_Frame
Definition: sqlite3.c:13608
#define MEM_Agg
Definition: sqlite3.c:13623
SQLITE_PRIVATE void sqlite3VdbeMemReleaseExternal(Mem *p)
Definition: sqlite3.c:59907
#define MEM_Dyn
Definition: sqlite3.c:13620

Definition at line 13838 of file sqlite3.c.

#define VdbeModuleComment (   X)

Definition at line 9297 of file sqlite3.c.

#define VdbeNoopComment (   X)

Definition at line 9296 of file sqlite3.c.

#define vfsList   GLOBAL(sqlite3_vfs *, vfsList)

Definition at line 15572 of file sqlite3.c.

#define VFUNCTION (   zName,
  nArg,
  iArg,
  bNC,
  xFunc 
)
Value:
SQLITE_INT_TO_PTR(iArg), 0, xFunc, 0, 0, #zName, 0, 0}
#define SQLITE_UTF8
Definition: sqlite3.c:4078
#define SQLITE_INT_TO_PTR(X)
Definition: sqlite3.c:7684
#define SQLITE_FUNC_NEEDCOLL
Definition: sqlite3.c:10419

Definition at line 10458 of file sqlite3.c.

#define VVA_ONLY (   X)

Definition at line 7850 of file sqlite3.c.

#define WAL_ALL_BUT_WRITE   1

Definition at line 46570 of file sqlite3.c.

#define WAL_CKPT_LOCK   1

Definition at line 46571 of file sqlite3.c.

#define WAL_EXCLUSIVE_MODE   1

Definition at line 46734 of file sqlite3.c.

#define WAL_FRAME_HDRSIZE   24

Definition at line 46673 of file sqlite3.c.

#define WAL_HDRSIZE   32

Definition at line 46677 of file sqlite3.c.

#define WAL_HEAPMEMORY_MODE   2

Definition at line 46735 of file sqlite3.c.

#define WAL_MAGIC   0x377f0682

Definition at line 46688 of file sqlite3.c.

#define WAL_MAX_VERSION   3007000

Definition at line 46562 of file sqlite3.c.

#define WAL_NORMAL_MODE   0

Definition at line 46733 of file sqlite3.c.

#define WAL_NREADER   (SQLITE_SHM_NLOCK-3)

Definition at line 46574 of file sqlite3.c.

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

Definition at line 46741 of file sqlite3.c.

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

Definition at line 46740 of file sqlite3.c.

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

Definition at line 46573 of file sqlite3.c.

#define WAL_RECOVER_LOCK   2

Definition at line 46572 of file sqlite3.c.

#define WAL_RETRY   (-1)

Definition at line 48316 of file sqlite3.c.

#define WAL_SAVEPOINT_NDATA   4

Definition at line 39034 of file sqlite3.c.

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

Definition at line 46742 of file sqlite3.c.

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

Definition at line 39010 of file sqlite3.c.

#define WAL_WRITE_LOCK   0

Definition at line 46569 of file sqlite3.c.

#define walFrameOffset (   iFrame,
  szPage 
)
Value:
( \
WAL_HDRSIZE + ((iFrame)-1)*(i64)((szPage)+WAL_FRAME_HDRSIZE) \
)
#define WAL_HDRSIZE
Definition: sqlite3.c:46677
#define WAL_FRAME_HDRSIZE
Definition: sqlite3.c:46673
sqlite_int64 i64
Definition: sqlite3.c:8293

Definition at line 46695 of file sqlite3.c.

#define WALINDEX_HDR_SIZE   (WALINDEX_LOCK_OFFSET+WALINDEX_LOCK_RESERVED)

Definition at line 46670 of file sqlite3.c.

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

Definition at line 46668 of file sqlite3.c.

#define WALINDEX_LOCK_RESERVED   16

Definition at line 46669 of file sqlite3.c.

#define WALINDEX_MAX_VERSION   3007000

Definition at line 46563 of file sqlite3.c.

#define WALINDEX_PGSZ
Value:
( \
)
#define HASHTABLE_NPAGE
Definition: sqlite3.c:46785
UINT32_TYPE u32
Definition: sqlite3.c:8295
#define HASHTABLE_NSLOT
Definition: sqlite3.c:46787
u16 ht_slot
Definition: sqlite3.c:46748

Definition at line 46797 of file sqlite3.c.

#define WALTRACE (   X)

Definition at line 46546 of file sqlite3.c.

#define WHERE_AND_ONLY   0x0080 /* Don't use indices for OR terms */

Definition at line 11326 of file sqlite3.c.

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

Definition at line 108432 of file sqlite3.c.

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

Definition at line 108424 of file sqlite3.c.

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

Definition at line 108423 of file sqlite3.c.

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

Definition at line 108417 of file sqlite3.c.

#define WHERE_COLUMN_IN   0x00000004 /* x IN (...) */

Definition at line 108419 of file sqlite3.c.

#define WHERE_COLUMN_NULL   0x00000008 /* x IS NULL */

Definition at line 108420 of file sqlite3.c.

#define WHERE_COLUMN_RANGE   0x00000002 /* x<EXPR and/or x>EXPR */

Definition at line 108418 of file sqlite3.c.

#define WHERE_CONSTRAINT   0x0000000f /* Any of the WHERE_COLUMN_xxx values */

Definition at line 108421 of file sqlite3.c.

#define WHERE_DISTINCT_NOOP   0 /* DISTINCT keyword not used */

Definition at line 11333 of file sqlite3.c.

#define WHERE_DISTINCT_ORDERED   2 /* All duplicates are adjacent */

Definition at line 11335 of file sqlite3.c.

#define WHERE_DISTINCT_UNIQUE   1 /* No duplicates */

Definition at line 11334 of file sqlite3.c.

#define WHERE_DISTINCT_UNORDERED   3 /* Duplicates are scattered */

Definition at line 11336 of file sqlite3.c.

#define WHERE_DISTINCTBY   0x0200 /* pOrderby is really a DISTINCT clause */

Definition at line 11328 of file sqlite3.c.

#define WHERE_DUPLICATES_OK   0x0008 /* Ok to return a row more than once */

Definition at line 11322 of file sqlite3.c.

#define WHERE_FORCE_TABLE   0x0020 /* Do not use an index-only search */

Definition at line 11324 of file sqlite3.c.

#define WHERE_GROUPBY   0x0100 /* pOrderBy is really a GROUP BY */

Definition at line 11327 of file sqlite3.c.

#define WHERE_IDX_ONLY   0x00000040 /* Use index only - omit table */

Definition at line 108425 of file sqlite3.c.

#define WHERE_IN_ABLE   0x00000800 /* Able to support an IN operator */

Definition at line 108429 of file sqlite3.c.

#define WHERE_INDEXED   0x00000200 /* WhereLoop.u.btree.pIndex is valid */

Definition at line 108427 of file sqlite3.c.

#define WHERE_IPK   0x00000100 /* x is the INTEGER PRIMARY KEY */

Definition at line 108426 of file sqlite3.c.

#define WHERE_LOOP_XFER_SZ   offsetof(WhereLoop,nLSlot)

Definition at line 108106 of file sqlite3.c.

#define WHERE_MULTI_OR   0x00002000 /* OR using multiple indices */

Definition at line 108431 of file sqlite3.c.

#define WHERE_OMIT_OPEN_CLOSE   0x0010 /* Table cursors are already open */

Definition at line 11323 of file sqlite3.c.

#define WHERE_ONEPASS_DESIRED   0x0004 /* Want to do one-pass UPDATE/DELETE */

Definition at line 11321 of file sqlite3.c.

#define WHERE_ONEROW   0x00001000 /* Selects no more than one row */

Definition at line 108430 of file sqlite3.c.

#define WHERE_ONETABLE_ONLY   0x0040 /* Only code the 1st table in pTabList */

Definition at line 11325 of file sqlite3.c.

#define WHERE_ORDERBY_MAX   0x0002 /* ORDER BY processing for max() func */

Definition at line 11320 of file sqlite3.c.

#define WHERE_ORDERBY_MIN   0x0001 /* ORDER BY processing for min() func */

Definition at line 11319 of file sqlite3.c.

#define WHERE_ORDERBY_NORMAL   0x0000 /* No-op */

Definition at line 11318 of file sqlite3.c.

#define WHERE_SKIPSCAN   0x00008000 /* Uses the skip-scan algorithm */

Definition at line 108433 of file sqlite3.c.

#define WHERE_TOP_LIMIT   0x00000010 /* x<EXPR or x<=EXPR constraint */

Definition at line 108422 of file sqlite3.c.

#define WHERE_VIRTUALTABLE   0x00000400 /* WhereLoop.u.vtab is valid */

Definition at line 108428 of file sqlite3.c.

#define WHERE_WANT_DISTINCT   0x0400 /* All output needs to be distinct */

Definition at line 11329 of file sqlite3.c.

#define WHERETRACE (   K,
 
)

Definition at line 108003 of file sqlite3.c.

#define WO_ALL   0xfff /* Mask of all possible WO_* values */

Definition at line 108409 of file sqlite3.c.

#define WO_AND   0x200 /* Two or more AND-connected terms */

Definition at line 108405 of file sqlite3.c.

#define WO_EQ   0x002

Definition at line 108397 of file sqlite3.c.

#define WO_EQUIV   0x400 /* Of the form A==B, both columns */

Definition at line 108406 of file sqlite3.c.

#define WO_GE   (WO_EQ<<(TK_GE-TK_EQ))

Definition at line 108401 of file sqlite3.c.

#define WO_GT   (WO_EQ<<(TK_GT-TK_EQ))

Definition at line 108400 of file sqlite3.c.

#define WO_IN   0x001

Definition at line 108396 of file sqlite3.c.

#define WO_ISNULL   0x080

Definition at line 108403 of file sqlite3.c.

#define WO_LE   (WO_EQ<<(TK_LE-TK_EQ))

Definition at line 108399 of file sqlite3.c.

#define WO_LT   (WO_EQ<<(TK_LT-TK_EQ))

Definition at line 108398 of file sqlite3.c.

#define WO_MATCH   0x040

Definition at line 108402 of file sqlite3.c.

#define WO_NOOP   0x800 /* This term does not restrict search space */

Definition at line 108407 of file sqlite3.c.

#define WO_OR   0x100 /* Two or more OR-connected terms */

Definition at line 108404 of file sqlite3.c.

#define WO_SINGLE   0x0ff /* Mask of all non-compound WO_* values */

Definition at line 108410 of file sqlite3.c.

#define WRC_Abort   2 /* Abandon the tree walk */

Definition at line 11898 of file sqlite3.c.

#define WRC_Continue   0 /* Continue down into children */

Definition at line 11896 of file sqlite3.c.

#define WRC_Prune   1 /* Omit children but continue walking siblings */

Definition at line 11897 of file sqlite3.c.

#define WRITE_LOCK   2

Definition at line 49729 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:8298

Definition at line 20920 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:8298

Definition at line 20908 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:8298

Definition at line 20888 of file sqlite3.c.

#define wsdAutoext   sqlite3Autoext

Definition at line 96145 of file sqlite3.c.

#define wsdAutoextInit

Definition at line 96144 of file sqlite3.c.

#define wsdHooks   sqlite3Hooks

Definition at line 15710 of file sqlite3.c.

#define wsdHooksInit

Definition at line 15709 of file sqlite3.c.

#define wsdPrng   sqlite3Prng
#define wsdStat   sqlite3Stat

Definition at line 13917 of file sqlite3.c.

#define wsdStatInit

Definition at line 13916 of file sqlite3.c.

#define YY_ACCEPT_ACTION   (YYNSTATE+YYNRULE+1)

Definition at line 114546 of file sqlite3.c.

#define YY_ACTTAB_COUNT   (1582)

Definition at line 114613 of file sqlite3.c.

#define YY_ERROR_ACTION   (YYNSTATE+YYNRULE)

Definition at line 114547 of file sqlite3.c.

#define YY_NO_ACTION   (YYNSTATE+YYNRULE+2)

Definition at line 114545 of file sqlite3.c.

#define YY_REDUCE_COUNT   (311)

Definition at line 114985 of file sqlite3.c.

#define YY_REDUCE_MAX   (1387)

Definition at line 114987 of file sqlite3.c.

#define YY_REDUCE_MIN   (-142)

Definition at line 114986 of file sqlite3.c.

#define YY_REDUCE_USE_DFLT   (-143)

Definition at line 114984 of file sqlite3.c.

#define YY_SHIFT_COUNT   (419)

Definition at line 114937 of file sqlite3.c.

#define YY_SHIFT_MAX   (1480)

Definition at line 114939 of file sqlite3.c.

#define YY_SHIFT_MIN   (-81)

Definition at line 114938 of file sqlite3.c.

#define YY_SHIFT_USE_DFLT   (-82)

Definition at line 114936 of file sqlite3.c.

#define YYACTIONTYPE   unsigned short int

Definition at line 114513 of file sqlite3.c.

#define YYCODETYPE   unsigned char

Definition at line 114511 of file sqlite3.c.

#define YYFALLBACK   1

Definition at line 114544 of file sqlite3.c.

#define YYNOCODE   253

Definition at line 114512 of file sqlite3.c.

#define YYNOERRORRECOVERY   1

Definition at line 114340 of file sqlite3.c.

#define YYNRULE   329

Definition at line 114543 of file sqlite3.c.

#define YYNSTATE   631

Definition at line 114542 of file sqlite3.c.

#define YYSTACKDEPTH   100

Definition at line 114536 of file sqlite3.c.

#define yytestcase (   X)    testcase(X)

Definition at line 114345 of file sqlite3.c.

#define YYWILDCARD   68

Definition at line 114514 of file sqlite3.c.

Typedef Documentation

typedef struct AggInfo AggInfo

Definition at line 8561 of file sqlite3.c.

typedef struct analysisInfo analysisInfo

Definition at line 82997 of file sqlite3.c.

typedef struct AuthContext AuthContext

Definition at line 8562 of file sqlite3.c.

typedef struct AutoincInfo AutoincInfo

Definition at line 8563 of file sqlite3.c.

typedef struct AuxData AuxData

Definition at line 13456 of file sqlite3.c.

Definition at line 15692 of file sqlite3.c.

typedef unsigned bft

Definition at line 13699 of file sqlite3.c.

typedef u64 Bitmask

Definition at line 11243 of file sqlite3.c.

typedef struct Bitvec Bitvec

Definition at line 8564 of file sqlite3.c.

typedef unsigned Bool

Definition at line 13447 of file sqlite3.c.

typedef struct BtCursor BtCursor

Definition at line 8650 of file sqlite3.c.

typedef struct BtLock BtLock

Definition at line 49640 of file sqlite3.c.

typedef struct Btree Btree

Definition at line 8649 of file sqlite3.c.

typedef struct BtShared BtShared

Definition at line 8651 of file sqlite3.c.

typedef struct BusyHandler BusyHandler

Definition at line 8467 of file sqlite3.c.

typedef struct CellInfo CellInfo

Definition at line 49864 of file sqlite3.c.

typedef struct CollSeq CollSeq

Definition at line 8565 of file sqlite3.c.

typedef struct Column Column

Definition at line 8566 of file sqlite3.c.

typedef struct CountCtx CountCtx

Definition at line 91138 of file sqlite3.c.

typedef struct DateTime DateTime

Definition at line 14198 of file sqlite3.c.

typedef struct Db Db

Definition at line 8567 of file sqlite3.c.

typedef struct DbFixer DbFixer

Definition at line 11763 of file sqlite3.c.

typedef struct PgHdr DbPage

Definition at line 9348 of file sqlite3.c.

typedef struct DistinctCtx DistinctCtx

Definition at line 99997 of file sqlite3.c.

typedef struct et_info et_info
typedef unsigned char etByte

Definition at line 19780 of file sqlite3.c.

typedef struct Explain Explain

Definition at line 13453 of file sqlite3.c.

typedef struct Expr Expr

Definition at line 8569 of file sqlite3.c.

typedef struct ExprList ExprList

Definition at line 8570 of file sqlite3.c.

typedef struct ExprSpan ExprSpan

Definition at line 8571 of file sqlite3.c.

typedef struct FileChunk FileChunk

Definition at line 74771 of file sqlite3.c.

typedef struct FilePoint FilePoint

Definition at line 74770 of file sqlite3.c.

typedef struct FileWriter FileWriter

Definition at line 73474 of file sqlite3.c.

typedef struct FKey FKey

Definition at line 8572 of file sqlite3.c.

typedef struct FuncDef FuncDef

Definition at line 8574 of file sqlite3.c.

typedef struct FuncDefHash FuncDefHash

Definition at line 8575 of file sqlite3.c.

Definition at line 8573 of file sqlite3.c.

typedef struct Hash Hash

Definition at line 7916 of file sqlite3.c.

typedef struct HashElem HashElem

Definition at line 7917 of file sqlite3.c.

typedef u16 ht_slot

Definition at line 46748 of file sqlite3.c.

typedef INT16_TYPE i16

Definition at line 8297 of file sqlite3.c.

typedef sqlite_int64 i64

Definition at line 8293 of file sqlite3.c.

typedef INT8_TYPE i8

Definition at line 8299 of file sqlite3.c.

typedef struct IdList IdList

Definition at line 8576 of file sqlite3.c.

typedef struct Incrblob Incrblob

Definition at line 72998 of file sqlite3.c.

typedef struct Index Index

Definition at line 8577 of file sqlite3.c.

typedef struct IndexSample IndexSample

Definition at line 8578 of file sqlite3.c.

typedef struct IntegrityCk IntegrityCk

Definition at line 50057 of file sqlite3.c.

typedef struct KeyClass KeyClass

Definition at line 8579 of file sqlite3.c.

typedef struct KeyInfo KeyInfo

Definition at line 8580 of file sqlite3.c.

typedef INT16_TYPE LogEst

Definition at line 8344 of file sqlite3.c.

typedef struct Lookaside Lookaside

Definition at line 8581 of file sqlite3.c.

typedef struct LookasideSlot LookasideSlot

Definition at line 8582 of file sqlite3.c.

typedef struct Mem Mem

Definition at line 8901 of file sqlite3.c.

typedef struct MemJournal MemJournal

Definition at line 74769 of file sqlite3.c.

typedef struct MemPage MemPage

Definition at line 49639 of file sqlite3.c.

typedef struct Module Module

Definition at line 8583 of file sqlite3.c.

typedef struct NameContext NameContext

Definition at line 8584 of file sqlite3.c.

typedef struct VdbeOp Op

Definition at line 13442 of file sqlite3.c.

typedef struct Pager Pager

Definition at line 9343 of file sqlite3.c.

Definition at line 39546 of file sqlite3.c.

typedef struct Parse Parse

Definition at line 8585 of file sqlite3.c.

typedef struct PCache PCache

Definition at line 9538 of file sqlite3.c.

typedef struct PCache1 PCache1

Definition at line 37451 of file sqlite3.c.

typedef struct PgFreeslot PgFreeslot

Definition at line 37453 of file sqlite3.c.

typedef struct PgHdr PgHdr

Definition at line 9537 of file sqlite3.c.

typedef struct PgHdr1 PgHdr1

Definition at line 37452 of file sqlite3.c.

typedef u32 Pgno

Definition at line 9338 of file sqlite3.c.

typedef struct PGroup PGroup

Definition at line 37454 of file sqlite3.c.

typedef struct RowSet RowSet

Definition at line 8586 of file sqlite3.c.

typedef struct Savepoint Savepoint

Definition at line 8587 of file sqlite3.c.

typedef struct Schema Schema

Definition at line 8568 of file sqlite3.c.

typedef struct Select Select

Definition at line 8588 of file sqlite3.c.

typedef struct SelectDest SelectDest

Definition at line 8589 of file sqlite3.c.

typedef struct SorterRecord SorterRecord

Definition at line 73473 of file sqlite3.c.

typedef struct sqlite3 sqlite3

Definition at line 256 of file sqlite3.c.

Definition at line 95070 of file sqlite3.c.

Definition at line 6665 of file sqlite3.c.

typedef struct sqlite3_blob sqlite3_blob

Definition at line 5529 of file sqlite3.c.

typedef int(* sqlite3_callback) (void *, int, char **, char **)

Definition at line 344 of file sqlite3.c.

Definition at line 3292 of file sqlite3.c.

typedef void(* sqlite3_destructor_type) (void *)

Definition at line 4300 of file sqlite3.c.

typedef struct sqlite3_file sqlite3_file

Definition at line 659 of file sqlite3.c.

Definition at line 5230 of file sqlite3.c.

Definition at line 284 of file sqlite3.c.

Definition at line 754 of file sqlite3.c.

Definition at line 1437 of file sqlite3.c.

Definition at line 5232 of file sqlite3.c.

typedef struct sqlite3_mutex sqlite3_mutex

Definition at line 983 of file sqlite3.c.

Definition at line 5946 of file sqlite3.c.

Definition at line 6439 of file sqlite3.c.

Definition at line 6639 of file sqlite3.c.

Definition at line 6616 of file sqlite3.c.

Definition at line 6451 of file sqlite3.c.

Definition at line 7328 of file sqlite3.c.

typedef struct sqlite3_stmt sqlite3_stmt

Definition at line 2965 of file sqlite3.c.

typedef void(* sqlite3_syscall_ptr) (void)

Definition at line 1143 of file sqlite3.c.

Definition at line 285 of file sqlite3.c.

typedef struct Mem sqlite3_value

Definition at line 3278 of file sqlite3.c.

typedef struct sqlite3_vfs sqlite3_vfs

Definition at line 1142 of file sqlite3.c.

typedef struct sqlite3_vtab sqlite3_vtab

Definition at line 5229 of file sqlite3.c.

Definition at line 5231 of file sqlite3.c.

Definition at line 96127 of file sqlite3.c.

Definition at line 13899 of file sqlite3.c.

typedef long long int sqlite_int64

Definition at line 281 of file sqlite3.c.

typedef unsigned long long int sqlite_uint64

Definition at line 282 of file sqlite3.c.

typedef struct SrcList SrcList

Definition at line 8590 of file sqlite3.c.

typedef struct Stat4Accum Stat4Accum

Definition at line 81909 of file sqlite3.c.

typedef struct Stat4Sample Stat4Sample

Definition at line 81910 of file sqlite3.c.

typedef struct StrAccum StrAccum

Definition at line 8591 of file sqlite3.c.

typedef struct SubProgram SubProgram

Definition at line 8902 of file sqlite3.c.

typedef struct SumCtx SumCtx

Definition at line 91067 of file sqlite3.c.

typedef struct Table Table

Definition at line 8592 of file sqlite3.c.

typedef struct TableLock TableLock

Definition at line 8593 of file sqlite3.c.

typedef struct TabResult TabResult
typedef struct Token Token

Definition at line 8594 of file sqlite3.c.

typedef struct Trigger Trigger

Definition at line 8595 of file sqlite3.c.

typedef struct TriggerPrg TriggerPrg

Definition at line 8596 of file sqlite3.c.

typedef struct TriggerStep TriggerStep

Definition at line 8597 of file sqlite3.c.

typedef u32 tRowcnt

Definition at line 8318 of file sqlite3.c.

typedef UINT16_TYPE u16

Definition at line 8296 of file sqlite3.c.

typedef UINT32_TYPE u32

Definition at line 8295 of file sqlite3.c.

typedef sqlite_uint64 u64

Definition at line 8294 of file sqlite3.c.

typedef UINT8_TYPE u8

Definition at line 8298 of file sqlite3.c.

typedef struct unixFile unixFile

Definition at line 23305 of file sqlite3.c.

typedef struct unixInodeInfo unixInodeInfo

Definition at line 23286 of file sqlite3.c.

typedef struct unixShm unixShm

Definition at line 23284 of file sqlite3.c.

typedef struct unixShmNode unixShmNode

Definition at line 23285 of file sqlite3.c.

typedef struct UnixUnusedFd UnixUnusedFd

Definition at line 23287 of file sqlite3.c.

Definition at line 8598 of file sqlite3.c.

typedef struct Vdbe Vdbe

Definition at line 8895 of file sqlite3.c.

typedef struct VdbeCursor VdbeCursor

Definition at line 13512 of file sqlite3.c.

typedef struct VdbeFrame VdbeFrame

Definition at line 13535 of file sqlite3.c.

typedef struct VdbeOp VdbeOp

Definition at line 8940 of file sqlite3.c.

typedef struct VdbeOpList VdbeOpList

Definition at line 8966 of file sqlite3.c.

typedef struct VdbeSorter VdbeSorter

Definition at line 13450 of file sqlite3.c.

Definition at line 73472 of file sqlite3.c.

typedef struct VtabCtx VtabCtx

Definition at line 8600 of file sqlite3.c.

typedef struct VTable VTable

Definition at line 8599 of file sqlite3.c.

typedef struct Wal Wal

Definition at line 39039 of file sqlite3.c.

typedef struct WalCkptInfo WalCkptInfo

Definition at line 46580 of file sqlite3.c.

typedef struct WalIndexHdr WalIndexHdr

Definition at line 46578 of file sqlite3.c.

typedef struct WalIterator WalIterator

Definition at line 46579 of file sqlite3.c.

typedef struct Walker Walker

Definition at line 8601 of file sqlite3.c.

typedef struct WalWriter WalWriter
typedef struct WhereAndInfo WhereAndInfo

Definition at line 108011 of file sqlite3.c.

typedef struct WhereClause WhereClause

Definition at line 108008 of file sqlite3.c.

typedef struct WhereInfo WhereInfo

Definition at line 8602 of file sqlite3.c.

typedef struct WhereLevel WhereLevel

Definition at line 108012 of file sqlite3.c.

typedef struct WhereLoop WhereLoop

Definition at line 108013 of file sqlite3.c.

Definition at line 108016 of file sqlite3.c.

typedef struct WhereMaskSet WhereMaskSet

Definition at line 108009 of file sqlite3.c.

typedef struct WhereOrCost WhereOrCost

Definition at line 108018 of file sqlite3.c.

typedef struct WhereOrInfo WhereOrInfo

Definition at line 108010 of file sqlite3.c.

typedef struct WhereOrSet WhereOrSet

Definition at line 108019 of file sqlite3.c.

typedef struct WherePath WherePath

Definition at line 108014 of file sqlite3.c.

typedef struct WhereScan WhereScan

Definition at line 108017 of file sqlite3.c.

typedef struct WhereTerm WhereTerm

Definition at line 108015 of file sqlite3.c.

typedef unsigned int yDbMask

Definition at line 11521 of file sqlite3.c.

typedef i16 ynVar

Definition at line 10995 of file sqlite3.c.

typedef struct yyParser yyParser

Definition at line 115209 of file sqlite3.c.

typedef struct yyStackEntry yyStackEntry

Definition at line 115191 of file sqlite3.c.

Function Documentation

static void absFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 89867 of file sqlite3.c.

static int accessPayload ( BtCursor pCur,
u32  offset,
u32  amt,
unsigned char *  pBuf,
int  eOp 
)
static

Definition at line 54324 of file sqlite3.c.

static const char* actionName ( u8  action)
static

Definition at line 96929 of file sqlite3.c.

static int addAggInfoColumn ( sqlite3 db,
AggInfo pInfo 
)
static

Definition at line 80553 of file sqlite3.c.

static int addAggInfoFunc ( sqlite3 db,
AggInfo pInfo 
)
static

Definition at line 80569 of file sqlite3.c.

static void addArgumentToVtab ( Parse pParse)
static

Definition at line 107203 of file sqlite3.c.

static void addModuleArgument ( sqlite3 db,
Table pTable,
char *  zArg 
)
static

Definition at line 107133 of file sqlite3.c.

static int addToSavepointBitvecs ( Pager pPager,
Pgno  pgno 
)
static

Definition at line 40831 of file sqlite3.c.

static void addToVTrans ( sqlite3 db,
VTable pVTab 
)
static

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

static int allocateBtreePage ( BtShared pBt,
MemPage **  ppPage,
Pgno pPgno,
Pgno  nearby,
u8  eMode 
)
static

Definition at line 55345 of file sqlite3.c.

static VdbeCursor* allocateCursor ( Vdbe p,
int  iCur,
int  nField,
int  iDb,
int  isBtreeCursor 
)
static

Definition at line 66211 of file sqlite3.c.

static sqlite3_index_info* allocateIndexInfo ( Parse pParse,
WhereClause pWC,
struct SrcList_item *  pSrc,
ExprList pOrderBy 
)
static

Definition at line 110148 of file sqlite3.c.

static int allocateSpace ( MemPage pPage,
int  nByte,
int *  pIdx 
)
static

Definition at line 51540 of file sqlite3.c.

static void allocateTempSpace ( BtShared pBt)
static

Definition at line 52405 of file sqlite3.c.

static void* allocSpace ( void *  pBuf,
int  nByte,
u8 **  ppFrom,
u8 pEnd,
int *  pnByte 
)
static

Definition at line 62494 of file sqlite3.c.

static int allowedOp ( int  op)
static

Definition at line 108774 of file sqlite3.c.

static int allSpaces ( const char *  z,
int  n 
)
static

Definition at line 119681 of file sqlite3.c.

static int analysisLoader ( void *  pData,
int  argc,
char **  argv,
char **  NotUsed 
)
static

Definition at line 83060 of file sqlite3.c.

static int analyzeAggregate ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 80586 of file sqlite3.c.

static int analyzeAggregatesInSelect ( Walker pWalker,
Select pSelect 
)
static

Definition at line 80711 of file sqlite3.c.

static void analyzeDatabase ( Parse pParse,
int  iDb 
)
static

Definition at line 82878 of file sqlite3.c.

static void analyzeOneTable ( Parse pParse,
Table pTab,
Index pOnlyIdx,
int  iStatCur,
int  iMem,
int  iTab 
)
static

Definition at line 82570 of file sqlite3.c.

static void analyzeTable ( Parse pParse,
Table pTab,
Index pOnlyIdx 
)
static

Definition at line 82905 of file sqlite3.c.

static void applyAffinity ( Mem pRec,
char  affinity,
u8  enc 
)
static

Definition at line 66304 of file sqlite3.c.

static void applyNumericAffinity ( Mem pRec)
static

Definition at line 66269 of file sqlite3.c.

static void assemblePage ( MemPage pPage,
int  nCell,
u8 **  apCell,
u16 aSize 
)
static

Definition at line 56175 of file sqlite3.c.

static void attachBackupObject ( sqlite3_backup p)
static

Definition at line 59204 of file sqlite3.c.

static void attachFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 83475 of file sqlite3.c.

static int autoIncBegin ( Parse pParse,
int  iDb,
Table pTab 
)
static

Definition at line 93025 of file sqlite3.c.

static void autoIncStep ( Parse pParse,
int  memId,
int  regRowid 
)
static

Definition at line 93100 of file sqlite3.c.

static int autoVacuumCommit ( BtShared pBt)
static

Definition at line 53532 of file sqlite3.c.

static void avgFinalize ( sqlite3_context context)
static

Definition at line 91120 of file sqlite3.c.

static int backupOnePage ( sqlite3_backup p,
Pgno  iSrcPg,
const u8 zSrcData,
int  bUpdate 
)
static

Definition at line 59095 of file sqlite3.c.

static int backupTruncateFile ( sqlite3_file pFile,
i64  iSize 
)
static

Definition at line 59191 of file sqlite3.c.

static int balance ( BtCursor pCur)
static

Definition at line 57189 of file sqlite3.c.

static int balance_deeper ( MemPage pRoot,
MemPage **  ppChild 
)
static

Definition at line 57132 of file sqlite3.c.

static int balance_nonroot ( MemPage pParent,
int  iParentIdx,
u8 aOvflSpace,
int  isRoot,
int  bBulk 
)
static

Definition at line 56477 of file sqlite3.c.

static int balance_quick ( MemPage pParent,
MemPage pPage,
u8 pSpace 
)
static

Definition at line 56253 of file sqlite3.c.

static u8 binaryCompareP5 ( Expr pExpr1,
Expr pExpr2,
int  jumpIfNull 
)
static

Definition at line 76842 of file sqlite3.c.

static void binaryToUnaryIfNull ( Parse pParse,
Expr pY,
Expr pA,
int  op 
)
static

Definition at line 114440 of file sqlite3.c.

static int binCollFunc ( void *  padFlag,
int  nKey1,
const void *  pKey1,
int  nKey2,
const void *  pKey2 
)
static

Definition at line 119693 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 65447 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 73337 of file sqlite3.c.

static int blobSeekToRow ( Incrblob p,
sqlite3_int64  iRow,
char **  pzErr 
)
static

Definition at line 73027 of file sqlite3.c.

static void btreeClearHasContent ( BtShared pBt)
static

Definition at line 50922 of file sqlite3.c.

static int btreeCreateTable ( Btree p,
int *  piTable,
int  createTabFlags 
)
static

Definition at line 57592 of file sqlite3.c.

static int btreeCursor ( Btree p,
int  iTable,
int  wrFlag,
struct KeyInfo pKeyInfo,
BtCursor pCur 
)
static

Definition at line 53937 of file sqlite3.c.

static int btreeDropTable ( Btree p,
Pgno  iTable,
int *  piMoved 
)
static

Definition at line 57843 of file sqlite3.c.

static void btreeEndTransaction ( Btree p)
static

Definition at line 53638 of file sqlite3.c.

static int btreeGetHasContent ( BtShared pBt,
Pgno  pgno 
)
static

Definition at line 50913 of file sqlite3.c.

static int btreeGetPage ( BtShared pBt,
Pgno  pgno,
MemPage **  ppPage,
int  flags 
)
static

Definition at line 51937 of file sqlite3.c.

static int btreeInitPage ( MemPage pPage)
static

Definition at line 51767 of file sqlite3.c.

static int btreeInvokeBusyHandler ( void *  pArg)
static

Definition at line 52062 of file sqlite3.c.

static int btreeMoveto ( BtCursor pCur,
const void *  pKey,
i64  nKey,
int  bias,
int *  pRes 
)
static

Definition at line 51027 of file sqlite3.c.

static Pgno btreePagecount ( BtShared pBt)
static

Definition at line 51973 of file sqlite3.c.

static MemPage* btreePageFromDbPage ( DbPage pDbPage,
Pgno  pgno,
BtShared pBt 
)
static

Definition at line 51916 of file sqlite3.c.

static MemPage* btreePageLookup ( BtShared pBt,
Pgno  pgno 
)
static

Definition at line 51959 of file sqlite3.c.

static void btreeParseCell ( MemPage pPage,
int  iCell,
CellInfo pInfo 
)
static

Definition at line 51349 of file sqlite3.c.

static void btreeParseCellPtr ( MemPage pPage,
u8 pCell,
CellInfo pInfo 
)
static

Definition at line 51280 of file sqlite3.c.

static void btreeReleaseAllCursorPages ( BtCursor pCur)
static

Definition at line 50930 of file sqlite3.c.

static int btreeRestoreCursorPosition ( BtCursor pCur)
static

Definition at line 51067 of file sqlite3.c.

static int btreeSetHasContent ( BtShared pBt,
Pgno  pgno 
)
static

Definition at line 50891 of file sqlite3.c.

static void cacheEntryClear ( Parse pParse,
struct yColCache *  p 
)
static

Definition at line 78688 of file sqlite3.c.

static void callCollNeeded ( sqlite3 db,
int  enc,
const char *  zName 
)
static

Definition at line 88466 of file sqlite3.c.

static void callFinaliser ( sqlite3 db,
int  offset 
)
static

Definition at line 107643 of file sqlite3.c.

static void callStatGet ( Vdbe v,
int  regStat4,
int  iParam,
int  regOut 
)
static

Definition at line 82552 of file sqlite3.c.

static void cdateFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 15179 of file sqlite3.c.

static u16 cellSizePtr ( MemPage pPage,
u8 pCell 
)
static

Definition at line 51363 of file sqlite3.c.

static void changes ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 90237 of file sqlite3.c.

static int changeTempStorage ( Parse pParse,
const char *  zStorageType 
)
static

Definition at line 96867 of file sqlite3.c.

static void charFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 90721 of file sqlite3.c.

static void checkAppendMsg ( IntegrityCk pCheck,
char *  zMsg1,
const char *  zFormat,
  ... 
)
static

Definition at line 58105 of file sqlite3.c.

static int checkColumnOverlap ( IdList pIdList,
ExprList pEList 
)
static

Definition at line 105211 of file sqlite3.c.

static int checkForMultiColumnSelectError ( Parse pParse,
SelectDest pDest,
int  nExpr 
)
static

Definition at line 99976 of file sqlite3.c.

static void checkList ( IntegrityCk pCheck,
int  isFreeList,
int  iPage,
int  N,
char *  zContext 
)
static

Definition at line 58208 of file sqlite3.c.

static void checkPtrmap ( IntegrityCk pCheck,
Pgno  iChild,
u8  eType,
Pgno  iParent,
char *  zContext 
)
static

Definition at line 58178 of file sqlite3.c.

static int checkRef ( IntegrityCk pCheck,
Pgno  iPage,
char *  zContext 
)
static

Definition at line 58158 of file sqlite3.c.

static int checkTreePage ( IntegrityCk pCheck,
int  iPage,
char *  zParentContext,
i64 pnParentMinKey,
i64 pnParentMaxKey 
)
static

Definition at line 58294 of file sqlite3.c.

static void Cleanup ( Vdbe p)
static

Definition at line 62773 of file sqlite3.c.

static void clearAllSharedCacheTableLocks ( Btree p)
static

Definition at line 50726 of file sqlite3.c.

static int clearCell ( MemPage pPage,
unsigned char *  pCell 
)
static

Definition at line 55794 of file sqlite3.c.

static int clearDatabasePage ( BtShared pBt,
Pgno  pgno,
int  freePageFlag,
int *  pnChange 
)
static

Definition at line 57746 of file sqlite3.c.

static void clearSelect ( sqlite3 db,
Select p 
)
static

Definition at line 99486 of file sqlite3.c.

static void clearYMD_HMS_TZ ( DateTime p)
static

Definition at line 14538 of file sqlite3.c.

static void closeAllCursors ( Vdbe p)
static

Definition at line 62733 of file sqlite3.c.

static void closePendingFds ( unixFile pFile)
static

Definition at line 24492 of file sqlite3.c.

static int closeUnixFile ( sqlite3_file id)
static

Definition at line 25220 of file sqlite3.c.

static int codeAllEqualityTerms ( Parse pParse,
WhereLevel pLevel,
int  bRev,
int  nExtraReg,
char **  pzAff 
)
static

Definition at line 110880 of file sqlite3.c.

static void codeApplyAffinity ( Parse pParse,
int  base,
int  n,
char *  zAff 
)
static

Definition at line 110724 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 83717 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 76883 of file sqlite3.c.

static void codeDistinct ( Parse pParse,
int  iTab,
int  addrRepeat,
int  N,
int  iMem 
)
static

Definition at line 99950 of file sqlite3.c.

static int codeEqualityTerm ( Parse pParse,
WhereTerm pTerm,
WhereLevel pLevel,
int  iEq,
int  bRev,
int  iTarget 
)
static

Definition at line 110764 of file sqlite3.c.

static void codeInteger ( Parse pParse,
Expr pExpr,
int  negFlag,
int  iMem 
)
static

Definition at line 78657 of file sqlite3.c.

static void codeOffset ( Vdbe v,
Select p,
int  iContinue 
)
static

Definition at line 99926 of file sqlite3.c.

static Bitmask codeOneLoopStart ( WhereInfo pWInfo,
int  iLevel,
Bitmask  notReady 
)
static

Definition at line 111139 of file sqlite3.c.

static void codeReal ( Vdbe v,
const char *  z,
int  negateFlag,
int  iMem 
)
static

Definition at line 78637 of file sqlite3.c.

static TriggerPrg* codeRowTrigger ( Parse pParse,
Trigger pTrigger,
Table pTab,
int  orconf 
)
static

Definition at line 105406 of file sqlite3.c.

static void codeTableLocks ( Parse pParse)
static

Definition at line 84341 of file sqlite3.c.

static int codeTriggerProgram ( Parse pParse,
TriggerStep pStepList,
int  orconf 
)
static

Definition at line 105287 of file sqlite3.c.

static int collationMatch ( const char *  zColl,
Index pIndex 
)
static

Definition at line 88273 of file sqlite3.c.

static int columnIndex ( Table pTab,
const char *  zCol 
)
static

Definition at line 99653 of file sqlite3.c.

static void columnMallocFailure ( sqlite3_stmt pStmt)
static

Definition at line 65170 of file sqlite3.c.

static Mem* columnMem ( sqlite3_stmt pStmt,
int  i 
)
static

Definition at line 65113 of file sqlite3.c.

static const void* columnName ( sqlite3_stmt pStmt,
int  N,
const void *(*)(Mem *)  xFunc,
int  useType 
)
static

Definition at line 65266 of file sqlite3.c.

static Bitmask columnsInIndex ( Index pIdx)
static

Definition at line 112516 of file sqlite3.c.

static const char* columnTypeImpl ( NameContext pNC,
Expr pExpr,
u8 pEstWidth 
)
static

Definition at line 100597 of file sqlite3.c.

static int compare2pow63 ( const char *  zNum,
int  incr 
)
static

Definition at line 21800 of file sqlite3.c.

static char comparisonAffinity ( Expr pExpr)
static

Definition at line 76803 of file sqlite3.c.

static void compileoptiongetFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 90600 of file sqlite3.c.

static void compileoptionusedFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 90576 of file sqlite3.c.

static void computeHMS ( DateTime p)
static

Definition at line 14512 of file sqlite3.c.

static void computeJD ( DateTime p)
static

Definition at line 14354 of file sqlite3.c.

static void computeLimitRegisters ( Parse pParse,
Select p,
int  iBreak 
)
static

Definition at line 101061 of file sqlite3.c.

static void computeYMD ( DateTime p)
static

Definition at line 14486 of file sqlite3.c.

static void computeYMD_HMS ( DateTime p)
static

Definition at line 14530 of file sqlite3.c.

static int connectionIsBusy ( sqlite3 db)
static

Definition at line 119819 of file sqlite3.c.

static void constructAutomaticIndex ( Parse pParse,
WhereClause pWC,
struct SrcList_item *  pSrc,
Bitmask  notReady,
WhereLevel pLevel 
)
static

Definition at line 109990 of file sqlite3.c.

static void* contextMalloc ( sqlite3_context context,
i64  nByte 
)
static

Definition at line 90094 of file sqlite3.c.

static int convertCompoundSelectToSubquery ( Walker pWalker,
Select p 
)
static

Definition at line 102818 of file sqlite3.c.

static void convertToWithoutRowidTable ( Parse pParse,
Table pTab 
)
static

Definition at line 85865 of file sqlite3.c.

static void copyNodeContent ( MemPage pFrom,
MemPage pTo,
int *  pRC 
)
static

Definition at line 56393 of file sqlite3.c.

static int copyPayload ( void *  pPayload,
void *  pBuf,
int  nByte,
int  eOp,
DbPage pDbPage 
)
static

Definition at line 54275 of file sqlite3.c.

static void corruptSchema ( InitData pData,
const char *  zObj,
const char *  zExtra 
)
static

Definition at line 98603 of file sqlite3.c.

static void countFinalize ( sqlite3_context context)
static

Definition at line 91162 of file sqlite3.c.

static void countStep ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

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

static void createMask ( WhereMaskSet pMaskSet,
int  iCursor 
)
static

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

static char* createTableStmt ( sqlite3 db,
Table p 
)
static

Definition at line 85717 of file sqlite3.c.

static void ctimeFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 15165 of file sqlite3.c.

static void ctimestampFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 15193 of file sqlite3.c.

static void dateFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 14996 of file sqlite3.c.

static void datetimeFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 14957 of file sqlite3.c.

static int decodeFlags ( MemPage pPage,
int  flagByte 
)
static

Definition at line 51732 of file sqlite3.c.

static void decodeIntArray ( char *  zIntArray,
int  nOut,
tRowcnt aOut,
Index pIndex 
)
static

Definition at line 83008 of file sqlite3.c.

static int defragmentPage ( MemPage pPage)
static

Definition at line 51450 of file sqlite3.c.

static void destroyRootPage ( Parse pParse,
int  iTable,
int  iDb 
)
static

Definition at line 86442 of file sqlite3.c.

static void destroyTable ( Parse pParse,
Table pTab 
)
static

Definition at line 86470 of file sqlite3.c.

static void detachFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 83665 of file sqlite3.c.

static void disableTerm ( WhereLevel pLevel,
WhereTerm pTerm 
)
static

Definition at line 110697 of file sqlite3.c.

static void disconnectAllVtab ( sqlite3 db)
static

Definition at line 119795 of file sqlite3.c.

static char* displayP4 ( Op pOp,
char *  zTemp,
int  nTemp 
)
static

Definition at line 61960 of file sqlite3.c.

static int dotlockCheckReservedLock ( sqlite3_file id,
int *  pResOut 
)
static

Definition at line 25355 of file sqlite3.c.

static int dotlockClose ( sqlite3_file id)
static

Definition at line 25501 of file sqlite3.c.

static int dotlockLock ( sqlite3_file id,
int  eFileLock 
)
static

Definition at line 25406 of file sqlite3.c.

static int dotlockUnlock ( sqlite3_file id,
int  eFileLock 
)
static

Definition at line 25456 of file sqlite3.c.

static i64 doubleToInt64 ( double  r)
static

Definition at line 59943 of file sqlite3.c.

static int doWalCallbacks ( sqlite3 db)
static

Definition at line 64725 of file sqlite3.c.

static void downgradeAllSharedCacheTableLocks ( Btree p)
static

Definition at line 50770 of file sqlite3.c.

static void dropCell ( MemPage pPage,
int  idx,
int  sz,
int *  pRC 
)
static

Definition at line 56026 of file sqlite3.c.

static char* dup8bytes ( Vdbe v,
const char *  in 
)
static

Definition at line 78620 of file sqlite3.c.

static int dupedExprNodeSize ( Expr p,
int  flags 
)
static

Definition at line 77379 of file sqlite3.c.

static int dupedExprSize ( Expr p,
int  flags 
)
static

Definition at line 77400 of file sqlite3.c.

static int dupedExprStructSize ( Expr p,
int  flags 
)
static

Definition at line 77352 of file sqlite3.c.

static void errlogFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 90560 of file sqlite3.c.

static void estimateIndexWidth ( Index pIdx)
static

Definition at line 85823 of file sqlite3.c.

static void estimateTableWidth ( Table pTab)
static

Definition at line 85809 of file sqlite3.c.

static LogEst estLog ( LogEst  N)
static

Definition at line 109911 of file sqlite3.c.

static char et_getdigit ( LONGDOUBLE_TYPE val,
int *  cnt 
)
static

Definition at line 19858 of file sqlite3.c.

static int execExecSql ( sqlite3 db,
char **  pzErrMsg,
const char *  zSql 
)
static

Definition at line 106539 of file sqlite3.c.

static int execSql ( sqlite3 db,
char **  pzErrMsg,
const char *  zSql 
)
static

Definition at line 106520 of file sqlite3.c.

static void explainAppendTerm ( StrAccum pStr,
int  iTerm,
const char *  zColumn,
const char *  zOp 
)
static

Definition at line 110980 of file sqlite3.c.

static void explainComposite ( Parse pParse,
int  op,
int  iSub1,
int  iSub2,
int  bUseTmp 
)
static

Definition at line 100423 of file sqlite3.c.

static char* explainIndexRange ( sqlite3 db,
WhereLoop pLoop,
Table pTab 
)
static

Definition at line 111011 of file sqlite3.c.

static void explainOneScan ( Parse pParse,
SrcList pTabList,
WhereLevel pLevel,
int  iLevel,
int  iFrom,
u16  wctrlFlags 
)
static

Definition at line 111057 of file sqlite3.c.

static void explainSimpleCount ( Parse pParse,
Table pTab,
Index pIdx 
)
static

Definition at line 103417 of file sqlite3.c.

static void explainTempTable ( Parse pParse,
const char *  zUsage 
)
static

Definition at line 100385 of file sqlite3.c.

static int exprAlwaysFalse ( Expr p)
static

Definition at line 77149 of file sqlite3.c.

static void exprAnalyze ( SrcList pSrc,
WhereClause pWC,
int  idxTerm 
)
static

Definition at line 109505 of file sqlite3.c.

static void exprAnalyzeAll ( SrcList pTabList,
WhereClause pWC 
)
static

Definition at line 109032 of file sqlite3.c.

static void exprAnalyzeOrTerm ( SrcList pSrc,
WhereClause pWC,
int  idxTerm 
)
static

Definition at line 109256 of file sqlite3.c.

static void exprCodeBetween ( Parse pParse,
Expr pExpr,
int  dest,
int  jumpIfTrue,
int  jumpIfNull 
)
static

Definition at line 80048 of file sqlite3.c.

static void exprCommute ( Parse pParse,
Expr pExpr 
)
static

Definition at line 108799 of file sqlite3.c.

static Expr* exprDup ( sqlite3 db,
Expr p,
int  flags,
u8 **  pzBuffer 
)
static

Definition at line 77419 of file sqlite3.c.

static int exprIsConst ( Expr p,
int  initFlag 
)
static

Definition at line 77835 of file sqlite3.c.

static Bitmask exprListTableUsage ( WhereMaskSet pMaskSet,
ExprList pList 
)
static

Definition at line 108738 of file sqlite3.c.

static int exprNodeIsConstant ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 77795 of file sqlite3.c.

static int exprProbability ( Expr p)
static

Definition at line 75740 of file sqlite3.c.

static Bitmask exprSelectTableUsage ( WhereMaskSet pMaskSet,
Select pS 
)
static

Definition at line 108748 of file sqlite3.c.

static void exprSetHeight ( Expr p)
static

Definition at line 76966 of file sqlite3.c.

static int exprSrcCount ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 80507 of file sqlite3.c.

static int exprStructSize ( Expr p)
static

Definition at line 77312 of file sqlite3.c.

static Expr* exprTableColumn ( sqlite3 db,
Table pTab,
int  iCursor,
i16  iCol 
)
static

Definition at line 91946 of file sqlite3.c.

static Expr* exprTableRegister ( Parse pParse,
Table pTab,
int  regBase,
i16  iCol 
)
static

Definition at line 91914 of file sqlite3.c.

static Bitmask exprTableUsage ( WhereMaskSet pMaskSet,
Expr p 
)
static

Definition at line 108722 of file sqlite3.c.

static void exprToRegister ( Expr p,
int  iReg 
)
static

Definition at line 78948 of file sqlite3.c.

static int exprWalkNoop ( Walker NotUsed,
Expr NotUsed2 
)
static

Definition at line 103156 of file sqlite3.c.

static int fcntlSizeHint ( unixFile pFile,
i64  nByte 
)
static

Definition at line 26985 of file sqlite3.c.

static const unsigned char* fetchPayload ( BtCursor pCur,
u32 pAmt,
int  skipKey 
)
static

Definition at line 54560 of file sqlite3.c.

static int fileWriterFinish ( sqlite3 db,
FileWriter p,
i64 piEof 
)
static

Definition at line 74126 of file sqlite3.c.

static void fileWriterInit ( sqlite3 db,
sqlite3_file pFile,
FileWriter p,
i64  iStart 
)
static

Definition at line 74069 of file sqlite3.c.

static void fileWriterWrite ( FileWriter p,
u8 pData,
int  nData 
)
static

Definition at line 74093 of file sqlite3.c.

static void fileWriterWriteVarint ( FileWriter p,
u64  iVal 
)
static

Definition at line 74145 of file sqlite3.c.

static int fillInCell ( MemPage pPage,
unsigned char *  pCell,
const void *  pKey,
i64  nKey,
const void *  pData,
int  nData,
int  nZero,
int *  pnSize 
)
static

Definition at line 55868 of file sqlite3.c.

static Pgno finalDbSize ( BtShared pBt,
Pgno  nOrig,
Pgno  nFree 
)
static

Definition at line 53464 of file sqlite3.c.

static void finalizeAggFunctions ( Parse pParse,
AggInfo pAggInfo 
)
static

Definition at line 103318 of file sqlite3.c.

static Btree* findBtree ( sqlite3 pErrorDb,
sqlite3 pDb,
const char *  zDb 
)
static

Definition at line 58967 of file sqlite3.c.

static CollSeq* findCollSeqEntry ( sqlite3 db,
const char *  zName,
int  create 
)
static

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

static HashElem* findElementGivenHash ( const Hash pH,
const char *  pKey,
int  nKey,
unsigned int  h 
)
static

Definition at line 22789 of file sqlite3.c.

static int findIndexCol ( Parse pParse,
ExprList pList,
int  iBase,
Index pIdx,
int  iCol 
)
static

Definition at line 109814 of file sqlite3.c.

static int findInodeInfo ( unixFile pFile,
unixInodeInfo **  ppInode 
)
static

Definition at line 24544 of file sqlite3.c.

static int findNextHostParameter ( const char *  zSql,
int *  pnToken 
)
static

Definition at line 65759 of file sqlite3.c.

static u8* findOverflowCell ( MemPage pPage,
int  iCell 
)
static

Definition at line 51255 of file sqlite3.c.

static UnixUnusedFd* findReusableFd ( const char *  zPath,
int  flags 
)
static

Definition at line 28741 of file sqlite3.c.

static WhereTerm* findTerm ( WhereClause pWC,
int  iCur,
int  iColumn,
Bitmask  notReady,
u32  op,
Index pIdx 
)
static

Definition at line 109001 of file sqlite3.c.

static Trigger* fkActionTrigger ( Parse pParse,
Table pTab,
FKey pFKey,
ExprList pChanges 
)
static

Definition at line 92563 of file sqlite3.c.

static int fkChildIsModified ( Table pTab,
FKey p,
int *  aChange,
int  bChngRowid 
)
static

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

static int fkParentIsModified ( Table pTab,
FKey p,
int *  aChange,
int  bChngRowid 
)
static

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

static void fkTriggerDelete ( sqlite3 dbMem,
Trigger p 
)
static

Definition at line 92129 of file sqlite3.c.

static int flattenSubquery ( Parse pParse,
Select p,
int  iFrom,
int  isAgg,
int  subqueryIsAgg 
)
static

Definition at line 102319 of file sqlite3.c.

static void freeEphemeralFunction ( sqlite3 db,
FuncDef pDef 
)
static

Definition at line 61634 of file sqlite3.c.

static void freeIndex ( sqlite3 db,
Index p 
)
static

Definition at line 84627 of file sqlite3.c.

static void freeP4 ( sqlite3 db,
int  p4type,
void *  p4 
)
static

Definition at line 61645 of file sqlite3.c.

static void freePage ( MemPage pPage,
int *  pRC 
)
static

Definition at line 55785 of file sqlite3.c.

static int freePage2 ( BtShared pBt,
MemPage pMemPage,
Pgno  iPage 
)
static

Definition at line 55663 of file sqlite3.c.

static int freeSpace ( MemPage pPage,
int  start,
int  size 
)
static

Definition at line 51639 of file sqlite3.c.

static void freeTempSpace ( BtShared pBt)
static

Definition at line 52426 of file sqlite3.c.

static int full_fsync ( int  fd,
int  fullSync,
int  dataOnly 
)
static

Definition at line 26724 of file sqlite3.c.

static void functionDestroy ( sqlite3 db,
FuncDef p 
)
static

Definition at line 119780 of file sqlite3.c.

static FuncDef* functionSearch ( FuncDefHash pHash,
int  h,
const char *  zFunc,
int  nFunc 
)
static

Definition at line 88729 of file sqlite3.c.

static void generateColumnNames ( Parse pParse,
SrcList pTabList,
ExprList pEList 
)
static

Definition at line 100775 of file sqlite3.c.

static void generateColumnTypes ( Parse pParse,
SrcList pTabList,
ExprList pEList 
)
static

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

static void generateSortTail ( Parse pParse,
Select p,
Vdbe v,
int  nColumn,
SelectDest pDest 
)
static

Definition at line 100451 of file sqlite3.c.

static int getAndInitPage ( BtShared pBt,
Pgno  pgno,
MemPage **  ppPage,
int  bReadonly 
)
static

Definition at line 51990 of file sqlite3.c.

static int getAutoVacuum ( const char *  z)
static

Definition at line 96811 of file sqlite3.c.

static int getDigits ( const char *  zDate,
  ... 
)
static

Definition at line 14225 of file sqlite3.c.

static int getLockingMode ( const char *  z)
static

Definition at line 96796 of file sqlite3.c.

static Bitmask getMask ( WhereMaskSet pMaskSet,
int  iCursor 
)
static

Definition at line 108691 of file sqlite3.c.

static int getOverflowPage ( BtShared pBt,
Pgno  ovfl,
MemPage **  ppPage,
Pgno pPgnoNext 
)
static

Definition at line 54207 of file sqlite3.c.

static int getPageReferenced ( IntegrityCk pCheck,
Pgno  iPg 
)
static

Definition at line 58136 of file sqlite3.c.

static TriggerPrg* getRowTrigger ( Parse pParse,
Trigger pTrigger,
Table pTab,
int  orconf 
)
static

Definition at line 105520 of file sqlite3.c.

static u8 getSafetyLevel ( const char *  z,
int  omitFull,
int  dflt 
)
static

Definition at line 96761 of file sqlite3.c.

static int getTempStore ( const char *  z)
static

Definition at line 96827 of file sqlite3.c.

static void groupConcatFinalize ( sqlite3_context context)
static

Definition at line 91255 of file sqlite3.c.

static void groupConcatStep ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 91222 of file sqlite3.c.

static int growOpArray ( Vdbe p)
static

Definition at line 61108 of file sqlite3.c.

static int growVTrans ( sqlite3 db)
static

Definition at line 107471 of file sqlite3.c.

static int hasColumn ( const i16 aiCol,
int  nCol,
int  x 
)
static

Definition at line 85837 of file sqlite3.c.

static int hasHotJournal ( Pager pPager,
int *  pExists 
)
static

Definition at line 43934 of file sqlite3.c.

static void heightOfExpr ( Expr p,
int *  pnHeight 
)
static

Definition at line 76931 of file sqlite3.c.

static void heightOfExprList ( ExprList p,
int *  pnHeight 
)
static

Definition at line 76938 of file sqlite3.c.

static void heightOfSelect ( Select p,
int *  pnHeight 
)
static

Definition at line 76946 of file sqlite3.c.

static void hexFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 90762 of file sqlite3.c.

static int identLength ( const char *  z)
static

Definition at line 85668 of file sqlite3.c.

static void identPut ( char *  z,
int *  pIdx,
char *  zSignedIdent 
)
static

Definition at line 85689 of file sqlite3.c.

static int incrAggDepth ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 75191 of file sqlite3.c.

static void incrAggFunctionDepth ( Expr pExpr,
int  N 
)
static

Definition at line 75195 of file sqlite3.c.

static int incrVacuumStep ( BtShared pBt,
Pgno  nFin,
Pgno  iLastPg,
int  bCommit 
)
static

Definition at line 53368 of file sqlite3.c.

static int indexMightHelpWithOrderBy ( WhereLoopBuilder pBuilder,
Index pIndex,
int  iCursor 
)
static

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

static void insertElement ( Hash pH,
struct _ht *  pEntry,
HashElem pNew 
)
static

Definition at line 22715 of file sqlite3.c.

static void instrFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 89916 of file sqlite3.c.

static void invalidateAllOverflowCache ( BtShared pBt)
static

Definition at line 50813 of file sqlite3.c.

static void invalidateCachedKeyInfo ( sqlite3 db)
static

Definition at line 120964 of file sqlite3.c.

static void invalidateIncrblobCursors ( Btree pBtree,
i64  iRow,
int  isClearTable 
)
static

Definition at line 50834 of file sqlite3.c.

static void invalidateOverflowCache ( BtCursor pCur)
static

Definition at line 50803 of file sqlite3.c.

static int invalidateTempStorage ( Parse pParse)
static

Definition at line 96845 of file sqlite3.c.

IOMETHODS ( posixIoFinder  ,
posixIoMethods  ,
,
unixClose  ,
unixLock  ,
unixUnlock  ,
unixCheckReservedLock   
)

Definition at line 28238 of file sqlite3.c.

static int isCandidateForInOpt ( Select p)
static

Definition at line 78028 of file sqlite3.c.

static int isDate ( sqlite3_context context,
int  argc,
sqlite3_value **  argv,
DateTime p 
)
static

Definition at line 14899 of file sqlite3.c.

static int isDistinctRedundant ( Parse pParse,
SrcList pTabList,
WhereClause pWC,
ExprList pDistinct 
)
static

Definition at line 109847 of file sqlite3.c.

static int isFatalError ( int  rc)
static

Definition at line 59086 of file sqlite3.c.

static int isLikeOrGlob ( Parse pParse,
Expr pExpr,
Expr **  ppPrefix,
int *  pisComplete,
int *  pnoCase 
)
static

Definition at line 109051 of file sqlite3.c.

static int isLookaside ( sqlite3 db,
void *  p 
)
static

Definition at line 19384 of file sqlite3.c.

static int isMatchOfColumn ( Expr pExpr)
static

Definition at line 109146 of file sqlite3.c.

static Table* isSimpleCount ( Select p,
AggInfo pAggInfo 
)
static

Definition at line 102748 of file sqlite3.c.

static int isSystemTable ( Parse pParse,
const char *  zName 
)
static

Definition at line 81198 of file sqlite3.c.

static i64 journalHdrOffset ( Pager pPager)
static

Definition at line 40394 of file sqlite3.c.

static void juliandayFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 14940 of file sqlite3.c.

static KeyInfo* keyInfoFromExprList ( Parse pParse,
ExprList pList 
)
static

Definition at line 100336 of file sqlite3.c.

static int keywordCode ( const char *  z,
int  n 
)
static

Definition at line 117907 of file sqlite3.c.

static void last_insert_rowid ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 90217 of file sqlite3.c.

static void lengthFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 89827 of file sqlite3.c.

static void likeFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 90459 of file sqlite3.c.

static void loadAnalysis ( Parse pParse,
int  iDb 
)
static

Definition at line 82868 of file sqlite3.c.

static void loadExt ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 91044 of file sqlite3.c.

static sqlite3_int64 localtimeOffset ( DateTime p,
sqlite3_context pCtx,
int *  pRc 
)
static

Definition at line 14615 of file sqlite3.c.

static int lockBtree ( BtShared pBt)
static

Definition at line 52737 of file sqlite3.c.

static void lockBtreeMutex ( Btree p)
static

Definition at line 50087 of file sqlite3.c.

static void logBadConnection ( const char *  zType)
static

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

static void lowerFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 90134 of file sqlite3.c.

static int mallocWithAlarm ( int  n,
void **  pp 
)
static

Definition at line 19211 of file sqlite3.c.

static int matchQuality ( FuncDef p,
int  nArg,
u8  enc 
)
static

Definition at line 88694 of file sqlite3.c.

static int memjrnlClose ( sqlite3_file pJfd)
static

Definition at line 74928 of file sqlite3.c.

static int memjrnlFileSize ( sqlite3_file pJfd,
sqlite_int64 pSize 
)
static

Definition at line 74950 of file sqlite3.c.

static int memjrnlRead ( sqlite3_file pJfd,
void *  zBuf,
int  iAmt,
sqlite_int64  iOfst 
)
static

Definition at line 74815 of file sqlite3.c.

static int memjrnlSync ( sqlite3_file NotUsed,
int  NotUsed2 
)
static

Definition at line 74942 of file sqlite3.c.

static int memjrnlTruncate ( sqlite3_file pJfd,
sqlite_int64  size 
)
static

Definition at line 74910 of file sqlite3.c.

static int memjrnlWrite ( sqlite3_file pJfd,
const void *  zBuf,
int  iAmt,
sqlite_int64  iOfst 
)
static

Definition at line 74860 of file sqlite3.c.

static void minMaxFinalize ( sqlite3_context context)
static

Definition at line 91208 of file sqlite3.c.

static void minmaxFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 89776 of file sqlite3.c.

static u8 minMaxQuery ( AggInfo pAggInfo,
ExprList **  ppMinMax 
)
static

Definition at line 102712 of file sqlite3.c.

static void minmaxStep ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 91171 of file sqlite3.c.

static int modifyPagePointer ( MemPage pPage,
Pgno  iFrom,
Pgno  iTo,
u8  eType 
)
static

Definition at line 53215 of file sqlite3.c.

static int moveToChild ( BtCursor pCur,
u32  newPgno 
)
static

Definition at line 54641 of file sqlite3.c.

static int moveToLeftmost ( BtCursor pCur)
static

Definition at line 54824 of file sqlite3.c.

static void moveToParent ( BtCursor pCur)
static

Definition at line 54697 of file sqlite3.c.

static int moveToRightmost ( BtCursor pCur)
static

Definition at line 54849 of file sqlite3.c.

static int moveToRoot ( BtCursor pCur)
static

Definition at line 54744 of file sqlite3.c.

static int multiSelect ( Parse pParse,
Select p,
SelectDest pDest 
)
static

Definition at line 101176 of file sqlite3.c.

static CollSeq* multiSelectCollSeq ( Parse pParse,
Select p,
int  iCol 
)
static

Definition at line 101121 of file sqlite3.c.

static int multiSelectOrderBy ( Parse pParse,
Select p,
SelectDest pDest 
)
static

Definition at line 101769 of file sqlite3.c.

static int nameInUsingClause ( IdList pUsing,
const char *  zCol 
)
static

Definition at line 75306 of file sqlite3.c.

static int newDatabase ( BtShared pBt)
static

Definition at line 52932 of file sqlite3.c.

static int nocaseCollatingFunc ( void *  NotUsed,
int  nKey1,
const void *  pKey1,
int  nKey2,
const void *  pKey2 
)
static

Definition at line 119723 of file sqlite3.c.

static int nolockCheckReservedLock ( sqlite3_file NotUsed,
int *  pResOut 
)
static

Definition at line 25293 of file sqlite3.c.

static int nolockClose ( sqlite3_file id)
static

Definition at line 25310 of file sqlite3.c.

static int nolockLock ( sqlite3_file NotUsed,
int  NotUsed2 
)
static

Definition at line 25298 of file sqlite3.c.

static int nolockUnlock ( sqlite3_file NotUsed,
int  NotUsed2 
)
static

Definition at line 25302 of file sqlite3.c.

static sqlite3_mutex* noopMutexAlloc ( int  id)
static

Definition at line 18084 of file sqlite3.c.

static int noopMutexEnd ( void  )
static

Definition at line 18083 of file sqlite3.c.

static void noopMutexEnter ( sqlite3_mutex p)
static

Definition at line 18089 of file sqlite3.c.

static void noopMutexFree ( sqlite3_mutex p)
static

Definition at line 18088 of file sqlite3.c.

static int noopMutexInit ( void  )
static

Definition at line 18082 of file sqlite3.c.

static void noopMutexLeave ( sqlite3_mutex p)
static

Definition at line 18094 of file sqlite3.c.

static int noopMutexTry ( sqlite3_mutex p)
static

Definition at line 18090 of file sqlite3.c.

static void notValidCheckConstraint ( Parse pParse,
NameContext pNC,
const char *  zMsg 
)
static

Definition at line 75722 of file sqlite3.c.

static void notValidPartIdxWhere ( Parse pParse,
NameContext pNC,
const char *  zMsg 
)
static

Definition at line 75707 of file sqlite3.c.

static void nullifFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 90512 of file sqlite3.c.

static int numberOfCachePages ( PCache p)
static

Definition at line 37012 of file sqlite3.c.

static int openDatabase ( const char *  zFilename,
sqlite3 **  ppDb,
unsigned int  flags,
const char *  zVfs 
)
static

Definition at line 121404 of file sqlite3.c.

static int openDirectory ( const char *  zFilename,
int *  pFd 
)
static

Definition at line 26815 of file sqlite3.c.

static void openStatTable ( Parse pParse,
int  iDb,
int  iStatCur,
const char *  zWhere,
const char *  zWhereType 
)
static

Definition at line 81817 of file sqlite3.c.

static int openSubJournal ( Pager pPager)
static

Definition at line 43402 of file sqlite3.c.

static u16 operatorMask ( int  op)
static

Definition at line 108830 of file sqlite3.c.

static int osLocaltime ( time_t *  t,
struct tm *  pTm 
)
static

Definition at line 14575 of file sqlite3.c.

static int pageInJournal ( PgHdr pPg)
static

Definition at line 40146 of file sqlite3.c.

static u32 pager_cksum ( Pager pPager,
const u8 aData 
)
static

Definition at line 41186 of file sqlite3.c.

static int pager_delmaster ( Pager pPager,
const char *  zMaster 
)
static

Definition at line 41513 of file sqlite3.c.

static int pager_end_transaction ( Pager pPager,
int  hasMaster,
int  bCommit 
)
static

Definition at line 41026 of file sqlite3.c.

static int pager_error ( Pager pPager,
int  rc 
)
static

Definition at line 40956 of file sqlite3.c.

static int pager_incr_changecounter ( Pager pPager,
int  isDirectMode 
)
static

Definition at line 44998 of file sqlite3.c.

static PgHdr* pager_lookup ( Pager pPager,
Pgno  pgno 
)
static

Definition at line 40789 of file sqlite3.c.

static int pager_open_journal ( Pager pPager)
static

Definition at line 44548 of file sqlite3.c.

static int pager_playback ( Pager pPager,
int  isHot 
)
static

Definition at line 41766 of file sqlite3.c.

static int pager_playback_one_page ( Pager pPager,
i64 pOffset,
Bitvec pDone,
int  isMainJrnl,
int  isSavepnt 
)
static

Definition at line 41248 of file sqlite3.c.

static void pager_reset ( Pager pPager)
static

Definition at line 40802 of file sqlite3.c.

static int pager_truncate ( Pager pPager,
Pgno  nPage 
)
static

Definition at line 41623 of file sqlite3.c.

static void pager_unlock ( Pager pPager)
static

Definition at line 40863 of file sqlite3.c.

static int pager_wait_on_lock ( Pager pPager,
int  locktype 
)
static

Definition at line 42869 of file sqlite3.c.

static int pager_write ( PgHdr pPg)
static

Definition at line 44704 of file sqlite3.c.

static void pager_write_changecounter ( PgHdr pPg)
static

Definition at line 42036 of file sqlite3.c.

static int pager_write_pagelist ( Pager pPager,
PgHdr pList 
)
static

Definition at line 43311 of file sqlite3.c.

static int pagerAcquireMapPage ( Pager pPager,
Pgno  pgno,
void *  pData,
PgHdr **  ppPage 
)
static

Definition at line 42985 of file sqlite3.c.

static int pagerBeginReadTransaction ( Pager pPager)
static

Definition at line 42205 of file sqlite3.c.

static void pageReinit ( DbPage pData)
static

Definition at line 52040 of file sqlite3.c.

static int pagerExclusiveLock ( Pager pPager)
static

Definition at line 46133 of file sqlite3.c.

static void pagerFixMaplimit ( Pager pPager)
static

Definition at line 42487 of file sqlite3.c.

static void pagerFreeMapHdrs ( Pager pPager)
static

Definition at line 43040 of file sqlite3.c.

static int pagerLockDb ( Pager pPager,
int  eLock 
)
static

Definition at line 40218 of file sqlite3.c.

static int pagerOpentemp ( Pager pPager,
sqlite3_file pFile,
int  vfsFlags 
)
static

Definition at line 42618 of file sqlite3.c.

static int pagerOpenWal ( Pager pPager)
static

Definition at line 46153 of file sqlite3.c.

static int pagerOpenWalIfPresent ( Pager pPager)
static

Definition at line 42300 of file sqlite3.c.

static int pagerPagecount ( Pager pPager,
Pgno pnPage 
)
static

Definition at line 42238 of file sqlite3.c.

static int pagerPlaybackSavepoint ( Pager pPager,
PagerSavepoint pSavepoint 
)
static

Definition at line 42369 of file sqlite3.c.

static void pagerReleaseMapPage ( PgHdr pPg)
static

Definition at line 43027 of file sqlite3.c.

static int pagerRollbackWal ( Pager pPager)
static

Definition at line 42102 of file sqlite3.c.

static int pagerStress ( void *  p,
PgHdr pPg 
)
static

Definition at line 43484 of file sqlite3.c.

static int pagerSyncHotJournal ( Pager pPager)
static

Definition at line 42964 of file sqlite3.c.

static int pagerUndoCallback ( void *  pCtx,
Pgno  iPg 
)
static

Definition at line 42063 of file sqlite3.c.

static void pagerUnlockAndRollback ( Pager pPager)
static

Definition at line 41152 of file sqlite3.c.

static int pagerUnlockDb ( Pager pPager,
int  eLock 
)
static

Definition at line 40191 of file sqlite3.c.

static void pagerUnlockIfUnused ( Pager pPager)
static

Definition at line 44276 of file sqlite3.c.

static int pagerUseWal ( Pager pPager)
static

Definition at line 39917 of file sqlite3.c.

static int pagerWalFrames ( Pager pPager,
PgHdr pList,
Pgno  nTruncate,
int  isCommit 
)
static

Definition at line 42134 of file sqlite3.c.

static int parseDateOrTime ( sqlite3_context context,
const char *  zDate,
DateTime p 
)
static

Definition at line 14463 of file sqlite3.c.

static int parseHhMmSs ( const char *  zDate,
DateTime p 
)
static

Definition at line 14312 of file sqlite3.c.

static int parseModifier ( sqlite3_context pCtx,
const char *  zMod,
DateTime p 
)
static

Definition at line 14694 of file sqlite3.c.

static int parseTimezone ( const char *  zDate,
DateTime p 
)
static

Definition at line 14277 of file sqlite3.c.

static int parseYyyyMmDd ( const char *  zDate,
DateTime p 
)
static

Definition at line 14400 of file sqlite3.c.

static int patternCompare ( const u8 zPattern,
const u8 zString,
const struct compareInfo pInfo,
u32  esc 
)
static

Definition at line 90322 of file sqlite3.c.

static void* pcache1Alloc ( int  nByte)
static

Definition at line 37623 of file sqlite3.c.

static PgHdr1* pcache1AllocPage ( PCache1 pCache)
static

Definition at line 37709 of file sqlite3.c.

static void pcache1Cachesize ( sqlite3_pcache p,
int  nMax 
)
static

Definition at line 38043 of file sqlite3.c.

static sqlite3_pcache* pcache1Create ( int  szPage,
int  szExtra,
int  bPurgeable 
)
static

Definition at line 37988 of file sqlite3.c.

static void pcache1Destroy ( sqlite3_pcache p)
static

Definition at line 38356 of file sqlite3.c.

static void pcache1EnforceMaxPage ( PGroup pGroup)
static

Definition at line 37910 of file sqlite3.c.

static sqlite3_pcache_page* pcache1Fetch ( sqlite3_pcache p,
unsigned int  iKey,
int  createFlag 
)
static

Definition at line 38142 of file sqlite3.c.

static int pcache1Free ( void *  p)
static

Definition at line 37660 of file sqlite3.c.

static void pcache1FreePage ( PgHdr1 p)
static

Definition at line 37750 of file sqlite3.c.

static int pcache1Init ( void *  NotUsed)
static

Definition at line 37959 of file sqlite3.c.

static int pcache1Pagecount ( sqlite3_pcache p)
static

Definition at line 38079 of file sqlite3.c.

static void pcache1PinPage ( PgHdr1 pPage)
static

Definition at line 37859 of file sqlite3.c.

static void pcache1Rekey ( sqlite3_pcache p,
sqlite3_pcache_page pPg,
unsigned int  iOld,
unsigned int  iNew 
)
static

Definition at line 38301 of file sqlite3.c.

static void pcache1RemoveFromHash ( PgHdr1 pPage)
static

Definition at line 37893 of file sqlite3.c.

static int pcache1ResizeHash ( PCache1 p)
static

Definition at line 37814 of file sqlite3.c.

static void pcache1Shrink ( sqlite3_pcache p)
static

Definition at line 38062 of file sqlite3.c.

static void pcache1Shutdown ( void *  NotUsed)
static

Definition at line 37977 of file sqlite3.c.

static void pcache1Truncate ( sqlite3_pcache p,
unsigned int  iLimit 
)
static

Definition at line 38341 of file sqlite3.c.

static void pcache1TruncateUnsafe ( PCache1 pCache,
unsigned int  iLimit 
)
static

Definition at line 37928 of file sqlite3.c.

static int pcache1UnderMemoryPressure ( PCache1 pCache)
static

Definition at line 37797 of file sqlite3.c.

static void pcache1Unpin ( sqlite3_pcache p,
sqlite3_pcache_page pPg,
int  reuseUnlikely 
)
static

Definition at line 38261 of file sqlite3.c.

static void pcacheAddToDirtyList ( PgHdr pPage)
static

Definition at line 36912 of file sqlite3.c.

static PgHdr* pcacheMergeDirtyList ( PgHdr pA,
PgHdr pB 
)
static

Definition at line 37284 of file sqlite3.c.

static void pcacheRemoveFromDirtyList ( PgHdr pPage)
static

Definition at line 36875 of file sqlite3.c.

static PgHdr* pcacheSortDirtyList ( PgHdr pIn)
static

Definition at line 37319 of file sqlite3.c.

static void pcacheUnpin ( PgHdr p)
static

Definition at line 36936 of file sqlite3.c.

static int posixFchown ( int  fd,
uid_t  uid,
gid_t  gid 
)
static

Definition at line 23646 of file sqlite3.c.

static int posixOpen ( const char *  zFile,
int  flags,
int  mode 
)
static

Definition at line 23637 of file sqlite3.c.

static int posixUnlock ( sqlite3_file id,
int  eFileLock,
int  handleNFSUnlock 
)
static

Definition at line 25033 of file sqlite3.c.

static sqlite3_mutex* pthreadMutexAlloc ( int  iType)
static

Definition at line 18381 of file sqlite3.c.

static int pthreadMutexEnd ( void  )
static

Definition at line 18337 of file sqlite3.c.

static void pthreadMutexEnter ( sqlite3_mutex p)
static

Definition at line 18460 of file sqlite3.c.

static void pthreadMutexFree ( sqlite3_mutex p)
static

Definition at line 18442 of file sqlite3.c.

static int pthreadMutexInit ( void  )
static

Definition at line 18336 of file sqlite3.c.

static void pthreadMutexLeave ( sqlite3_mutex p)
static

Definition at line 18559 of file sqlite3.c.

static int pthreadMutexTry ( sqlite3_mutex p)
static

Definition at line 18502 of file sqlite3.c.

static int ptrmapGet ( BtShared pBt,
Pgno  key,
u8 pEType,
Pgno pPgno 
)
static

Definition at line 51202 of file sqlite3.c.

static Pgno ptrmapPageno ( BtShared pBt,
Pgno  pgno 
)
static

Definition at line 51126 of file sqlite3.c.

static void ptrmapPut ( BtShared pBt,
Pgno  key,
u8  eType,
Pgno  parent,
int *  pRC 
)
static

Definition at line 51150 of file sqlite3.c.

static void ptrmapPutOvflPtr ( MemPage pPage,
u8 pCell,
int *  pRC 
)
static

Definition at line 51430 of file sqlite3.c.

static void pushOntoSorter ( Parse pParse,
ExprList pOrderBy,
Select pSelect,
int  regData 
)
static

Definition at line 99881 of file sqlite3.c.

static int querySharedCacheTableLock ( Btree p,
Pgno  iTab,
u8  eLock 
)
static

Definition at line 50590 of file sqlite3.c.

static void quoteFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 90630 of file sqlite3.c.

static void randomBlob ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 90193 of file sqlite3.c.

static void randomFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 90167 of file sqlite3.c.

static int read32bits ( sqlite3_file fd,
i64  offset,
u32 pRes 
)
static

Definition at line 40157 of file sqlite3.c.

static int readDbPage ( PgHdr pPg,
u32  iFrame 
)
static

Definition at line 41974 of file sqlite3.c.

static int readJournalHdr ( Pager pPager,
int  isHot,
i64  journalSize,
u32 pNRec,
u32 pDbSize 
)
static

Definition at line 40594 of file sqlite3.c.

static int readMasterJournal ( sqlite3_file pJrnl,
char *  zMaster,
u32  nMaster 
)
static

Definition at line 40341 of file sqlite3.c.

static int readsTable ( Parse p,
int  iStartAddr,
int  iDb,
Table pTab 
)
static

Definition at line 92970 of file sqlite3.c.

static int rehash ( Hash pH,
unsigned int  new_size 
)
static

Definition at line 22749 of file sqlite3.c.

static void reindexDatabases ( Parse pParse,
char const *  zColl 
)
static

Definition at line 88311 of file sqlite3.c.

static void reindexTable ( Parse pParse,
Table pTab,
char const *  zColl 
)
static

Definition at line 88292 of file sqlite3.c.

static void releaseAllSavepoints ( Pager pPager)
static

Definition at line 40812 of file sqlite3.c.

static void releaseInodeInfo ( unixFile pFile)
static

Definition at line 24510 of file sqlite3.c.

static void releaseMemArray ( Mem p,
int  N 
)
static

Definition at line 62170 of file sqlite3.c.

static void releasePage ( MemPage pPage)
static

Definition at line 52021 of file sqlite3.c.

static void reloadTableSchema ( Parse pParse,
Table pTab,
const char *  zName 
)
static

Definition at line 81149 of file sqlite3.c.

static int relocatePage ( BtShared pBt,
MemPage pDbPage,
u8  eType,
Pgno  iPtrPage,
Pgno  iFreePage,
int  isCommit 
)
static

Definition at line 53275 of file sqlite3.c.

static void removeElementGivenHash ( Hash pH,
HashElem elem,
unsigned int  h 
)
static

Definition at line 22818 of file sqlite3.c.

static int removeFromSharingList ( BtShared pBt)
static

Definition at line 52367 of file sqlite3.c.

static void renameParentFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 80919 of file sqlite3.c.

static void renameTableFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 80854 of file sqlite3.c.

static void renameTriggerFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 80974 of file sqlite3.c.

static void renderLogMsg ( int  iErrCode,
const char *  zFormat,
va_list  ap 
)
static

Definition at line 20645 of file sqlite3.c.

static void replaceFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 90815 of file sqlite3.c.

static void resetAccumulator ( Parse pParse,
AggInfo pAggInfo 
)
static

Definition at line 103286 of file sqlite3.c.

static int resizeIndexObject ( sqlite3 db,
Index pIdx,
int  N 
)
static

Definition at line 85785 of file sqlite3.c.

static void resolveAlias ( Parse pParse,
ExprList pEList,
int  iCol,
Expr pExpr,
const char *  zType,
int  nSubquery 
)
static

Definition at line 75248 of file sqlite3.c.

static int resolveAsName ( Parse pParse,
ExprList pEList,
Expr pE 
)
static

Definition at line 75961 of file sqlite3.c.

static int resolveAttachExpr ( NameContext pName,
Expr pExpr 
)
static

Definition at line 83447 of file sqlite3.c.

static int resolveCompoundOrderBy ( Parse pParse,
Select pSelect 
)
static

Definition at line 76073 of file sqlite3.c.

static int resolveExprStep ( Walker pWalker,
Expr pExpr 
)
static

Definition at line 75760 of file sqlite3.c.

static int resolveOrderByTermToExprList ( Parse pParse,
Select pSelect,
Expr pE 
)
static

Definition at line 76000 of file sqlite3.c.

static int resolveOrderGroupBy ( NameContext pNC,
Select pSelect,
ExprList pOrderBy,
const char *  zType 
)
static

Definition at line 76219 of file sqlite3.c.

static void resolveOutOfRangeError ( Parse pParse,
const char *  zType,
int  i,
int  mx 
)
static

Definition at line 76047 of file sqlite3.c.

static void resolveP2Values ( Vdbe p,
int *  pMaxFuncArgs 
)
static

Definition at line 61423 of file sqlite3.c.

static int resolveSelectStep ( Walker pWalker,
Select p 
)
static

Definition at line 76277 of file sqlite3.c.

static void returnSingleInt ( Parse pParse,
const char *  zLabel,
i64  value 
)
static

Definition at line 96882 of file sqlite3.c.

static void robust_close ( unixFile pFile,
int  h,
int  lineno 
)
static

Definition at line 24482 of file sqlite3.c.

static int robust_ftruncate ( int  h,
sqlite3_int64  sz 
)
static

Definition at line 24031 of file sqlite3.c.

static int robust_open ( const char *  z,
int  f,
mode_t  m 
)
static

Definition at line 23886 of file sqlite3.c.

static void roundFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 90053 of file sqlite3.c.

static struct RowSetEntry* rowSetEntryAlloc ( RowSet p)
static

Definition at line 38632 of file sqlite3.c.

static struct RowSetEntry* rowSetEntryMerge ( struct RowSetEntry pA,
struct RowSetEntry pB 
)
static

Definition at line 38684 of file sqlite3.c.

static struct RowSetEntry* rowSetEntrySort ( struct RowSetEntry pIn)
static

Definition at line 38721 of file sqlite3.c.

static struct RowSetEntry* rowSetListToTree ( struct RowSetEntry pList)
static

Definition at line 38814 of file sqlite3.c.

static struct RowSetEntry* rowSetNDeepTree ( struct RowSetEntry **  ppList,
int  iDepth 
)
static

Definition at line 38784 of file sqlite3.c.

static void rowSetToList ( RowSet p)
static

Definition at line 38839 of file sqlite3.c.

static void rowSetTreeToList ( struct RowSetEntry pIn,
struct RowSetEntry **  ppFirst,
struct RowSetEntry **  ppLast 
)
static

Definition at line 38749 of file sqlite3.c.

static void samplePushPrevious ( Stat4Accum p,
int  iChng 
)
static

Definition at line 82263 of file sqlite3.c.

static int saveAllCursors ( BtShared pBt,
Pgno  iRoot,
BtCursor pExcept 
)
static

Definition at line 50992 of file sqlite3.c.

static int saveCursorPosition ( BtCursor pCur)
static

Definition at line 50947 of file sqlite3.c.

static void schemaIsValid ( Parse pParse)
static

Definition at line 99034 of file sqlite3.c.

static int seekAndRead ( unixFile id,
sqlite3_int64  offset,
void *  pBuf,
int  cnt 
)
static

Definition at line 26421 of file sqlite3.c.

static int seekAndWrite ( unixFile id,
i64  offset,
const void *  pBuf,
int  cnt 
)
static

Definition at line 26580 of file sqlite3.c.

static int seekAndWriteFd ( int  fd,
i64  iOff,
const void *  pBuf,
int  nBuf,
int *  piErrno 
)
static

Definition at line 26534 of file sqlite3.c.

static void selectAddColumnTypeAndCollation ( Parse pParse,
Table pTab,
Select pSelect 
)
static

Definition at line 100954 of file sqlite3.c.

static int selectAddSubqueryTypeInfo ( Walker pWalker,
Select p 
)
static

Definition at line 103202 of file sqlite3.c.

static int selectColumnsFromExprList ( Parse pParse,
ExprList pEList,
i16 pnCol,
Column **  paCol 
)
static

Definition at line 100851 of file sqlite3.c.

static int selectExpander ( Walker pWalker,
Select p 
)
static

Definition at line 102885 of file sqlite3.c.

static void selectInnerLoop ( Parse pParse,
Select p,
ExprList pEList,
int  srcTab,
int  nColumn,
ExprList pOrderBy,
DistinctCtx pDistinct,
SelectDest pDest,
int  iContinue,
int  iBreak 
)
static

Definition at line 100014 of file sqlite3.c.

static int selectNodeIsConstant ( Walker pWalker,
Select NotUsed 
)
static

Definition at line 77830 of file sqlite3.c.

static const char* selectOpName ( int  id)
static

Definition at line 100362 of file sqlite3.c.

static void setAllPagerFlags ( sqlite3 db)
static

Definition at line 96901 of file sqlite3.c.

static int setChildPtrmaps ( MemPage pPage)
static

Definition at line 53165 of file sqlite3.c.

static int setDateTimeToCurrent ( sqlite3_context context,
DateTime p 
)
static

Definition at line 14437 of file sqlite3.c.

static int setDestPgsz ( sqlite3_backup p)
static

Definition at line 59004 of file sqlite3.c.

static void setJoinExpr ( Expr p,
int  iTable 
)
static

Definition at line 99764 of file sqlite3.c.

static void setLikeOptFlag ( sqlite3 db,
const char *  zName,
u8  flagVal 
)
static

Definition at line 91286 of file sqlite3.c.

static void setPageReferenced ( IntegrityCk pCheck,
Pgno  iPg 
)
static

Definition at line 58144 of file sqlite3.c.

static void setPendingFd ( unixFile pFile)
static

Definition at line 25011 of file sqlite3.c.

static void setResultStrOrError ( sqlite3_context pCtx,
const char *  z,
int  n,
u8  enc,
void(*)(void *)  xDel 
)
static

Definition at line 64597 of file sqlite3.c.

static void setSectorSize ( Pager pPager)
static

Definition at line 41693 of file sqlite3.c.

static int setSharedCacheTableLock ( Btree p,
Pgno  iTable,
u8  eLock 
)
static

Definition at line 50662 of file sqlite3.c.

static int setupLookaside ( sqlite3 db,
void *  pBuf,
int  sz,
int  cnt 
)
static

Definition at line 119545 of file sqlite3.c.

static void softHeapLimitEnforcer ( void *  NotUsed,
sqlite3_int64  NotUsed2,
int  allocSize 
)
static

Definition at line 19032 of file sqlite3.c.

static void sourceidFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 90544 of file sqlite3.c.

static void spanBinaryExpr ( ExprSpan pOut,
Parse pParse,
int  op,
ExprSpan pLeft,
ExprSpan pRight 
)
static

Definition at line 114412 of file sqlite3.c.

static void spanExpr ( ExprSpan pOut,
Parse pParse,
int  op,
Token pValue 
)
static

Definition at line 114403 of file sqlite3.c.

static void spanSet ( ExprSpan pOut,
Token pStart,
Token pEnd 
)
static

Definition at line 114394 of file sqlite3.c.

static void spanUnaryPostfix ( ExprSpan pOut,
Parse pParse,
int  op,
ExprSpan pOperand,
Token pPostOp 
)
static

Definition at line 114426 of file sqlite3.c.

static void spanUnaryPrefix ( ExprSpan pOut,
Parse pParse,
int  op,
ExprSpan pOperand,
Token pPreOp 
)
static

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

SQLITE_API int sqlite3_aggregate_count ( sqlite3_context p)

Definition at line 65082 of file sqlite3.c.

SQLITE_API int sqlite3_auto_extension ( void(*)(void)  xEntryPoint)

Definition at line 96153 of file sqlite3.c.

SQLITE_API int sqlite3_backup_finish ( sqlite3_backup p)

Definition at line 59458 of file sqlite3.c.

SQLITE_API sqlite3_backup * sqlite3_backup_init ( sqlite3 pDest,
const char *  zDestName,
sqlite3 pSource,
const char *  zSourceName 
)

Definition at line 59018 of file sqlite3.c.

SQLITE_API int sqlite3_backup_pagecount ( sqlite3_backup p)

Definition at line 59518 of file sqlite3.c.

SQLITE_API int sqlite3_backup_remaining ( sqlite3_backup p)

Definition at line 59510 of file sqlite3.c.

SQLITE_API int sqlite3_backup_step ( sqlite3_backup p,
int  nPage 
)

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

SQLITE_API int sqlite3_bind_double ( sqlite3_stmt pStmt,
int  i,
double  rValue 
)

Definition at line 65490 of file sqlite3.c.

SQLITE_API int sqlite3_bind_int ( sqlite3_stmt p,
int  i,
int  iValue 
)

Definition at line 65500 of file sqlite3.c.

SQLITE_API int sqlite3_bind_int64 ( sqlite3_stmt pStmt,
int  i,
sqlite3_int64  iValue 
)

Definition at line 65503 of file sqlite3.c.

SQLITE_API int sqlite3_bind_null ( sqlite3_stmt pStmt,
int  i 
)

Definition at line 65513 of file sqlite3.c.

SQLITE_API int sqlite3_bind_parameter_count ( sqlite3_stmt pStmt)

Definition at line 65588 of file sqlite3.c.

SQLITE_API int sqlite3_bind_parameter_index ( sqlite3_stmt pStmt,
const char *  zName 
)

Definition at line 65627 of file sqlite3.c.

SQLITE_API const char * sqlite3_bind_parameter_name ( sqlite3_stmt pStmt,
int  i 
)

Definition at line 65599 of file sqlite3.c.

SQLITE_API int sqlite3_bind_text ( sqlite3_stmt pStmt,
int  i,
const char *  zData,
int  n,
void(*)(void *)  xDel 
)

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

SQLITE_API int sqlite3_bind_value ( sqlite3_stmt pStmt,
int  i,
const sqlite3_value pValue 
)

Definition at line 65542 of file sqlite3.c.

SQLITE_API int sqlite3_bind_zeroblob ( sqlite3_stmt pStmt,
int  i,
int  n 
)

Definition at line 65573 of file sqlite3.c.

SQLITE_API int sqlite3_blob_bytes ( sqlite3_blob pBlob)

Definition at line 73404 of file sqlite3.c.

SQLITE_API int sqlite3_blob_close ( sqlite3_blob pBlob)

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

SQLITE_API int sqlite3_blob_read ( sqlite3_blob pBlob,
void *  Z,
int  N,
int  iOffset 
)

Definition at line 73387 of file sqlite3.c.

SQLITE_API int sqlite3_blob_reopen ( sqlite3_blob pBlob,
sqlite3_int64  iRow 
)

Definition at line 73419 of file sqlite3.c.

SQLITE_API int sqlite3_blob_write ( sqlite3_blob pBlob,
const void *  z,
int  n,
int  iOffset 
)

Definition at line 73394 of file sqlite3.c.

SQLITE_API int sqlite3_busy_handler ( sqlite3 db,
int(*)(void *, int)  xBusy,
void *  pArg 
)

Definition at line 120291 of file sqlite3.c.

SQLITE_API int sqlite3_busy_timeout ( sqlite3 db,
int  ms 
)

Definition at line 120336 of file sqlite3.c.

SQLITE_API int sqlite3_cancel_auto_extension ( void(*)(void)  xEntryPoint)

Definition at line 96198 of file sqlite3.c.

SQLITE_API int sqlite3_changes ( sqlite3 db)

Definition at line 119747 of file sqlite3.c.

SQLITE_API int sqlite3_clear_bindings ( sqlite3_stmt pStmt)

Definition at line 64521 of file sqlite3.c.

SQLITE_API int sqlite3_close ( sqlite3 db)

Definition at line 119887 of file sqlite3.c.

SQLITE_API int sqlite3_close_v2 ( sqlite3 db)

Definition at line 119888 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 121797 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 121815 of file sqlite3.c.

SQLITE_API const void * sqlite3_column_blob ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 65188 of file sqlite3.c.

SQLITE_API int sqlite3_column_bytes ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 65198 of file sqlite3.c.

SQLITE_API int sqlite3_column_bytes16 ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 65203 of file sqlite3.c.

SQLITE_API int sqlite3_column_count ( sqlite3_stmt pStmt)

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

SQLITE_API const void * sqlite3_column_decltype16 ( sqlite3_stmt pStmt,
int  N 
)

Definition at line 65330 of file sqlite3.c.

SQLITE_API double sqlite3_column_double ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 65208 of file sqlite3.c.

SQLITE_API int sqlite3_column_int ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 65213 of file sqlite3.c.

SQLITE_API sqlite_int64 sqlite3_column_int64 ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 65218 of file sqlite3.c.

SQLITE_API const char * sqlite3_column_name ( sqlite3_stmt pStmt,
int  N 
)

Definition at line 65300 of file sqlite3.c.

SQLITE_API const void * sqlite3_column_name16 ( sqlite3_stmt pStmt,
int  N 
)

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

SQLITE_API const void * sqlite3_column_text16 ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 65238 of file sqlite3.c.

SQLITE_API int sqlite3_column_type ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 65244 of file sqlite3.c.

SQLITE_API sqlite3_value * sqlite3_column_value ( sqlite3_stmt pStmt,
int  iCol 
)

Definition at line 65228 of file sqlite3.c.

SQLITE_API void * sqlite3_commit_hook ( sqlite3 db,
int(*)(void *)  xCallback,
void *  pArg 
)

Definition at line 120604 of file sqlite3.c.

SQLITE_API const char * sqlite3_compileoption_get ( int  N)

Definition at line 13381 of file sqlite3.c.

SQLITE_API int sqlite3_compileoption_used ( const char *  zOptName)

Definition at line 13360 of file sqlite3.c.

SQLITE_API int sqlite3_complete ( const char *  sql)

Definition at line 118731 of file sqlite3.c.

SQLITE_API int sqlite3_complete16 ( const void *  sql)

Definition at line 118889 of file sqlite3.c.

SQLITE_API int sqlite3_config ( int  op,
  ... 
)

Definition at line 119327 of file sqlite3.c.

SQLITE_API sqlite3 * sqlite3_context_db_handle ( sqlite3_context p)

Definition at line 64944 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 121731 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 121771 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 121750 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 120454 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 120505 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 120468 of file sqlite3.c.

SQLITE_API int sqlite3_create_module ( sqlite3 db,
const char *  zName,
const sqlite3_module p,
void *  pClientData 
)

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

SQLITE_API int sqlite3_data_count ( sqlite3_stmt pStmt)

Definition at line 65100 of file sqlite3.c.

SQLITE_API int sqlite3_db_config ( sqlite3 db,
int  op,
  ... 
)

Definition at line 119628 of file sqlite3.c.

SQLITE_API const char * sqlite3_db_filename ( sqlite3 db,
const char *  zDbName 
)

Definition at line 122385 of file sqlite3.c.

SQLITE_API sqlite3 * sqlite3_db_handle ( sqlite3_stmt pStmt)

Definition at line 65683 of file sqlite3.c.

SQLITE_API sqlite3_mutex * sqlite3_db_mutex ( sqlite3 db)

Definition at line 119601 of file sqlite3.c.

SQLITE_API int sqlite3_db_readonly ( sqlite3 db,
const char *  zDbName 
)

Definition at line 122394 of file sqlite3.c.

SQLITE_API int sqlite3_db_release_memory ( sqlite3 db)

Definition at line 119609 of file sqlite3.c.

SQLITE_API int sqlite3_db_status ( sqlite3 db,
int  op,
int *  pCur,
int *  pHiwtr,
int  resetFlg 
)

Definition at line 13977 of file sqlite3.c.

SQLITE_API int sqlite3_declare_vtab ( sqlite3 db,
const char *  zSQL 
)

Definition at line 107548 of file sqlite3.c.

SQLITE_API int sqlite3_enable_load_extension ( sqlite3 db,
int  onoff 
)

Definition at line 96096 of file sqlite3.c.

SQLITE_API int sqlite3_enable_shared_cache ( int  enable)

Definition at line 50438 of file sqlite3.c.

SQLITE_API int sqlite3_errcode ( sqlite3 db)

Definition at line 120933 of file sqlite3.c.

SQLITE_API const char * sqlite3_errmsg ( sqlite3 db)

Definition at line 120860 of file sqlite3.c.

SQLITE_API const void * sqlite3_errmsg16 ( sqlite3 db)

Definition at line 120887 of file sqlite3.c.

SQLITE_API const char * sqlite3_errstr ( int  rc)

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

SQLITE_API int sqlite3_expired ( sqlite3_stmt pStmt)

Definition at line 64439 of file sqlite3.c.

SQLITE_API int sqlite3_extended_errcode ( sqlite3 db)

Definition at line 120942 of file sqlite3.c.

SQLITE_API int sqlite3_extended_result_codes ( sqlite3 db,
int  onoff 
)

Definition at line 122027 of file sqlite3.c.

SQLITE_API int sqlite3_file_control ( sqlite3 db,
const char *  zDbName,
int  op,
void *  pArg 
)

Definition at line 122037 of file sqlite3.c.

SQLITE_API int sqlite3_finalize ( sqlite3_stmt pStmt)

Definition at line 64476 of file sqlite3.c.

SQLITE_API void sqlite3_free ( void *  p)

Definition at line 19415 of file sqlite3.c.

SQLITE_API void sqlite3_free_table ( char **  result)

Definition at line 104566 of file sqlite3.c.

SQLITE_API int sqlite3_get_autocommit ( sqlite3 db)

Definition at line 121845 of file sqlite3.c.

SQLITE_API void * sqlite3_get_auxdata ( sqlite3_context pCtx,
int  N 
)

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

static int sqlite3_get_table_cb ( void *  pArg,
int  nCol,
char **  argv,
char **  colv 
)
static

Definition at line 104426 of file sqlite3.c.

SQLITE_API int sqlite3_global_recover ( void  )

Definition at line 121834 of file sqlite3.c.

SQLITE_API int sqlite3_initialize ( void  )

Definition at line 119117 of file sqlite3.c.

SQLITE_API void sqlite3_interrupt ( sqlite3 db)

Definition at line 120349 of file sqlite3.c.

SQLITE_API sqlite_int64 sqlite3_last_insert_rowid ( sqlite3 db)

Definition at line 119740 of file sqlite3.c.

SQLITE_API const char * sqlite3_libversion ( void  )

Definition at line 119039 of file sqlite3.c.

SQLITE_API int sqlite3_libversion_number ( void  )

Definition at line 119050 of file sqlite3.c.

SQLITE_API int sqlite3_limit ( sqlite3 db,
int  id,
int  newVal 
)

Definition at line 121129 of file sqlite3.c.

SQLITE_API int sqlite3_load_extension ( sqlite3 db,
const char *  zFile,
const char *  zProc,
char **  pzErrMsg 
)

Definition at line 96065 of file sqlite3.c.

SQLITE_API void sqlite3_log ( int  iErrCode,
const char *  zFormat,
  ... 
)

Definition at line 20659 of file sqlite3.c.

SQLITE_API void * sqlite3_malloc ( int  n)

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

SQLITE_API sqlite3_int64 sqlite3_memory_highwater ( int  resetFlag)

Definition at line 19180 of file sqlite3.c.

SQLITE_API sqlite3_int64 sqlite3_memory_used ( void  )

Definition at line 19167 of file sqlite3.c.

SQLITE_API char * sqlite3_mprintf ( const char *  zFormat,
  ... 
)

Definition at line 20594 of file sqlite3.c.

SQLITE_API sqlite3_mutex * sqlite3_mutex_alloc ( int  id)

Definition at line 17971 of file sqlite3.c.

SQLITE_API void sqlite3_mutex_enter ( sqlite3_mutex p)

Definition at line 17999 of file sqlite3.c.

SQLITE_API void sqlite3_mutex_free ( sqlite3_mutex p)

Definition at line 17989 of file sqlite3.c.

SQLITE_API int sqlite3_mutex_held ( sqlite3_mutex )
SQLITE_API void sqlite3_mutex_leave ( sqlite3_mutex p)

Definition at line 18023 of file sqlite3.c.

SQLITE_API int sqlite3_mutex_notheld ( sqlite3_mutex )
SQLITE_API int sqlite3_mutex_try ( sqlite3_mutex p)

Definition at line 18009 of file sqlite3.c.

SQLITE_API sqlite3_stmt * sqlite3_next_stmt ( sqlite3 pDb,
sqlite3_stmt pStmt 
)

Definition at line 65709 of file sqlite3.c.

SQLITE_API int sqlite3_open ( const char *  filename,
sqlite3 **  ppDb 
)

Definition at line 121674 of file sqlite3.c.

SQLITE_API int sqlite3_open16 ( const void *  filename,
sqlite3 **  ppDb 
)

Definition at line 121694 of file sqlite3.c.

SQLITE_API int sqlite3_open_v2 ( const char *  filename,
sqlite3 **  ppDb,
int  flags,
const char *  zVfs 
)

Definition at line 121681 of file sqlite3.c.

SQLITE_API int sqlite3_os_end ( void  )

Definition at line 30750 of file sqlite3.c.

SQLITE_API int sqlite3_os_init ( void  )

Definition at line 30653 of file sqlite3.c.

SQLITE_API int sqlite3_overload_function ( sqlite3 db,
const char *  zFuncName,
int  nArg 
)

Definition at line 120541 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 99351 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 99437 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 99449 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 99363 of file sqlite3.c.

SQLITE_API void * sqlite3_profile ( sqlite3 db,
void(*)(void *, const char *, sqlite3_uint64 xProfile,
void *  pArg 
)

Definition at line 120584 of file sqlite3.c.

SQLITE_API void sqlite3_progress_handler ( sqlite3 db,
int  nOps,
int(*)(void *)  xProgress,
void *  pArg 
)

Definition at line 120311 of file sqlite3.c.

SQLITE_API void sqlite3_randomness ( int  N,
void *  P 
)

Definition at line 20734 of file sqlite3.c.

SQLITE_API void * sqlite3_realloc ( void *  pOld,
int  n 
)

Definition at line 19516 of file sqlite3.c.

SQLITE_API int sqlite3_release_memory ( int  n)

Definition at line 18972 of file sqlite3.c.

SQLITE_API int sqlite3_reset ( sqlite3_stmt pStmt)

Definition at line 64502 of file sqlite3.c.

SQLITE_API void sqlite3_reset_auto_extension ( void  )

Definition at line 96221 of file sqlite3.c.

SQLITE_API void sqlite3_result_blob ( sqlite3_context pCtx,
const void *  z,
int  n,
void(*)(void *)  xDel 
)

Definition at line 64608 of file sqlite3.c.

SQLITE_API void sqlite3_result_double ( sqlite3_context pCtx,
double  rVal 
)

Definition at line 64618 of file sqlite3.c.

SQLITE_API void sqlite3_result_error ( sqlite3_context pCtx,
const char *  z,
int  n 
)

Definition at line 64622 of file sqlite3.c.

SQLITE_API void sqlite3_result_error16 ( sqlite3_context pCtx,
const void *  z,
int  n 
)

Definition at line 64629 of file sqlite3.c.

SQLITE_API void sqlite3_result_error_code ( sqlite3_context pCtx,
int  errCode 
)

Definition at line 64694 of file sqlite3.c.

SQLITE_API void sqlite3_result_error_nomem ( sqlite3_context pCtx)

Definition at line 64713 of file sqlite3.c.

SQLITE_API void sqlite3_result_error_toobig ( sqlite3_context pCtx)

Definition at line 64704 of file sqlite3.c.

SQLITE_API void sqlite3_result_int ( sqlite3_context pCtx,
int  iVal 
)

Definition at line 64636 of file sqlite3.c.

SQLITE_API void sqlite3_result_int64 ( sqlite3_context pCtx,
sqlite3_int64  iVal 
)

Definition at line 64640 of file sqlite3.c.

SQLITE_API void sqlite3_result_null ( sqlite3_context pCtx)

Definition at line 64644 of file sqlite3.c.

SQLITE_API void sqlite3_result_text ( sqlite3_context pCtx,
const char *  z,
int  n,
void(*)(void *)  xDel 
)

Definition at line 64648 of file sqlite3.c.

SQLITE_API void sqlite3_result_text16 ( sqlite3_context pCtx,
const void *  z,
int  n,
void(*)(void *)  xDel 
)

Definition at line 64658 of file sqlite3.c.

SQLITE_API void sqlite3_result_text16be ( sqlite3_context pCtx,
const void *  z,
int  n,
void(*)(void *)  xDel 
)

Definition at line 64667 of file sqlite3.c.

SQLITE_API void sqlite3_result_text16le ( sqlite3_context pCtx,
const void *  z,
int  n,
void(*)(void *)  xDel 
)

Definition at line 64676 of file sqlite3.c.

SQLITE_API void sqlite3_result_value ( sqlite3_context pCtx,
sqlite3_value pValue 
)

Definition at line 64686 of file sqlite3.c.

SQLITE_API void sqlite3_result_zeroblob ( sqlite3_context pCtx,
int  n 
)

Definition at line 64690 of file sqlite3.c.

SQLITE_API void * sqlite3_rollback_hook ( sqlite3 db,
void(*)(void *)  xCallback,
void *  pArg 
)

Definition at line 120640 of file sqlite3.c.

SQLITE_API int sqlite3_rtree_geometry_callback ( sqlite3 db,
const char *  zGeom,
int(*)(sqlite3_rtree_geometry *, int n, double *a, int *pRes)  xGeom,
void *  pContext 
)
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 84062 of file sqlite3.c.

SQLITE_API void sqlite3_set_auxdata ( sqlite3_context pCtx,
int  N,
void *  pAux,
void(*)(void *)  xDelete 
)

Definition at line 65032 of file sqlite3.c.

SQLITE_API int sqlite3_shutdown ( void  )

Definition at line 119280 of file sqlite3.c.

SQLITE_API int sqlite3_sleep ( int  ms)

Definition at line 122011 of file sqlite3.c.

SQLITE_API char * sqlite3_snprintf ( int  n,
char *  zBuf,
const char *  zFormat,
  ... 
)

Definition at line 20627 of file sqlite3.c.

SQLITE_API void sqlite3_soft_heap_limit ( int  N)

Definition at line 19098 of file sqlite3.c.

SQLITE_API sqlite3_int64 sqlite3_soft_heap_limit64 ( sqlite3_int64  N)

Definition at line 19078 of file sqlite3.c.

SQLITE_API const char * sqlite3_sourceid ( void  )

Definition at line 119045 of file sqlite3.c.

SQLITE_API const char * sqlite3_sql ( sqlite3_stmt pStmt)

Definition at line 61073 of file sqlite3.c.

SQLITE_API int sqlite3_status ( int  op,
int *  pCurrent,
int *  pHighwater,
int  resetFlag 
)

Definition at line 13961 of file sqlite3.c.

SQLITE_API int sqlite3_step ( sqlite3_stmt pStmt)

Definition at line 64880 of file sqlite3.c.

SQLITE_API int sqlite3_stmt_busy ( sqlite3_stmt pStmt)

Definition at line 65698 of file sqlite3.c.

SQLITE_API int sqlite3_stmt_readonly ( sqlite3_stmt pStmt)

Definition at line 65691 of file sqlite3.c.

SQLITE_API int sqlite3_stmt_status ( sqlite3_stmt pStmt,
int  op,
int  resetFlg 
)

Definition at line 65724 of file sqlite3.c.

SQLITE_API int sqlite3_strglob ( const char *  zGlob,
const char *  zStr 
)

Definition at line 90433 of file sqlite3.c.

SQLITE_API int sqlite3_stricmp ( const char *  zLeft,
const char *  zRight 
)

Definition at line 21582 of file sqlite3.c.

SQLITE_API int sqlite3_strnicmp ( const char *  zLeft,
const char *  zRight,
int  N 
)

Definition at line 21589 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 
)
SQLITE_API int sqlite3_test_control ( int  op,
  ... 
)

Definition at line 122068 of file sqlite3.c.

SQLITE_API void sqlite3_thread_cleanup ( void  )

Definition at line 121891 of file sqlite3.c.

SQLITE_API int sqlite3_threadsafe ( void  )

Definition at line 119056 of file sqlite3.c.

SQLITE_API int sqlite3_total_changes ( sqlite3 db)

Definition at line 119754 of file sqlite3.c.

SQLITE_API void * sqlite3_trace ( sqlite3 db,
void(*)(void *, const char *)  xTrace,
void *  pArg 
)

Definition at line 120567 of file sqlite3.c.

SQLITE_API int sqlite3_transfer_bindings ( sqlite3_stmt pFromStmt,
sqlite3_stmt pToStmt 
)

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

SQLITE_API int sqlite3_uri_boolean ( const char *  zFile,
const char *  zParam,
int  bDefault 
)

Definition at line 122344 of file sqlite3.c.

SQLITE_API sqlite3_int64 sqlite3_uri_int64 ( const char *  zFilename,
const char *  zParam,
sqlite3_int64  bDflt 
)

Definition at line 122353 of file sqlite3.c.

SQLITE_API const char * sqlite3_uri_parameter ( const char *  zFilename,
const char *  zParam 
)

Definition at line 122329 of file sqlite3.c.

SQLITE_API void * sqlite3_user_data ( sqlite3_context p)

Definition at line 64929 of file sqlite3.c.

SQLITE_API const void * sqlite3_value_blob ( sqlite3_value pVal)

Definition at line 64545 of file sqlite3.c.

SQLITE_API int sqlite3_value_bytes ( sqlite3_value pVal)

Definition at line 64556 of file sqlite3.c.

SQLITE_API int sqlite3_value_bytes16 ( sqlite3_value pVal)

Definition at line 64559 of file sqlite3.c.

SQLITE_API double sqlite3_value_double ( sqlite3_value pVal)

Definition at line 64562 of file sqlite3.c.

SQLITE_API int sqlite3_value_int ( sqlite3_value pVal)

Definition at line 64565 of file sqlite3.c.

SQLITE_API sqlite_int64 sqlite3_value_int64 ( sqlite3_value pVal)

Definition at line 64568 of file sqlite3.c.

SQLITE_API int sqlite3_value_numeric_type ( sqlite3_value pVal)

Definition at line 66334 of file sqlite3.c.

SQLITE_API const unsigned char * sqlite3_value_text ( sqlite3_value pVal)

Definition at line 64571 of file sqlite3.c.

SQLITE_API const void * sqlite3_value_text16 ( sqlite3_value pVal)

Definition at line 64575 of file sqlite3.c.

SQLITE_API const void * sqlite3_value_text16be ( sqlite3_value pVal)

Definition at line 64578 of file sqlite3.c.

SQLITE_API const void * sqlite3_value_text16le ( sqlite3_value pVal)

Definition at line 64581 of file sqlite3.c.

SQLITE_API int sqlite3_value_type ( sqlite3_value pVal)

Definition at line 64585 of file sqlite3.c.

SQLITE_API sqlite3_vfs * sqlite3_vfs_find ( const char *  zVfsName)

Definition at line 15578 of file sqlite3.c.

SQLITE_API int sqlite3_vfs_register ( sqlite3_vfs pVfs,
int  makeDflt 
)

Definition at line 15624 of file sqlite3.c.

SQLITE_API int sqlite3_vfs_unregister ( sqlite3_vfs pVfs)

Definition at line 15648 of file sqlite3.c.

SQLITE_API char * sqlite3_vmprintf ( const char *  zFormat,
va_list  ap 
)

Definition at line 20576 of file sqlite3.c.

SQLITE_API char * sqlite3_vsnprintf ( int  n,
char *  zBuf,
const char *  zFormat,
va_list  ap 
)

Definition at line 20619 of file sqlite3.c.

SQLITE_API int sqlite3_vtab_config ( sqlite3 db,
int  op,
  ... 
)

Definition at line 107922 of file sqlite3.c.

SQLITE_API int sqlite3_vtab_on_conflict ( sqlite3 db)

Definition at line 107907 of file sqlite3.c.

SQLITE_API int sqlite3_wal_autocheckpoint ( sqlite3 db,
int  N 
)

Definition at line 120687 of file sqlite3.c.

SQLITE_API int sqlite3_wal_checkpoint ( sqlite3 db,
const char *  zDb 
)

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

SQLITE_API void * sqlite3_wal_hook ( sqlite3 db,
int(*)(void *, sqlite3 *, const char *, int)  xCallback,
void *  pArg 
)

Definition at line 120705 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3AbsInt32 ( int  x)

Definition at line 22530 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AddCheckConstraint ( Parse pParse,
Expr pCheckExpr 
)

Definition at line 85545 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AddCollateType ( Parse pParse,
Token pToken 
)

Definition at line 85567 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AddColumn ( Parse pParse,
Token pName 
)

Definition at line 85257 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AddColumnType ( Parse pParse,
Token pType 
)

Definition at line 85410 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AddDefaultValue ( Parse pParse,
ExprSpan pSpan 
)

Definition at line 85432 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3AddInt64 ( i64 pA,
i64  iB 
)

Definition at line 22474 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AddNotNull ( Parse pParse,
int  onError 
)

Definition at line 85307 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AddPrimaryKey ( Parse pParse,
ExprList pList,
int  onError,
int  autoInc,
int  sortOrder 
)

Definition at line 85475 of file sqlite3.c.

SQLITE_PRIVATE char sqlite3AffinityType ( const char *  zIn,
u8 pszEst 
)

Definition at line 85339 of file sqlite3.c.

SQLITE_PRIVATE Index * sqlite3AllocateIndexObject ( sqlite3 db,
i16  nCol,
int  nExtra,
char **  ppExtra 
)

Definition at line 86964 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AlterBeginAddColumn ( Parse pParse,
SrcList pSrc 
)

Definition at line 81564 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AlterFinishAddColumn ( Parse pParse,
Token pColDef 
)

Definition at line 81440 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AlterFunctions ( void  )

Definition at line 81046 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AlterRenameTable ( Parse pParse,
SrcList pSrc,
Token pName 
)

Definition at line 81210 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3AnalysisLoad ( sqlite3 db,
int  iDB 
)

Definition at line 83355 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Analyze ( Parse pParse,
Token pName1,
Token pName2 
)

Definition at line 82936 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ApiExit ( sqlite3 db,
int  rc 
)

Definition at line 19720 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AppendSpace ( StrAccum pAccum,
int  N 
)

Definition at line 19874 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3ArrayAllocate ( sqlite3 db,
void *  pArray,
int  szEntry,
int *  pnEntry,
int *  pIdx 
)

Definition at line 87606 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3AtoF ( const char *  z,
double *  pResult,
int  length,
u8  enc 
)

Definition at line 21619 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Atoi ( const char *  z)

Definition at line 21954 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Atoi64 ( const char *  zNum,
i64 pNum,
int  length,
u8  enc 
)

Definition at line 21836 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Attach ( Parse pParse,
Expr p,
Expr pDbname,
Expr pKey 
)

Definition at line 83812 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3AuthCheck ( Parse pParse,
int  code,
const char *  zArg1,
const char *  zArg2,
const char *  zArg3 
)

Definition at line 84183 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AuthContextPop ( AuthContext pContext)

Definition at line 84234 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AuthContextPush ( Parse pParse,
AuthContext pContext,
const char *  zContext 
)

Definition at line 84219 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AuthRead ( Parse pParse,
Expr pExpr,
Schema pSchema,
SrcList pTabList 
)

Definition at line 84126 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3AuthReadCol ( Parse pParse,
const char *  zTab,
const char *  zCol,
int  iDb 
)

Definition at line 84093 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AutoincrementBegin ( Parse pParse)

Definition at line 93057 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AutoincrementEnd ( Parse pParse)

Definition at line 93113 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3AutoLoadExtensions ( sqlite3 db)

Definition at line 96243 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BackupRestart ( sqlite3_backup pBackup)

Definition at line 59567 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BackupUpdate ( sqlite3_backup pBackup,
Pgno  iPage,
const u8 aData 
)

Definition at line 59534 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BeginBenignMalloc ( void  )

Definition at line 15732 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BeginParse ( Parse pParse,
int  explainFlag 
)

Definition at line 84274 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BeginTransaction ( Parse pParse,
int  type 
)

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

SQLITE_PRIVATE void sqlite3BeginWriteOperation ( Parse pParse,
int  setStatement,
int  iDb 
)

Definition at line 88155 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BenignMallocHooks ( void(*)(void)  xBenignBegin,
void(*)(void)  xBenignEnd 
)

Definition at line 15718 of file sqlite3.c.

SQLITE_PRIVATE CollSeq * sqlite3BinaryCompareCollSeq ( Parse pParse,
Expr pLeft,
Expr pRight 
)

Definition at line 76860 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BitvecBuiltinTest ( int  sz,
int *  aOp 
)

Definition at line 36732 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BitvecClear ( Bitvec p,
u32  i,
void *  pBuf 
)

Definition at line 36635 of file sqlite3.c.

SQLITE_PRIVATE Bitvec * sqlite3BitvecCreate ( u32  iSize)

Definition at line 36513 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BitvecDestroy ( Bitvec p)

Definition at line 36672 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BitvecSet ( Bitvec p,
u32  i 
)

Definition at line 36564 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3BitvecSize ( Bitvec p)

Definition at line 36687 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BitvecTest ( Bitvec p,
u32  i 
)

Definition at line 36528 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeBeginStmt ( Btree p,
int  iStatement 
)

Definition at line 53849 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeBeginTrans ( Btree p,
int  wrflag 
)

Definition at line 53020 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeCacheOverflow ( BtCursor pCur)

Definition at line 58833 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCheckpoint ( Btree p,
int  eMode,
int *  pnLog,
int *  pnCkpt 
)

Definition at line 58664 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeClearCursor ( BtCursor pCur)

Definition at line 51015 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeClearTable ( Btree p,
int  iTable,
int *  pnChange 
)

Definition at line 57804 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeClose ( Btree p)

Definition at line 52434 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCloseCursor ( BtCursor pCur)

Definition at line 54058 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCommit ( Btree p)

Definition at line 53731 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCommitPhaseOne ( Btree p,
const char *  zMaster 
)

Definition at line 53611 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCommitPhaseTwo ( Btree p,
int  bCleanup 
)

Definition at line 53700 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCopyFile ( Btree pTo,
Btree pFrom 
)

Definition at line 59584 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCount ( BtCursor pCur,
i64 pnEntry 
)

Definition at line 58027 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCreateTable ( Btree p,
int *  piTable,
int  flags 
)

Definition at line 57734 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCursor ( Btree p,
int  iTable,
int  wrFlag,
struct KeyInfo pKeyInfo,
BtCursor pCursor 
)

Definition at line 53986 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCursorHasMoved ( BtCursor pCur,
int *  pHasMoved 
)

Definition at line 51100 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeCursorHints ( BtCursor pCsr,
unsigned int  mask 
)

Definition at line 58881 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeCursorSize ( void  )

Definition at line 54008 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeCursorZero ( BtCursor p)

Definition at line 54020 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeData ( BtCursor pCur,
u32  offset,
u32  amt,
void *  pBuf 
)

Definition at line 54521 of file sqlite3.c.

SQLITE_PRIVATE const void * sqlite3BtreeDataFetch ( BtCursor pCur,
u32 pAmt 
)

Definition at line 54621 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeDataSize ( BtCursor pCur,
u32 pSize 
)

Definition at line 54180 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeDelete ( BtCursor pCur)

Definition at line 57468 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeDropTable ( Btree p,
int  iTable,
int *  piMoved 
)

Definition at line 57946 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeEnter ( Btree p)

Definition at line 50128 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeEnterAll ( sqlite3 db)

Definition at line 50247 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeEnterCursor ( BtCursor pCur)

Definition at line 50224 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeEof ( BtCursor pCur)

Definition at line 55156 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeFirst ( BtCursor pCur,
int *  pRes 
)

Definition at line 54873 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeGetAutoVacuum ( Btree p)

Definition at line 52711 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_int64 sqlite3BtreeGetCachedRowid ( BtCursor pCur)

Definition at line 54050 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3BtreeGetFilename ( Btree p)

Definition at line 58629 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3BtreeGetJournalname ( Btree p)

Definition at line 58642 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeGetMeta ( Btree pBtree,
int  idx,
u32 pValue 
)

Definition at line 57968 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeGetPageSize ( Btree p)

Definition at line 52613 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeGetReserve ( Btree p)

Definition at line 52641 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeIncrVacuum ( Btree p)

Definition at line 53490 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeInsert ( BtCursor pCur,
const void *  pKey,
i64  nKey,
const void *  pData,
int  nData,
int  nZero,
int  bias,
int  seekResult 
)

Definition at line 57324 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3BtreeIntegrityCheck ( Btree p,
int *  aRoot,
int  nRoot,
int  mxErr,
int *  pnErr 
)

Definition at line 58518 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeIsInBackup ( Btree p)

Definition at line 58689 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeIsInReadTrans ( Btree p)

Definition at line 58683 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeIsInTrans ( Btree p)

Definition at line 58650 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeKey ( BtCursor pCur,
u32  offset,
u32  amt,
void *  pBuf 
)

Definition at line 54504 of file sqlite3.c.

SQLITE_PRIVATE const void * sqlite3BtreeKeyFetch ( BtCursor pCur,
u32 pAmt 
)

Definition at line 54612 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeKeySize ( BtCursor pCur,
i64 pSize 
)

Definition at line 54156 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeLast ( BtCursor pCur,
int *  pRes 
)

Definition at line 54896 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3BtreeLastPage ( Btree p)

Definition at line 51976 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeLeave ( Btree p)

Definition at line 50190 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeLeaveAll ( sqlite3 db)

Definition at line 50256 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeLeaveCursor ( BtCursor pCur)

Definition at line 50227 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeLockTable ( Btree pBtree,
int  iTab,
u8  isWriteLock 
)

Definition at line 58748 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeMaxPageCount ( Btree p,
int  mxPage 
)

Definition at line 52654 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeMovetoUnpacked ( BtCursor pCur,
UnpackedRecord pUnKey,
i64  intKey,
int  bias,
int *  pRes 
)

Definition at line 54960 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeNewDb ( Btree p)

Definition at line 52976 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeNext ( BtCursor pCur,
int *  pRes 
)

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

SQLITE_PRIVATE Pager * sqlite3BtreePager ( Btree p)

Definition at line 58097 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreePrevious ( BtCursor pCur,
int *  pRes 
)

Definition at line 55256 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreePutData ( BtCursor pCsr,
u32  offset,
u32  amt,
void *  z 
)

Definition at line 58778 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeRollback ( Btree p,
int  tripCode 
)

Definition at line 53785 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSavepoint ( Btree p,
int  op,
int  iSavepoint 
)

Definition at line 53880 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3BtreeSchema ( Btree p,
int  nBytes,
void(*)(void *)  xFree 
)

Definition at line 58715 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSchemaLocked ( Btree pBtree)

Definition at line 58731 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSecureDelete ( Btree p,
int  newFlag 
)

Definition at line 52667 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSetAutoVacuum ( Btree p,
int  autoVacuum 
)

Definition at line 52687 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeSetCachedRowid ( BtCursor pCur,
sqlite3_int64  iRowid 
)

Definition at line 54036 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSetCacheSize ( Btree p,
int  mxPage 
)

Definition at line 52504 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSetMmapLimit ( Btree p,
sqlite3_int64  szMmap 
)

Definition at line 52517 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSetPagerFlags ( Btree p,
unsigned  pgFlags 
)

Definition at line 52535 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSetPageSize ( Btree p,
int  nPagesize,
int  nReserve,
int  eFix 
)

Definition at line 52583 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSetVersion ( Btree pBt,
int  iVersion 
)

Definition at line 58846 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSharable ( Btree p)

Definition at line 50270 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeSyncDisabled ( Btree p)

Definition at line 52552 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3BtreeTripAllCursors ( Btree pBtree,
int  errCode 
)

Definition at line 53759 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3BtreeUpdateMeta ( Btree p,
int  idx,
u32  value 
)

Definition at line 57994 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3CantopenError ( int  lineno)

Definition at line 121874 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ChangeCookie ( Parse pParse,
int  iDb 
)

Definition at line 85650 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3CheckCollSeq ( Parse pParse,
CollSeq pColl 
)

Definition at line 88566 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3CheckObjectName ( Parse pParse,
const char *  zName 
)

Definition at line 84987 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Checkpoint ( sqlite3 db,
int  iDb,
int  eMode,
int *  pnLog,
int *  pnCkpt 
)

Definition at line 120797 of file sqlite3.c.

static void sqlite3ClearStatTables ( Parse pParse,
int  iDb,
const char *  zType,
const char *  zName 
)
static

Definition at line 86528 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ClearTempRegCache ( Parse pParse)

Definition at line 80812 of file sqlite3.c.

static int sqlite3Close ( sqlite3 db,
int  forceZombie 
)
static

Definition at line 119833 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CloseExtensions ( sqlite3 db)

Definition at line 96083 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CloseSavepoints ( sqlite3 db)

Definition at line 119763 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3CodeCoroutine ( Parse pParse,
Select pSelect,
SelectDest pDest 
)

Definition at line 93216 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CodeDropTable ( Parse pParse,
Table pTab,
int  iDb,
int  isView 
)

Definition at line 86551 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3CodeOnce ( Parse pParse)

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

SQLITE_PRIVATE void sqlite3CodeRowTriggerDirect ( Parse pParse,
Trigger p,
Table pTab,
int  reg,
int  orconf,
int  ignoreJump 
)

Definition at line 105554 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3CodeSubselect ( Parse pParse,
Expr pExpr,
int  rMayHaveNull,
int  isRowid 
)

Definition at line 78276 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CodeVerifyNamedSchema ( Parse pParse,
const char *  zDb 
)

Definition at line 88131 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CodeVerifySchema ( Parse pParse,
int  iDb 
)

Definition at line 88091 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CollapseDatabaseArray ( sqlite3 db)

Definition at line 84679 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ColumnDefault ( Vdbe v,
Table pTab,
int  i,
int  iReg 
)

Definition at line 105780 of file sqlite3.c.

SQLITE_PRIVATE i16 sqlite3ColumnOfIndex ( Index pIdx,
i16  iCol 
)

Definition at line 85010 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CommitInternalChanges ( sqlite3 db)

Definition at line 84750 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CommitTransaction ( Parse pParse)

Definition at line 87985 of file sqlite3.c.

SQLITE_PRIVATE char sqlite3CompareAffinity ( Expr pExpr,
char  aff2 
)

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

SQLITE_PRIVATE int sqlite3CorruptError ( int  lineno)

Definition at line 121860 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3CreateColumnExpr ( sqlite3 db,
SrcList pSrc,
int  iSrc,
int  iCol 
)

Definition at line 75684 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CreateForeignKey ( Parse pParse,
ExprList pFromCol,
Token pTo,
ExprList pToCol,
int  flags 
)

Definition at line 86736 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 **)  xFunc,
void(*)(sqlite3_context *, int, sqlite3_value **)  xStep,
void(*)(sqlite3_context *)  xFinal,
FuncDestructor pDestructor 
)

Definition at line 120360 of file sqlite3.c.

SQLITE_PRIVATE Index * sqlite3CreateIndex ( Parse pParse,
Token pName1,
Token pName2,
SrcList pTblName,
ExprList pList,
int  onError,
Token pStart,
Expr pPIWhere,
int  sortOrder,
int  ifNotExist 
)

Definition at line 87008 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3CreateView ( Parse pParse,
Token pBegin,
Token pName1,
Token pName2,
Select pSelect,
int  isTemp,
int  noErr 
)

Definition at line 86204 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DbFree ( sqlite3 db,
void *  p 
)

Definition at line 19434 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3DbMallocRaw ( sqlite3 db,
int  n 
)

Definition at line 19565 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3DbMallocSize ( sqlite3 db,
void *  p 
)

Definition at line 19400 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3DbMallocZero ( sqlite3 db,
int  n 
)

Definition at line 19539 of file sqlite3.c.

SQLITE_PRIVATE Btree * sqlite3DbNameToBtree ( sqlite3 db,
const char *  zDbName 
)

Definition at line 122369 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3DbRealloc ( sqlite3 db,
void *  p,
int  n 
)

Definition at line 19609 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3DbReallocOrFree ( sqlite3 db,
void *  p,
int  n 
)

Definition at line 19646 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3DbStrDup ( sqlite3 db,
const char *  z 
)

Definition at line 19662 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3DbStrNDup ( sqlite3 db,
const char *  z,
int  n 
)

Definition at line 19676 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_mutex_methods const * sqlite3DefaultMutex ( void  )

Definition at line 18582 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DefaultRowEst ( Index pIdx)

Definition at line 87504 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeferForeignKey ( Parse pParse,
int  isDeferred 
)

Definition at line 86857 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeleteFrom ( Parse pParse,
SrcList pTabList,
Expr pWhere 
)

Definition at line 89145 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeleteIndexSamples ( sqlite3 db,
Index pIdx 
)

Definition at line 83102 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeleteTable ( sqlite3 db,
Table pTable 
)

Definition at line 84789 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeleteTrigger ( sqlite3 db,
Trigger pTrigger 
)

Definition at line 105054 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DeleteTriggerStep ( sqlite3 db,
TriggerStep pTriggerStep 
)

Definition at line 104600 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Dequote ( char *  z)

Definition at line 21540 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Detach ( Parse pParse,
Expr pDbname 
)

Definition at line 83791 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DropIndex ( Parse pParse,
SrcList pName,
int  ifExists 
)

Definition at line 87525 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DropTable ( Parse pParse,
SrcList pName,
int  isView,
int  noErr 
)

Definition at line 86622 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DropTrigger ( Parse pParse,
SrcList pName,
int  noErr 
)

Definition at line 105072 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3DropTriggerPtr ( Parse pParse,
Trigger pTrigger 
)

Definition at line 105125 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3EndBenignMalloc ( void  )

Definition at line 15738 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3EndTable ( Parse pParse,
Token pCons,
Token pEnd,
u8  tabOpts,
Select pSelect 
)

Definition at line 85986 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Error ( sqlite3 db,
int  err_code,
const char *  zFormat,
  ... 
)

Definition at line 21473 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ErrorMsg ( Parse pParse,
const char *  zFormat,
  ... 
)

Definition at line 21506 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3ErrStr ( int  rc)

Definition at line 120176 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExpirePreparedStatements ( sqlite3 db)

Definition at line 64344 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3Expr ( sqlite3 db,
int  op,
const char *  zToken 
)

Definition at line 77070 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprAddCollateString ( Parse pParse,
Expr pExpr,
const char *  zC 
)

Definition at line 76692 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprAddCollateToken ( Parse pParse,
Expr pExpr,
Token pCollName 
)

Definition at line 76681 of file sqlite3.c.

SQLITE_PRIVATE char sqlite3ExprAffinity ( Expr pExpr)

Definition at line 76646 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprAlloc ( sqlite3 db,
int  op,
const Token pToken,
int  dequote 
)

Definition at line 77021 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprAnalyzeAggList ( NameContext pNC,
ExprList pList 
)

Definition at line 80742 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprAnalyzeAggregates ( NameContext pNC,
Expr pExpr 
)

Definition at line 80726 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprAnd ( sqlite3 db,
Expr pLeft,
Expr pRight 
)

Definition at line 77164 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprAssignVarNumber ( Parse pParse,
Expr pExpr 
)

Definition at line 77215 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprAttachSubtrees ( sqlite3 db,
Expr pRoot,
Expr pLeft,
Expr pRight 
)

Definition at line 77087 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCacheAffinityChange ( Parse pParse,
int  iStart,
int  iCount 
)

Definition at line 78905 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCacheClear ( Parse pParse)

Definition at line 78889 of file sqlite3.c.

static void sqlite3ExprCachePinRegister ( Parse pParse,
int  iReg 
)
static

Definition at line 78813 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCachePop ( Parse pParse,
int  N 
)

Definition at line 78793 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCachePush ( Parse pParse)

Definition at line 78784 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCacheRemove ( Parse pParse,
int  iReg,
int  nReg 
)

Definition at line 78766 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCacheStore ( Parse pParse,
int  iTab,
int  iCol,
int  iReg 
)

Definition at line 78702 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCanBeNull ( const Expr p)

Definition at line 77931 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCheckHeight ( Parse pParse,
int  nHeight 
)

Definition at line 76910 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCode ( Parse pParse,
Expr pExpr,
int  target 
)

Definition at line 79675 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCodeAndCache ( Parse pParse,
Expr pExpr,
int  target 
)

Definition at line 79703 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeAtInit ( Parse pParse,
Expr pExpr,
int  regDest,
u8  reusable 
)

Definition at line 79605 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCodeExprList ( Parse pParse,
ExprList pList,
int  target,
u8  flags 
)

Definition at line 80008 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCodeGetColumn ( Parse pParse,
Table pTab,
int  iColumn,
int  iTable,
int  iReg,
u8  p5 
)

Definition at line 78857 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeGetColumnOfTable ( Vdbe v,
Table pTab,
int  iTabCur,
int  iCol,
int  regOut 
)

Definition at line 78826 of file sqlite3.c.

static void sqlite3ExprCodeIN ( Parse pParse,
Expr pExpr,
int  destIfFalse,
int  destIfNull 
)
static

Definition at line 78501 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeIsNullJump ( Vdbe v,
const Expr pExpr,
int  iReg,
int  iDest 
)

Definition at line 77954 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprCodeMove ( Parse pParse,
int  iFrom,
int  iTo,
int  nReg 
)

Definition at line 78913 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCodeTarget ( Parse pParse,
Expr pExpr,
int  target 
)

Definition at line 78966 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCodeTemp ( Parse pParse,
Expr pExpr,
int *  pReg 
)

Definition at line 79637 of file sqlite3.c.

SQLITE_PRIVATE CollSeq * sqlite3ExprCollSeq ( Parse pParse,
Expr pExpr 
)

Definition at line 76728 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprCompare ( Expr pA,
Expr pB,
int  iTab 
)

Definition at line 80383 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprDelete ( sqlite3 db,
Expr p 
)

Definition at line 77286 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprDup ( sqlite3 db,
Expr p,
int  flags 
)

Definition at line 77519 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprFunction ( Parse pParse,
ExprList pList,
Token pToken 
)

Definition at line 77184 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprIfFalse ( Parse pParse,
Expr pExpr,
int  dest,
int  jumpIfNull 
)

Definition at line 80225 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprIfTrue ( Parse pParse,
Expr pExpr,
int  dest,
int  jumpIfNull 
)

Definition at line 80105 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprImpliesExpr ( Expr pE1,
Expr pE2,
int  iTab 
)

Definition at line 80473 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprIsConstant ( Expr p)

Definition at line 77853 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprIsConstantNotJoin ( Expr p)

Definition at line 77863 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprIsConstantOrFunction ( Expr p)

Definition at line 77876 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprIsInteger ( Expr p,
int *  pValue 
)

Definition at line 77886 of file sqlite3.c.

SQLITE_PRIVATE ExprList * sqlite3ExprListAppend ( Parse pParse,
ExprList pList,
Expr pExpr 
)

Definition at line 77661 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprListCheckLength ( Parse pParse,
ExprList pEList,
const char *  zObject 
)

Definition at line 77752 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprListCompare ( ExprList pA,
ExprList pB,
int  iTab 
)

Definition at line 80439 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprListDelete ( sqlite3 db,
ExprList pList 
)

Definition at line 77768 of file sqlite3.c.

SQLITE_PRIVATE ExprList * sqlite3ExprListDup ( sqlite3 db,
ExprList p,
int  flags 
)

Definition at line 77522 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprListSetName ( Parse pParse,
ExprList pList,
Token pName,
int  dequote 
)

Definition at line 77706 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprListSetSpan ( Parse pParse,
ExprList pList,
ExprSpan pSpan 
)

Definition at line 77731 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ExprNeedsNoAffinityChange ( const Expr p,
char  aff 
)

Definition at line 77975 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ExprSetHeight ( Parse pParse,
Expr p 
)

Definition at line 76983 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3ExprSkipCollate ( Expr pExpr)

Definition at line 76704 of file sqlite3.c.

SQLITE_PRIVATE CollSeq * sqlite3FindCollSeq ( sqlite3 db,
u8  enc,
const char *  zName,
int  create 
)

Definition at line 88647 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FindDb ( sqlite3 db,
Token pName 
)

Definition at line 84925 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FindDbName ( sqlite3 db,
const char *  zName 
)

Definition at line 84904 of file sqlite3.c.

SQLITE_PRIVATE FuncDef * sqlite3FindFunction ( sqlite3 db,
const char *  zName,
int  nName,
int  nArg,
u8  enc,
u8  createFlag 
)

Definition at line 88788 of file sqlite3.c.

SQLITE_PRIVATE Index * sqlite3FindIndex ( sqlite3 db,
const char *  zName,
const char *  zDb 
)

Definition at line 84606 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FindInIndex ( Parse pParse,
Expr pX,
int *  prNotFound 
)

Definition at line 78132 of file sqlite3.c.

SQLITE_PRIVATE Table * sqlite3FindTable ( sqlite3 db,
const char *  zName,
const char *  zDatabase 
)

Definition at line 84514 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FinishCoding ( Parse pParse)

Definition at line 84369 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FinishTrigger ( Parse pParse,
TriggerStep pStepList,
Token pAll 
)

Definition at line 104852 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FixExpr ( DbFixer pFix,
Expr pExpr 
)

Definition at line 83929 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FixExprList ( DbFixer pFix,
ExprList pList 
)

Definition at line 83955 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FixInit ( DbFixer pFix,
Parse pParse,
int  iDb,
const char *  zType,
const Token pName 
)

Definition at line 83833 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FixSelect ( DbFixer pFix,
Select pSelect 
)

Definition at line 83896 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FixSrcList ( DbFixer pFix,
SrcList pList 
)

Definition at line 83866 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FixTriggerStep ( DbFixer pFix,
TriggerStep pStep 
)

Definition at line 83972 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FkActions ( Parse pParse,
Table pTab,
ExprList pChanges,
int  regOld,
int *  aChange,
int  bChngRowid 
)

Definition at line 92749 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FkCheck ( Parse pParse,
Table pTab,
int  regOld,
int  regNew,
int *  aChange,
int  bChngRowid 
)

Definition at line 92288 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FkDelete ( sqlite3 db,
Table pTab 
)

Definition at line 92781 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FkDropTable ( Parse pParse,
SrcList pName,
Table pTab 
)

Definition at line 92157 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FkLocateIndex ( Parse pParse,
Table pParent,
FKey pFKey,
Index **  ppIdx,
int **  paiCol 
)

Definition at line 91642 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3FkOldmask ( Parse pParse,
Table pTab 
)

Definition at line 92466 of file sqlite3.c.

SQLITE_PRIVATE FKey * sqlite3FkReferences ( Table pTab)

Definition at line 92116 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FkRequired ( Parse pParse,
Table pTab,
int *  aChange,
int  chngRowid 
)

Definition at line 92503 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3FuncDefInsert ( FuncDefHash pHash,
FuncDef pDef 
)

Definition at line 88747 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3FunctionUsesThisSrc ( Expr pExpr,
SrcList pSrcList 
)

Definition at line 80535 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 
)

Definition at line 94028 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3GenerateIndexKey ( Parse pParse,
Index pIdx,
int  iDataCur,
int  regOut,
int  prefixOnly,
int *  piPartIdxLabel 
)

Definition at line 89681 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  bNoSeek 
)

Definition at line 89513 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3GenerateRowIndexDelete ( Parse pParse,
Table pTab,
int  iDataCur,
int  iIdxCur,
int *  aRegIdx 
)

Definition at line 89634 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3Get4byte ( const u8 p)

Definition at line 22360 of file sqlite3.c.

SQLITE_PRIVATE u8 sqlite3GetBoolean ( const char *  z,
int  dflt 
)

Definition at line 96783 of file sqlite3.c.

SQLITE_PRIVATE CollSeq * sqlite3GetCollSeq ( Parse pParse,
u8  enc,
CollSeq pColl,
const char *  zName 
)

Definition at line 88525 of file sqlite3.c.

static CollSeq* sqlite3GetFuncCollSeq ( sqlite3_context context)
static

Definition at line 89761 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3GetInt32 ( const char *  zNum,
int *  pValue 
)

Definition at line 21915 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3GetTempRange ( Parse pParse,
int  nReg 
)

Definition at line 80787 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3GetTempReg ( Parse pParse)

Definition at line 80755 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3GetToken ( const unsigned char *  z,
int *  tokenType 
)

Definition at line 118213 of file sqlite3.c.

SQLITE_PRIVATE u8 sqlite3GetVarint ( const unsigned char *  p,
u64 v 
)

Definition at line 22054 of file sqlite3.c.

SQLITE_PRIVATE u8 sqlite3GetVarint32 ( const unsigned char *  p,
u32 v 
)

Definition at line 22224 of file sqlite3.c.

SQLITE_PRIVATE Vdbe * sqlite3GetVdbe ( Parse pParse)

Definition at line 101029 of file sqlite3.c.

SQLITE_PRIVATE VTable * sqlite3GetVTable ( sqlite3 db,
Table pTab 
)

Definition at line 106972 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3HaltConstraint ( Parse pParse,
int  errCode,
int  onError,
char *  p4,
i8  p4type,
u8  p5Errmsg 
)

Definition at line 88200 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3HashClear ( Hash pH)

Definition at line 22681 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3HashFind ( const Hash pH,
const char *  pKey,
int  nKey 
)

Definition at line 22853 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3HashInit ( Hash pNew)

Definition at line 22669 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3HashInsert ( Hash pH,
const char *  pKey,
int  nKey,
void *  pData 
)

Definition at line 22883 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3HeapNearlyFull ( void  )

Definition at line 19150 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3HexToBlob ( sqlite3 db,
const char *  z,
int  n 
)

Definition at line 22395 of file sqlite3.c.

SQLITE_PRIVATE u8 sqlite3HexToInt ( int  h)

Definition at line 22377 of file sqlite3.c.

SQLITE_PRIVATE IdList * sqlite3IdListAppend ( sqlite3 db,
IdList pList,
Token pToken 
)

Definition at line 87637 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3IdListDelete ( sqlite3 db,
IdList pList 
)

Definition at line 87661 of file sqlite3.c.

SQLITE_PRIVATE IdList * sqlite3IdListDup ( sqlite3 db,
IdList p 
)

Definition at line 77596 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IdListIndex ( IdList pList,
const char *  zName 
)

Definition at line 87675 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IndexAffinityOk ( Expr pExpr,
char  idx_affinity 
)

Definition at line 76826 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3IndexAffinityStr ( Vdbe v,
Index pIdx 
)

Definition at line 92891 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IndexedByLookup ( Parse pParse,
struct SrcList_item *  pFrom 
)

Definition at line 102779 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Init ( sqlite3 db,
char **  pzErrMsg 
)

Definition at line 98973 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3InitCallback ( void *  pInit,
int  argc,
char **  argv,
char **  NotUsed 
)

Definition at line 98633 of file sqlite3.c.

static int sqlite3InitOne ( sqlite3 db,
int  iDb,
char **  pzErrMsg 
)
static

Definition at line 98715 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Insert ( Parse pParse,
SrcList pTabList,
ExprList pList,
Select pSelect,
IdList pColumn,
int  onError 
)

Definition at line 93359 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3InvalidFunction ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)

Definition at line 64970 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3InvokeBusyHandler ( BusyHandler p)

Definition at line 120275 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IsLikeFunction ( sqlite3 db,
Expr pExpr,
int *  pIsNocase,
char *  aWc 
)

Definition at line 91323 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IsMemJournal ( sqlite3_file pJfd)

Definition at line 74995 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IsNaN ( double  x)

Definition at line 21397 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IsReadOnly ( Parse pParse,
Table pTab,
int  viewOk 
)

Definition at line 88975 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3IsRowid ( const char *  z)

Definition at line 78008 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3JoinType ( Parse pParse,
Token pA,
Token pB,
Token pC 
)

Definition at line 99592 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3JournalModename ( int  eMode)

Definition at line 96949 of file sqlite3.c.

SQLITE_PRIVATE KeyInfo * sqlite3KeyInfoAlloc ( sqlite3 db,
int  N,
int  X 
)

Definition at line 100274 of file sqlite3.c.

SQLITE_PRIVATE KeyInfo * sqlite3KeyInfoOfIndex ( Parse pParse,
Index pIdx 
)

Definition at line 88407 of file sqlite3.c.

SQLITE_PRIVATE KeyInfo * sqlite3KeyInfoRef ( KeyInfo p)

Definition at line 100304 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3KeyInfoUnref ( KeyInfo p)

Definition at line 100293 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3KeywordCode ( const unsigned char *  z,
int  n 
)

Definition at line 118161 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3LeaveMutexAndCloseZombie ( sqlite3 db)

Definition at line 119899 of file sqlite3.c.

static int sqlite3LoadExtension ( sqlite3 db,
const char *  zFile,
const char *  zProc,
char **  pzErrMsg 
)
static

Definition at line 95926 of file sqlite3.c.

SQLITE_PRIVATE CollSeq * sqlite3LocateCollSeq ( Parse pParse,
const char *  zName 
)

Definition at line 85619 of file sqlite3.c.

SQLITE_PRIVATE Table * sqlite3LocateTable ( Parse pParse,
int  isView,
const char *  zName,
const char *  zDbase 
)

Definition at line 84542 of file sqlite3.c.

SQLITE_PRIVATE Table * sqlite3LocateTableItem ( Parse pParse,
int  isView,
struct SrcList_item *  p 
)

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

SQLITE_PRIVATE LogEst sqlite3LogEst ( u64  x)

Definition at line 22600 of file sqlite3.c.

SQLITE_PRIVATE LogEst sqlite3LogEstAdd ( LogEst  a,
LogEst  b 
)

Definition at line 22573 of file sqlite3.c.

SQLITE_PRIVATE LogEst sqlite3LogEstFromDouble ( double  x)

Definition at line 22618 of file sqlite3.c.

SQLITE_PRIVATE u64 sqlite3LogEstToInt ( LogEst  x)

Definition at line 22633 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3Malloc ( int  n)

Definition at line 19246 of file sqlite3.c.

static void sqlite3MallocAlarm ( int  nByte)
static

Definition at line 19191 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MallocEnd ( void  )

Definition at line 19157 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MallocInit ( void  )

Definition at line 19106 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MallocSize ( void *  p)

Definition at line 19395 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3MallocZero ( int  n)

Definition at line 19527 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3MAppendf ( sqlite3 db,
char *  zStr,
const char *  zFormat,
  ... 
)

Definition at line 20562 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MatchSpanName ( const char *  zSpan,
const char *  zCol,
const char *  zTab,
const char *  zDb 
)

Definition at line 75323 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MaterializeView ( Parse pParse,
Table pView,
Expr pWhere,
int  iCur 
)

Definition at line 89012 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MayAbort ( Parse pParse)

Definition at line 88190 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MemCompare ( const Mem pMem1,
const Mem pMem2,
const CollSeq pColl 
)

Definition at line 60397 of file sqlite3.c.

static void sqlite3MemFree ( void *  pPrior)
static

Definition at line 15966 of file sqlite3.c.

static int sqlite3MemInit ( void *  NotUsed)
static

Definition at line 16042 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MemJournalOpen ( sqlite3_file pJfd)

Definition at line 74984 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MemJournalSize ( void  )

Definition at line 75002 of file sqlite3.c.

static void* sqlite3MemMalloc ( int  nByte)
static

Definition at line 15934 of file sqlite3.c.

static int sqlite3MemoryAlarm ( void(*)(void *pArg, sqlite3_int64 used, int N)  xCallback,
void *  pArg,
sqlite3_int64  iThreshold 
)
static

Definition at line 19044 of file sqlite3.c.

static void* sqlite3MemRealloc ( void *  pPrior,
int  nByte 
)
static

Definition at line 16003 of file sqlite3.c.

static int sqlite3MemRoundup ( int  n)
static

Definition at line 16035 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MemSetDefault ( void  )

Definition at line 16089 of file sqlite3.c.

static void sqlite3MemShutdown ( void *  NotUsed)
static

Definition at line 16078 of file sqlite3.c.

static int sqlite3MemSize ( void *  pPrior)
static

Definition at line 15981 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MinimumFileFormat ( Parse pParse,
int  iDb,
int  minFormat 
)

Definition at line 81411 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MisuseError ( int  lineno)

Definition at line 121867 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3MPrintf ( sqlite3 db,
const char *  zFormat,
  ... 
)

Definition at line 20545 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MulInt64 ( i64 pA,
i64  iB 
)

Definition at line 22504 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3MultiWrite ( Parse pParse)

Definition at line 88169 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_mutex * sqlite3MutexAlloc ( int  id)

Definition at line 17978 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MutexEnd ( void  )

Definition at line 17955 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3MutexInit ( void  )

Definition at line 17921 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3NameFromToken ( sqlite3 db,
Token pName 
)

Definition at line 84874 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3NestedParse ( Parse pParse,
const char *  zFormat,
  ... 
)

Definition at line 84476 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_mutex_methods const * sqlite3NoopMutex ( void  )

Definition at line 18096 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3OpcodeName ( int  i)

Definition at line 22939 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OpenMasterTable ( Parse p,
int  iDb 
)

Definition at line 84889 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OpenTable ( Parse pParse,
int  iCur,
int  iDb,
Table pTab,
int  opcode 
)

Definition at line 92845 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OpenTableAndIndices ( Parse pParse,
Table pTab,
int  op,
int  iBase,
u8 aToOpen,
int *  piDataCur,
int *  piIdxCur 
)

Definition at line 94497 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OpenTempDatabase ( Parse pParse)

Definition at line 88040 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsAccess ( sqlite3_vfs pVfs,
const char *  zPath,
int  flags,
int *  pResOut 
)

Definition at line 15470 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsCheckReservedLock ( sqlite3_file id,
int *  pResOut 
)

Definition at line 15376 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsClose ( sqlite3_file pId)

Definition at line 15342 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsCloseFree ( sqlite3_file pFile)

Definition at line 15547 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsCurrentTimeInt64 ( sqlite3_vfs pVfs,
sqlite3_int64 pTimeOut 
)

Definition at line 15509 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsDelete ( sqlite3_vfs pVfs,
const char *  zPath,
int  dirSync 
)

Definition at line 15465 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsDeviceCharacteristics ( sqlite3_file id)

Definition at line 15401 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OsDlClose ( sqlite3_vfs pVfs,
void *  pHandle 
)

Definition at line 15499 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OsDlError ( sqlite3_vfs pVfs,
int  nByte,
char *  zBufOut 
)

Definition at line 15493 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3OsDlOpen ( sqlite3_vfs pVfs,
const char *  zPath 
)

Definition at line 15490 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsFetch ( sqlite3_file id,
i64  iOff,
int  iAmt,
void **  pp 
)

Definition at line 15435 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsFileControl ( sqlite3_file id,
int  op,
void *  pArg 
)

Definition at line 15389 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OsFileControlHint ( sqlite3_file id,
int  op,
void *  pArg 
)

Definition at line 15393 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsFileSize ( sqlite3_file id,
i64 pSize 
)

Definition at line 15365 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsFullPathname ( sqlite3_vfs pVfs,
const char *  zPath,
int  nPathOut,
char *  zPathOut 
)

Definition at line 15479 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsInit ( void  )

Definition at line 15561 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsLock ( sqlite3_file id,
int  lockType 
)

Definition at line 15369 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsOpen ( sqlite3_vfs pVfs,
const char *  zPath,
sqlite3_file pFile,
int  flags,
int *  pFlagsOut 
)

Definition at line 15448 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsOpenMalloc ( sqlite3_vfs pVfs,
const char *  zFile,
sqlite3_file **  ppFile,
int  flags,
int *  pOutFlags 
)

Definition at line 15527 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsRandomness ( sqlite3_vfs pVfs,
int  nByte,
char *  zBufOut 
)

Definition at line 15503 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsRead ( sqlite3_file id,
void *  pBuf,
int  amt,
i64  offset 
)

Definition at line 15350 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsSectorSize ( sqlite3_file id)

Definition at line 15397 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3OsShmBarrier ( sqlite3_file id)

Definition at line 15407 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsShmLock ( sqlite3_file id,
int  offset,
int  n,
int  flags 
)

Definition at line 15404 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsShmMap ( sqlite3_file id,
int  iPage,
int  pgsz,
int  bExtend,
void volatile **  pp 
)

Definition at line 15413 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsShmUnmap ( sqlite3_file id,
int  deleteFlag 
)

Definition at line 15410 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsSleep ( sqlite3_vfs pVfs,
int  nMicro 
)

Definition at line 15506 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsSync ( sqlite3_file id,
int  flags 
)

Definition at line 15361 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsTruncate ( sqlite3_file id,
i64  size 
)

Definition at line 15358 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsUnfetch ( sqlite3_file id,
i64  iOff,
void *  p 
)

Definition at line 15439 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsUnlock ( sqlite3_file id,
int  lockType 
)

Definition at line 15373 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3OsWrite ( sqlite3_file id,
const void *  pBuf,
int  amt,
i64  offset 
)

Definition at line 15354 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PageFree ( void *  p)

Definition at line 37776 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3PageMalloc ( int  sz)

Definition at line 37769 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerAcquire ( Pager pPager,
Pgno  pgno,
DbPage **  ppPage,
int  clrFlag 
)

Definition at line 44332 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_backup ** sqlite3PagerBackupPtr ( Pager pPager)

Definition at line 46083 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerBegin ( Pager pPager,
int  exFlag,
int  subjInMemory 
)

Definition at line 44631 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerCacheStat ( Pager pPager,
int  eStat,
int  reset,
int *  pnVal 
)

Definition at line 45489 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerCheckpoint ( Pager pPager,
int  eMode,
int *  pnLog,
int *  pnCkpt 
)

Definition at line 46104 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerClearCache ( Pager pPager)

Definition at line 46091 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerClose ( Pager pPager)

Definition at line 43064 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerCloseWal ( Pager pPager)

Definition at line 46237 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerCommitPhaseOne ( Pager pPager,
const char *  zMaster,
int  noSync 
)

Definition at line 45146 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerCommitPhaseTwo ( Pager pPager)

Definition at line 45319 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerDontWrite ( DbPage pPg)

Definition at line 44966 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerExclusiveLock ( Pager pPager)

Definition at line 45107 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_file * sqlite3PagerFile ( Pager pPager)

Definition at line 45675 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3PagerFilename ( Pager pPager,
int  nullIfMemDb 
)

Definition at line 45659 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3PagerGetData ( DbPage pPg)

Definition at line 45895 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3PagerGetExtra ( DbPage pPg)

Definition at line 45904 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerGetJournalMode ( Pager pPager)

Definition at line 46047 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerIsMemdb ( Pager pPager)

Definition at line 45509 of file sqlite3.c.

SQLITE_PRIVATE u8 sqlite3PagerIsreadonly ( Pager pPager)

Definition at line 45431 of file sqlite3.c.

SQLITE_PRIVATE const char * sqlite3PagerJournalname ( Pager pPager)

Definition at line 45682 of file sqlite3.c.

SQLITE_PRIVATE i64 sqlite3PagerJournalSizeLimit ( Pager pPager,
i64  iLimit 
)

Definition at line 46069 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerLockingMode ( Pager pPager,
int  eMode 
)

Definition at line 45918 of file sqlite3.c.

SQLITE_PRIVATE DbPage * sqlite3PagerLookup ( Pager pPager,
Pgno  pgno 
)

Definition at line 44496 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerMaxPageCount ( Pager pPager,
int  mxPage 
)

Definition at line 42773 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerMemUsed ( Pager pPager)

Definition at line 45446 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerMovepage ( Pager pPager,
DbPage pPg,
Pgno  pgno,
int  isCommit 
)

Definition at line 45763 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerNosync ( Pager pPager)

Definition at line 45690 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerOkToChangeJournalMode ( Pager pPager)

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

SQLITE_PRIVATE int sqlite3PagerOpenSavepoint ( Pager pPager,
int  n 
)

Definition at line 45523 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerOpenWal ( Pager pPager,
int *  pisOpen 
)

Definition at line 46198 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerPagecount ( Pager pPager,
int *  pnPage 
)

Definition at line 42848 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerPageRefcount ( DbPage pPage)

Definition at line 45457 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerReadFileheader ( Pager pPager,
int  N,
unsigned char *  pDest 
)

Definition at line 42820 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerRef ( DbPage pPg)

Definition at line 43129 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerRefcount ( Pager pPager)

Definition at line 45438 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerRollback ( Pager pPager)

Definition at line 45384 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerSavepoint ( Pager pPager,
int  op,
int  iSavepoint 
)

Definition at line 45602 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerSetBusyhandler ( Pager pPager,
int(*)(void *)  xBusyHandler,
void *  pBusyHandlerArg 
)

Definition at line 42657 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerSetCachesize ( Pager pPager,
int  mxPage 
)

Definition at line 42480 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerSetFlags ( Pager pPager,
unsigned  pgFlags 
)

Definition at line 42561 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerSetJournalMode ( Pager pPager,
int  eMode 
)

Definition at line 45951 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerSetMmapLimit ( Pager pPager,
sqlite3_int64  szMmap 
)

Definition at line 42502 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerSetPagesize ( Pager pPager,
u32 pPageSize,
int  nReserve 
)

Definition at line 42703 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerSharedLock ( Pager pPager)

Definition at line 44051 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerShrink ( Pager pPager)

Definition at line 42510 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerSync ( Pager pPager)

Definition at line 45081 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3PagerTempSpace ( Pager pPager)

Definition at line 42762 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerTruncateImage ( Pager pPager,
Pgno  nPage 
)

Definition at line 42933 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PagerUnref ( DbPage pPg)

Definition at line 44514 of file sqlite3.c.

SQLITE_PRIVATE const sqlite3_vfs * sqlite3PagerVfs ( Pager pPager)

Definition at line 45666 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerWalCallback ( Pager pPager)

Definition at line 46116 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerWalSupported ( Pager pPager)

Definition at line 46124 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PagerWrite ( DbPage pDbPage)

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

SQLITE_PRIVATE void* sqlite3ParserAlloc ( void *  *)(size_t)
SQLITE_PRIVATE void* sqlite3ParserAlloc ( void *(*)(size_t)  mallocProc)

Definition at line 115685 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ParserFree ( void *  p,
void(*)(void *)  freeProc 
)

Definition at line 115840 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ParserReset ( Parse pParse)

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

SQLITE_PRIVATE void sqlite3PCacheBufferSetup ( void *  pBuf,
int  sz,
int  n 
)

Definition at line 37594 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheCleanAll ( PCache pCache)

Definition at line 37198 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheClear ( PCache pCache)

Definition at line 37276 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheClearSyncFlags ( PCache pCache)

Definition at line 37208 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheClose ( PCache pCache)

Definition at line 37267 of file sqlite3.c.

SQLITE_PRIVATE PgHdr * sqlite3PcacheDirtyList ( PCache pCache)

Definition at line 37353 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheDrop ( PgHdr p)

Definition at line 37154 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcacheFetch ( PCache pCache,
Pgno  pgno,
int  createFlag,
PgHdr **  ppPage 
)

Definition at line 37023 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcacheInitialize ( void  )

Definition at line 36951 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheMakeClean ( PgHdr p)

Definition at line 37185 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheMakeDirty ( PgHdr p)

Definition at line 37172 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheMove ( PgHdr p,
Pgno  newPgno 
)

Definition at line 37219 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheOpen ( int  szPage,
int  szExtra,
int  bPurgeable,
int(*)(void *, PgHdr *)  xStress,
void *  pStress,
PCache pToInit 
)

Definition at line 36978 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcachePagecount ( PCache pCache)

Definition at line 37378 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcachePageRefcount ( PgHdr p)

Definition at line 37371 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheRef ( PgHdr p)

Definition at line 37144 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcacheRefCount ( PCache pCache)

Definition at line 37364 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheRelease ( PgHdr p)

Definition at line 37125 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheSetCachesize ( PCache pCache,
int  mxPage 
)

Definition at line 37398 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PCacheSetDefault ( void  )

Definition at line 38378 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheSetPageSize ( PCache pCache,
int  szPage 
)

Definition at line 36999 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheShrink ( PCache pCache)

Definition at line 37409 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheShutdown ( void  )

Definition at line 36960 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PcacheSize ( void  )

Definition at line 36970 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PcacheTruncate ( PCache pCache,
Pgno  x 
)

Definition at line 37240 of file sqlite3.c.

SQLITE_PRIVATE Expr * sqlite3PExpr ( Parse pParse,
int  op,
Expr pLeft,
Expr pRight,
const Token pToken 
)

Definition at line 77117 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Pragma ( Parse pParse,
Token pId1,
Token pId2,
Token pValue,
int  minusFlag 
)

Definition at line 96983 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 99118 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 99381 of file sqlite3.c.

SQLITE_PRIVATE Index * sqlite3PrimaryKeyIndex ( Table pTab)

Definition at line 85000 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PrngResetState ( void  )

Definition at line 20820 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PrngRestoreState ( void  )

Definition at line 20813 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3PrngSaveState ( void  )

Definition at line 20806 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Put4byte ( u8 ,
u32   
)
SQLITE_PRIVATE void sqlite3Put4byte ( unsigned char *  p,
u32  v 
)

Definition at line 22363 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PutVarint ( unsigned char *  p,
u64  v 
)

Definition at line 21989 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PutVarint32 ( unsigned char *  p,
u32  v 
)

Definition at line 22022 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ReadSchema ( Parse pParse)

Definition at line 99014 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3Realloc ( void *  pOld,
int  nBytes 
)

Definition at line 19464 of file sqlite3.c.

static void sqlite3RefillIndex ( Parse pParse,
Index pIndex,
int  memRootPage 
)
static

Definition at line 86878 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RegisterBuiltinFunctions ( sqlite3 db)

Definition at line 91275 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RegisterDateTimeFunctions ( void  )

Definition at line 15254 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RegisterGlobalFunctions ( void  )

Definition at line 91358 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RegisterLikeFunctions ( sqlite3 db,
int  caseSensitive 
)

Definition at line 91300 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Reindex ( Parse pParse,
Token pName1,
Token pName2 
)

Definition at line 88343 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ReleaseTempRange ( Parse pParse,
int  iReg,
int  nReg 
)

Definition at line 80801 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ReleaseTempReg ( Parse pParse,
int  iReg 
)

Definition at line 80770 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Reprepare ( Vdbe p)

Definition at line 99314 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ResetAllSchemasOfConnection ( sqlite3 db)

Definition at line 84732 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ResetOneSchema ( sqlite3 db,
int  iDb 
)

Definition at line 84706 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ResolveExprNames ( NameContext pNC,
Expr pExpr 
)

Definition at line 76503 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ResolveOrderGroupBy ( Parse pParse,
Select pSelect,
ExprList pOrderBy,
const char *  zType 
)

Definition at line 76169 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ResolveSelectNames ( Parse pParse,
Select p,
NameContext pOuterNC 
)

Definition at line 76555 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ResolveSelfReference ( Parse pParse,
Table pTab,
int  type,
Expr pExpr,
ExprList pList 
)

Definition at line 76582 of file sqlite3.c.

SQLITE_PRIVATE Table * sqlite3ResultSetOfSelect ( Parse pParse,
Select pSelect 
)

Definition at line 100993 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RollbackAll ( sqlite3 db,
int  tripCode 
)

Definition at line 120019 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RollbackTransaction ( Parse pParse)

Definition at line 88002 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RootPageMoved ( sqlite3 db,
int  iDb,
int  iFrom,
int  iTo 
)

Definition at line 86412 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RowidConstraint ( Parse pParse,
int  onError,
Table pTab 
)

Definition at line 88249 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RowSetClear ( RowSet p)

Definition at line 38610 of file sqlite3.c.

SQLITE_PRIVATE RowSet * sqlite3RowSetInit ( sqlite3 db,
void *  pSpace,
unsigned int  N 
)

Definition at line 38589 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3RowSetInsert ( RowSet p,
i64  rowid 
)

Definition at line 38655 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3RowSetNext ( RowSet p,
i64 pRowid 
)

Definition at line 38875 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3RowSetTest ( RowSet pRowSet,
u8  iBatch,
i64  iRowid 
)

Definition at line 38902 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3RunParser ( Parse pParse,
const char *  zSql,
char **  pzErrMsg 
)

Definition at line 118487 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3RunVacuum ( char **  pzErrMsg,
sqlite3 db 
)

Definition at line 106599 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3SafetyCheckOk ( sqlite3 db)

Definition at line 22437 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3SafetyCheckSickOrOk ( sqlite3 db)

Definition at line 22454 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Savepoint ( Parse pParse,
int  op,
Token pName 
)

Definition at line 88020 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SchemaClear ( void *  p)

Definition at line 88872 of file sqlite3.c.

SQLITE_PRIVATE Schema * sqlite3SchemaGet ( sqlite3 db,
Btree pBt 
)

Definition at line 88904 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3SchemaToIndex ( sqlite3 db,
Schema pSchema 
)

Definition at line 99083 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ScratchFree ( void *  p)

Definition at line 19337 of file sqlite3.c.

SQLITE_PRIVATE void * sqlite3ScratchMalloc ( int  n)

Definition at line 19299 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3SectorSize ( sqlite3_file pFile)

Definition at line 41659 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Select ( Parse pParse,
Select p,
SelectDest pDest 
)

Definition at line 103492 of file sqlite3.c.

static void sqlite3SelectAddTypeInfo ( Parse pParse,
Select pSelect 
)
static

Definition at line 103236 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SelectDelete ( sqlite3 db,
Select p 
)

Definition at line 99568 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SelectDestInit ( SelectDest pDest,
int  eDest,
int  iParm 
)

Definition at line 99501 of file sqlite3.c.

SQLITE_PRIVATE Select * sqlite3SelectDup ( sqlite3 db,
Select p,
int  flags 
)

Definition at line 77619 of file sqlite3.c.

static void sqlite3SelectExpand ( Parse pParse,
Select pSelect 
)
static

Definition at line 103174 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3SelectExprHeight ( Select p)

Definition at line 76992 of file sqlite3.c.

SQLITE_PRIVATE Select * sqlite3SelectNew ( Parse pParse,
ExprList pEList,
SrcList pSrc,
Expr pWhere,
ExprList pGroupBy,
Expr pHaving,
ExprList pOrderBy,
u16  selFlags,
Expr pLimit,
Expr pOffset 
)

Definition at line 99514 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SelectPrep ( Parse pParse,
Select p,
NameContext pOuterNC 
)

Definition at line 103261 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SetString ( char **  pz,
sqlite3 db,
const char *  zFormat,
  ... 
)

Definition at line 19695 of file sqlite3.c.

static void sqlite3SkipAccumulatorLoad ( sqlite3_context context)
static

Definition at line 89769 of file sqlite3.c.

SQLITE_PRIVATE SrcList * sqlite3SrcListAppend ( sqlite3 db,
SrcList pList,
Token pTable,
Token pDatabase 
)

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

SQLITE_PRIVATE void sqlite3SrcListAssignCursors ( Parse pParse,
SrcList pList 
)

Definition at line 87820 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SrcListDelete ( sqlite3 db,
SrcList pList 
)

Definition at line 87838 of file sqlite3.c.

SQLITE_PRIVATE SrcList * sqlite3SrcListDup ( sqlite3 db,
SrcList p,
int  flags 
)

Definition at line 77559 of file sqlite3.c.

SQLITE_PRIVATE SrcList * sqlite3SrcListEnlarge ( sqlite3 db,
SrcList pSrc,
int  nExtra,
int  iStart 
)

Definition at line 87703 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SrcListIndexedBy ( Parse pParse,
SrcList p,
Token pIndexedBy 
)

Definition at line 87915 of file sqlite3.c.

SQLITE_PRIVATE Table * sqlite3SrcListLookup ( Parse pParse,
SrcList pSrc 
)

Definition at line 88954 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3SrcListShiftJoinType ( SrcList p)

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

SQLITE_PRIVATE void sqlite3StatusAdd ( int  op,
int  N 
)

Definition at line 13933 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3StatusSet ( int  op,
int  X 
)

Definition at line 13945 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3StatusValue ( int  op)

Definition at line 13923 of file sqlite3.c.

static int sqlite3Step ( Vdbe p)
static

Definition at line 64751 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_int64 sqlite3StmtCurrentTime ( sqlite3_context p)

Definition at line 64952 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3StrAccumAppend ( StrAccum p,
const char *  z,
int  N 
)

Definition at line 20419 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3StrAccumFinish ( StrAccum p)

Definition at line 20475 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3StrAccumInit ( StrAccum p,
char *  zBase,
int  n,
int  mx 
)

Definition at line 20511 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3StrAccumReset ( StrAccum p)

Definition at line 20497 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Strlen30 ( const char *  z)

Definition at line 21445 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3SubInt64 ( i64 pA,
i64  iB 
)

Definition at line 22491 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3TableAffinityStr ( Vdbe v,
Table pTab 
)

Definition at line 92933 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3TableLock ( Parse pParse,
int  iDb,
int  iTab,
u8  isWriteLock,
const char *  zName 
)

Definition at line 84301 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3TempInMemory ( const sqlite3 db)

Definition at line 120841 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3TransferBindings ( sqlite3_stmt pFromStmt,
sqlite3_stmt pToStmt 
)

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

SQLITE_PRIVATE TriggerStep * sqlite3TriggerDeleteStep ( sqlite3 db,
Token pTableName,
Expr pWhere 
)

Definition at line 105035 of file sqlite3.c.

SQLITE_PRIVATE TriggerStep * sqlite3TriggerInsertStep ( sqlite3 db,
Token pTableName,
IdList pColumn,
ExprList pEList,
Select pSelect,
u8  orconf 
)

Definition at line 104977 of file sqlite3.c.

SQLITE_PRIVATE Trigger * sqlite3TriggerList ( Parse pParse,
Table pTab 
)

Definition at line 104628 of file sqlite3.c.

SQLITE_PRIVATE TriggerStep * sqlite3TriggerSelectStep ( sqlite3 db,
Select pSelect 
)

Definition at line 104934 of file sqlite3.c.

SQLITE_PRIVATE Trigger * sqlite3TriggersExist ( Parse pParse,
Table pTab,
int  op,
ExprList pChanges,
int *  pMask 
)

Definition at line 105226 of file sqlite3.c.

SQLITE_PRIVATE TriggerStep * sqlite3TriggerUpdateStep ( sqlite3 db,
Token pTableName,
ExprList pEList,
Expr pWhere,
u8  orconf 
)

Definition at line 105010 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3TwoPartName ( Parse pParse,
Token pName1,
Token pName2,
Token **  pUnqual 
)

Definition at line 84950 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3UniqueConstraint ( Parse pParse,
int  onError,
Index pIdx 
)

Definition at line 88220 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3UnlinkAndDeleteIndex ( sqlite3 db,
int  iDb,
const char *  zIdxName 
)

Definition at line 84644 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3UnlinkAndDeleteTable ( sqlite3 db,
int  iDb,
const char *  zTabName 
)

Definition at line 84845 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3UnlinkAndDeleteTrigger ( sqlite3 db,
int  iDb,
const char *  zName 
)

Definition at line 105183 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Update ( Parse pParse,
SrcList pTabList,
ExprList pChanges,
Expr pWhere,
int  onError 
)

Definition at line 105808 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Utf16ByteLen ( const void *  pData,
int  nChar 
)

Definition at line 21282 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3Utf16to8 ( sqlite3 db,
const void *  z,
int  nByte,
u8  enc 
)

Definition at line 21260 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3Utf8CharLen ( const char *  pData,
int  nByte 
)

Definition at line 21206 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3Utf8Read ( const u8 **  )
SQLITE_PRIVATE u32 sqlite3Utf8Read ( const unsigned char **  pz)

Definition at line 20990 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3Vacuum ( Parse pParse)

Definition at line 106587 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ValueApplyAffinity ( sqlite3_value pVal,
u8  affinity,
u8  enc 
)

Definition at line 66347 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ValueBytes ( sqlite3_value pVal,
u8  enc 
)

Definition at line 61007 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ValueFree ( sqlite3_value v)

Definition at line 60997 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ValueFromExpr ( sqlite3 db,
Expr pExpr,
u8  enc,
u8  affinity,
sqlite3_value **  ppVal 
)

Definition at line 60811 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_value * sqlite3ValueNew ( sqlite3 db)

Definition at line 60610 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3ValueSetStr ( sqlite3_value v,
int  n,
const void *  z,
u8  enc,
void(*)(void *)  xDel 
)

Definition at line 60984 of file sqlite3.c.

SQLITE_PRIVATE const void * sqlite3ValueText ( sqlite3_value pVal,
u8  enc 
)

Definition at line 60571 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VarintLen ( u64  v)

Definition at line 22347 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeAddOp0 ( Vdbe p,
int  op 
)

Definition at line 61182 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeAddOp1 ( Vdbe p,
int  op,
int  p1 
)

Definition at line 61185 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeAddOp2 ( Vdbe p,
int  op,
int  p1,
int  p2 
)

Definition at line 61188 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeAddOp3 ( Vdbe p,
int  op,
int  p1,
int  p2,
int  p3 
)

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

SQLITE_PRIVATE int sqlite3VdbeAddOp4Int ( Vdbe p,
int  op,
int  p1,
int  p2,
int  p3,
int  p4 
)

Definition at line 61228 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeAddOpList ( Vdbe p,
int  nOp,
VdbeOpList const *  aOp 
)

Definition at line 61536 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeAddParseSchemaOp ( Vdbe p,
int  iDb,
char *  zWhere 
)

Definition at line 61218 of file sqlite3.c.

SQLITE_PRIVATE UnpackedRecord * sqlite3VdbeAllocUnpackedRecord ( KeyInfo pKeyInfo,
char *  pSpace,
int  szSpace,
char **  ppFree 
)

Definition at line 64015 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeChangeEncoding ( Mem pMem,
int  desiredEnc 
)

Definition at line 59668 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeChangeP1 ( Vdbe p,
u32  addr,
int  P1 
)

Definition at line 61581 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeChangeP2 ( Vdbe p,
u32  addr,
int  P2 
)

Definition at line 61592 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeChangeP3 ( Vdbe p,
u32  addr,
int  P3 
)

Definition at line 61602 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeChangeP4 ( Vdbe p,
int  addr,
const char *  zP4,
int  N 
)

Definition at line 61745 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeChangeP5 ( Vdbe p,
u8  P5 
)

Definition at line 61613 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeChangeToNoop ( Vdbe p,
int  addr 
)

Definition at line 61717 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeCheckFk ( Vdbe p,
int  deferred 
)

Definition at line 63198 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeClearObject ( sqlite3 db,
Vdbe p 
)

Definition at line 63604 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeCloseStatement ( Vdbe p,
int  eOp 
)

Definition at line 63132 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeCountChanges ( Vdbe v)

Definition at line 64330 of file sqlite3.c.

SQLITE_PRIVATE Vdbe * sqlite3VdbeCreate ( sqlite3 db)

Definition at line 61041 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeCurrentAddr ( Vdbe p)

Definition at line 61503 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeCursorMoveto ( VdbeCursor p)

Definition at line 63664 of file sqlite3.c.

SQLITE_PRIVATE sqlite3 * sqlite3VdbeDb ( Vdbe v)

Definition at line 64354 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeDelete ( Vdbe p)

Definition at line 63630 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeDeleteAuxData ( Vdbe pVdbe,
int  iOp,
int  mask 
)

Definition at line 63578 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeEnter ( Vdbe p)

Definition at line 62103 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeExec ( Vdbe p)

Definition at line 66642 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3VdbeExpandSql ( Vdbe p,
const char *  zRawSql 
)

Definition at line 65802 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeFinalize ( Vdbe p)

Definition at line 63552 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeFrameDelete ( VdbeFrame p)

Definition at line 62213 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeFrameRestore ( VdbeFrame pFrame)

Definition at line 62710 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeFreeCursor ( Vdbe p,
VdbeCursor pCx 
)

Definition at line 62682 of file sqlite3.c.

SQLITE_PRIVATE sqlite3_value * sqlite3VdbeGetBoundValue ( Vdbe v,
int  iVar,
u8  aff 
)

Definition at line 64366 of file sqlite3.c.

SQLITE_PRIVATE VdbeOp * sqlite3VdbeGetOp ( Vdbe p,
int  addr 
)

Definition at line 61860 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeHalt ( Vdbe p)

Definition at line 63225 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeIdxKeyCompare ( VdbeCursor pC,
UnpackedRecord pUnpacked,
int *  res 
)

Definition at line 64286 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeIdxRowid ( sqlite3 db,
BtCursor pCur,
i64 rowid 
)

Definition at line 64206 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeIntegerAffinity ( Mem pMem)

Definition at line 60027 of file sqlite3.c.

SQLITE_PRIVATE i64 sqlite3VdbeIntValue ( Mem pMem)

Definition at line 59979 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeJumpHere ( Vdbe p,
int  addr 
)

Definition at line 61625 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeLeave ( Vdbe p)

Definition at line 62125 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeLinkSubProgram ( Vdbe pVdbe,
SubProgram p 
)

Definition at line 61709 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeList ( Vdbe p)

Definition at line 62240 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMakeLabel ( Vdbe p)

Definition at line 61255 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMakeReady ( Vdbe p,
Parse pParse 
)

Definition at line 62571 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemCopy ( Mem pTo,
const Mem pFrom 
)

Definition at line 60256 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemExpandBlob ( Mem pMem)

Definition at line 59783 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemFinalize ( Mem pMem,
FuncDef pFunc 
)

Definition at line 59882 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemFromBtree ( BtCursor pCur,
u32  offset,
u32  amt,
int  key,
Mem pMem 
)

Definition at line 60514 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemGrow ( Mem pMem,
int  n,
int  preserve 
)

Definition at line 59707 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemHandleBom ( Mem pMem)

Definition at line 21168 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemIntegerify ( Mem pMem)

Definition at line 60056 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemMakeWriteable ( Mem pMem)

Definition at line 59757 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemMove ( Mem pTo,
Mem pFrom 
)

Definition at line 60280 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemNulTerminate ( Mem pMem)

Definition at line 59811 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemNumerify ( Mem pMem)

Definition at line 60087 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemRealify ( Mem pMem)

Definition at line 60070 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemRelease ( Mem p)

Definition at line 59930 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemReleaseExternal ( Mem p)

Definition at line 59907 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemSetDouble ( Mem pMem,
double  val 
)

Definition at line 60158 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemSetInt64 ( Mem pMem,
i64  val 
)

Definition at line 60146 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemSetNull ( Mem pMem)

Definition at line 60107 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemSetRowSet ( Mem pMem)

Definition at line 60174 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemSetStr ( Mem pMem,
const char *  z,
int  n,
u8  enc,
void(*)(void *)  xDel 
)

Definition at line 60307 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemSetZeroBlob ( Mem pMem,
int  n 
)

Definition at line 60124 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemShallowCopy ( Mem pTo,
const Mem pFrom,
int  srcType 
)

Definition at line 60240 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeMemStoreType ( Mem pMem)

Definition at line 66189 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemStringify ( Mem pMem,
int  enc 
)

Definition at line 59838 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemTooBig ( Mem p)

Definition at line 60195 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeMemTranslate ( Mem pMem,
u8  desiredEnc 
)

Definition at line 21026 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeParameterIndex ( Vdbe p,
const char *  zName,
int  nName 
)

Definition at line 65612 of file sqlite3.c.

SQLITE_PRIVATE double sqlite3VdbeRealValue ( Mem pMem)

Definition at line 60005 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeRecordCompare ( int  nKey1,
const void *  pKey1,
UnpackedRecord pPKey2 
)

Definition at line 64103 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeRecordUnpack ( KeyInfo pKeyInfo,
int  nKey,
const void *  pKey,
UnpackedRecord p 
)

Definition at line 64052 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeReset ( Vdbe p)

Definition at line 63483 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeResetStepResult ( Vdbe p)

Definition at line 63423 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeResolveLabel ( Vdbe p,
int  x 
)

Definition at line 61273 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeRewind ( Vdbe p)

Definition at line 62517 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeRunOnlyOnce ( Vdbe p)

Definition at line 61285 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3VdbeSerialGet ( const unsigned char *  buf,
u32  serial_type,
Mem pMem 
)

Definition at line 63911 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3VdbeSerialPut ( unsigned char *  ,
int  ,
Mem ,
int   
)
SQLITE_PRIVATE u32 sqlite3VdbeSerialPut ( u8 buf,
int  nBuf,
Mem pMem,
int  file_format 
)

Definition at line 63861 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3VdbeSerialType ( Mem pMem,
int  file_format 
)

Definition at line 63738 of file sqlite3.c.

SQLITE_PRIVATE u32 sqlite3VdbeSerialTypeLen ( u32  serial_type)

Definition at line 63781 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSetChanges ( sqlite3 db,
int  nChange 
)

Definition at line 64320 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSetColName ( Vdbe p,
int  idx,
int  var,
const char *  zName,
void(*)(void *)  xDel 
)

Definition at line 62825 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSetNumCols ( Vdbe p,
int  nResColumn 
)

Definition at line 62797 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSetP4KeyInfo ( Parse pParse,
Index pIdx 
)

Definition at line 61796 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSetSql ( Vdbe p,
const char *  z,
int  n,
int  isPrepareV2 
)

Definition at line 61059 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSetVarmask ( Vdbe v,
int  iVar 
)

Definition at line 64388 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSorterClose ( sqlite3 db,
VdbeCursor pCsr 
)

Definition at line 73960 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSorterCompare ( const VdbeCursor pCsr,
Mem pVal,
int  nIgnore,
int *  pRes 
)

Definition at line 74477 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSorterInit ( sqlite3 db,
VdbeCursor pCsr 
)

Definition at line 73918 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSorterNext ( sqlite3 db,
const VdbeCursor pCsr,
int *  pbEof 
)

Definition at line 74403 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSorterRewind ( sqlite3 db,
const VdbeCursor pCsr,
int *  pbEof 
)

Definition at line 74294 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSorterRowkey ( const VdbeCursor pCsr,
Mem pOut 
)

Definition at line 74452 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeSorterWrite ( sqlite3 db,
const VdbeCursor pCsr,
Mem pVal 
)

Definition at line 74210 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeSwap ( Vdbe pA,
Vdbe pB 
)

Definition at line 61081 of file sqlite3.c.

SQLITE_PRIVATE VdbeOp * sqlite3VdbeTakeOpArray ( Vdbe p,
int *  pnOp,
int *  pnMaxArg 
)

Definition at line 61519 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VdbeTransferError ( Vdbe p)

Definition at line 63435 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VdbeUsesBtree ( Vdbe p,
int  i 
)

Definition at line 62072 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3ViewGetColumnNames ( Parse pParse,
Table pTable 
)

Definition at line 86281 of file sqlite3.c.

SQLITE_PRIVATE char * sqlite3VMPrintf ( sqlite3 db,
const char *  zFormat,
va_list  ap 
)

Definition at line 20525 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabArgExtend ( Parse pParse,
Token p 
)

Definition at line 107308 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabArgInit ( Parse pParse)

Definition at line 107298 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabBegin ( sqlite3 db,
VTable pVTab 
)

Definition at line 107714 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabBeginParse ( Parse pParse,
Token pName1,
Token pName2,
Token pModuleName,
int  ifNotExists 
)

Definition at line 107158 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabCallConnect ( Parse pParse,
Table pTab 
)

Definition at line 107437 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabCallCreate ( sqlite3 db,
int  iDb,
const char *  zTab,
char **  pzErr 
)

Definition at line 107507 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabCallDestroy ( sqlite3 db,
int  iDb,
const char *  zTab 
)

Definition at line 107612 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabClear ( sqlite3 db,
Table p 
)

Definition at line 107116 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabCommit ( sqlite3 db)

Definition at line 107701 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabDisconnect ( sqlite3 db,
Table p 
)

Definition at line 107047 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabFinishParse ( Parse pParse,
Token pEnd 
)

Definition at line 107216 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabImportErrmsg ( Vdbe p,
sqlite3_vtab pVtab 
)

Definition at line 64403 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabLock ( VTable pVTab)

Definition at line 106962 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabMakeWritable ( Parse pParse,
Table pTab 
)

Definition at line 107881 of file sqlite3.c.

SQLITE_PRIVATE FuncDef * sqlite3VtabOverloadFunction ( sqlite3 db,
FuncDef pDef,
int  nArg,
Expr pExpr 
)

Definition at line 107815 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabRollback ( sqlite3 db)

Definition at line 107692 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabSavepoint ( sqlite3 db,
int  op,
int  iSavepoint 
)

Definition at line 107769 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3VtabSync ( sqlite3 db,
Vdbe p 
)

Definition at line 107670 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabUnlock ( VTable pVTab)

Definition at line 106983 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VtabUnlockList ( sqlite3 db)

Definition at line 107085 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3VXPrintf ( StrAccum pAccum,
int  useExtended,
const char *  fmt,
va_list  ap 
)

Definition at line 19897 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalBeginReadTransaction ( Wal pWal,
int *  pChanged 
)

Definition at line 48557 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalBeginWriteTransaction ( Wal pWal)

Definition at line 48731 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalCallback ( Wal pWal)

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

SQLITE_PRIVATE int sqlite3WalClose ( Wal pWal,
int  sync_flags,
int  nBuf,
u8 zBuf 
)

Definition at line 48114 of file sqlite3.c.

SQLITE_PRIVATE Pgno sqlite3WalDbsize ( Wal pWal)

Definition at line 48710 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalDefaultHook ( void *  pClientData,
sqlite3 db,
const char *  zDb,
int  nFrame 
)

Definition at line 120661 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WalEndReadTransaction ( Wal pWal)

Definition at line 48575 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalEndWriteTransaction ( Wal pWal)

Definition at line 48768 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalExclusiveMode ( Wal pWal,
int  op 
)

Definition at line 49328 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalFindFrame ( Wal pWal,
Pgno  pgno,
u32 piRead 
)

Definition at line 48591 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalFrames ( Wal pWal,
int  szPage,
PgHdr pList,
Pgno  nTruncate,
int  isCommit,
int  sync_flags 
)

Definition at line 49008 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalHeapMemory ( Wal pWal)

Definition at line 49370 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalkExpr ( Walker pWalker,
Expr pExpr 
)

Definition at line 75045 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalkExprList ( Walker pWalker,
ExprList p 
)

Definition at line 75068 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalkSelect ( Walker pWalker,
Select p 
)

Definition at line 75132 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalkSelectExpr ( Walker pWalker,
Select p 
)

Definition at line 75085 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalkSelectFrom ( Walker pWalker,
Select p 
)

Definition at line 75103 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WalLimit ( Wal pWal,
i64  iLimit 
)

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

SQLITE_PRIVATE int sqlite3WalReadFrame ( Wal pWal,
u32  iRead,
int  nOut,
u8 pOut 
)

Definition at line 48690 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WalSavepoint ( Wal pWal,
u32 aWalData 
)

Definition at line 48830 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalSavepointUndo ( Wal pWal,
u32 aWalData 
)

Definition at line 48844 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WalUndo ( Wal pWal,
int(*)(void *, Pgno xUndo,
void *  pUndoCtx 
)

Definition at line 48789 of file sqlite3.c.

SQLITE_PRIVATE WhereInfo * sqlite3WhereBegin ( Parse pParse,
SrcList pTabList,
Expr pWhere,
ExprList pOrderBy,
ExprList pResultSet,
u16  wctrlFlags,
int  iIdxCur 
)

Definition at line 113754 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereBreakLabel ( WhereInfo pWInfo)

Definition at line 108473 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereContinueLabel ( WhereInfo pWInfo)

Definition at line 108465 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3WhereEnd ( WhereInfo pWInfo)

Definition at line 114172 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereIsDistinct ( WhereInfo pWInfo)

Definition at line 108449 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereIsOrdered ( WhereInfo pWInfo)

Definition at line 108457 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3WhereOkOnePass ( WhereInfo pWInfo,
int *  aiCur 
)

Definition at line 108492 of file sqlite3.c.

SQLITE_PRIVATE u64 sqlite3WhereOutputRowCount ( WhereInfo pWInfo)

Definition at line 108441 of file sqlite3.c.

SQLITE_PRIVATE void sqlite3XPrintf ( StrAccum p,
const char *  zFormat,
  ... 
)

Definition at line 20693 of file sqlite3.c.

static void sqliteAuthBadReturnCode ( Parse pParse)
static

Definition at line 84079 of file sqlite3.c.

static int sqliteDefaultBusyCallback ( void *  ptr,
int  count 
)
static

Definition at line 120229 of file sqlite3.c.

static void sqliteDeleteColumnNames ( sqlite3 db,
Table pTable 
)
static

Definition at line 84758 of file sqlite3.c.

static int sqliteErrorFromPosixError ( int  posixError,
int  sqliteIOErr 
)
static

Definition at line 24047 of file sqlite3.c.

static int sqliteProcessJoin ( Parse pParse,
Select p 
)
static

Definition at line 99789 of file sqlite3.c.

void sqliteVdbePopStack ( Vdbe ,
int   
)
static void sqliteViewResetAll ( sqlite3 db,
int  idx 
)
static

Definition at line 86376 of file sqlite3.c.

void sqliteViewTriggers ( Parse ,
Table ,
Expr ,
int  ,
ExprList  
)
static void stat4Destructor ( void *  pOld)
static

Definition at line 82003 of file sqlite3.c.

static void statGet ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 82424 of file sqlite3.c.

static void statInit ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 82023 of file sqlite3.c.

static void statPush ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 82326 of file sqlite3.c.

static void strftimeFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 15029 of file sqlite3.c.

static unsigned int strHash ( const char *  z,
int  nKey 
)
static

Definition at line 22701 of file sqlite3.c.

static int subjournalPage ( PgHdr pPg)
static

Definition at line 43427 of file sqlite3.c.

static int subjRequiresPage ( PgHdr pPg)
static

Definition at line 40126 of file sqlite3.c.

static Expr* substExpr ( sqlite3 db,
Expr pExpr,
int  iTable,
ExprList pEList 
)
static

Definition at line 102130 of file sqlite3.c.

static void substExprList ( sqlite3 db,
ExprList pList,
int  iTable,
ExprList pEList 
)
static

Definition at line 102159 of file sqlite3.c.

static void substrFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 89967 of file sqlite3.c.

static void substSelect ( sqlite3 db,
Select p,
int  iTable,
ExprList pEList 
)
static

Definition at line 102171 of file sqlite3.c.

static void sumFinalize ( sqlite3_context context)
static

Definition at line 91107 of file sqlite3.c.

static void sumStep ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 91086 of file sqlite3.c.

static int syncJournal ( Pager pPager,
int  newHdr 
)
static

Definition at line 43168 of file sqlite3.c.

static int synthCollSeq ( sqlite3 db,
CollSeq pColl 
)
static

Definition at line 88495 of file sqlite3.c.

static int tableAndColumnIndex ( SrcList pSrc,
int  N,
const char *  zCol,
int *  piTab,
int *  piCol 
)
static

Definition at line 99670 of file sqlite3.c.

static Table* tableOfTrigger ( Trigger pTrigger)
static

Definition at line 105116 of file sqlite3.c.

static SrcList* targetSrcList ( Parse pParse,
TriggerStep pStep 
)
static

Definition at line 105262 of file sqlite3.c.

static int termCanDriveIndex ( WhereTerm pTerm,
struct SrcList_item *  pSrc,
Bitmask  notReady 
)
static

Definition at line 109967 of file sqlite3.c.

static void timeFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 14977 of file sqlite3.c.

static void total_changes ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 90251 of file sqlite3.c.

static void totalFinalize ( sqlite3_context context)
static

Definition at line 91127 of file sqlite3.c.

static void transferJoinMarkings ( Expr pDerived,
Expr pBase 
)
static

Definition at line 109172 of file sqlite3.c.

static void transferParseError ( Parse pTo,
Parse pFrom 
)
static

Definition at line 105391 of file sqlite3.c.

static TriggerStep* triggerStepAllocate ( sqlite3 db,
u8  op,
Token pName 
)
static

Definition at line 104952 of file sqlite3.c.

static void trimFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 90899 of file sqlite3.c.

static void typeofFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  argv 
)
static

Definition at line 89806 of file sqlite3.c.

static void unicodeFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 90706 of file sqlite3.c.

static int unixAccess ( sqlite3_vfs NotUsed,
const char *  zPath,
int  flags,
int *  pResOut 
)
static

Definition at line 29180 of file sqlite3.c.

static int unixCheckReservedLock ( sqlite3_file id,
int *  pResOut 
)
static

Definition at line 24675 of file sqlite3.c.

static int unixClose ( sqlite3_file id)
static

Definition at line 25248 of file sqlite3.c.

static int unixCurrentTime ( sqlite3_vfs NotUsed,
double *  prNow 
)
static

Definition at line 29441 of file sqlite3.c.

static int unixCurrentTimeInt64 ( sqlite3_vfs NotUsed,
sqlite3_int64 piNow 
)
static

Definition at line 29407 of file sqlite3.c.

static int unixDelete ( sqlite3_vfs NotUsed,
const char *  zPath,
int  dirSync 
)
static

Definition at line 29132 of file sqlite3.c.

static int unixDeviceCharacteristics ( sqlite3_file id)
static

Definition at line 27259 of file sqlite3.c.

static void unixDlClose ( sqlite3_vfs NotUsed,
void *  pHandle 
)
static

Definition at line 29306 of file sqlite3.c.

static void unixDlError ( sqlite3_vfs NotUsed,
int  nBuf,
char *  zBufOut 
)
static

Definition at line 29273 of file sqlite3.c.

static void* unixDlOpen ( sqlite3_vfs NotUsed,
const char *  zFilename 
)
static

Definition at line 29261 of file sqlite3.c.

static void unixEnterMutex ( void  )
static

Definition at line 23937 of file sqlite3.c.

static int unixFetch ( sqlite3_file fd,
i64  iOff,
int  nAmt,
void **  pp 
)
static

Definition at line 28109 of file sqlite3.c.

static int unixFileControl ( sqlite3_file id,
int  op,
void *  pArg 
)
static

Definition at line 27068 of file sqlite3.c.

static int unixFileLock ( unixFile pFile,
struct flock *  pLock 
)
static

Definition at line 24734 of file sqlite3.c.

static int unixFileSize ( sqlite3_file id,
i64 pSize 
)
static

Definition at line 26947 of file sqlite3.c.

static int unixFullPathname ( sqlite3_vfs pVfs,
const char *  zPath,
int  nOut,
char *  zOut 
)
static

Definition at line 29223 of file sqlite3.c.

static int unixGetLastError ( sqlite3_vfs NotUsed,
int  NotUsed2,
char *  NotUsed3 
)
static

Definition at line 29457 of file sqlite3.c.

static sqlite3_syscall_ptr unixGetSystemCall ( sqlite3_vfs pNotUsed,
const char *  zName 
)
static

Definition at line 23826 of file sqlite3.c.

static int unixGetTempname ( int  nBuf,
char *  zBuf 
)
static

Definition at line 28679 of file sqlite3.c.

static void unixLeaveMutex ( void  )
static

Definition at line 23940 of file sqlite3.c.

static int unixLock ( sqlite3_file id,
int  eFileLock 
)
static

Definition at line 24786 of file sqlite3.c.

static int unixLogErrorAtLine ( int  errcode,
const char *  zFunc,
const char *  zPath,
int  iLine 
)
static

Definition at line 24417 of file sqlite3.c.

static void unixModeBit ( unixFile pFile,
unsigned char  mask,
int *  pArg 
)
static

Definition at line 27052 of file sqlite3.c.

static const char* unixNextSystemCall ( sqlite3_vfs p,
const char *  zName 
)
static

Definition at line 23845 of file sqlite3.c.

static int unixOpen ( sqlite3_vfs pVfs,
const char *  zPath,
sqlite3_file pFile,
int  flags,
int *  pOutFlags 
)
static

Definition at line 28881 of file sqlite3.c.

static int unixOpenSharedMemory ( unixFile pDbFd)
static

Definition at line 27490 of file sqlite3.c.

static int unixRandomness ( sqlite3_vfs NotUsed,
int  nBuf,
char *  zBuf 
)
static

Definition at line 29320 of file sqlite3.c.

static int unixRead ( sqlite3_file id,
void *  pBuf,
int  amt,
sqlite3_int64  offset 
)
static

Definition at line 26475 of file sqlite3.c.

static int unixSectorSize ( sqlite3_file NotUsed)
static

Definition at line 27160 of file sqlite3.c.

static int unixSetSystemCall ( sqlite3_vfs pNotUsed,
const char *  zName,
sqlite3_syscall_ptr  pNewFunc 
)
static

Definition at line 23783 of file sqlite3.c.

static void unixShmBarrier ( sqlite3_file fd)
static

Definition at line 27873 of file sqlite3.c.

static int unixShmLock ( sqlite3_file fd,
int  ofst,
int  n,
int  flags 
)
static

Definition at line 27761 of file sqlite3.c.

static int unixShmMap ( sqlite3_file fd,
int  iRegion,
int  szRegion,
int  bExtend,
void volatile **  pp 
)
static

Definition at line 27634 of file sqlite3.c.

static void unixShmPurge ( unixFile pFd)
static

Definition at line 27431 of file sqlite3.c.

static int unixShmSystemLock ( unixShmNode pShmNode,
int  lockType,
int  ofst,
int  n 
)
static

Definition at line 27356 of file sqlite3.c.

static int unixShmUnmap ( sqlite3_file fd,
int  deleteFlag 
)
static

Definition at line 27888 of file sqlite3.c.

static int unixSleep ( sqlite3_vfs NotUsed,
int  microseconds 
)
static

Definition at line 29367 of file sqlite3.c.

static int unixSync ( sqlite3_file id,
int  flags 
)
static

Definition at line 26848 of file sqlite3.c.

static const char* unixTempFileDir ( void  )
static

Definition at line 28647 of file sqlite3.c.

static int unixTruncate ( sqlite3_file id,
i64  nByte 
)
static

Definition at line 26897 of file sqlite3.c.

static int unixUnfetch ( sqlite3_file fd,
i64  iOff,
void *  p 
)
static

Definition at line 28140 of file sqlite3.c.

static int unixUnlock ( sqlite3_file id,
int  eFileLock 
)
static

Definition at line 25198 of file sqlite3.c.

static int unixWrite ( sqlite3_file id,
const void *  pBuf,
int  amt,
sqlite3_int64  offset 
)
static

Definition at line 26589 of file sqlite3.c.

static void unlockBtreeIfUnused ( BtShared pBt)
static

Definition at line 52915 of file sqlite3.c.

static void unlockBtreeMutex ( Btree p)
static

Definition at line 50101 of file sqlite3.c.

static void updateAccumulator ( Parse pParse,
AggInfo pAggInfo 
)
static

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

static void upperFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 90115 of file sqlite3.c.

static int vacuumFinalize ( sqlite3 db,
sqlite3_stmt pStmt,
char **  pzErrMsg 
)
static

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

static sqlite3_value* valueNew ( sqlite3 db,
struct ValueNewStat4Ctx p 
)
static

Definition at line 60642 of file sqlite3.c.

static int vdbeCommit ( sqlite3 db,
Vdbe p 
)
static

Definition at line 62853 of file sqlite3.c.

static void vdbeFreeOpArray ( sqlite3 db,
Op aOp,
int  nOp 
)
static

Definition at line 61691 of file sqlite3.c.

static int vdbeSafety ( Vdbe p)
static

Definition at line 64450 of file sqlite3.c.

static int vdbeSafetyNotNull ( Vdbe p)
static

Definition at line 64458 of file sqlite3.c.

static void vdbeSorterCompare ( const VdbeCursor pCsr,
int  nIgnore,
const void *  pKey1,
int  nKey1,
const void *  pKey2,
int  nKey2,
int *  pRes 
)
static

Definition at line 73837 of file sqlite3.c.

static int vdbeSorterDoCompare ( const VdbeCursor pCsr,
int  iOut 
)
static

Definition at line 73873 of file sqlite3.c.

static int vdbeSorterInitMerge ( sqlite3 db,
const VdbeCursor pCsr,
i64 pnByte 
)
static

Definition at line 74262 of file sqlite3.c.

static int vdbeSorterIterInit ( sqlite3 db,
const VdbeSorter pSorter,
i64  iStart,
VdbeSorterIter pIter,
i64 pnByte 
)
static

Definition at line 73767 of file sqlite3.c.

static int vdbeSorterIterNext ( sqlite3 db,
VdbeSorterIter pIter 
)
static

Definition at line 73739 of file sqlite3.c.

static int vdbeSorterIterRead ( sqlite3 db,
VdbeSorterIter p,
int  nByte,
u8 **  ppOut 
)
static

Definition at line 73628 of file sqlite3.c.

static int vdbeSorterIterVarint ( sqlite3 db,
VdbeSorterIter p,
u64 pnOut 
)
static

Definition at line 73714 of file sqlite3.c.

static void vdbeSorterIterZero ( sqlite3 db,
VdbeSorterIter pIter 
)
static

Definition at line 73613 of file sqlite3.c.

static int vdbeSorterListToPMA ( sqlite3 db,
const VdbeCursor pCsr 
)
static

Definition at line 74165 of file sqlite3.c.

static void vdbeSorterMerge ( const VdbeCursor pCsr,
SorterRecord p1,
SorterRecord p2,
SorterRecord **  ppOut 
)
static

Definition at line 73998 of file sqlite3.c.

static int vdbeSorterOpenTempFile ( sqlite3 db,
sqlite3_file **  ppFile 
)
static

Definition at line 73985 of file sqlite3.c.

static void vdbeSorterRecordFree ( sqlite3 db,
SorterRecord pRecord 
)
static

Definition at line 73948 of file sqlite3.c.

static void* vdbeSorterRowkey ( const VdbeSorter pSorter,
int *  pnKey 
)
static

Definition at line 74432 of file sqlite3.c.

static int vdbeSorterSort ( const VdbeCursor pCsr)
static

Definition at line 74033 of file sqlite3.c.

static int vdbeUnbind ( Vdbe p,
int  i 
)
static

Definition at line 65403 of file sqlite3.c.

static void verifyDbFile ( unixFile pFile)
static

Definition at line 24634 of file sqlite3.c.

static void versionFunc ( sqlite3_context context,
int  NotUsed,
sqlite3_value **  NotUsed2 
)
static

Definition at line 90528 of file sqlite3.c.

static void vfsUnlink ( sqlite3_vfs pVfs)
static

Definition at line 15602 of file sqlite3.c.

static int vtabBestIndex ( Parse pParse,
Table pTab,
sqlite3_index_info p 
)
static

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

static VTable* vtabDisconnectAll ( sqlite3 db,
Table p 
)
static

Definition at line 107007 of file sqlite3.c.

static int walBusyLock ( Wal pWal,
int(*)(void *)  xBusy,
void *  pBusyArg,
int  lockIdx,
int  n 
)
static

Definition at line 47896 of file sqlite3.c.

static int walCheckpoint ( Wal pWal,
int  eMode,
int(*)(void *)  xBusyCall,
void *  pBusyArg,
int  sync_flags,
u8 zBuf 
)
static

Definition at line 47949 of file sqlite3.c.

static void walChecksumBytes ( int  nativeCksum,
u8 a,
int  nByte,
const u32 aIn,
u32 aOut 
)
static

Definition at line 46886 of file sqlite3.c.

static volatile WalCkptInfo* walCkptInfo ( Wal pWal)
static

Definition at line 46852 of file sqlite3.c.

static void walCleanupHash ( Wal pWal)
static

Definition at line 47201 of file sqlite3.c.

static int walDecodeFrame ( Wal pWal,
u32 piPage,
u32 pnTruncate,
u8 aData,
u8 aFrame 
)
static

Definition at line 46988 of file sqlite3.c.

static void walEncodeFrame ( Wal pWal,
u32  iPage,
u32  nTruncate,
u8 aData,
u8 aFrame 
)
static

Definition at line 46961 of file sqlite3.c.

static int walFramePage ( u32  iFrame)
static

Definition at line 47167 of file sqlite3.c.

static u32 walFramePgno ( Wal pWal,
u32  iFrame 
)
static

Definition at line 47181 of file sqlite3.c.

static int walHash ( u32  iPage)
static

Definition at line 47106 of file sqlite3.c.

static int walHashGet ( Wal pWal,
int  iHash,
volatile ht_slot **  paHash,
volatile u32 **  paPgno,
u32 piZero 
)
static

Definition at line 47129 of file sqlite3.c.

static int walIndexAppend ( Wal pWal,
u32  iFrame,
u32  iPage 
)
static

Definition at line 47263 of file sqlite3.c.

static void walIndexClose ( Wal pWal,
int  isDelete 
)
static

Definition at line 47518 of file sqlite3.c.

static volatile WalIndexHdr* walIndexHdr ( Wal pWal)
static

Definition at line 46860 of file sqlite3.c.

static int walIndexPage ( Wal pWal,
int  iPage,
volatile u32 **  ppPage 
)
static

Definition at line 46810 of file sqlite3.c.

static int walIndexReadHdr ( Wal pWal,
int *  pChanged 
)
static

Definition at line 48251 of file sqlite3.c.

static int walIndexRecover ( Wal pWal)
static

Definition at line 47352 of file sqlite3.c.

static int walIndexTryHdr ( Wal pWal,
int *  pChanged 
)
static

Definition at line 48193 of file sqlite3.c.

static void walIndexWriteHdr ( Wal pWal)
static

Definition at line 46935 of file sqlite3.c.

static void walIteratorFree ( WalIterator p)
static

Definition at line 47798 of file sqlite3.c.

static int walIteratorInit ( Wal pWal,
WalIterator **  pp 
)
static

Definition at line 47814 of file sqlite3.c.

static int walIteratorNext ( WalIterator p,
u32 piPage,
u32 piFrame 
)
static

Definition at line 47629 of file sqlite3.c.

static void walLimitSize ( Wal pWal,
i64  nMax 
)
static

Definition at line 48097 of file sqlite3.c.

static int walLockExclusive ( Wal pWal,
int  lockIdx,
int  n 
)
static

Definition at line 47083 of file sqlite3.c.

static int walLockShared ( Wal pWal,
int  lockIdx 
)
static

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

static void walMergesort ( const u32 aContent,
ht_slot aBuffer,
ht_slot aList,
int *  pnList 
)
static

Definition at line 47739 of file sqlite3.c.

static int walNextHash ( int  iPriorHash)
static

Definition at line 47111 of file sqlite3.c.

static int walPagesize ( Wal pWal)
static

Definition at line 47914 of file sqlite3.c.

static int walRestartLog ( Wal pWal)
static

Definition at line 48882 of file sqlite3.c.

static void walShmBarrier ( Wal pWal)
static

Definition at line 46924 of file sqlite3.c.

static int walTryBeginRead ( Wal pWal,
int *  pChanged,
int  useWal,
int  cnt 
)
static

Definition at line 48368 of file sqlite3.c.

static void walUnlockExclusive ( Wal pWal,
int  lockIdx,
int  n 
)
static

Definition at line 47093 of file sqlite3.c.

static void walUnlockShared ( Wal pWal,
int  lockIdx 
)
static

Definition at line 47077 of file sqlite3.c.

static int walWriteOneFrame ( WalWriter p,
PgHdr pPage,
int  nTruncate,
sqlite3_int64  iOffset 
)
static

Definition at line 48982 of file sqlite3.c.

static int walWriteToLog ( WalWriter p,
void *  pContent,
int  iAmt,
sqlite3_int64  iOffset 
)
static

Definition at line 48957 of file sqlite3.c.

static void whereAndInfoDelete ( sqlite3 db,
WhereAndInfo p 
)
static

Definition at line 108573 of file sqlite3.c.

static void whereClauseClear ( WhereClause pWC)
static

Definition at line 108582 of file sqlite3.c.

static void whereClauseInit ( WhereClause pWC,
WhereInfo pWInfo 
)
static

Definition at line 108548 of file sqlite3.c.

static int whereClauseInsert ( WhereClause pWC,
Expr p,
u8  wtFlags 
)
static

Definition at line 108620 of file sqlite3.c.

static char* whereForeignKeys ( Parse pParse,
Table pTab 
)
static

Definition at line 81099 of file sqlite3.c.

static void whereInfoFree ( sqlite3 db,
WhereInfo pWInfo 
)
static

Definition at line 112077 of file sqlite3.c.

static int whereLoopAddAll ( WhereLoopBuilder pBuilder)
static

Definition at line 113002 of file sqlite3.c.

static int whereLoopAddBtree ( WhereLoopBuilder pBuilder,
Bitmask  mExtra 
)
static

Definition at line 112547 of file sqlite3.c.

static int whereLoopAddBtreeIndex ( WhereLoopBuilder pBuilder,
struct SrcList_item *  pSrc,
Index pProbe,
LogEst  nInMul 
)
static

Definition at line 112278 of file sqlite3.c.

static int whereLoopAddOr ( WhereLoopBuilder pBuilder,
Bitmask  mExtra 
)
static

Definition at line 112905 of file sqlite3.c.

static int whereLoopAddVirtual ( WhereLoopBuilder pBuilder,
Bitmask  mExtra 
)
static

Definition at line 112737 of file sqlite3.c.

static void whereLoopClear ( sqlite3 db,
WhereLoop p 
)
static

Definition at line 112025 of file sqlite3.c.

static void whereLoopClearUnion ( sqlite3 db,
WhereLoop p 
)
static

Definition at line 112007 of file sqlite3.c.

static void whereLoopDelete ( sqlite3 db,
WhereLoop p 
)
static

Definition at line 112069 of file sqlite3.c.

static void whereLoopInit ( WhereLoop p)
static

Definition at line 111997 of file sqlite3.c.

static int whereLoopInsert ( WhereLoopBuilder pBuilder,
WhereLoop pTemplate 
)
static

Definition at line 112115 of file sqlite3.c.

static void whereLoopOutputAdjust ( WhereClause pWC,
WhereLoop pLoop 
)
static

Definition at line 112249 of file sqlite3.c.

static int whereLoopResize ( sqlite3 db,
WhereLoop p,
int  n 
)
static

Definition at line 112034 of file sqlite3.c.

static int whereLoopXfer ( sqlite3 db,
WhereLoop pTo,
WhereLoop pFrom 
)
static

Definition at line 112050 of file sqlite3.c.

static void whereOrInfoDelete ( sqlite3 db,
WhereOrInfo p 
)
static

Definition at line 108565 of file sqlite3.c.

static int whereOrInsert ( WhereOrSet pSet,
Bitmask  prereq,
LogEst  rRun,
LogEst  nOut 
)
static

Definition at line 108512 of file sqlite3.c.

static void whereOrMove ( WhereOrSet pDest,
WhereOrSet pSrc 
)
static

Definition at line 108500 of file sqlite3.c.

static char* whereOrName ( sqlite3 db,
char *  zWhere,
char *  zConstant 
)
static

Definition at line 81081 of file sqlite3.c.

static int wherePathSatisfiesOrderBy ( WhereInfo pWInfo,
ExprList pOrderBy,
WherePath pPath,
u16  wctrlFlags,
u16  nLoop,
WhereLoop pLast,
Bitmask pRevMask 
)
static

Definition at line 113057 of file sqlite3.c.

static int wherePathSolver ( WhereInfo pWInfo,
LogEst  nRowEst 
)
static

Definition at line 113317 of file sqlite3.c.

static int whereRangeScanEst ( Parse pParse,
WhereLoopBuilder pBuilder,
WhereTerm pLower,
WhereTerm pUpper,
WhereLoop pLoop 
)
static

Definition at line 110431 of file sqlite3.c.

static WhereTerm* whereScanInit ( WhereScan pScan,
WhereClause pWC,
int  iCur,
int  iColumn,
u32  opMask,
Index pIdx 
)
static

Definition at line 108946 of file sqlite3.c.

static WhereTerm* whereScanNext ( WhereScan pScan)
static

Definition at line 108856 of file sqlite3.c.

static int whereShortCut ( WhereLoopBuilder pBuilder)
static

Definition at line 113591 of file sqlite3.c.

static void whereSplit ( WhereClause pWC,
Expr pExpr,
u8  op 
)
static

Definition at line 108671 of file sqlite3.c.

static char* whereTempTriggers ( Parse pParse,
Table pTab 
)
static

Definition at line 81115 of file sqlite3.c.

static int whereUsablePartialIndex ( int  iTab,
WhereClause pWC,
Expr pWhere 
)
static

Definition at line 112533 of file sqlite3.c.

static int write32bits ( sqlite3_file fd,
i64  offset,
u32  val 
)
static

Definition at line 40176 of file sqlite3.c.

static int writeJournalHdr ( Pager pPager)
static

Definition at line 40476 of file sqlite3.c.

static int writeMasterJournal ( Pager pPager,
const char *  zMaster 
)
static

Definition at line 40719 of file sqlite3.c.

static int xferCompatibleCollation ( const char *  z1,
const char *  z2 
)
static

Definition at line 94563 of file sqlite3.c.

static int xferCompatibleIndex ( Index pDest,
Index pSrc 
)
static

Definition at line 94585 of file sqlite3.c.

static int xferOptimization ( Parse pParse,
Table pDest,
Select pSelect,
int  onError,
int  iDbDest 
)
static

Definition at line 94639 of file sqlite3.c.

static void yy_accept ( yyParser yypParser)
static

Definition at line 117638 of file sqlite3.c.

static void yy_destructor ( yyParser yypParser,
YYCODETYPE  yymajor,
YYMINORTYPE yypminor 
)
static

Definition at line 115707 of file sqlite3.c.

static int yy_find_reduce_action ( int  stateno,
YYCODETYPE  iLookAhead 
)
static

Definition at line 115938 of file sqlite3.c.

static int yy_find_shift_action ( yyParser pParser,
YYCODETYPE  iLookAhead 
)
static

Definition at line 115873 of file sqlite3.c.

static int yy_pop_parser_stack ( yyParser pParser)
static

Definition at line 115808 of file sqlite3.c.

static void yy_reduce ( yyParser yypParser,
int  yyruleno 
)
static

Definition at line 116375 of file sqlite3.c.

static void yy_shift ( yyParser yypParser,
int  yyNewState,
int  yyMajor,
YYMINORTYPE yypMinor 
)
static

Definition at line 115988 of file sqlite3.c.

static void yy_syntax_error ( yyParser yypParser,
int  yymajor,
YYMINORTYPE  yyminor 
)
static

Definition at line 117621 of file sqlite3.c.

static void yyStackOverflow ( yyParser yypParser,
YYMINORTYPE yypMinor 
)
static

Definition at line 115968 of file sqlite3.c.

static void zeroblobFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
)
static

Definition at line 90790 of file sqlite3.c.

static int zeroJournalHdr ( Pager pPager,
int  doTruncate 
)
static

Definition at line 40427 of file sqlite3.c.

static void zeroPage ( MemPage pPage,
int  flags 
)
static

Definition at line 51879 of file sqlite3.c.

Variable Documentation

const char aDigits[] = "0123456789ABCDEF0123456789abcdef"
static

Definition at line 19807 of file sqlite3.c.

const int aHardLimit[]
static
Initial value:
= {
}
#define SQLITE_MAX_ATTACHED
Definition: sqlite3.c:7548
#define SQLITE_MAX_VARIABLE_NUMBER
Definition: sqlite3.c:7556
#define SQLITE_MAX_TRIGGER_DEPTH
Definition: sqlite3.c:7630
#define SQLITE_MAX_VDBE_OP
Definition: sqlite3.c:7513
#define SQLITE_MAX_LENGTH
Definition: sqlite3.c:7447
#define SQLITE_MAX_FUNCTION_ARG
Definition: sqlite3.c:7520
#define SQLITE_MAX_EXPR_DEPTH
Definition: sqlite3.c:7493
#define SQLITE_MAX_SQL_LENGTH
Definition: sqlite3.c:7479
#define SQLITE_MAX_COMPOUND_SELECT
Definition: sqlite3.c:7505
#define SQLITE_MAX_COLUMN
Definition: sqlite3.c:7468
#define SQLITE_MAX_LIKE_PATTERN_LENGTH
Definition: sqlite3.c:7619

Definition at line 121070 of file sqlite3.c.

const unsigned char aJournalMagic[]
static
Initial value:
= {
0xd9, 0xd5, 0x05, 0xf9, 0x20, 0xa1, 0x63, 0xd7,
}

Definition at line 39855 of file sqlite3.c.

const struct sPragmaNames aPragmaNames[]
static
const char aPrefix[] = "-x0\000X0"
static

Definition at line 19808 of file sqlite3.c.

struct unix_syscall aSyscall[]
static
const char* const azCompileOpt[]
static

Definition at line 13006 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:19761
#define etSQLESCAPE3
Definition: sqlite3.c:19771
#define etORDINAL
Definition: sqlite3.c:19772
#define etSRCLIST
Definition: sqlite3.c:19769
#define etSQLESCAPE
Definition: sqlite3.c:19765
#define etSTRING
Definition: sqlite3.c:19760
#define etPOINTER
Definition: sqlite3.c:19770
#define etSIZE
Definition: sqlite3.c:19759
#define etTOKEN
Definition: sqlite3.c:19768
#define etSQLESCAPE2
Definition: sqlite3.c:19766
#define etGENERIC
Definition: sqlite3.c:19758
#define etPERCENT
Definition: sqlite3.c:19762
#define etEXP
Definition: sqlite3.c:19757
#define etCHARX
Definition: sqlite3.c:19763
#define etRADIX
Definition: sqlite3.c:19755
#define etFLOAT
Definition: sqlite3.c:19756

Definition at line 19809 of file sqlite3.c.

const struct compareInfo globInfo = { '*', '?', '[', 0 }
static

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

unixInodeInfo* inodeList = 0
static

Definition at line 24398 of file sqlite3.c.

Definition at line 116035 of file sqlite3.c.

const struct compareInfo likeInfoAlt = { '%', '_', 0, 0 }
static

Definition at line 90292 of file sqlite3.c.

const struct compareInfo likeInfoNorm = { '%', '_', 0, 1 }
static

Definition at line 90289 of file sqlite3.c.

SQLITE_WSD struct Mem0Global mem0 = { 0, 0, 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:74910
static int memjrnlRead(sqlite3_file *pJfd, void *zBuf, int iAmt, sqlite_int64 iOfst)
Definition: sqlite3.c:74815
static int memjrnlClose(sqlite3_file *pJfd)
Definition: sqlite3.c:74928
static int memjrnlWrite(sqlite3_file *pJfd, const void *zBuf, int iAmt, sqlite_int64 iOfst)
Definition: sqlite3.c:74860
static int memjrnlFileSize(sqlite3_file *pJfd, sqlite_int64 *pSize)
Definition: sqlite3.c:74950
static int memjrnlSync(sqlite3_file *NotUsed, int NotUsed2)
Definition: sqlite3.c:74942

Definition at line 74959 of file sqlite3.c.

unsigned char nrhs

Definition at line 116036 of file sqlite3.c.

SQLITE_WSD struct PCacheGlobal pcache1_g
static
SQLITE_API char * sqlite3_data_directory = 0

Definition at line 4725 of file sqlite3.c.

SQLITE_API char * sqlite3_temp_directory = 0

Definition at line 4688 of file sqlite3.c.

SQLITE_API const char sqlite3_version[] = SQLITE_VERSION

Definition at line 172 of file sqlite3.c.

const sqlite3_api_routines sqlite3Apis
static

Definition at line 95648 of file sqlite3.c.

SQLITE_WSD struct sqlite3AutoExtList sqlite3Autoext = { 0, 0 }
static
SQLITE_PRIVATE SQLITE_WSD struct Sqlite3Config sqlite3Config

Definition at line 12888 of file sqlite3.c.

SQLITE_PRIVATE const unsigned char sqlite3CtypeMap[256]

Definition at line 12837 of file sqlite3.c.

SQLITE_PRIVATE SQLITE_WSD FuncDefHash sqlite3GlobalFunctions

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

SQLITE_PRIVATE const int sqlite3one = 1

Definition at line 8351 of file sqlite3.c.

SQLITE_PRIVATE const unsigned char sqlite3OpcodeProperty[] = OPFLG_INITIALIZER

Definition at line 12975 of file sqlite3.c.

SQLITE_PRIVATE void(*)(void) sqlite3OsDlSym(sqlite3_vfs *pVfs, void *pHdle, const char *zSym)

Definition at line 9954 of file sqlite3.c.

SQLITE_PRIVATE int sqlite3PendingByte = 0x40000000

Definition at line 12966 of file sqlite3.c.

SQLITE_WSD struct sqlite3PrngType sqlite3Prng
static
SQLITE_WSD struct sqlite3PrngType sqlite3SavedPrng
static

Definition at line 20805 of file sqlite3.c.

BtShared* SQLITE_WSD sqlite3SharedCacheList = 0
static

Definition at line 50426 of file sqlite3.c.

SQLITE_WSD struct sqlite3StatType sqlite3Stat = { {0,}, {0,} }
static
SQLITE_PRIVATE const unsigned char sqlite3UpperToLower[]

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

const FuncDef statGetFuncdef
static
Initial value:
= {
0,
0,
0,
0,
"stat_get",
0,
0
}
#define SQLITE_UTF8
Definition: sqlite3.c:4078
#define IsStat34
Definition: sqlite3.c:81802
static void statGet(sqlite3_context *context, int argc, sqlite3_value **argv)
Definition: sqlite3.c:82424

Definition at line 82539 of file sqlite3.c.

const FuncDef statInitFuncdef
static
Initial value:
= {
0,
0,
0,
0,
"stat_init",
0,
0
}
#define SQLITE_UTF8
Definition: sqlite3.c:4078
#define IsStat34
Definition: sqlite3.c:81802
static void statInit(sqlite3_context *context, int argc, sqlite3_value **argv)
Definition: sqlite3.c:82023

Definition at line 82097 of file sqlite3.c.

const FuncDef statPushFuncdef
static
Initial value:
= {
0,
0,
0,
0,
"stat_push",
0,
0
}
#define SQLITE_UTF8
Definition: sqlite3.c:4078
static void statPush(sqlite3_context *context, int argc, sqlite3_value **argv)
Definition: sqlite3.c:82326
#define IsStat34
Definition: sqlite3.c:81802

Definition at line 82395 of file sqlite3.c.

void(*)(void) unixDlSym(sqlite3_vfs *NotUsed, void *p, const char *zSym)
static

Definition at line 29283 of file sqlite3.c.

sqlite3_vfs* SQLITE_WSD vfsList = 0
static

Definition at line 15571 of file sqlite3.c.

const YYACTIONTYPE yy_action[]
static

Definition at line 114614 of file sqlite3.c.

const YYACTIONTYPE yy_default[]
static

Definition at line 115022 of file sqlite3.c.

const YYCODETYPE yy_lookahead[]
static

Definition at line 114775 of file sqlite3.c.

const short yy_reduce_ofst[]
static

Definition at line 114988 of file sqlite3.c.

const short yy_shift_ofst[]
static

Definition at line 114940 of file sqlite3.c.

const YYCODETYPE yyFallback[]
static

Definition at line 115100 of file sqlite3.c.

const { ... } yyRuleInfo[]
const YYMINORTYPE yyzerominor = { 0 }
static

Definition at line 114551 of file sqlite3.c.

const char zMagicHeader[] = SQLITE_FILE_HEADER
static

Definition at line 50371 of file sqlite3.c.



rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:43:41