delete.c File Reference

Go to the source code of this file.

Functions

Tablesqlite3SrcListLookup (Parse *pParse, SrcList *pSrc)
int sqlite3IsReadOnly (Parse *pParse, Table *pTab, int viewOk)
void sqlite3OpenTable (Parse *p, int iCur, int iDb, Table *pTab, int opcode)
void sqlite3MaterializeView (Parse *pParse, Table *pView, Expr *pWhere, int iCur)
void sqlite3DeleteFrom (Parse *pParse, SrcList *pTabList, Expr *pWhere)
void sqlite3GenerateRowDelete (Parse *pParse, Table *pTab, int iCur, int iRowid, int count)
void sqlite3GenerateRowIndexDelete (Parse *pParse, Table *pTab, int iCur, int *aRegIdx)
int sqlite3GenerateIndexKey (Parse *pParse, Index *pIdx, int iCur, int regOut, int doMakeRec)

Function Documentation

void sqlite3DeleteFrom ( Parse pParse,
SrcList pTabList,
Expr pWhere 
)

Definition at line 218 of file delete.c.

References SrcList::a, sqlite3::aDb, COLNAME_NAME, Parse::db, db, sqlite3::flags, SrcList::SrcList_item::iCursor, IsVirtual, sqlite3::mallocFailed, Table::nCol, Parse::nErr, Parse::nested, Parse::nMem, SrcList::nSrc, Parse::nTab, OE_Default, OP_AddImm, OP_Clear, OP_Close, OP_FifoRead, OP_FifoWrite, OP_Goto, OP_Insert, OP_Integer, OP_NotExists, OP_Null, OP_OpenPseudo, OP_OpenWrite, OP_ResultRow, OP_RowData, OP_Rowid, OP_SetNumColumns, OP_VRowid, OP_VUpdate, TriggerStack::orconf, P4_STATIC, P4_VTAB, Table::pIndex, Index::pNext, NameContext::pParse, AuthContext::pParse, Index::pSchema, Table::pSchema, Table::pSelect, NameContext::pSrcList, Table::pVtab, sqlite3AuthCheck(), sqlite3AuthContextPop(), sqlite3AuthContextPush(), sqlite3BeginWriteOperation(), sqlite3CodeRowTrigger(), sqlite3ExprDelete(), sqlite3GenerateRowDelete(), sqlite3GetVdbe(), sqlite3IsReadOnly(), sqlite3MaterializeView(), sqlite3OpenTableAndIndices(), sqlite3ResolveExprNames(), sqlite3SchemaToIndex(), sqlite3SrcListDelete(), sqlite3SrcListLookup(), sqlite3TriggersExist(), sqlite3VdbeAddOp0(), sqlite3VdbeAddOp1(), sqlite3VdbeAddOp2(), sqlite3VdbeAddOp3(), sqlite3VdbeAddOp4(), sqlite3VdbeChangeP4(), sqlite3VdbeCountChanges(), sqlite3VdbeCurrentAddr(), sqlite3VdbeJumpHere(), sqlite3VdbeMakeLabel(), sqlite3VdbeResolveLabel(), sqlite3VdbeSetColName(), sqlite3VdbeSetNumCols(), sqlite3ViewGetColumnNames(), sqlite3VtabMakeWritable(), sqlite3WhereBegin(), sqlite3WhereEnd(), SQLITE_CountRows, SQLITE_DELETE, SQLITE_DENY, SQLITE_IGNORE, SQLITE_OK, SQLITE_STATIC, TK_DELETE, Index::tnum, Table::tnum, TRIGGER_AFTER, TRIGGER_BEFORE, Parse::trigStack, Table::zName, and Db::zName.

Referenced by codeTriggerProgram(), and yy_reduce().

int sqlite3GenerateIndexKey ( Parse pParse,
Index pIdx,
int  iCur,
int  regOut,
int  doMakeRec 
)
void sqlite3GenerateRowDelete ( Parse pParse,
Table pTab,
int  iCur,
int  iRowid,
int  count 
)
void sqlite3GenerateRowIndexDelete ( Parse pParse,
Table pTab,
int  iCur,
int *  aRegIdx 
)
int sqlite3IsReadOnly ( Parse pParse,
Table pTab,
int  viewOk 
)
void sqlite3MaterializeView ( Parse pParse,
Table pView,
Expr pWhere,
int  iCur 
)
void sqlite3OpenTable ( Parse p,
int  iCur,
int  iDb,
Table pTab,
int  opcode 
)
Table* sqlite3SrcListLookup ( Parse pParse,
SrcList pSrc 
)

ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:58 2011 by Doxygen 1.6.1