Clases |
struct | Db |
struct | sqlite |
struct | sqlite::sqliteInitInfo |
struct | FuncDef |
struct | Column |
struct | Table |
struct | FKey |
struct | FKey::sColMap |
struct | Index |
struct | Token |
struct | Expr |
struct | ExprList |
struct | ExprList::ExprList_item |
struct | IdList |
struct | IdList::IdList_item |
struct | SrcList |
struct | SrcList::SrcList_item |
struct | WhereLevel |
struct | WhereInfo |
struct | Select |
struct | AggExpr |
struct | Parse |
struct | AuthContext |
struct | Trigger |
struct | TriggerStep |
struct | TriggerStack |
struct | DbFixer |
'defines' |
#define | MAX_PAGES 2000 |
#define | TEMP_PAGES 500 |
#define | NULL_ALWAYS_DISTINCT 0 |
#define | NULL_DISTINCT_FOR_UNIQUE 1 |
#define | MAX_ATTACHED 10 |
#define | UINT32_TYPE unsigned int |
#define | UINT16_TYPE unsigned short int |
#define | UINT8_TYPE unsigned char |
#define | INT8_TYPE signed char |
#define | INTPTR_TYPE long long |
#define | LONGDOUBLE_TYPE long double |
#define | Addr(X) ((uptr)X) |
#define | MAX_BYTES_PER_ROW 1048576 |
#define | sqliteRealloc_(X, Y) sqliteRealloc(X,Y) |
#define | sqliteStrRealloc(X) |
#define | MASTER_NAME "sqlite_master" |
#define | TEMP_MASTER_NAME "sqlite_temp_master" |
#define | SCHEMA_TABLE(x) (x?TEMP_MASTER_NAME:MASTER_NAME) |
#define | ArraySize(X) (sizeof(X)/sizeof(X[0])) |
#define | DbHasProperty(D, I, P) (((D)->aDb[I].flags&(P))==(P)) |
#define | DbHasAnyProperty(D, I, P) (((D)->aDb[I].flags&(P))!=0) |
#define | DbSetProperty(D, I, P) (D)->aDb[I].flags|=(P) |
#define | DbClearProperty(D, I, P) (D)->aDb[I].flags&=~(P) |
#define | DB_Locked 0x0001 |
#define | DB_Cookie 0x0002 |
#define | DB_SchemaLoaded 0x0004 |
#define | DB_UnresetViews 0x0008 |
#define | SQLITE_VdbeTrace 0x00000001 |
#define | SQLITE_Initialized 0x00000002 |
#define | SQLITE_Interrupt 0x00000004 |
#define | SQLITE_InTrans 0x00000008 |
#define | SQLITE_InternChanges 0x00000010 |
#define | SQLITE_FullColNames 0x00000020 |
#define | SQLITE_ShortColNames 0x00000040 |
#define | SQLITE_CountRows 0x00000080 |
#define | SQLITE_NullCallback 0x00000100 |
#define | SQLITE_ReportTypes 0x00000200 |
#define | SQLITE_MAGIC_OPEN 0xa029a697 |
#define | SQLITE_MAGIC_CLOSED 0x9f3c2d33 |
#define | SQLITE_MAGIC_BUSY 0xf03b7906 |
#define | SQLITE_MAGIC_ERROR 0xb5357930 |
#define | SQLITE_SO_UNK 0 |
#define | SQLITE_SO_TEXT 2 |
#define | SQLITE_SO_NUM 4 |
#define | SQLITE_SO_TYPEMASK 6 |
#define | SQLITE_SO_ASC 0 |
#define | SQLITE_SO_DESC 1 |
#define | SQLITE_SO_DIRMASK 1 |
#define | OE_None 0 |
#define | OE_Rollback 1 |
#define | OE_Abort 2 |
#define | OE_Fail 3 |
#define | OE_Ignore 4 |
#define | OE_Replace 5 |
#define | OE_Restrict 6 |
#define | OE_SetNull 7 |
#define | OE_SetDflt 8 |
#define | OE_Cascade 9 |
#define | OE_Default 99 |
#define | EP_FromJoin 0x0001 |
#define | ExprHasProperty(E, P) (((E)->flags&(P))==(P)) |
#define | ExprHasAnyProperty(E, P) (((E)->flags&(P))!=0) |
#define | ExprSetProperty(E, P) (E)->flags|=(P) |
#define | ExprClearProperty(E, P) (E)->flags&=~(P) |
#define | JT_INNER 0x0001 |
#define | JT_NATURAL 0x0002 |
#define | JT_LEFT 0x0004 |
#define | JT_RIGHT 0x0008 |
#define | JT_OUTER 0x0010 |
#define | JT_ERROR 0x0020 |
#define | SRT_Callback 1 |
#define | SRT_Mem 2 |
#define | SRT_Set 3 |
#define | SRT_Union 5 |
#define | SRT_Except 6 |
#define | SRT_Table 7 |
#define | SRT_TempTable 8 |
#define | SRT_Discard 9 |
#define | SRT_Sorter 10 |
#define | SRT_Subroutine 11 |
#define | OPFLAG_NCHANGE 1 |
#define | OPFLAG_LASTROWID 2 |
#define | OPFLAG_CSCHANGE 4 |
#define | sqliteCheckMemory(a, b) |
'typedefs' |
typedef UINT32_TYPE | u32 |
typedef UINT16_TYPE | u16 |
typedef UINT8_TYPE | u8 |
typedef UINT8_TYPE | i8 |
typedef INTPTR_TYPE | ptr |
typedef unsigned INTPTR_TYPE | uptr |
typedef struct Column | Column |
typedef struct Table | Table |
typedef struct Index | Index |
typedef struct Instruction | Instruction |
typedef struct Expr | Expr |
typedef struct ExprList | ExprList |
typedef struct Parse | Parse |
typedef struct Token | Token |
typedef struct IdList | IdList |
typedef struct SrcList | SrcList |
typedef struct WhereInfo | WhereInfo |
typedef struct WhereLevel | WhereLevel |
typedef struct Select | Select |
typedef struct AggExpr | AggExpr |
typedef struct FuncDef | FuncDef |
typedef struct Trigger | Trigger |
typedef struct TriggerStep | TriggerStep |
typedef struct TriggerStack | TriggerStack |
typedef struct FKey | FKey |
typedef struct Db | Db |
typedef struct AuthContext | AuthContext |
typedef struct DbFixer | DbFixer |
Funciones |
int | sqliteStrICmp (const char *, const char *) |
int | sqliteStrNICmp (const char *, const char *, int) |
int | sqliteHashNoCase (const char *, int) |
int | sqliteIsNumber (const char *) |
int | sqliteCompare (const char *, const char *) |
int | sqliteSortCompare (const char *, const char *) |
void | sqliteRealToSortable (double r, char *) |
void * | sqliteMalloc (int) |
void * | sqliteMallocRaw (int) |
void | sqliteFree (void *) |
void * | sqliteRealloc (void *, int) |
char * | sqliteStrDup (const char *) |
char * | sqliteStrNDup (const char *, int) |
char * | sqliteMPrintf (const char *,...) |
char * | sqliteVMPrintf (const char *, va_list) |
void | sqliteSetString (char **, const char *,...) |
void | sqliteSetNString (char **,...) |
void | sqliteErrorMsg (Parse *, const char *,...) |
void | sqliteDequote (char *) |
int | sqliteKeywordCode (const char *, int) |
int | sqliteRunParser (Parse *, const char *, char **) |
void | sqliteExec (Parse *) |
Expr * | sqliteExpr (int, Expr *, Expr *, Token *) |
void | sqliteExprSpan (Expr *, Token *, Token *) |
Expr * | sqliteExprFunction (ExprList *, Token *) |
void | sqliteExprDelete (Expr *) |
ExprList * | sqliteExprListAppend (ExprList *, Expr *, Token *) |
void | sqliteExprListDelete (ExprList *) |
int | sqliteInit (sqlite *, char **) |
void | sqlitePragma (Parse *, Token *, Token *, int) |
void | sqliteResetInternalSchema (sqlite *, int) |
void | sqliteBeginParse (Parse *, int) |
void | sqliteRollbackInternalChanges (sqlite *) |
void | sqliteCommitInternalChanges (sqlite *) |
Table * | sqliteResultSetOfSelect (Parse *, char *, Select *) |
void | sqliteOpenMasterTable (Vdbe *v, int) |
void | sqliteStartTable (Parse *, Token *, Token *, int, int) |
void | sqliteAddColumn (Parse *, Token *) |
void | sqliteAddNotNull (Parse *, int) |
void | sqliteAddPrimaryKey (Parse *, IdList *, int) |
void | sqliteAddColumnType (Parse *, Token *, Token *) |
void | sqliteAddDefaultValue (Parse *, Token *, int) |
int | sqliteCollateType (const char *, int) |
void | sqliteAddCollateType (Parse *, int) |
void | sqliteEndTable (Parse *, Token *, Select *) |
void | sqliteCreateView (Parse *, Token *, Token *, Select *, int) |
int | sqliteViewGetColumnNames (Parse *, Table *) |
void | sqliteDropTable (Parse *, Token *, int) |
void | sqliteDeleteTable (sqlite *, Table *) |
void | sqliteInsert (Parse *, SrcList *, ExprList *, Select *, IdList *, int) |
IdList * | sqliteIdListAppend (IdList *, Token *) |
int | sqliteIdListIndex (IdList *, const char *) |
SrcList * | sqliteSrcListAppend (SrcList *, Token *, Token *) |
void | sqliteSrcListAddAlias (SrcList *, Token *) |
void | sqliteSrcListAssignCursors (Parse *, SrcList *) |
void | sqliteIdListDelete (IdList *) |
void | sqliteSrcListDelete (SrcList *) |
void | sqliteCreateIndex (Parse *, Token *, SrcList *, IdList *, int, Token *, Token *) |
void | sqliteDropIndex (Parse *, SrcList *) |
void | sqliteAddKeyType (Vdbe *, ExprList *) |
void | sqliteAddIdxKeyType (Vdbe *, Index *) |
int | sqliteSelect (Parse *, Select *, int, int, Select *, int, int *) |
Select * | sqliteSelectNew (ExprList *, SrcList *, Expr *, ExprList *, Expr *, ExprList *, int, int, int) |
void | sqliteSelectDelete (Select *) |
void | sqliteSelectUnbind (Select *) |
Table * | sqliteSrcListLookup (Parse *, SrcList *) |
int | sqliteIsReadOnly (Parse *, Table *, int) |
void | sqliteDeleteFrom (Parse *, SrcList *, Expr *) |
void | sqliteUpdate (Parse *, SrcList *, ExprList *, Expr *, int) |
WhereInfo * | sqliteWhereBegin (Parse *, SrcList *, Expr *, int, ExprList **) |
void | sqliteWhereEnd (WhereInfo *) |
void | sqliteExprCode (Parse *, Expr *) |
int | sqliteExprCodeExprList (Parse *, ExprList *, int) |
void | sqliteExprIfTrue (Parse *, Expr *, int, int) |
void | sqliteExprIfFalse (Parse *, Expr *, int, int) |
Table * | sqliteFindTable (sqlite *, const char *, const char *) |
Table * | sqliteLocateTable (Parse *, const char *, const char *) |
Index * | sqliteFindIndex (sqlite *, const char *, const char *) |
void | sqliteUnlinkAndDeleteIndex (sqlite *, Index *) |
void | sqliteCopy (Parse *, SrcList *, Token *, Token *, int) |
void | sqliteVacuum (Parse *, Token *) |
int | sqliteRunVacuum (char **, sqlite *) |
int | sqliteGlobCompare (const unsigned char *, const unsigned char *) |
int | sqliteLikeCompare (const unsigned char *, const unsigned char *) |
char * | sqliteTableNameFromToken (Token *) |
int | sqliteExprCheck (Parse *, Expr *, int, int *) |
int | sqliteExprType (Expr *) |
int | sqliteExprCompare (Expr *, Expr *) |
int | sqliteFuncId (Token *) |
int | sqliteExprResolveIds (Parse *, SrcList *, ExprList *, Expr *) |
int | sqliteExprAnalyzeAggregates (Parse *, Expr *) |
Vdbe * | sqliteGetVdbe (Parse *) |
void | sqliteRandomness (int, void *) |
void | sqliteRollbackAll (sqlite *) |
void | sqliteCodeVerifySchema (Parse *, int) |
void | sqliteBeginTransaction (Parse *, int) |
void | sqliteCommitTransaction (Parse *) |
void | sqliteRollbackTransaction (Parse *) |
int | sqliteExprIsConstant (Expr *) |
int | sqliteExprIsInteger (Expr *, int *) |
int | sqliteIsRowid (const char *) |
void | sqliteGenerateRowDelete (sqlite *, Vdbe *, Table *, int, int) |
void | sqliteGenerateRowIndexDelete (sqlite *, Vdbe *, Table *, int, char *) |
void | sqliteGenerateConstraintChecks (Parse *, Table *, int, char *, int, int, int, int) |
void | sqliteCompleteInsertion (Parse *, Table *, int, char *, int, int, int) |
int | sqliteOpenTableAndIndices (Parse *, Table *, int) |
void | sqliteBeginWriteOperation (Parse *, int, int) |
void | sqliteEndWriteOperation (Parse *) |
Expr * | sqliteExprDup (Expr *) |
void | sqliteTokenCopy (Token *, Token *) |
ExprList * | sqliteExprListDup (ExprList *) |
SrcList * | sqliteSrcListDup (SrcList *) |
IdList * | sqliteIdListDup (IdList *) |
Select * | sqliteSelectDup (Select *) |
FuncDef * | sqliteFindFunction (sqlite *, const char *, int, int, int) |
void | sqliteRegisterBuiltinFunctions (sqlite *) |
void | sqliteRegisterDateTimeFunctions (sqlite *) |
int | sqliteSafetyOn (sqlite *) |
int | sqliteSafetyOff (sqlite *) |
int | sqliteSafetyCheck (sqlite *) |
void | sqliteChangeCookie (sqlite *, Vdbe *) |
void | sqliteBeginTrigger (Parse *, Token *, int, int, IdList *, SrcList *, int, Expr *, int) |
void | sqliteFinishTrigger (Parse *, TriggerStep *, Token *) |
void | sqliteDropTrigger (Parse *, SrcList *) |
void | sqliteDropTriggerPtr (Parse *, Trigger *, int) |
int | sqliteTriggersExist (Parse *, Trigger *, int, int, int, ExprList *) |
int | sqliteCodeRowTrigger (Parse *, int, ExprList *, int, Table *, int, int, int, int) |
void | sqliteViewTriggers (Parse *, Table *, Expr *, int, ExprList *) |
void | sqliteDeleteTriggerStep (TriggerStep *) |
TriggerStep * | sqliteTriggerSelectStep (Select *) |
TriggerStep * | sqliteTriggerInsertStep (Token *, IdList *, ExprList *, Select *, int) |
TriggerStep * | sqliteTriggerUpdateStep (Token *, ExprList *, Expr *, int) |
TriggerStep * | sqliteTriggerDeleteStep (Token *, Expr *) |
void | sqliteDeleteTrigger (Trigger *) |
int | sqliteJoinType (Parse *, Token *, Token *, Token *) |
void | sqliteCreateForeignKey (Parse *, IdList *, Token *, IdList *, int) |
void | sqliteDeferForeignKey (Parse *, int) |
void | sqliteAuthRead (Parse *, Expr *, SrcList *) |
int | sqliteAuthCheck (Parse *, int, const char *, const char *, const char *) |
void | sqliteAuthContextPush (Parse *, AuthContext *, const char *) |
void | sqliteAuthContextPop (AuthContext *) |
void | sqliteAttach (Parse *, Token *, Token *, Token *) |
void | sqliteDetach (Parse *, Token *) |
int | sqliteBtreeFactory (const sqlite *db, const char *zFilename, int mode, int nPg, Btree **ppBtree) |
int | sqliteFixInit (DbFixer *, Parse *, int, const char *, const Token *) |
int | sqliteFixSrcList (DbFixer *, SrcList *) |
int | sqliteFixSelect (DbFixer *, Select *) |
int | sqliteFixExpr (DbFixer *, Expr *) |
int | sqliteFixExprList (DbFixer *, ExprList *) |
int | sqliteFixTriggerStep (DbFixer *, TriggerStep *) |
double | sqliteAtoF (const char *z, const char **) |
char * | sqlite_snprintf (int, char *, const char *,...) |
int | sqliteFitsIn32Bits (const char *) |
Variables |
int | sqlite_malloc_failed |
int | always_code_trigger_setup |