aboutsummaryrefslogtreecommitdiff
path: root/src/alter.c
Commit message (Collapse)AuthorAge
...
* Changes to support recursive triggers.dan2009-08-28
| | | FossilOrigin-Name: 9b9c19211593d5ff7b39254a29c284560a8bcedb
* Allow virtual tables to be used in shared-cache mode. (CVS 6928)danielk19772009-07-24
| | | FossilOrigin-Name: 5d9e767a05e381235e064061043e30cc03a11a07
* Define a set of constants to use as the "index" argument to ↵danielk19772009-06-03
| | | | | sqlite3BtreeGetMeta and UpdateMeta. This makes some parts of the code easier to follow. (CVS 6709) FossilOrigin-Name: 6dbf4eca00f845baa7200aba421d0bc158ba96aa
* 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
* Move the sqlite3MinimumFileFormat() routine from build.c over to alter.cdrh2009-05-12
| | | | | | since alter.c is the only code that uses it. Additional changes and cleanup to build.c to facility coverage testing. (CVS 6630) FossilOrigin-Name: 6fe3750a30ab432ed476c2ae6b58972187abc624
* Changes to alter.c to enable full branch coverage testing. (CVS 6513)drh2009-04-16
| | | FossilOrigin-Name: 6a91ab08a55eacc77f69190e1126326f4da220af
* Mark an branch in alter.c as always false. Only run the assert() ondrh2009-04-15
| | | | | | the sqlite3_aggregate_count() function in func.c if the SQLITE_OMIT_DEPRECATED compile-time option is off. (CVS 6508) FossilOrigin-Name: c0bba77ae619e709f3fb068526073a4a83cf33b6
* Changes to insure that lookaside memory allocations are never used to hold drh2009-03-24
| | | | | | schema content. Ticket #3743. (CVS 6377) FossilOrigin-Name: ea74d8dc62f5784089aa8ef098e97c505a79b176
* 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
* Correctly handle attempts to add a UNIQUE or PRIMARY KEY column usingdrh2009-02-13
| | | | | the ALTER TABLE statement. Ticket #3651. (CVS 6291) FossilOrigin-Name: dd179ff2986bc2a86d70bbe927fd0e123e17d398
* When not compiling for an EBCDIC system, use built-in alternatives to the tolowedanielk19772009-01-20
| | | | | r(), toupper() and other ctype.h library functions. Ticket #3597. (CVS 6196) FossilOrigin-Name: 1041abd6784d283bebf646c54e93599522f7889d
* 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
* Changes to avoid "unused parameter" compiler warnings. (CVS 5921)danielk19772008-11-19
| | | FossilOrigin-Name: 88134322c36b41304aaeef99c39b4ef5b495ca3b
* Fix a crash that can follow a malloc failure in sqlite3ValueFromExpr(). ↵danielk19772008-10-30
| | | | | Ticket #3468. (CVS 5851) FossilOrigin-Name: 0996783b1b7e6dda166565071cbd19f23e7edbbc
* Disallow the ON CONFLICT clause on CHECK constraints. The syntax used to bedrh2008-08-08
| | | | | | allowed but never worked, so this should not present compatibility problems. Other internal grammar simplifications. (CVS 5546) FossilOrigin-Name: 4cedc641ed39982ae8cbb9200aa1e2f37c878b73
* 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
* Continuing work on improved test coverage. (CVS 5415)drh2008-07-15
| | | FossilOrigin-Name: c942a38e9aa80770e7e2819e51b43fa7aa854d71
* Fix a comment in alter.c. No changes to code. (CVS 5347)drh2008-07-07
| | | FossilOrigin-Name: 3e558acd5eb8aa5ef4681e62284af5c017a24a65
* Fix the ALTER TABLE RENAME algorithm so that it is not confuseddrh2008-05-09
| | | | | by comments in the CREATE TABLE statement. Ticket #3102. (CVS 5110) FossilOrigin-Name: ab18b4e75916b05863b31bc63625aa64a104a42c
* Add a new interface, sqlite3_context_db_handle(), that returns the databasedrh2008-03-19
| | | | | connection pointer for an application-defined function. (CVS 4889) FossilOrigin-Name: 54c55cae556af5a16c0ce8be1a96d2932db80ad8
* ALTER TABLE uses double-quotes for quoting table names. (CVS 4781)drh2008-02-09
| | | FossilOrigin-Name: 607247c27b80520b8c25c489757288b8ea186f9e
* Error messages says "no such view" instead of "no such table" whendrh2008-01-25
| | | | | trying to DROP a VIEW that does not exist. (CVS 4750) FossilOrigin-Name: 50815a82e0ec9a5c1399f5fe6ef416434b55a821
* 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
* Implement the out2-prerelease opcode design pattern. (CVS 4681)drh2008-01-04
| | | FossilOrigin-Name: fe057a88d0038ac349ea41883b979ceba6ae410a
* Add OP_MemSet, for setting a memory cell to a string value. (CVS 4674)danielk19772008-01-04
| | | FossilOrigin-Name: 8bb9f970dd71cbf19e45774fc822aa1efebc1724
* Modify VFilter and VRename to use registers instead of the vdbe stack for ↵danielk19772008-01-03
| | | | | inputs. (CVS 4670) FossilOrigin-Name: 253ed40aa36247fc846cc41c8612cd29899d9f8f
* 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
* Change all instances of "it's" in comments to either "its" or "it is",drh2007-12-13
| | | | | | as appropriate, in case the comments are ever again read by a pedantic grammarian. Ticket #2840. (CVS 4629) FossilOrigin-Name: 4e91a267febda572e7239f0f1cc66b3102558c36
* Return an error if the user attempts to rename a view. Related to (but not a ↵danielk19772007-12-13
| | | | | fix for) #2831. (CVS 4623) FossilOrigin-Name: 19d56d997f50be81ac2baace16b7e7a1b674301a
* Use the 2-argument version of substr() in the SQL contained in thedrh2007-10-20
| | | | | VACUUM and ALTER TABLE commands. Ticket #2737. (CVS 4499) FossilOrigin-Name: 82b08a3dc2366007bcac4d9e451ef61c8c018fa5
* Use the DbMalloc() and DbRealloc() functions more consistently. (CVS 4323)danielk19772007-08-29
| | | FossilOrigin-Name: c790c234c369c6b7610e67dcaaa9eee347df729c
* Better asserts(). But now some of the tests are busted again. (CVS 4320)drh2007-08-29
| | | FossilOrigin-Name: e8060f85e7871572e2a38dc96f03e6e1f34cc8fd
* Fix bugs in the altermalloc.test and incrblob_err.test scripts. (CVS 4295)danielk19772007-08-25
| | | FossilOrigin-Name: e5ec17071720a973bbd213a8b23038d3aff25315
* 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
* Test error handling when renaming fts2 tables. (CVS 4144)danielk19772007-06-27
| | | FossilOrigin-Name: 57840eba6a4380a0b71dc9514cdda41e2c455bb0
* Allow ALTER TABLE on virtual tables. (CVS 4142)danielk19772007-06-27
| | | FossilOrigin-Name: 37d1f9f37ea9d2e8a4dbe0ec67c0d6eb7fcc5f3f
* Relax the restriction on using bytes 0x80 through 0xbf as the firstdrh2007-05-15
| | | | | | character of an identifier. Enhancements to ALTER TABLE tests for tables with strange names or stange column names. (CVS 4008) FossilOrigin-Name: 262a3e6339b31f269f8f07e43d295b90827e2779
* Fix problems in ALTER TABLE that occur when column or table names aredrh2007-05-15
| | | | | invalid UTF encodings. (CVS 4000) FossilOrigin-Name: 9ff382f4584ff685a78b39f24424319709efb382
* Do not crash in the internal functions sqlite_rename_table() or ↵danielk19772007-05-08
| | | | | sqlite_rename_trigger() if they are somehow passed unexpected input. (CVS 3944) FossilOrigin-Name: c2f90b465e37ea49c9e44415f6461e4f636bb64f
* Bug fix in date/time computations. Ticket #1964. drh2006-09-08
| | | | | | Some unrelated comment typos are also fixed and got accidently checked in at the same time. (CVS 3396) FossilOrigin-Name: c81eaa0dc9a327d222e066076c4a2da5e69d8c21
* Add tests to make sure altering or adding an index to a virtual table is ↵danielk19772006-06-21
| | | | | prohibited. (CVS 3280) FossilOrigin-Name: 6c3e8852ffbaf5ab52ffdf7ed3767fa1d4fd5882
* Correctly handle COLLATE clauses in tables being modified by andrh2006-02-09
| | | | | ALTER TABLE ADD COLUMN command. Ticket #1665. (CVS 3060) FossilOrigin-Name: baef2f66be164910881278ea527d2be75ac2e944
* Authorization callback on the ALTER TABLE ADD COLUMN command.drh2006-01-31
| | | | | Ticket #1479. (CVS 3043) FossilOrigin-Name: 461f586973431438bb074aa3077f705e9b1b80da
* 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
* Various fixes that allow the malloc() failure tests to pass again. (CVS 2963)danielk19772006-01-17
| | | FossilOrigin-Name: 0505405fb9ae1068b7976718efbf2aabd07592d4
* 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
* Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893)danielk19772006-01-09
| | | FossilOrigin-Name: 82b81f69c78cb3f54634d9aea4f6a838474dc5e5
* Add the shared schema/pager modifications. Very few tests so far. (CVS 2859)danielk19772006-01-05
| | | FossilOrigin-Name: deeda0dc06c1595aedd8d06a0c4e88a8abf78cf7