Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
pragma.c
5d60f47
Approximately 50 typo fixes, spanning the whole tree, contributed via [forum:006c8fa165083ac3|forum post 006c8fa165083ac3] and individually checked for correctness. Affects only code comments, docs, and a single line of debug output in a test app.
by stephan
· 5 months ago
5087eac
Ensure the counts of "deferred FK violations" and "deferred immediate FK violations" are kept separate when "PRAGMA defer_foreign_keys" is used.
by dan
· 5 months ago
35d302c
Increase the maximum number of arguments on an SQL function to 1000 with the
by drh
· 7 months ago
ef636cc
Add the SQLITE_PREPARE_DONT_LOG option for sqlite3_prepare_v3(), that prevents
by drh
· 7 months ago
bc4df60
Remove the never-used and never-documented and long-ago deprecated
by drh
· 9 months ago
29f9764
Fix an assert() failure in "PRAGMA integrity_check" that could occur when checking a corrupt database.
by dan
· 10 months ago
a40cae7
Ensure successive scans of pragma virtual tables return consistent rowids.
by dan
· 1 year, 2 months ago
78bc133
Do not accept a string that looks like a number used as an argument to
by drh
· 1 year, 3 months ago
41c9945
Use the SQLITE_CONSTRAINT return value from xBestIndex to prohibit bad
by drh
· 1 year, 4 months ago
cf84ae0
Fix the xBestIndex method of the pragma virtual table so that it correctly
by drh
· 1 year, 4 months ago
2aea608
Adjust a VdbeCoverage() macro in PRAGMA integrity_check to account for the
by drh
· 1 year, 5 months ago
39670a5
Remove unreachable branches from the PRAGMA integrity_check enhancement of
by drh
· 1 year, 5 months ago
f8dc7d2
Have "PRAGMA quick_check" compare the number of entries in tables and indexes.
by dan
· 1 year, 5 months ago
9591a9f
Fix typo in comment. [https://fossil-scm.org/forum/forumpost/cc20266bf2|Fossil forum post cc20266bf2].
by drh
· 1 year, 5 months ago
21eda69
Fixes to comments associated with the recent PRAGMA optimize enhancements.
by drh
· 1 year, 5 months ago
4b2eeb2
Remove an unused variable from the merge in the previous check-in.
by drh
· 1 year, 5 months ago
4189c44
Another simplification of the PRAGMA optimize logic for improved coverage.
by drh
· 1 year, 5 months ago
better-pragma-optimize
ae71fa5
Minor fixes.
by drh
· 1 year, 5 months ago
a1507a3
Fix a minor hiccup in the computation of the number of btrees to be scanned.
by drh
· 1 year, 5 months ago
9a28311
If there is no mention of a table in sqlite_stat1, use OP_Rewind to see if
by drh
· 1 year, 5 months ago
74b0aad
In PRAGMA optimize, scale back the analysis_limit when many different tables
by drh
· 1 year, 5 months ago
e7bdb21
If a table has one or more rows and it has a partial index has zero rows,
by drh
· 1 year, 5 months ago
optimize-after-shrink
6c6356f
Simplifications to PRAGMA optimize to make it easier to use. It always
by drh
· 1 year, 5 months ago
9f34a05
Change the 0x20000 bit (use analysis limit) to 0x10, meaning that this feature
by drh
· 1 year, 5 months ago
d43e7ad
Hold a transaction during PRAGMA optimize, for performance.
by drh
· 1 year, 5 months ago
42eb6a9
Add new MASK bits to PRAGMA optimize: 0x70000.
by drh
· 1 year, 5 months ago
837efb4
The PRAGMA optimize command invokes ANALYZE if a table shrinks by 25 times
by drh
· 1 year, 5 months ago
9d00aba
Rename the TF_StatsUsed flag to TF_MaybeReanalyze, to more accurately
by drh
· 1 year, 5 months ago
95b5295
Fix a bug in PRAGMA integrity_check introduced by enhancement (8a) in
by drh
· 1 year, 5 months ago
0f777cd
Fix an #endif (added in the wrong place by [8f4b1ceafe4a271b]) so that
by drh
· 1 year, 5 months ago
d90ecb5
Have "PRAGMA quick_check" compare the number of entries in tables and indexes.
by dan
· 1 year, 6 months ago
quick-check-counts
64b76c0
In PRAGMA integrity_check, defer running xIntegrity on virtual tables until
by drh
· 1 year, 6 months ago
2ba5534
The assertion change at check-in [7946c79567b0ccd3] is insufficient to fix
by drh
· 1 year, 8 months ago
9f20bde
Enhance the new xIntegrity method of the sqlite3_module object with new
by drh
· 1 year, 9 months ago
3f81c32
Add an SQLITE_OMIT_VIRTUALTABLE block around the new vtab code in "PRAGMA integrity_check".
by dan
· 1 year, 9 months ago
76bd238
Replace the patch at [5cb61c6788d7c017] with a better way to avoid failing
by drh
· 1 year, 9 months ago
81656b1
Fix PRAGMA integrity_check so that it does not raise an error if the
by drh
· 1 year, 9 months ago
9817065
Actually prevent PRAGMA writable_schema=ON from being set in defensive mode,
by drh
· 1 year, 9 months ago
5dc4a40
Make sure virtual tables have been connected before trying to invoke
by drh
· 1 year, 9 months ago
1935887
Ensure that all fields of static sqlite3_module objects are explicitly
by drh
· 1 year, 10 months ago
9e5d210
Fix unreachable branches.
by drh
· 1 year, 11 months ago
vtab-integrity-check
961c2a9
Add the xIntegrity method to the sqlite3_module object. Implement this
by drh
· 1 year, 11 months ago
55be216
Fix straggler misspellings and tidy the custom dictionary. Also include pickups from [forum:/info/c61fb09afd|forum post c61fb09afd].
by larrybr
· 2 years, 1 month ago
spell-check
bc91738
Add a C-source spell-checking facility. make misspell (on Nix)
by larrybr
· 2 years, 1 month ago
df542e0
Enhance PRAGMA integrity_check so that it can detect that a NOT NULL column
by drh
· 2 years, 4 months ago
3594b2b
Do not allow constant factoring during PRAGMA integrity_check, since the
by drh
· 2 years, 4 months ago
aa9192e
Improvements to register allocation, especially in the ANALYZE command.
by drh
· 2 years, 4 months ago
fe52615
Fix a vdbe-coverage macro added by [f418bdd627e84e7d].
by drh
· 2 years, 5 months ago
1b9db7f
Enhance PRAGMA integrity_check so that it can detect when there are extra
by drh
· 2 years, 5 months ago
2043843
Fix a problem causing "PRAGMA quick_check" to return spurious corruption errors for a WITHOUT ROWID for which all columns are either virtual or part of the primary key, and for which the order of the columns in the primary key definition is different from the order in the table.
by dan
· 2 years, 6 months ago
d0fe0fc
Enhance PRAGMA integrity_check so that it verifies that the string values
by drh
· 2 years, 7 months ago
7e475e5
Disable the ability to change the schema_version cookie when
by drh
· 2 years, 8 months ago
e995d2c
Proposed optimization to the IS NULL and NOT NULL operators that avoids
by drh
· 2 years, 9 months ago
c9ef12f
Code clean-up for the integrity_check enhancement.
by drh
· 2 years, 9 months ago
integrity_check_datatypes
db6940a
Fix corner-case bugs in the new integrity_check logic. All tests pass now.
by drh
· 2 years, 9 months ago
49d77ee
An attempt to enhance PRAGMA integrity check so that it does data type
by drh
· 2 years, 9 months ago
18a3a48
Experimental changes to put sqlite3_temp_directory behind a mutex.
by drh
· 2 years, 11 months ago
16b03c0
Enhance the "PRAGMA integrity_check" statement so that it verifies the rows of
by drh
· 3 years ago
0348fc7
Minor code simplification in the code generator for PRAGMA integrity check.
by drh
· 3 years ago
058e995
Small performance increase and size reduction by splitting out the
by drh
· 3 years ago
36d2d09
Use unpacked keys for OP_Found in foreign key processing.
by drh
· 3 years, 4 months ago
00946d7
Avoid a harmless uninitialized variable warning in PRAGMA incremental_vacuum.
by drh
· 3 years, 4 months ago
ceff761
Fix a harmless compiler warning.
by drh
· 3 years, 5 months ago
9606a13
Invoking SQLITE_TESTCTRL_INTERNAL_FUNCTIONS causes the flags field of the
by drh
· 3 years, 5 months ago
0c7d3d3
Remove many redundant checks for sqlite3.mallocFailed now that any OOM should
by drh
· 3 years, 6 months ago
a4a871c
Show the preferred schema table names in the output of "PRAGMA table_list".
by drh
· 3 years, 9 months ago
5c92904
Fix an issue in PRAGMA integrity_check associated reporting NULL values in
by drh
· 3 years, 9 months ago
dc88b40
Fix the previous check-in so that it works with virtual tables that add new
by drh
· 3 years, 9 months ago
8ef0b84
Fix the new "table_list" pragma so that it shows the correct number of
by drh
· 3 years, 9 months ago
bc98f90
Update requirement marks. No changes to code.
by drh
· 3 years, 9 months ago
9966621
Use the IsOrdinaryTable() macro, not a test of tnum, to distinguish tables
by drh
· 3 years, 9 months ago
635e6a9
Add support for "PRAGMA writable_schema=RESET".
by drh
· 3 years, 10 months ago
9d43db5
Fix an incorrect assert() on PRAGMA table_xinfo added by the previous check-in.
by drh
· 3 years, 10 months ago
f975107
Protect all accesses to the FuncDef.u and Expr.u unions using nearby
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
2e50f67
Add the "PRAGMA table_list" command with its corresponding eponymous
by drh
· 3 years, 10 months ago
94b70d8
Fix PRAGMA integrity_check so that it does not try to enforce types on
by drh
· 3 years, 10 months ago
71c770f
Improved comments. Fewer opcodes for integrity_check on strict tables.
by drh
· 4 years ago
9e1209d
Enhance PRAGMA integrity_check so that it verifies the datatype of
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
4f16ff9
Follow-up to [68db1ff9c44fa9c3]: The number of registers needed by
by drh
· 4 years ago
5c46a7e
In the PRAGMA foreign_key_check, ensure that sufficient registers are
by drh
· 4 years, 1 month ago
099b385
Do not confuse the constant SQLITE_MAX_ATTACHED with the maximum number of
by drh
· 4 years, 4 months ago
d96e382
Fix a pair of assert()s in "PRAGMA foreign_key_check" that might have given
by drh
· 4 years, 10 months ago
99744fa
Add support for the sqlite3_txn_state() interface.
by drh
· 5 years ago
ed109c0
Merge support for partial integrity checks.
by drh
· 5 years ago
17d2d59
Add the ability to do a PRAGMA integrity_check (or quick_check) on a single
by drh
· 5 years ago
e9261db
Initial changes to allow database up to 281TB in size.
by drh
· 5 years ago
a78d2c0
Fix the table_info pragma so that it always checks the schema version and
by drh
· 5 years ago
ec1650a
Fix a problem with "PRAGMA foreign_key_check" where if a table in one
by drh
· 5 years ago
e3863b5
Ensure that the "PRAGMA schema_version" command causes the schema to be
by drh
· 5 years ago
e937df8
Fix the handling of reserve-bytes so that the maximum value of 255 can be used.
by drh
· 5 years ago
49a76a8
Add "PRAGMA analysis_limit=N;" to limit the number of rows visited by
by drh
· 5 years ago
e50478d
Remove the SQLITE_OMIT_BTREECOUNT option. Btree count is required.
by drh
· 5 years ago
0ea2d42
Report an error if the main, or any other, database encoding is modified by an external process (perhaps using the backup API) after the db has been opened.
by dan
· 5 years ago
42a630b
Change the sqlite3.pDfltColl (the default collating sequence for the
by drh
· 5 years ago
b48c0d5
Simplify the code by removing the unsupported and undocumented
by drh
· 5 years ago
b5f0e40
Do not allow the "PRAGMA encoding" statement to change the database
by drh
· 6 years ago
Next »