summaryrefslogtreecommitdiff
path: root/src/trigger.c
AgeCommit message (Expand)AuthorLines
6 daysUse a statement journal if any trigger program or FK action recursively calls...dan-0/+7
2026-11-07Ensure trigger programs that use views do not end up with duplicate select-id...dan-0/+2
2026-11-02Avoid errors that sometimes occur when running ALTER TABLE or VACUUM when the...dan-5/+9
2026-10-29Do not let a TEMP table or an uninitialized schema prevent unauthorizeddrh-3/+7
2026-10-20Fix an adverse interaction between triggers changing a table that usesdrh-0/+1
2026-08-20Fix a harmless compiler warning.drh-1/+1
2026-08-18Add SQLITE_LIMIT_TRIGGER_STEPS and -DSQLITE_MAX_TRIGGER_STEPS=n. Default max...drh-1/+6
2026-07-20Improved detection and reporting of deliberate misinformation in thedrh-1/+2
2026-06-15Enhance SQLITE_LIMIT_TRIGGER_DEPTH so that it also limits a chain ofdrh-1/+15
2026-03-02Fix TEMP INSTEAD OF triggers so that they work on TEMP views.drh-0/+1
2026-02-13Add new assert() statements to demonstrate that the complaint given indrh-0/+1
2025-12-19Add experimental compile-time option SQLITE_ALLOW_TRIGGERS_ON_SYSTEM_TABLES.drh-0/+5
2025-12-01Fix a memory leak that could follow an OOM on this branch.dan-0/+2
2025-12-01Fix another crash on this branch that could follow an OOM.dan-1/+1
2025-12-01Fix a crash that could occur following a parse error on this branch.dan-1/+1
2025-11-18Fix another problem that could follow an OOM fault on this branch.dan-1/+1
2025-11-18Avoid a segfault that could follow an OOM in an ALTER TABLE statement.dan-1/+1
2025-10-29Experimental change to allow triggers in the temp schema to use fully qualifi...dan-74/+54
2025-08-04Fix harmless compiler warnings arising from [1cccea0508f5c8b8].drh-1/+1
2025-07-30Move the flexarray union members from [527bbc1676a85a9] to the end of their r...stephan-1/+1
2025-07-30Apply alignment-related patches suggested in [forum:41cd226375cd49c6 | forum ...stephan-2/+5
2025-03-14Make use of the flexible-array feature of C99, when available, to try todrh-7/+9
2025-02-07Further reduction in the amount of memset() needed to initialize the Parsedrh-2/+4
2025-02-07Reduce the amount of memset() needed to initialize the Parse object.drh-0/+2
2024-12-12Increase the maximum number of arguments on an SQL function to 1000 with thedrh-1/+1
2024-08-20Tighter checking of access constraints on union members in SrcItem.drh-2/+4
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-5/+8
2024-04-24If a RETURNING clause contains a subquery that references the table that isdrh-0/+67
2024-04-24Add comments linking the assert() added in [cef4d9e3ba586735] to the placesdrh-1/+1
2024-04-24Ensure that temporary SrcItem objects created by trigger processing havedrh-0/+1
2023-10-26Further enhancements to make sure the correct returnning trigger is run whendrh-2/+9
2023-10-26Deal with the case of a reentrant INSERT on a virtual table where thedrh-1/+1
2023-10-13Do not allow triggers on shadow tables under defensive mode.drh-0/+4
2023-03-28Fix multiple problems with RETURNING on a DML statement against a view,drh-0/+3
2023-03-17Fix assert() statements that would (incorrectly) fire if an IF NOT EXISTSdrh-0/+1
2023-03-08Fix a possible NULL pointer dereference due to the sqlite3_interrupt()drh-1/+1
2022-11-28Ensure the RETURNING clause is honoured when a row of a temp table is updated...dan-1/+1
2022-10-01Replace the Parse.disableVtab field with Parse.prepFlags for increaseddrh-1/+1
2022-09-27Enhance defensive mode so that it disallows CREATE TRIGGER statements if thedrh-0/+17
2022-05-27Fix further issues with ALTER TABLE and triggers that contain UPDATE..FROM st...dan-1/+1
2022-05-26Correct handling of outer joins in the FROM clause of an UPDATE statementdrh-1/+9
2022-05-02Organize the various flag bits of the ExprList_item object into a substructuredrh-2/+2
2022-04-07Fix two unreachable branches introduced by the recentdrh-4/+2
2022-04-07Optimization to sqlite3TriggersExist() saves over 700K CPU cycles.drh-1/+26
2022-03-17Change a conditional into an assert() due to the change indrh-3/+2
2022-03-07Do not allocate new Trigger objects in the parser following a syntax error,drh-0/+1
2022-02-07Disable the sqlite3_error_offset() when the error occurs in a trigger ordrh-0/+1
2022-01-24Add ALWAYS() macros. Change some existing ALWAYS() into assert(). Otherdrh-1/+1
2022-01-24Remove many redundant checks for sqlite3.mallocFailed now that any OOM shoulddrh-3/+8