summaryrefslogtreecommitdiff
path: root/src/alter.c
AgeCommit message (Expand)AuthorLines
10 daysMinor simplification to the previous in support of testing.drh-1/+1
10 daysWhen adding a column to a table using ALTER TABLE, do a full scan of the tabl...dan-3/+82
2026-11-04Do not allow ALTER TABLE to add columns with CHECK constraints that use RAISE...dan-5/+5
2026-11-04Do not allow ALTER TABLE to add a NOT NULL column with a default expression t...dan-20/+17
2026-11-02Return SQLITE_LOCKED if an ALTER TABLE DROP COLUMN statement is attempted whe...dan-60/+63
2026-10-31Fix an ALTER TABLE problem with renaming a temp table when there is a temp tr...dan-23/+23
2026-10-31When renaming a non-temp table using ALTER TABLE RENAME TO, do not also modif...dan-5/+25
2026-10-31Fix ALTER TABLE RENAME COLUMN statements to correctly rename column reference...dan-6/+13
2026-10-31Handle ALTER TABLE ADD COLUMN statements when the new column definition ends ...dan-51/+50
2026-10-31Have ALTER TABLE ADD CHECK handle the case where input ends with an untermina...dan-11/+17
2026-10-30Fix ALTER TABLE so that it works when a trigger contains an UPSERT with more ...dan-7/+10
2026-10-29Do not let a TEMP table or an uninitialized schema prevent unauthorizeddrh-1/+1
2026-10-29Fix RENAME COLUMN on an IPK column that is also part of a UNIQUE constraint. ...dan-2/+2
2026-10-22Improve ALTER TABLE DROP CONSTRAINT so that it is better able to dealdrh-7/+40
2026-10-20Minor fix to ALTER TABLE RENAME COLUMN so that it works on TEMP tables.drh-7/+8
2026-10-19Fix a problem in ALTER TABLE DROP COLUMN that could result in a staledrh-5/+5
2026-10-05Ensure that it is not a constraint violation if a CHECK constraint that evalu...dan-1/+1
2026-08-29Ensure that ALTER TABLE ADD COLUMN has zero return columns, even whendrh-0/+1
2026-08-25Change error message text in the previous check-in to not have initial caps,drh-1/+1
2026-08-24Prohibit using ALTER TABLE to add or drop, or rename to or from a rowid alias...dan-3/+31
2026-07-08Allow "ALTER TABLE ... DROP CONSTRAINT" to drop foreign key constraints.dan-6/+28
2026-06-19Add the sqlite3_result_str() interface and use it to simplify the code.drh-9/+6
2026-06-19Use SQLITE_FINISH in a few places in the core, to help ensure that path isdrh-9/+6
2026-05-11Fix comment typos. Add test cases.drh-2/+1
2026-05-11An alternative fix to ALTER TABLE ADD CONSTRAINT.drh-4/+17
2026-04-21Correctly dequote the constraint name passed to ALTER TABLE DROP CONSTRAINT. ...dan-2/+3
2026-04-15Handle the case where the name of the constraint in an "ALTER TABLE DROP CONS...dan-0/+1
2025-12-04Mark an always-true conditional as such.drh-1/+1
2025-12-04Merge all the latest trunk enhancements and fixes into the temp-trigger-refsdrh-52/+62
2025-12-02Fix a harmless compiler warning in the previous check-in.drh-1/+1
2025-12-02Fix a problem with ALTER TABLE DROP COLUMN commands where the column being dr...dan-52/+62
2025-12-01Merge latest trunk changes into this branch.dan-4/+725
2025-11-29Fix an assertion fault in sqlite3Dequote() that can occur withdrh-2/+7
2025-11-20Use sqlite3MPrintf() instead of sqlite3_mprintf() internally in alter.c,drh-22/+12
2025-11-20Additional checks for OOM conditions.drh-0/+5
2025-11-20Mark an unreachable branch with NEVER().drh-1/+1
2025-11-19Call sqlite3OomFault() rather than setting db->mallocFailed directly.drh-1/+1
2025-11-19Improved comments in code. Omit unneeded wrapper functions.drh-66/+106
2025-11-19Strip unterminated "--" comments from the end of constraints added using ALTE...dan-8/+44
2025-11-19Clarification to the header comment on dropConstraintFunc(). No changesdrh-1/+9
2025-11-19Trivial simplification to the ALTER TABLE ADD CONSTRAINT code.drh-1/+1
2025-10-29Experimental change to allow triggers in the temp schema to use fully qualifi...dan-20/+16
2025-10-02Fix harmless compiler warnings.drh-3/+6
2025-10-01Fix some problems with DROP CONSTRAINT and DROP NOT NULL on generated columns.dan-2/+3
2025-09-30Fix handling of FK constraints that immediately follow named table constraint...dan-5/+8
2025-09-30Fix some DROP CONSTRAINT and DROP NOT NULL cases involving SQL comments or mu...dan-12/+33
2025-09-29Add further tests for the new ALTER TABLE commands on this branch.dan-2/+0
2025-09-27Add OOM injection tests for new commands on this branch.dan-2/+4
2025-09-27Fix authorization callbacks for the new commands on this branch.dan-57/+67
2025-09-27Add experimental implementations of ALTER TABLE commands to add and drop CHEC...dan-0/+599