aboutsummaryrefslogtreecommitdiff
path: root/src/trigger.c
Commit message (Collapse)AuthorAge
...
* Warning cleanup from the MSVC compile.shane2009-09-07
| | | FossilOrigin-Name: 26cd015c0ee1c18dd37f11b47ce35cfa320b3514
* More fixes and comment updates.dan2009-09-01
| | | FossilOrigin-Name: 38a9327bad1a01e3d7a47fad44ece2f6c7e88643
* More fixes for test cases.dan2009-08-31
| | | FossilOrigin-Name: 85d9f23be1e8673dbda42e43b9b23332ada9225f
* Fix some authorization callback problems.dan2009-08-31
| | | FossilOrigin-Name: 8a746fbfd51f70f56e25ade59df49d2dc03c131c
* Fix another test problem and some instances where an OOM may cause a segfault.dan2009-08-31
| | | FossilOrigin-Name: 31199db0f77cf4b32d5589a29abd9535b155164b
* Fixes for new triggers scheme.dan2009-08-30
| | | FossilOrigin-Name: 9eb91efda5241609ff18ff15ef5eaa0e86788eab
* Changes to support recursive triggers.dan2009-08-28
| | | FossilOrigin-Name: 9b9c19211593d5ff7b39254a29c284560a8bcedb
* Run the column cache in a new context when generating code for triggerdrh2009-08-24
| | | | | programs. Fix for ticket [efc02f9779]. FossilOrigin-Name: dee1b8eb402f47c6d5ee60aac28f8e3dcf98167f
* Removed some warnings from the MSVC compile. (CVS 6965)shane2009-08-10
| | | FossilOrigin-Name: ee034cfc71425745dda8d5fee58ae95f937c86cd
* Alternative fix for ticket #3810. This is a replacement for check-in ↵drh2009-08-06
| | | | | (6956). (CVS 6960) FossilOrigin-Name: ba1afc040171810d0c996708d7b9cb11abcd99d8
* Additional refinements to Expr handling. Restore compression of triggerdrh2009-05-28
| | | | | | expressions. Change Expr.zToken to Expr.u.zToken and added Expr.u.iValue. Remove an unnecessary ExprDup from CHECK constraint processing. And so forth. (CVS 6682) FossilOrigin-Name: 4ac2bdfbb4230b6ceaae87e738fa61036bbe03cb
* Simplifications to the Expr object: Remove Expr.span completely and convertdrh2009-05-27
| | | | | | Expr.token into a char* Expr.zToken. Also simplify the Token object by removing the Token.dyn and Token.quoted fields. (CVS 6681) FossilOrigin-Name: 7cb1c3ba0759539cb035978fdaff6316775986f3
* Changes to the trigger.c module that facilitate full coverage testing. (CVS ↵drh2009-05-09
| | | | | 6621) FossilOrigin-Name: 567ccc68cc8c73b952a91c71a0e00b08bb25c689
* Fix three variable initialization problems found by valgrind. (CVS 6612)drh2009-05-06
| | | FossilOrigin-Name: 37428435978027f6baffa552306dd5dc29ce5cd5
* Do not store the zero string terminator as part of the name when holdingdrh2009-04-28
| | | | | symbols in the symbol table. (CVS 6557) FossilOrigin-Name: 23d67af39227aeade2ea0292e1b8844eea580993
* Rework the column-cache mechanism to be more robust (and more correct).drh2009-04-23
| | | | | The column-alias cache is currently disabled, (CVS 6538) FossilOrigin-Name: dd4d67a67454a3ff13c286a2a8360c5f0432c91d
* Instead of linking temporary triggers on non-temporary tables into the ↵danielk19772009-02-28
| | | | | Table.pTrigger list, search the temp schema for them on demand. Fix for #3688. (CVS 6329) FossilOrigin-Name: 3befe1ef7e6ebddedfa69579553a1b85b411ee98
* Changes to reduce the heap space consumed by triggers, views and tables in ↵danielk19772009-02-19
| | | | | the in-memory representation of the schema. Also to reduce the space used by prepared statements slightly. (CVS 6305) FossilOrigin-Name: d9f6ffbc5ea090ba0daac571fc9a6c68b9c864e4
* Reset the column cache before coding each step of a trigger program. ↵danielk19772008-12-26
| | | | | Candidate fix for #3554. (CVS 6065) FossilOrigin-Name: a1b1f6cd7d2c060bd75ce39347e1220b872806ed
* Never use strlen(). Use our own internal sqlite3Strlen30() which isdrh2008-12-10
| | | | | | guaranteed to never overflow an integer. Additional explicit casts to avoid nuisance warning messages. (CVS 6007) FossilOrigin-Name: c872d554930ecf221ac2be5f886d5d67bb35288c
* Get rid of more silly compiler warnings. (CVS 5996)drh2008-12-09
| | | FossilOrigin-Name: 59ae0020683766993c38e2b76a436d78d3e4bd63
* Changes to avoid "unused parameter" compiler warnings. (CVS 5921)danielk19772008-11-19
| | | FossilOrigin-Name: 88134322c36b41304aaeef99c39b4ef5b495ca3b
* Refactor the name resolution procedures in the code generator. (CVS 5569)drh2008-08-20
| | | FossilOrigin-Name: daf730d1defa78fb8b80a78f9108ac35a13e09f6
* Implement the "lookaside" memory allocation cache. Use of this cache makesdrh2008-07-28
| | | | | | the speed1.test script run about 15% faster. Added new interfaces to control the cache. (CVS 5488) FossilOrigin-Name: e48f9697e9fea339e150ddc32940760027dd07d9
* Remove obsolete code from select.c, including the "affinity" parameterdrh2008-07-08
| | | | | to the sqlite3Select() module. (CVS 5380) FossilOrigin-Name: cbd3c1585b7a8f8042aa1448fe1be87de056c41a
* Add more version tags to files that lack them. Ticket #3120. (CVS 5137)danielk19772008-05-16
| | | FossilOrigin-Name: 81a8c70ed7a86abf286706fdbc251f31c9c53382
* Registerification of the VDBE is complete. The operand stack has beendrh2008-01-17
| | | | | removed from the code. All instructions operate out of registers only. (CVS 4718) FossilOrigin-Name: 706b41b70bd1e2030e6fa44358c38a26c5cf0985
* Registerification of the WHERE clause logic. (CVS 4716)drh2008-01-17
| | | FossilOrigin-Name: b3a141b2b0c09bf3c7704deeade290d71b7c9b77
* Fix some issues with out-of-memory recovery. (CVS 4710)drh2008-01-13
| | | FossilOrigin-Name: 23181f86896e7c9e993e00032e735e67ee6b2e71
* The sqlite3_trace() callback now prints a message as each trigger firesdrh2008-01-12
| | | | | within a statement. (CVS 4709) FossilOrigin-Name: 110c000d86bd4a0b4b946c62d11a435426b02d16
* More work toward converting the VM into a register-based machine. (CVS 4704)drh2008-01-10
| | | FossilOrigin-Name: 8cbd46517f407b3b1ce187b623db10f00aa415ea
* Registerify the comparison opcodes. (CVS 4697)drh2008-01-08
| | | FossilOrigin-Name: 8862ce9ceefba4f5d1ffbd51d824c05f42a58c22
* Registerify the SRT_Subroutine destination for SELECT results. (CVS 4690)drh2008-01-06
| | | FossilOrigin-Name: 8201f71729c3afbb41764cea3cda65b03150cb0c
* Get rid of OP_Dup, OP_MemStore, OP_MemLoad, and OP_MemMove. Replacedrh2008-01-05
| | | | | | | with OP_Copy, OP_SCopy, and OP_Move. Add the infrastructure for operation properties in1, in2, in3, out2, and out3 but do not yet use any of these. (CVS 4682) FossilOrigin-Name: cc149eb9ca3c672cc6fea3528353234ac2ed5745
* Registers (aka memory cells) in the VM are now numbered starting with 1drh2008-01-03
| | | | | instead of 0. A register number of 0 means "no such register". (CVS 4669) FossilOrigin-Name: 0b849805c3a0f562d50623f406279b400d335639
* Change the OP_Insert opcode to read the key and data to insert from memory ↵danielk19772008-01-03
| | | | | cells, not the stack. (CVS 4666) FossilOrigin-Name: 46501f490a5f5577ea31c758df749e02c7c65f39
* Revamp sqlite3VdbeAddOpList() so that the structure holds integer valuesdrh2008-01-03
| | | | | for P1, P2, and P3. (CVS 4661) FossilOrigin-Name: 4dc507d87b242619fe32606452227900e16a6de7
* Refactoring the VM. The P3 parameter is changed to P4. A P5 parameter isdrh2008-01-03
| | | | | | added (though not currently used.) Add routines sqlite3VdbeAddOpX() where X is one of 0, 1, 2, 3, or 4. (CVS 4660) FossilOrigin-Name: 027875e4d4c4bd7686dc880c6917a968049b2fec
* Combine the eDest and iParm arguments to sqlite3Select() into a single type ↵danielk19772008-01-02
| | | | | - "SelectDest". (CVS 4657) FossilOrigin-Name: 86dcdfe6d7d629618ccb3c3ff0ca09f2da2d06c7
* Begin setting a foundation on which to convert the VM from a stack-baseddrh2008-01-02
| | | | | | | to a register-based machine. Everything is still mostly stack based with this check-in. This change merely begins adding infrastructure to support a register-based architecture. (CVS 4652) FossilOrigin-Name: 051ec01f2799e095516015f2ef0180e50fac387c
* Optimize trigger compilation to avoid populating the OLD.* and NEW.* ↵danielk19772008-01-01
| | | | | pseudo-tables with data that will never be used. Some testing to come. (CVS 4651) FossilOrigin-Name: e08a33ed7255c22ce2805363f44a1d7770acb2dd
* Fix a crash that can occur after a malloc failure. Ticket #2775. (CVS 4547)danielk19772007-11-16
| | | FossilOrigin-Name: c91bc8d33306881cb2501070dccced92c82cf165
* The malloc.test script now passes all tests with no errors. (CVS 4271)drh2007-08-22
| | | FossilOrigin-Name: db818430e9ea4ef4a4af575784009d5acae785a3
* More work on refactoring of malloc() interfaces. There are still many ↵danielk19772007-08-16
| | | | | errors. (CVS 4233) FossilOrigin-Name: 77b1671351fe94b0ebc126a63140643deae2aa64
* Half-way through a major refactoring of the memory allocation.drh2007-08-16
| | | | | | I have not even attempted to compile so I am certain there are countless errors. (CVS 4231) FossilOrigin-Name: deb7ecd65f7b83eaf0ba610eeef3b0ede61db1c3
* Remove all tabs from source code files. Ticket #2556. (CVS 4198)drh2007-08-07
| | | FossilOrigin-Name: 7550dd1d5980a399fbb06b4ed69216700f879a0b
* The FOR EACH STATEMENT clause in a trigger is now a syntax error. It useddrh2007-04-06
| | | | | to be silently ignored. STATEMENT is no longer a keyword. (CVS 3821) FossilOrigin-Name: 8e2559b4da6329d7c21925d0850f7f91a3731975
* Fix memory leaks in WHERE clause processing and in TRIGGER parsing. (CVS 3775)drh2007-03-31
| | | FossilOrigin-Name: 6736f4547c0cc2123d1a19ed2d6915712718d22e
* Fix a memory leak that occurs after a malloc failure in trigger parsing. ↵drh2007-03-30
| | | | | (CVS 3772) FossilOrigin-Name: 407a85e69b7a1229218a5ce9a9e31255c7070294
* Fix a problems that arise if malloc() fails while compiling SELECTdrh2006-10-18
| | | | | statements within a TRIGGER. (CVS 3478) FossilOrigin-Name: ee4894b49995e4904db1991281563cfbb7b1c16d