attach.c File Reference

Go to the source code of this file.

Functions

static int resolveAttachExpr (NameContext *pName, Expr *pExpr)
static void attachFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
static void detachFunc (sqlite3_context *context, int argc, sqlite3_value **argv)
static void codeAttach (Parse *pParse, int type, FuncDef *pFunc, Expr *pAuthArg, Expr *pFilename, Expr *pDbname, Expr *pKey)
void sqlite3Detach (Parse *pParse, Expr *pDbname)
void sqlite3Attach (Parse *pParse, Expr *p, Expr *pDbname, Expr *pKey)
int sqlite3FixInit (DbFixer *pFix, Parse *pParse, int iDb, const char *zType, const Token *pName)
int sqlite3FixSrcList (DbFixer *pFix, SrcList *pList)
int sqlite3FixSelect (DbFixer *pFix, Select *pSelect)
int sqlite3FixExpr (DbFixer *pFix, Expr *pExpr)
int sqlite3FixExprList (DbFixer *pFix, ExprList *pList)
int sqlite3FixTriggerStep (DbFixer *pFix, TriggerStep *pStep)

Function Documentation

static void attachFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
) [static]
static void codeAttach ( Parse pParse,
int  type,
FuncDef pFunc,
Expr pAuthArg,
Expr pFilename,
Expr pDbname,
Expr pKey 
) [static]
static void detachFunc ( sqlite3_context context,
int  argc,
sqlite3_value **  argv 
) [static]
static int resolveAttachExpr ( NameContext pName,
Expr pExpr 
) [static]
void sqlite3Attach ( Parse pParse,
Expr p,
Expr pDbname,
Expr pKey 
)

Definition at line 376 of file attach.c.

References attachFunc(), codeAttach(), SQLITE_ATTACH, and SQLITE_UTF8.

Referenced by yy_reduce().

void sqlite3Detach ( Parse pParse,
Expr pDbname 
)

Definition at line 355 of file attach.c.

References codeAttach(), detachFunc(), SQLITE_DETACH, and SQLITE_UTF8.

Referenced by yy_reduce().

int sqlite3FixExpr ( DbFixer pFix,
Expr pExpr 
)
int sqlite3FixExprList ( DbFixer pFix,
ExprList pList 
)

Definition at line 499 of file attach.c.

References ExprList::a, and sqlite3FixExpr().

Referenced by sqlite3FixExpr(), sqlite3FixSelect(), and sqlite3FixTriggerStep().

int sqlite3FixInit ( DbFixer pFix,
Parse pParse,
int  iDb,
const char *  zType,
const Token pName 
)
int sqlite3FixSelect ( DbFixer pFix,
Select pSelect 
)
int sqlite3FixSrcList ( DbFixer pFix,
SrcList pList 
)
int sqlite3FixTriggerStep ( DbFixer pFix,
TriggerStep pStep 
)

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