Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
trigger.c
cebf06c
Make use of the flexible-array feature of C99, when available, to try to
by drh
· 4 months ago
7fd936e
Further reduction in the amount of memset() needed to initialize the Parse
by drh
· 5 months ago
ede1690
Reduce the amount of memset() needed to initialize the Parse object.
by drh
· 5 months ago
35d302c
Increase the maximum number of arguments on an SQL function to 1000 with the
by drh
· 7 months ago
692c160
Tighter checking of access constraints on union members in SrcItem.
by drh
· 11 months ago
b204b6a
Give unique names to fields in the SrcItem object, to facilitate analysis of
by drh
· 11 months ago
8797bd6
Reduce the size of the SrcItem object by combining fields into a union.
by drh
· 11 months ago
0868d58
If a RETURNING clause contains a subquery that references the table that is
by drh
· 1 year, 3 months ago
35b771e
Add comments linking the assert() added in [cef4d9e3ba586735] to the places
by drh
· 1 year, 3 months ago
b065ece
Ensure that temporary SrcItem objects created by trigger processing have
by drh
· 1 year, 3 months ago
113e15f
Further enhancements to make sure the correct returnning trigger is run when
by drh
· 1 year, 9 months ago
3c75a03
Deal with the case of a reentrant INSERT on a virtual table where the
by drh
· 1 year, 9 months ago
6f12e51
Do not allow triggers on shadow tables under defensive mode.
by drh
· 1 year, 9 months ago
3cbf38c
Fix multiple problems with RETURNING on a DML statement against a view,
by drh
· 2 years, 4 months ago
a84ead1
Fix assert() statements that would (incorrectly) fire if an IF NOT EXISTS
by drh
· 2 years, 4 months ago
8c26e6f
Fix a possible NULL pointer dereference due to the sqlite3_interrupt()
by drh
· 2 years, 4 months ago
abbfa7a
Ensure the RETURNING clause is honoured when a row of a temp table is updated by an ON CONFLICT clause.
by dan
· 2 years, 8 months ago
7424aef
Replace the Parse.disableVtab field with Parse.prepFlags for increased
by drh
· 2 years, 10 months ago
80cf891
Enhance defensive mode so that it disallows CREATE TRIGGER statements if the
by drh
· 2 years, 10 months ago
4209d55
Fix further issues with ALTER TABLE and triggers that contain UPDATE..FROM statements.
by dan
· 3 years, 2 months ago
26c4df0
Correct handling of outer joins in the FROM clause of an UPDATE statement
by drh
· 3 years, 2 months ago
d88fd53
Organize the various flag bits of the ExprList_item object into a substructure
by drh
· 3 years, 3 months ago
ce5dd9e
Fix two unreachable branches introduced by the recent
by drh
· 3 years, 3 months ago
a744167
Optimization to sqlite3TriggersExist() saves over 700K CPU cycles.
by drh
· 3 years, 3 months ago
389e056
Change a conditional into an assert() due to the change in [387ab17b8a0a4b87].
by drh
· 3 years, 4 months ago
4c460bb
Do not allocate new Trigger objects in the parser following a syntax error,
by drh
· 3 years, 5 months ago
e1c4743
Disable the sqlite3_error_offset() when the error occurs in a trigger or
by drh
· 3 years, 5 months ago
1da88b5
Add ALWAYS() macros. Change some existing ALWAYS() into assert(). Other
by drh
· 3 years, 6 months ago
0c7d3d3
Remove many redundant checks for sqlite3.mallocFailed now that any OOM should
by drh
· 3 years, 6 months ago
c692df2
Make it so that any Parse object is always linked into the database conenction
by drh
· 3 years, 6 months ago
f5bc444
Ensure that any error encountered while coding a trigger program is transfered to the main Parse structure before it is used with any other routine that might set the error code.
by dan
· 3 years, 6 months ago
c6977c1
Fix an assert() failure that could follow an OOM when coding a RETURNING trigger. dbsqlfuzz case 5d3e2438f15dc32b473d9f29413157857efa1212.
by dan
· 3 years, 7 months ago
ebc4434
Improved handling of OOM errors in sqlite3ExpandReturning().
by drh
· 3 years, 7 months ago
41584df
Ensure that the affinity of columns is honored in the RETURNING clause.
by drh
· 3 years, 7 months ago
a4a871c
Show the preferred schema table names in the output of "PRAGMA table_list".
by drh
· 3 years, 9 months ago
cf9d36d
Refactor field names in the Column object, zCnName and zCnColl, to make them
by drh
· 4 years ago
f38524d
Refactor the Table object to reduce its memory footprint.
by drh
· 4 years ago
cf1e255
When generating data for a RETURNING clause, avoid assuming cursor number 0 is available for use.
by dan
· 4 years, 1 month ago
9088186
Improved column name and column type determination for the RETURNING clause.
by drh
· 4 years, 2 months ago
3765c03
Further improvements to the handling of RETURNING clauses on changes
by drh
· 4 years, 3 months ago
a476768
RETURNING bug fix: Correctly deal with RETURNING statements on changes to
by drh
· 4 years, 3 months ago
4c4a257
Earlier detection and handling of OOM problems.
by drh
· 4 years, 4 months ago
b0e62b0
Avoid compile error when SQLITE_OMIT_VIRTUALTABLE defined.
by larrybr
· 4 years, 4 months ago
9af69ff
Correctly capture the error when a RETURNING clause appears on an
by drh
· 4 years, 4 months ago
0d23f67
Raise an error if a term of the form "TABLE.*" appears in the RETURNING clause,
by drh
· 4 years, 4 months ago
a979993
Improved labeling of EXPLAIN QUERY PLAN output. Many test failures due to
by drh
· 4 years, 4 months ago
6a5a13d
Fix various issues with the changes on this branch. Add test cases for the same.
by dan
· 4 years, 5 months ago
8729642
Fix harmless compiler warnings.
by drh
· 4 years, 5 months ago
29f6a36
Remove unreachable code. Fix a shift UB problem introduced yesterday
by drh
· 4 years, 6 months ago
7dec804
Remove dead code. Fix RETURNING for INSERT into a virtual table.
by drh
· 4 years, 6 months ago
returning-manifested
e1db934
Fix an issue with RETURNING from UPSERT.
by drh
· 4 years, 6 months ago
552562c
Snapshot. New design appears to work on a simple test case.
by drh
· 4 years, 6 months ago
381bdac
Preliminary changes for a new implementation of RETURNING that captures all
by drh
· 4 years, 6 months ago
2aa41c8
Modify the SQLITE_DBCONFIG_ENABLE_TRIGGER setting so that it only disables
by drh
· 4 years, 6 months ago
returning
cb83dc9
Do not allow aggregates in a RETURNING clause. Fix a memory leak that
by drh
· 4 years, 6 months ago
709dd13
Report an error if RETURNING is used for DELETE or UPDATE of a virtual table.
by drh
· 4 years, 6 months ago
c9be863
Allow the RETURNING trigger to exist for virtual tables.
by drh
· 4 years, 6 months ago
7baf3d4
Modify RETURNING so that it does not return changes implemented by
by drh
· 4 years, 6 months ago
9407b6e
Mark an unreachable branch as ALWAYS().
by drh
· 4 years, 6 months ago
662fe79
When setting the number of result columns in a RETURNING trigger, be sure
by drh
· 4 years, 6 months ago
28828c5
Improved comments on the new code.
by drh
· 4 years, 6 months ago
658f0a3
Fix a memory deallocation problem that comes up when doing a RETURNING query
by drh
· 4 years, 6 months ago
343256b
Another attempt to get trigger selection correct for RETURNING triggers.
by drh
· 4 years, 6 months ago
16d861f
When running the RETURNING trigger, if it is tagged as a DELETE trigger,
by drh
· 4 years, 6 months ago
ba71a8a
Test cases added. RETURNING works with UPSERT as does PG.
by drh
· 4 years, 6 months ago
8f4e2e2
Better handling of errors in RETURNING due to corrupt database files.
by drh
· 4 years, 6 months ago
dac9a5f
Allow "*" wildcards in the RETURNING clause.
by drh
· 4 years, 6 months ago
b835247
Working prototype.
by drh
· 4 years, 6 months ago
f54a80f
Performance optimization (and size reduction) in sqlite3TriggerList() for the
by drh
· 4 years, 6 months ago
cf3c078
Add a linked list of ParseCleanup objects to the end of a Parse object and
by drh
· 4 years, 6 months ago
4e451aa
Suppress errors associated with TEMP triggers that reference objects in
by drh
· 4 years, 9 months ago
b866a65
Fix a double-free of the FROM clause of an UPDATE inside of triggers.
by drh
· 5 years ago
e7877b2
Support UPDATE...FROM statements in trigger programs.
by dan
· 5 years ago
1e32bed
Further refactoring of the schema table name.
by drh
· 5 years ago
346a70c
Provide "sqlite_schema" as an alternative name to the table that holds the
by drh
· 5 years ago
465c2b8
Consolidate some code on this branch.
by dan
· 5 years ago
main-alias-fix
00bd55e
Allow "main" to be used to refer to the main database even after SQLITE_DBCONFIG_MAINDBNAME has been used to assign another alias.
by dan
· 5 years ago
41cee66
Change the name of the Expr.a.zName field to zEName, so that it has a name
by drh
· 6 years ago
0232dad
Avoid a crash that could occur when a database containing a table with a temp trigger that has the same name as a temp table is detached.
by dan
· 6 years ago
8085d53
Add support for "ORDER BY ... NULLS FIRST" and "ORDER BY ... NULLS LAST". Use this to fix ticket [f8a7060e].
by dan
· 6 years ago
6397a78
If a TEMP TRIGGER references an auxiliary schema, and that auxiliary schema
by drh
· 6 years ago
9105fd5
Prevent NULLS FIRST/LAST from being used in CREATE INDEX and other statements.
by dan
· 6 years ago
c5a93d4
Validate the type, name, and tbl_name fields of the sqlite_master table when
by drh
· 6 years ago
55f66b3
Add new assert() statements in an attempt to help static analyzers avoid
by drh
· 6 years ago
29c992c
Revamp the SrcList allocator routines to be methods of Parse instead of
by drh
· 7 years ago
ec4ccdb
A new implementation of sqlite3VdbeMakeLabel() is faster and makes fewer
by drh
· 7 years ago
1ea0443
Add new sqlite3_prepare_v3() flag SQLITE_PREPARE_NO_VTAB, for preparing
by dan
· 7 years ago
c9461ec
Extend RENAME TABLE to edit triggers and views. Still buggy.
by dan
· 7 years ago
5be60c5
(no comment)
by dan
· 7 years ago
5496d6a
Edit the WHEN and UPDATE OF clauses of trigger programs as part of ALTER TABLE
by dan
· 7 years ago
9916048
Add new testcase() macros and fix a bug that was revealed when trying to
by drh
· 7 years ago
eac9fab
Add support for the "excluded.*" names in the UPDATE clause of an upsert.
by drh
· 7 years ago
46d2e5c
Add the Upsert object for holding upsert clause information.
by drh
· 7 years ago
2c2e844
More complete parsing of UPSERT, including UPSERT within a trigger.
by drh
· 7 years ago
e307e11
Omit all sqlite3_trace() output from the triggers associated with
by drh
· 8 years ago
span-refactor
f259df5
Show the text of individual statements within a trigger, as they
by drh
· 8 years ago
0895117
Fix an assertion fault found by OSSFuzz.
by dan
· 8 years ago
8c0833f
In the parse tree, combine LIMIT and OFFSET into a single expression rooted
by drh
· 8 years ago
3b61ebb
Omit some extra code from non-SQLITE_ENABLE_UPDATE_DELETE_LIMIT builds.
by dan
· 8 years ago
update-delete-limit-fix
8257aa8
Add the new sqlite3.mDbFlags field. Factor out bits of sqlite3.flags that
by drh
· 8 years ago
Next »