[ { "function_name": "sqlite3FkLocateIndex", "function_signature": "int sqlite3FkLocateIndex(\n Parse *pParse, /* Parse context to store any error in */\n Table *pParent, /* Parent table of FK constraint pFKey */\n FKey *pFKey, /* Foreign key to find index for */\n Index **ppIdx, /* OUT: Unique index on parent table */\n int **paiCol /* OUT: Map of index columns in pFKey */\n)", "test_filename": "tests_fkey_sqlite3FkLocateIndex.c" }, { "function_name": "fkLookupParent", "function_signature": "static void fkLookupParent(\n Parse *pParse, /* Parse context */\n int iDb, /* Index of database housing pTab */\n Table *pTab, /* Parent table of FK pFKey */\n Index *pIdx, /* Unique index on parent key columns in pTab */\n FKey *pFKey, /* Foreign key constraint */\n int *aiCol, /* Map from parent key columns to child table columns */\n int regData, /* Address of array containing child table row */\n int nIncr, /* Increment constraint counter by this */\n int isIgnore /* If true, pretend pTab contains all NULL values */\n)", "test_filename": "tests_fkey_fkLookupParent.c" }, { "function_name": "fkScanChildren", "function_signature": "static void fkScanChildren(\n Parse *pParse, /* Parse context */\n SrcList *pSrc, /* The child table to be scanned */\n Table *pTab, /* The parent table */\n Index *pIdx, /* Index on parent covering the foreign key */\n FKey *pFKey, /* The foreign key linking pSrc to pTab */\n int *aiCol, /* Map from pIdx cols to child table cols */\n int regData, /* Parent row data starts here */\n int nIncr /* Amount to increment deferred counter by */\n)", "test_filename": "tests_fkey_fkScanChildren.c" }, { "function_name": "fkTriggerDelete", "function_signature": "static void fkTriggerDelete(sqlite3 *dbMem, Trigger *p)", "test_filename": "tests_fkey_fkTriggerDelete.c" }, { "function_name": "sqlite3FkClearTriggerCache", "function_signature": "void sqlite3FkClearTriggerCache(sqlite3 *db, int iDb)", "test_filename": "tests_fkey_sqlite3FkClearTriggerCache.c" }, { "function_name": "sqlite3FkDropTable", "function_signature": "void sqlite3FkDropTable(Parse *pParse, SrcList *pName, Table *pTab)", "test_filename": "tests_fkey_sqlite3FkDropTable.c" }, { "function_name": "fkChildIsModified", "function_signature": "static int fkChildIsModified(\n Table *pTab, /* Table being updated */\n FKey *p, /* Foreign key for which pTab is the child */\n int *aChange, /* Array indicating modified columns */\n int bChngRowid /* True if rowid is modified by this update */\n)", "test_filename": "tests_fkey_fkChildIsModified.c" }, { "function_name": "fkParentIsModified", "function_signature": "static int fkParentIsModified(\n Table *pTab, \n FKey *p, \n int *aChange, \n int bChngRowid\n)", "test_filename": "tests_fkey_fkParentIsModified.c" }, { "function_name": "isSetNullAction", "function_signature": "static int isSetNullAction(Parse *pParse, FKey *pFKey)", "test_filename": "tests_fkey_isSetNullAction.c" }, { "function_name": "sqlite3FkCheck", "function_signature": "void sqlite3FkCheck(\n Parse *pParse, /* Parse context */\n Table *pTab, /* Row is being deleted from this table */ \n int regOld, /* Previous row data is stored here */\n int regNew, /* New row data is stored here */\n int *aChange, /* Array indicating UPDATEd columns (or 0) */\n int bChngRowid /* True if rowid is UPDATEd */\n)", "test_filename": "tests_fkey_sqlite3FkCheck.c" }, { "function_name": "sqlite3FkOldmask", "function_signature": "u32 sqlite3FkOldmask(\n Parse *pParse, /* Parse context */\n Table *pTab /* Table being modified */\n)", "test_filename": "tests_fkey_sqlite3FkOldmask.c" }, { "function_name": "sqlite3FkRequired", "function_signature": "int sqlite3FkRequired(\n Parse *pParse, /* Parse context */\n Table *pTab, /* Table being modified */\n int *aChange, /* Non-NULL for UPDATE operations */\n int chngRowid /* True for UPDATE that affects rowid */\n)", "test_filename": "tests_fkey_sqlite3FkRequired.c" }, { "function_name": "sqlite3FkActions", "function_signature": "void sqlite3FkActions(\n Parse *pParse, /* Parse context */\n Table *pTab, /* Table being updated or deleted from */\n ExprList *pChanges, /* Change-list for UPDATE, NULL for DELETE */\n int regOld, /* Address of array containing old row */\n int *aChange, /* Array indicating UPDATEd columns (or 0) */\n int bChngRowid /* True if rowid is UPDATEd */\n)", "test_filename": "tests_fkey_sqlite3FkActions.c" }, { "function_name": "sqlite3FkDelete", "function_signature": "void sqlite3FkDelete(sqlite3 *db, Table *pTab)", "test_filename": "tests_fkey_sqlite3FkDelete.c" } ]