Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
vacuum.c
f18bf89
Fix VACUUM so that it works even when ATTACH_WRITE is disabled.
by drh
· 7 weeks ago
8a6f89c
Remove unnecessary "www." prefixes on domain names in URLs.
by drh
· 3 months ago
bee4fb4
Always ignore comments in the schema of a database, even if
by drh
· 5 months ago
1321ea5
Randomize the name of the attached database used to do VACUUM.
by drh
· 11 months ago
bc91738
Add a C-source spell-checking facility. make misspell (on Nix)
by larrybr
· 2 years, 1 month ago
80b30f9
Use the same "PRAGMA synchronous" setting for the output of a "VACUUM INTO" as are configured for the database being vacuumed.
by dan
· 2 years, 9 months ago
41724eb
Perserve the requested reserved-bytes size for the database file when
by drh
· 3 years, 2 months ago
cfb5249
Allow "VACUUM INTO" to change the page_size of a database even if the
by drh
· 3 years, 9 months ago
2c71887
Add the sqlite3_changes64() and sqlite3_total_changes64() API functions.
by dan
· 4 years, 1 month ago
99744fa
Add support for the sqlite3_txn_state() interface.
by drh
· 5 years ago
1e32bed
Further refactoring of the schema table name.
by drh
· 5 years ago
346a70c
Provide "sqlite_schema" as an alternative name to the table that holds the
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
45248de
The SQLITE_TESTCTRL_RESERVE operator is removed. In its place is the
by drh
· 5 years ago
b48c0d5
Simplify the code by removing the unsupported and undocumented
by drh
· 5 years ago
29e7800
Make no atttempt to generate VDBE code for VACUUM after a syntax error.
by drh
· 6 years ago
eacc881
Minor fixes to requirements marks.
by drh
· 6 years ago
6775257
Simplification of the recent VACUUM changes that make the code more like
by drh
· 6 years ago
4e61e88
Only preserve rowid values for VACUUM INTO. Keep the legacy behavior of
by drh
· 6 years ago
d0f820a
Enhance the VACUUM INTO command so that it works on read-only databases.
by drh
· 6 years ago
ee751fa
Raise an error if the argument to VACUUM INTO is an identifier.
by drh
· 7 years ago
2f6239e
Allow the INTO clause of VACUUM to be a text-valued expression.
by drh
· 7 years ago
7464f57
Do not allow VACUUM INTO into a file that already exists.
by drh
· 7 years ago
52993b3
Merge the VACUUM simplification from trunk.
by drh
· 7 years ago
83da91b
Remove a line of code from VACUUM that is no longer needed, due to the
by drh
· 7 years ago
b0b7db9
Prototype implementation for the VACUUM INTO command.
by drh
· 7 years ago
d5b44d6
When masking bits off of sqlite3.flags, make sure the mask is 64 bits
by drh
· 7 years ago
70d5dfb
When saving off the value of sqlite3.flags, take care to preserve all 64 bits.
by drh
· 7 years ago
0f0d3dd
Enable DEFENSIVE mode by default for tests. This requires lots of case of
by drh
· 7 years ago
bb2d9b1
Change sqlite3BtreeBeginTrans() to return the BTREE_SCHEMA_COOKIE, for a
by drh
· 7 years ago
34b27ed
Improved security for VACUUM. This check-in combines the fixes
by drh
· 7 years ago
85a40eb
Prevent VACUUM from running any commands in sqlite_master.sql other than
by drh
· 7 years ago
00c3ef2
Fix a possible infinite loop in VACUUM that can come up when the schema
by drh
· 7 years ago
8257aa8
Add the new sqlite3.mDbFlags field. Factor out bits of sqlite3.flags that
by drh
· 8 years ago
76cf858
Prevent pagesize changes on VACUUM in encrypted databases even when running
by drh
· 8 years ago
eeea412
Add the SQLITE_BUG_COMPATIBLE_20160819 compile-time option to omit the error
by drh
· 8 years ago
75ba676
Fix an issue that was causing the new database image to be assembled entirely
by dan
· 9 years ago
6a754dc
Disable row counting on queries run while doing a VACUUM.
by drh
· 9 years ago
vacuum-attached-db
9ef5e77
Add the capability to VACUUM an attached database by specifying the schema
by drh
· 9 years ago
69c3382
Rename the Db.zName field to Db.zDbSName to make it more descriptive and to
by drh
· 9 years ago
9d60875
Copy the cache_spill setting from the main database over to the
by drh
· 9 years ago
2b62b5d
In the VACUUM command, set the cache_size of the transient vacuum_db database
by drh
· 9 years ago
1637a51
Legacy tests now passing.
by drh
· 9 years ago
3d2a529
First cut at implementing the new sqlite3_trace_v2() interface.
by drh
· 9 years ago
fad3039
Enhance ability to debug out-of-memory errors.
by mistachkin
· 9 years ago
e34162b
When vacuuming an index that uses no collations other than BINARY, assume that the order of index entries will not be changed by the VACUUM.
by dan
· 10 years ago
ad0961b
Keep track of the optimal number of reserved bytes (by looking at reserve
by drh
· 10 years ago
86a11b8
Fix harmless typos in comments.
by drh
· 11 years ago
60ec914
Fix typos in comments. No code changes.
by peter.d.reid
· 11 years ago
5554827
Get VACUUM and the xfer optimization working with WITHOUT ROWID.
by drh
· 12 years ago
8b8d28dd
Update and modernize an obsolete comment associated with VACUUM. No
by drh
· 12 years ago
4f7d3a5
Refactor names of fields in the sqlite3 object: "activeVdbeCnt" becomes
by drh
· 12 years ago
b8a67ec
Preserve the application-ID across VACUUM. Updates to the magic number file.
by drh
· 12 years ago
07973a6
Hold the mutex on the shared-cache for the duration of a VACUUM operation.
by dan
· 13 years ago
81028a4
The former sqlite3ResetInternalSchema() routine was really two different
by drh
· 13 years ago
f602963
Fix spurious errors that may occur if an empty database is opened and then initialized as a WAL database by a second connection.
by dan
· 13 years ago
c5f20a0
Add the SQLITE_FCNTL_OVERWRITE file-control. Used by SQLite to indicate to the OS layer that the current transaction will overwrite the entire file.
by dan
· 14 years ago
1696124
Disable the xfer optimization if "PRAGMA count_changes=1" is configured. Ticket [c48d99d690].
by dan
· 14 years ago
03faf63
Add a comment to the VACUUM implementation explaining when all schemas are
by drh
· 14 years ago
schema-parse-refactor
c7792fa
Begin a series of changes designed to reduce the scope and frequency of
by drh
· 14 years ago
099d147
Add experimental branch disallowing VACUUM when there are one or more active SQL statements.
by dan
· 15 years ago
experimental
0b9b430
Refactor and simplify the logic used to change journalmode.
by drh
· 15 years ago
acd0781
If an ATTACH command files due to OP_JournalMode but still attaches the
by drh
· 15 years ago
16adb77
Make sure the page size of the main database is fixed following a
by drh
· 15 years ago
811bdbd
Do not attempt to modify the page_size when running VACUUM on a WAL database.
by drh
· 15 years ago
545f587
When commands such as ALTER TABLE and VACUUM use SQL internally, make sure
by drh
· 15 years ago
2ec050c
When TEMP files are in memory, also put the massive TEMP file used by
by drh
· 15 years ago
cda455b
Add a sqlite3_log() call on anonymous constraint failures.
by drh
· 15 years ago
6a9c64b
Make sure internal queries are well ordered, even when the
by drh
· 16 years ago
702b919
Disable trace when recursively running commands while vacuuming.
by drh
· 16 years ago
c81c11f
Remove the obsolete "$Id:$" RCS identifier strings from the source code.
by drh
· 16 years ago
397308d
Fix the VACUUM command so that when the MAIN and TEMP databases have
by drh
· 16 years ago
fa401de
Experimental fix for [f777251dc7]. This may be changed yet.
by dan
· 16 years ago
75cbd98
Fix compilation with OMIT_TRIGGER defined. Ticket [1ff6d29030e9757d052af0f394e56bea96b8b59b|1ff6d29030].
by dan
· 16 years ago
602b466
Cause opening a transaction on a sharable b-tree module automatically obtain a read-lock on page 1. This means there is no way for sqlite3BtreeGetMeta() to fail. (CVS 6836)
by danielk1977
· 16 years ago
0d19f7a
Define a set of constants to use as the "index" argument to sqlite3BtreeGetMeta and UpdateMeta. This makes some parts of the code easier to follow. (CVS 6709)
by danielk1977
· 16 years ago
43996e8
In vacuum.c use "PagerIsMemdb(X)" instead of "PagerFile(X)->pMethods==0". (CVS 6692)
by danielk1977
· 16 years ago
5dc348a
Changes to vacuum.c to facilitate full coverage testing. (CVS 6606)
by drh
· 16 years ago
ce4869f
Make sure the VACUUM statement locks down the page_size and auto_vacuum
by drh
· 16 years ago
0410302
Commit first version of the 'backup' feature. (CVS 6241)
by danielk1977
· 16 years ago
663d56d
Fix the VACUUM command so that it does not commit a transaction when it is
by drh
· 16 years ago
00e1361
Modifications to avoid unsigned/signed comparisons in various files. (CVS 5914)
by danielk1977
· 17 years ago
7426f86
All the page_size pragma to change the page size on a new :memory: database,
by drh
· 17 years ago
06249db
Do not incorrectly detect corruption when an auto-vacuum database is converted to a non-auto-vacuum database within a vacuum. Ticket #3332. (CVS 5603)
by danielk1977
· 17 years ago
f089aa4
Completely rework the sqlite3SetString() primitive so that it honors the
by drh
· 17 years ago
cdb7a0f
Do not allow a VACUUM to try to change the page_size on an encrypted database. (CVS 5225)
by drh
· 17 years ago
e63b2c2
Fix the VACUUM command so that it does not modify the changes counts
by drh
· 17 years ago
4697988
Add comment to speculate when setting journal_mode=OFF on VACUUM does not
by drh
· 17 years ago
f653d78
Allow a VACUUM operation to change the page-size in the same way as it can be used to change a database between auto-vacuum and normal mode. (CVS 4896)
by danielk1977
· 17 years ago
66a5167
Refactoring the VM. The P3 parameter is changed to P4. A P5 parameter is
by drh
· 18 years ago
ddac25c
Add the ability to change the autovacuum status of an existing database
by drh
· 18 years ago
a21a929
Use the 2-argument version of substr() in the SQL contained in the
by drh
· 18 years ago
a1644fd
Modifications to the malloc failure tests to test transient and persistent failures. (CVS 4321)
by danielk1977
· 18 years ago
f78799e
Remove unnecessary sqlite3MallocDisallow() that was preventing win32 from
by drh
· 18 years ago
29278e3
Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255)
by drh
· 18 years ago
1743575
Half-way through a major refactoring of the memory allocation.
by drh
· 18 years ago
979f38e
Test handling of IO errors that occur in OsDelete() or OsTruncate() operations. Also use an anonymous file for temporary storage during a VACUUM. (CVS 3729)
by danielk1977
· 18 years ago
fdbcdee
The -DSQLITE_OMIT_ATTACH=1 option now omits both the ATTACH and VACUUM
by drh
· 18 years ago
884c5b3
Catch an out-of-memory condition in vacuum code. (Bug in (3373)). (CVS 3675)
by danielk1977
· 18 years ago
dddb2f2
Clean up memory leaks and uninitialized variables detected by valgrind.
by drh
· 19 years ago
Next »