aboutsummaryrefslogtreecommitdiff
path: root/src/trigger.c
Commit message (Collapse)AuthorAge
...
* Add support for IF EXISTS on CREATE/DROP TRIGGER/VIEW. Ticket #1899. (CVS 3406)drh2006-09-11
| | | FossilOrigin-Name: e4fe736cfbbdc081581911a01690576034877b72
* Added code to INSERT, DELETE and UPDATE virtual tables. The new code isdrh2006-06-14
| | | | | mostly untested. (CVS 3248) FossilOrigin-Name: 32c97b884b104d120db3c0a87f5eab28f36851f8
* Properly record the names of triggers even if the name is quoted.drh2006-03-29
| | | | | Ticket #1737. (CVS 3158) FossilOrigin-Name: 4ba280ddd66d5cbf617263d6300b7582f65d47a9
* Add code to report an error on a recursive trigger, but leave itdrh2006-03-25
| | | | | commented out - turning it on will likely break a lot of code. (CVS 3152) FossilOrigin-Name: c83ec81d53f756660cafbbdaf9cf92e9e4bab4ad
* Code changes resulting from Coverity analysis.drh2006-03-06
| | | | | | | http://scan.coverity.com/ Found 1 potential segfault in sqlite3_mprintf(). Also 2 failures to fclose() following a malloc() failure. And lots of cases where unnecessary conditionals could be removed from the code. (CVS 3126) FossilOrigin-Name: e510e6dd9d6261f33b853af3b32d155b9d6b63b3
* Remove unused parameters on internal APIs. Suppress warnings fromdrh2006-02-24
| | | | | CodeWarrior. (CVS 3110) FossilOrigin-Name: 4b22e4b847f8d5c29830baea541194ef3a0c4811
* Use a global variable protected by a mutex instead of thread-specific-data ↵danielk19772006-01-18
| | | | | to record malloc() failures. (CVS 2972) FossilOrigin-Name: ac090f2ab3b5a792c2fdf897e10060f263e0d408
* Automatically deallocate thread-specific data when it is no longerdrh2006-01-11
| | | | | | | being used. Ticket #1601. Also implemented the suggestion of ticket #1603. Memory management is now off by default at compile-time. The sqlite3_enable_memory_management() API has been removed. (CVS 2919) FossilOrigin-Name: 5d9c6aa964305c3f36741ff0058da5b5f3ce0d24
* Fix a problem with shared-schemas and temp triggers. (CVS 2901)danielk19772006-01-10
| | | FossilOrigin-Name: 9c18a1ce1e7ff6a02eb0f9ce344cab9660819740
* Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893)danielk19772006-01-09
| | | FossilOrigin-Name: 82b81f69c78cb3f54634d9aea4f6a838474dc5e5
* In shared-cache mode, lock all required tables before beginning to execute ↵danielk19772006-01-07
| | | | | the body of the statement program. (CVS 2881) FossilOrigin-Name: 23b587b05b89727248805e6d9e5141e018cf2152
* Fix a crash caused by adding a trigger to a shared-schema and then deleting itdanielk19772006-01-06
| | | | | using a different connection. (CVS 2873) FossilOrigin-Name: 19f93e135f1ff4f987d14afe74b955e119904017
* Add the shared schema/pager modifications. Very few tests so far. (CVS 2859)danielk19772006-01-05
| | | FossilOrigin-Name: deeda0dc06c1595aedd8d06a0c4e88a8abf78cf7
* Clean up annoying (and pointless) compiler warnings about differing ↵drh2005-12-09
| | | | | signedness. (CVS 2810) FossilOrigin-Name: 83a59151559d9496d4f546e03e65087ea974717d
* Many small changes to ensure memory is not leaked after malloc() fails. (CVS ↵danielk19772005-12-09
| | | | | 2808) FossilOrigin-Name: 601c335463aaabc2e9918e4b9298cff6161be5c4
* Some elements of the new malloc() failure handling. Not all cases work ↵danielk19772005-12-06
| | | | | properly yet. Also, library is not threadsafe if malloc() fails right now. (CVS 2800) FossilOrigin-Name: e1606658f1b4530e3001db4779b5669c8d13c853
* Create separate affinities for INTEGER and REAL. (CVS 2766)drh2005-11-14
| | | FossilOrigin-Name: ce06c123d0c5663dbaf263c2e0aaf5d9cdeb2ccd
* Update older opcode names to be more meaningful in light of the latestdrh2005-06-12
| | | | | code design. (CVS 2506) FossilOrigin-Name: 36f2da1f8d8d434f861ecad55c9d86549751c954
* Add the SQLITE_OMIT_TEMPDB compile time macro. (CVS 2427)danielk19772005-03-29
| | | FossilOrigin-Name: c41d55443c2dd532147962b87f542fb7d37075fd
* Fix some memory leaks that can occur if a memory allocation fails. (CVS 2388)danielk19772005-03-16
| | | FossilOrigin-Name: 9a358fc33d726d0b5782bf65b50f61f2bd096d56
* Modify sub-query handling. Tickets #1083 and #1084. (CVS 2286)danielk19772005-01-29
| | | FossilOrigin-Name: b1b50f315873a8614920d1e3af4a07fb29a7ff6a
* More test cases to do with invalidating precompiled statements. (CVS 2273)danielk19772005-01-24
| | | FossilOrigin-Name: b243681a0e328ee0bbf1140abfb60d65d2102ad5
* Continued refactoring of the name resolution logic and query optimizer. (CVS ↵drh2005-01-19
| | | | | 2236) FossilOrigin-Name: d8b2a7e09187564fe66a2b4bf0992c6a017146cf
* Refinements to the name resolution logic. Change the name of thedrh2005-01-18
| | | | | keywordhash.c file to keywordhash.h. (CVS 2229) FossilOrigin-Name: 0142ae6f0004bf18a1c2d8e49c09d2a9a27d6369
* Infrastructure changes to handle name resolution differently. This is neededdrh2005-01-17
| | | | | | to fix various long-standing problems with column names in joins. It will also make the implementation of correlated subqueries easier. (CVS 2228) FossilOrigin-Name: 4a7534396a72ccb300303df28798bb2c50293782
* Simplify the trigger logic for DELETE, INSERT, and UPDATE. (CVS 2157)drh2004-12-07
| | | FossilOrigin-Name: 8e164ab27771aced9a592ea4b7c27e9f184181a5
* More compile-time options for removing components. (CVS 2098)drh2004-11-13
| | | FossilOrigin-Name: dcbc0c22cf269e2f67002aa3f1bc0c66aaeff5f1
* Insert #ifdefs that can optionally remove features at compiletime resultingdrh2004-10-31
| | | | | in a database engine with a smaller footprint. (CVS 2034) FossilOrigin-Name: be661acfa849bb0d5692797dd221f5a8a457f8ad
* Convert many constants to have type "const". (CVS 2006)drh2004-10-06
| | | FossilOrigin-Name: d790c84c5a889928d07f5394fffef0cbb8d5f214
* Add support for DEFERRED, IMMEDIATE, and EXCLUSIVE transactions. (CVS 2000)drh2004-10-05
| | | FossilOrigin-Name: 81ff8107ad63113782cf5a9ba7a512496114ba08
* Simplification of the trigger code. (CVS 1976)drh2004-09-24
| | | FossilOrigin-Name: 9fa904d94ec1787bc8b97ec06a5423248fcb67fb
* Add comments to unused P3 fields of selected instructions when NDEBUG isdrh2004-09-19
| | | | | not defined. This makes VDBE program dumps more readable during debugging. (CVS 1973) FossilOrigin-Name: 4871c77f8fce36ff230e1f026f4e4e49492515e9
* Merge the ListPush and ListPop VDBE opcodes into ContextPush and ContextPop. ↵drh2004-09-19
| | | | | (CVS 1972) FossilOrigin-Name: eb9b501ad8b0fa0fd63a67ece05fe142d6a19114
* Fix a naming conflict between sqlite versions 2 and 3. An open sqlite3drh2004-09-06
| | | | | | connection now *must* be called "sqlite3". You cannot call it "sqlite". This might break existing code. (CVS 1941) FossilOrigin-Name: 3ddf5a9d1c480a2e3aa32685879063b11afddbe1
* Simplifications and optimizations. Also: disable the corrupt.test for now. ↵drh2004-08-31
| | | | | (CVS 1924) FossilOrigin-Name: 8fd65e704888a8e2f4a712a94fd0e3f866c10ef3
* Optimizations to the code generator. (CVS 1899)drh2004-08-21
| | | FossilOrigin-Name: bd6649c5aae1bf182610eb267b546c297a34481d
* Prepared statements now work with CREATE and DROP. All tests pass.drh2004-07-24
| | | | | No memory leaks. (CVS 1866) FossilOrigin-Name: ebdb661e0eefe123c422d3c1c371e325bb6cf673
* Fix error reporting path for errors that occur while reading the databasedanielk19772004-06-29
| | | | | schema. (CVS 1757) FossilOrigin-Name: 157db33e09399f31bcdaf58ea90fe618fefcd9bd
* Fix some segfaults that could have occurred after a malloc() failure. (CVS 1661)drh2004-06-22
| | | FossilOrigin-Name: 80151e728101c3cd5a8cf36cca2bfa661b21c746
* Add the OP_Concat8 opcode, similar in concept to OP_String8. (CVS 1648)danielk19772004-06-21
| | | FossilOrigin-Name: bbd3e93348bc3a1178f5278c6cf0b82e75bbf642
* Update sqlite3_changes() to match the documentation and adddanielk19772004-06-21
| | | | | sqlite3_total_changes(). (CVS 1645) FossilOrigin-Name: ae2f4a0943854fedbbb6fab1dc3aaf972722ed95
* Omit the sqlite3VdbeCode() routine. Use sqlite3NameFromToken() more todrh2004-06-19
| | | | | reduce the amount of code. (CVS 1639) FossilOrigin-Name: 99d0436e0ee1c917b2b7bbf005f05288b535648a
* Changes to allow libsqlite3.a and libsqlite.a to be both linked into thedrh2004-06-18
| | | | | same program at the same time. (CVS 1621) FossilOrigin-Name: 2590fffcaa92adc619f7a927d2b5169d8dfef50a
* Trivial modifications to prevent compiler warnings. (CVS 1607)danielk19772004-06-16
| | | FossilOrigin-Name: 7974c9a6f5ed86f02176376d99d909c43a4ae455
* Fix handling of a failed malloc() in various places (CVS 1605)danielk19772004-06-16
| | | FossilOrigin-Name: b739ef2a1b8f7cfee4ab3f4c1319c159bd1e2e40
* (1) Modifications to the user-function interface and (2) Internal changesdanielk19772004-06-12
| | | | | to automatically created indices. (CVS 1575) FossilOrigin-Name: 5903f53828b5d282b33e27813417e4317c9ecf0b
* Fix error reporting when trying to attach a database with a foriegn textdanielk19772004-06-09
| | | | | encoding. (CVS 1545) FossilOrigin-Name: beab038c71eecbabb1351b0c98a71f32ea013285
* Start all transactions and verify all schema cookies near the beginning ofdrh2004-06-09
| | | | | of each vdbe program. (CVS 1543) FossilOrigin-Name: 1086196460e261718e78512d77e25dde021a117d
* Add pragma to set/get text encoding. Also fix an obscure problem where adanielk19772004-06-07
| | | | | temp trigger could be accidently dropped. (CVS 1537) FossilOrigin-Name: 983221b038813c5a7892564896e39597c223c4c3
* Replace OP_Begin, OP_Commit and OP_Rollback with OP_AutoCommit. (CVS 1500)danielk19772004-05-31
| | | FossilOrigin-Name: b8ed812c92f2dbb4431d45aeb41646ceb53e0cbc