summaryrefslogtreecommitdiff
path: root/src/fkey.c
AgeCommit message (Expand)AuthorLines
13 daysWhen processing immediate FK constraints, do not assume a CASCADE or SET NULL...dan-5/+31
13 daysProcess all immediate FK constraints before all deferred ones. Otherwise, if ...dan-95/+106
2026-11-04Fix some cases in self-referencing FK processing. Report [bugs:/info/2026-11-...dan-1/+7
2026-11-03Fix foreign key processing for the case where a row is its own parent and the...dan-6/+8
2026-10-21Allow composite FKs to use indexes with mismatched affinities as well.dan-4/+5
2026-10-21The IN pre-filter is now only added when the child key can actually use andrh-20/+50
2026-10-21An attempt to get the new foreign key code to use indexes on type mismatchdrh-20/+92
2026-10-21Ensure that all (parent_key = child_key) comparisons performed as part of for...dan-15/+61
2026-10-20Fix an adverse interaction between triggers changing a table that usesdrh-4/+3
2026-08-26Split the sqlite3ColumnExpr() routine out into two routines, one that worksdrh-1/+1
2026-08-26An attempt to make the authorizer effective at preventing the use ofdrh-1/+1
2026-03-17Fix a harmless compiler warning.drh-1/+0
2026-03-16Properly fix temp triggers created as part of FK processing to their schemas....dan-5/+8
2026-02-13Add new assert() statements to demonstrate that the complaint given indrh-0/+1
2025-10-29Experimental change to allow triggers in the temp schema to use fully qualifi...dan-5/+6
2024-08-20Tighter checking of access constraints on union members in SrcItem.drh-1/+1
2024-08-17Give unique names to fields in the SrcItem object, to facilitate analysis ofdrh-2/+2
2024-08-17Reduce the size of the SrcItem object by combining fields into a union.drh-1/+2
2024-05-08Allow arbitrary expressions as the second argument to RAISE().drh-1/+2
2023-10-21Remove a branch that cannot affect the outcome from FkNoAction processing indrh-1/+2
2023-10-20Add the SQLITE_CHANGESETAPPLY_FKNOACTION flag to sqlite3session.h, for passin...dan-2/+9
2023-06-16Address various harmless compiler warnings fromdrh-3/+2
2023-04-14Avoid double de-quoting of table names when processing RESTRICT actionsdrh-8/+8
2022-08-22Add the new internal interface sqlite3DbNNFreeNN(db,ptr) where both thedrh-1/+2
2022-04-16Fix a problem with "ON DELETE RESTRICT" and "ON UPDATE RESTRICT" foreign keys...dan-8/+9
2022-04-04Use unpacked keys for OP_Found in foreign key processing.drh-6/+4
2022-01-27Give the virtual table xBestIndex method access to (some) OFFSET and LIMITdrh-1/+1
2022-01-02Clear the cache of triggers used to implement CASCADE foreign key constraintsdrh-0/+19
2021-10-07Protect access to the Expr.y union using nearby assert()s and branches.drh-0/+1
2021-10-07Protect every access to the Table.u union using a nearby assert() or branch.drh-8/+6
2021-08-05Store the collating sequence name for each column of a table as andrh-2/+2
2021-08-03Improved harmony with the reuse-schema branch.drh-1/+1
2021-08-02Refactor field names in the Column object, zCnName and zCnColl, to make themdrh-10/+12
2021-08-02Refactor the Table object to reduce its memory footprint.drh-10/+13
2021-07-31Refactor the way that DEFAULT expressions are stored on columns, in orderdrh-1/+1
2021-02-21Rename the "struct SrcList_item" object to the more succinct "SrcItem".drh-1/+1
2021-02-03Avoid doing any foreign-key constraint related processing for an UPDATE state...dan-7/+10
2021-01-29Allow "*" wildcards in the RETURNING clause.drh-1/+0
2021-01-29Working prototype.drh-1/+2
2020-08-10Fix harmless compiler warnings that surface in newer versions of GCC.drh-0/+1
2020-02-07During byte-code generation, strive to avoid jumps that merely jump to thedrh-1/+1
2019-11-01Fix a harmless compiler warning.drh-3/+3
2019-11-01The SET DEFAULT and SET NULL conflict resolution actions for foreign keydrh-1/+9
2019-11-01Add another missing column number translation to the foreign key logic.drh-1/+3
2019-11-01Add missing column translations to foreign key logic.drh-1/+1
2019-10-23Fix the foreign key logic to be compatible with generated columns.drh-5/+11
2019-10-05Performance optimization to the lookaside-memory disabling mechanism.drh-2/+2
2019-08-05Refactor field Expr.affinity into Expr.affExpr to avoid confusion with otherdrh-3/+3
2019-07-16Add new assert() statements in an attempt to help static analyzers avoiddrh-0/+1
2019-04-19Streamline the processing of the AND operator. Slightly smaller and faster.drh-5/+5