Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
alter.c
4a0b7a3
Clarify some malloc size computations to simplify the proof that they
by drh
· 9 weeks ago
bee4fb4
Always ignore comments in the schema of a database, even if
by drh
· 5 months ago
c071c47
Tamp down various harmless compiler warnings. Use "int" in places instead
by drh
· 5 months ago
447f1c2
Fix an incorrect assert added by [d7729dbbf231d57c].
by drh
· 5 months ago
ce25007
Detect when a UNIQUE or PRIMARY KEY on a WITHOUT ROWID table would need
by drh
· 5 months ago
9d90a3a
Use the sqlite3ColumnIndex() routine to look up a column in a table, rather
by drh
· 5 months ago
1521ca4
Refactor the SrcItem object so that information about subqueries is stored
by drh
· 11 months ago
b204b6a
Give unique names to fields in the SrcItem object, to facilitate analysis of
by drh
· 11 months ago
c60c928
Fix another instance where ALTER TABLE was returning SQLITE_INTERNAL instead
by drh
· 11 months ago
dcc1219
Avoid expanding integer values in columns with real affinity to the full 8-byte representation when editing records as part of a DROP COLUMN command.
by dan
· 1 year, 4 months ago
d718bde
Do not allow an ALTER TABLE ADD COLUMN on a STRICT table if the added column
by drh
· 1 year, 9 months ago
56a4107
Address various harmless compiler warnings from
by drh
· 2 years, 1 month ago
bc91738
Add a C-source spell-checking facility. make misspell (on Nix)
by larrybr
· 2 years, 1 month ago
731a1aa
Fix an obscure issue with ALTER TABLE RENAME that comes up with triggers
by drh
· 2 years, 3 months ago
de5f3af
Additional fixes for yet more completely harmless compiler warnings.
by drh
· 2 years, 7 months ago
abe1ff3
Minor simplification to ALTER TABLE logic.
by drh
· 3 years, 2 months ago
ca29bbc
Fix another problem with ALTER TABLE and UPDATE...FROM in triggers.
by dan
· 3 years, 2 months ago
4209d55
Fix further issues with ALTER TABLE and triggers that contain UPDATE..FROM statements.
by dan
· 3 years, 2 months ago
8d2f661
Omit an unnecessary branch.
by drh
· 3 years, 2 months ago
b8bbe3e
Fix issues with ALTER TABLE and triggers containing "UPDATE...FROM" statements.
by dan
· 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
d44f8b2
Improved technique for parsing the ON and USING clauses of a join is faster
by drh
· 3 years, 3 months ago
fde3043
Stronger defenses against corrupt schemas in the ALTER TABLE logic.
by drh
· 3 years, 4 months ago
4e53295
Provide sqlite3_error_offset() data for some new errors.
by drh
· 3 years, 5 months ago
89e9baa
With the new ALTER TABLE under PRAGMA writable_schema=ON processing, do not
by drh
· 3 years, 5 months ago
569c105
Fix a NULL pointer dereference that can occur after OOM. Problem
by drh
· 3 years, 6 months ago
relaxed-alter-table
10d29c7
One more case of disabling errors for ALTER TABLE RENAME when
by drh
· 3 years, 6 months ago
5a80050
Allow ALTER TABLE RENAME COLUMN to proceed even if there are errors in
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
85b70e0
Fix ALTER TABLE DROP COLUMN so that it invokes the authorizer. Fix for
by drh
· 3 years, 6 months ago
72e3042
Fix ALTER TABLE so that it works even when compiled using -DSQLITE_DQS=0.
by drh
· 3 years, 6 months ago
54bc638
Simplify the sqlite3RunParser() routine by omitting the third parameter.
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
ac894af
Improved the error message that results when a schema parse fails after
by drh
· 3 years, 9 months ago
61a8ad7
Ensure that ALTER TABLE RENAME recognizes OOM errors while parsing
by drh
· 3 years, 9 months ago
0fbc19e
Remove an incorrect assert() added 4 days ago by check-in [9e2f06b84f994277].
by drh
· 3 years, 9 months ago
febf035
Remove a NEVER() macro in ALTER TABLE due to an
by drh
· 3 years, 9 months ago
477572b
Protect access to the Expr.y union using nearby assert()s and branches.
by drh
· 3 years, 10 months ago
78b2fa8
Protect every access to the Table.u union using a nearby assert() or branch.
by drh
· 3 years, 10 months ago
0019774
Add NEVER() macros on branches that are not reachable since [a0df216f7c3f8963].
by drh
· 3 years, 10 months ago
a7f7c1c
Fix a potential ALTER TABLE problem with expressions like ( (<sub-select>) IN () ).
by dan
· 3 years, 10 months ago
5a69d19
Fix a problem in ALTER TABLE causing table or column references in sub-selects ton the RHS of a vector SET clause in an UPDATE within a trigger (i.e. "SET (a,b) = ( (SELECT...), <expr> )").
by dan
· 3 years, 10 months ago
b6dad52
Add lots of new "const" on internal function parameters. There is opportunity
by drh
· 3 years, 10 months ago
e73e957
For ALTER TABLE RENAME COLUMN, do not try to filter virtual tables out of
by drh
· 3 years, 10 months ago
65b4009
Store the collating sequence name for each column of a table as an
by drh
· 4 years ago
3edc927
Always prefer built-in SQL functions over app-defined SQL functions within
by drh
· 4 years 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
79cf2b7
Refactor the way that DEFAULT expressions are stored on columns, in order
by drh
· 4 years ago
55b8b73
Fix ALTER TABLE DROP COLUMN so that it generates valid bytecode even when
by drh
· 4 years ago
0f91a53
Fix issues in the new ADD COLUMN constraint checking. Add preliminary
by drh
· 4 years ago
add-column-constraint-check
b4d9b2b
Demonstration code to show how NOT NULL and CHECK constraints can be
by drh
· 4 years ago
236bcdf
Enhanced defense against integer overflow in ALTER TABLE.
by drh
· 4 years, 1 month ago
11e489d
Fix typos in testcase() macros from check-in [c09d90eec2a49b94].
by drh
· 4 years, 1 month ago
ac67f56
Fix an ALTER TABLE problem with handling infinite loops of CTEs in the database schema.
by dan
· 4 years, 1 month ago
24ce944
This is an alternative approach to the use-after-free problem fixed
by drh
· 4 years, 1 month ago
alternative-oom-fix
35e6cd0
Reapply two recent ALTER TABLE error checks that turned out to be necessary
by drh
· 4 years, 1 month ago
d03d3a9
Fix a crash in new ALTER TABLE code that could follow an OOM.
by dan
· 4 years, 1 month ago
6065686
Remove an unreachable branch added by the previous commit.
by dan
· 4 years, 1 month ago
26d61e5
Fix problems with ALTER TABLE and schemas that contain views with some recursive CTEs, or CTEs that reference other CTEs.
by dan
· 4 years, 1 month ago
06258a4
A better fix for the problem addressed by [4eb80b0cc61526c1]. This fix
by drh
· 4 years, 2 months ago
48f4f27
Remove a NEVER that is reachable following OOM in writable_schema=ON mode
by drh
· 4 years, 2 months ago
736d11e
Back out the NEVER() inserted by [c7309ed3c7588c7e] because it is reachable
by drh
· 4 years, 3 months ago
3d8c92d
Raise an error on an attempt to rename an eponymous virtual table.
by drh
· 4 years, 3 months ago
65b9305
Improved handling of errors in ALTER TABLE RENAME.
by drh
· 4 years, 3 months ago
9da977f
In the sqlite3SelectDup() routine, do not do an incomplete duplication due
by drh
· 4 years, 3 months ago
0a746cc
Ensure that all records are updated by setting the OPFLAG_SAVEPOSITION flag when updating records as part of ALTER TABLE DROP COLUMN.
by dan
· 4 years, 3 months ago
cc26301
Modify the drop column code to handle WITHOUT ROWID tables for which a single column appears more than once in the primary key.
by dan
· 4 years, 3 months ago
29821b4
Fix a harmless compiler warning.
by drh
· 4 years, 4 months ago
1d14ffe
Fix a problem with renaming a column when there is a quoted string immediately following the column name somewhere in the schema.
by dan
· 4 years, 4 months ago
1fffa73
Add tests for sqlite_rename_quotefix(). Fix a memory leak in the same.
by dan
· 4 years, 4 months ago
alter-quotefix
2ad080a
Have ALTER TABLE RENAME COLUMN and DROP COLUMN use sqlite_rename_quotefix() to convert any double-quoted strings in the database schema to their single-quoted equivalents.
by dan
· 4 years, 4 months ago
00bc66f
Merge trunk changes into this branch.
by dan
· 4 years, 4 months ago
776a578
Fix a problem with ALTER TABLE RENAME COLUMN when used on a schema that features generated columns.
by dan
· 4 years, 4 months ago
1e24072
Add internal SQL function sqlite_rename_quotefix(). For converting double-quoted strings to their single-quoted counterparts in DDL statements.
by dan
· 4 years, 4 months ago
44d4413
An alternative approach for fixing ticket [1c24a659e6d7f3a1].
by drh
· 4 years, 4 months ago
e58b2b4
Fix a bad assert in RENAME COLUMN.
by drh
· 4 years, 4 months ago
747cc94
Fix a possible NULL pointer dereference when applying a DROP COLUMN to a
by drh
· 4 years, 5 months ago
05edf72
Mark the NotUsed parameter to the dropColumnFunc() function as unused,
by drh
· 4 years, 5 months ago
7601294
Rename the "struct SrcList_item" object to the more succinct "SrcItem".
by drh
· 4 years, 5 months ago
578277c
Fix another problem handling corrupt database files in the ALTER TABLE DROP COLUMN code.
by dan
· 4 years, 5 months ago
f4a7278
Fix a crash that could occur in ALTER TABLE DROP COLUMN if the sqlite_schema table was corrupt.
by dan
· 4 years, 5 months ago
alter-table-drop-column
60fe235
Omit an branch made unreachable by the improved error message from dropping
by drh
· 4 years, 5 months ago
239c84f
Give a better error message on DROP COLUMN when attempting to drop
by drh
· 4 years, 5 months ago
c90fa01
Add a NEVER() to an unreachable branch in the DROP COLUMN logic.
by drh
· 4 years, 5 months ago
0336140
Add missing VdbeCoverage() macros.
by drh
· 4 years, 5 months ago
dcc29e0
Enhance renameParseSql() to better handle OOMs.
by drh
· 4 years, 5 months ago
678f3b3
Fix DROP COLUMN so that it works even if the user has registered an authorizer callback.
by dan
· 4 years, 5 months ago
1695346
Fix a problem with schema error detection when processing ALTER TABLE DROP COLUMN commands.
by dan
· 4 years, 5 months ago
c2a878e
Fix a problem with OOM error handling in the new code on this branch.
by dan
· 4 years, 5 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
6e6d983
Add experimental implementation of ALTER TABLE DROP COLUMN. Only some cases work so far.
by dan
· 4 years, 5 months ago
351ae77
Ensure that the ALTER TABLE statements return 0 for sqlite3_column_count().
by drh
· 4 years, 5 months ago
37114fb
Change the unions of the Table.addColOffset field from characters to bytes.
by drh
· 4 years, 7 months ago
7a39fae
Update the ALTER TABLE command to correctly handle UPDATE ... FROM statements within trigger programs.
by dan
· 4 years, 9 months ago
a3e6495
Improvement on the previous fix.
by drh
· 5 years ago
b6a74ca
Fix an assertion() fault in ALTER TABLE found by OSSFuzz. Test case in TH3.
by drh
· 5 years ago
a7c7400
More harmless compiler warning fixes.
by drh
· 5 years ago
e7877b2
Support UPDATE...FROM statements in trigger programs.
by dan
· 5 years ago
Next »