aboutsummaryrefslogtreecommitdiff
path: root/src/trigger.c
AgeCommit message (Expand)AuthorLines
2022-01-24Make it so that any Parse object is always linked into the database conenctiondrh-24/+20
2022-01-24Ensure that any error encountered while coding a trigger program is transfere...dan-1/+1
2022-01-05Fix an assert() failure that could follow an OOM when coding a RETURNING trig...dan-3/+4
2022-01-05Improved handling of OOM errors in sqlite3ExpandReturning().drh-5/+5
2021-12-29Ensure that the affinity of columns is honored in the RETURNING clause.drh-0/+5
2021-11-04Show the preferred schema table names in the output of "PRAGMA table_list".drh-2/+2
2021-08-02Refactor field names in the Column object, zCnName and zCnColl, to make themdrh-2/+2
2021-08-02Refactor the Table object to reduce its memory footprint.drh-2/+2
2021-06-28When generating data for a RETURNING clause, avoid assuming cursor number 0 i...dan-0/+1
2021-05-19Improved column name and column type determination for the RETURNING clause.drh-11/+17
2021-04-27Further improvements to the handling of RETURNING clauses on changesdrh-8/+2
2021-04-27RETURNING bug fix: Correctly deal with RETURNING statements on changes todrh-20/+34
2021-04-06Earlier detection and handling of OOM problems.drh-2/+2
2021-04-04Avoid compile error when SQLITE_OMIT_VIRTUALTABLE defined.larrybr-1/+5
2021-04-02Correctly capture the error when a RETURNING clause appears on an drh-1/+1
2021-03-30Raise an error if a term of the form "TABLE.*" appears in the RETURNING clause,drh-1/+21
2021-03-19Improved labeling of EXPLAIN QUERY PLAN output. Many test failures due todrh-3/+3
2021-02-17Fix various issues with the changes on this branch. Add test cases for the same.dan-1/+1
2021-02-07Fix harmless compiler warnings.drh-1/+2
2021-02-05Remove unreachable code. Fix a shift UB problem introduced yesterdaydrh-1/+1
2021-02-04Remove dead code. Fix RETURNING for INSERT into a virtual table.drh-10/+11
2021-02-04Fix an issue with RETURNING from UPSERT.drh-5/+5
2021-02-04Snapshot. New design appears to work on a simple test case.drh-19/+33
2021-02-04Preliminary changes for a new implementation of RETURNING that captures alldrh-32/+68
2021-02-03Modify the SQLITE_DBCONFIG_ENABLE_TRIGGER setting so that it only disablesdrh-20/+37
2021-02-02Do not allow aggregates in a RETURNING clause. Fix a memory leak thatdrh-3/+10
2021-02-02Report an error if RETURNING is used for DELETE or UPDATE of a virtual table.drh-0/+5
2021-02-02Allow the RETURNING trigger to exist for virtual tables.drh-5/+7
2021-02-01Modify RETURNING so that it does not return changes implemented bydrh-1/+4
2021-01-31Mark an unreachable branch as ALWAYS().drh-1/+1
2021-01-31When setting the number of result columns in a RETURNING trigger, be suredrh-1/+1
2021-01-30Improved comments on the new code.drh-4/+14
2021-01-30Fix a memory deallocation problem that comes up when doing a RETURNING querydrh-2/+1
2021-01-30Another attempt to get trigger selection correct for RETURNING triggers.drh-1/+3
2021-01-30When running the RETURNING trigger, if it is tagged as a DELETE trigger,drh-2/+2
2021-01-30Test cases added. RETURNING works with UPSERT as does PG.drh-3/+5
2021-01-29Better handling of errors in RETURNING due to corrupt database files.drh-2/+1
2021-01-29Allow "*" wildcards in the RETURNING clause.drh-6/+57
2021-01-29Working prototype.drh-3/+17
2021-01-29Performance optimization (and size reduction) in sqlite3TriggerList() for thedrh-9/+13
2021-01-11Add a linked list of ParseCleanup objects to the end of a Parse object anddrh-1/+0
2020-11-05Suppress errors associated with TEMP triggers that reference objects indrh-15/+21
2020-07-16Fix a double-free of the FROM clause of an UPDATE inside of triggers.drh-2/+0
2020-07-14Support UPDATE...FROM statements in trigger programs.dan-15/+26
2020-06-19Further refactoring of the schema table name.drh-2/+2
2020-06-15Provide "sqlite_schema" as an alternative name to the table that holds thedrh-5/+6
2020-03-21Consolidate some code on this branch.dan-4/+1
2020-03-20Allow "main" to be used to refer to the main database even after SQLITE_DBCON...dan-1/+4
2019-12-12Change the name of the Expr.a.zName field to zEName, so that it has a namedrh-1/+1
2019-12-03Avoid a crash that could occur when a database containing a table with a temp...dan-2/+6