shaneh
bb201344cf
Make sure code *compiles* with each OMIT and ENABLE option. Mostly changes to test modules.
...
FossilOrigin-Name: 7cc515edc9cade2bc6c74699b3e4153bf2b74ebb
2011-02-09 19:55:20 +00:00
drh
29362c204f
Significant changes have occurred since the 3.7.5 release so go ahead and
...
increase the version number to 3.7.6.
FossilOrigin-Name: 999c915a4a075a4d1736ae786cbe7d1587809fee
2011-02-04 14:28:34 +00:00
dan
290c939fbf
Remove extra instances of the text "checked out." from sqlite.h.in. Also add new file fts3_aux.c to mksqlite3c.tcl.
...
FossilOrigin-Name: 9897da22c5b51611597350efbe8d5dcaf39d748b
2011-02-01 18:59:34 +00:00
drh
104a7bba8c
Increment the change counter and update the SQLite version number whenever
...
page 1 is added to the WAL. Ticket [5d863f876ee9561b9]
FossilOrigin-Name: c1e0d09cd3f5feae123468a35f147021d839641c
2011-01-15 17:12:59 +00:00
dan
39210bdaa6
Add a test case demonstrating the problem described by ticket [5d863f876e].
...
FossilOrigin-Name: af54963f0fa0afafbc2d0847f30543c041b182ec
2011-01-15 16:52:10 +00:00
drh
94e7bd55bd
Fix comments, including some documentation comments, in the page cache
...
logic. No code changes.
FossilOrigin-Name: c80e9c1a0dc0e501b209874e147e1cb1348cb4a4
2011-01-14 15:17:55 +00:00
dan
47e909bb15
Fix a bug in test code (test_vfs.c).
...
FossilOrigin-Name: 772a3845f8ef5cd3131992c45f6ce607977820f3
2011-01-14 11:51:28 +00:00
drh
5b3696e8a6
Fix a typo on the sqlite3_open_v2() documentation.
...
FossilOrigin-Name: b0add45abc9929c5b8d1124879bc3e8acf2ab7c7
2011-01-13 16:10:58 +00:00
dan
86596e552e
Fix a segfault that can occur in matchinfo if an fts4 table contains mostly zero-length documents. Specifically, if the table contains more rows than it does bytes of text.
...
FossilOrigin-Name: fe9047668eaaf76e7aa1ef1f32dec7c7c4226e45
2011-01-13 10:58:26 +00:00
drh
efd95a7aca
Do not raise an SQLITE_CORRUPT error in Recoverymode
...
if the database size in the header is larger than the physical file
size. This facilitates recovery of a database in which the database size
field has been corrupted.
FossilOrigin-Name: 114640d920e16c85de90b19d53c485135875de5b
2011-01-12 17:56:26 +00:00
dan
9f4beedb6f
If a rollback is attempted in journal_mode=off mode, force SQLite to discard the contents of the pager cache before processing any subsequent queries.
...
FossilOrigin-Name: ece7efce2733b4fdd71db385abebbde464ac8f30
2011-01-11 16:09:55 +00:00
drh
bbd91944dd
Fix the sqlite3.h generator script so that it generates the correct
...
SQLITE_SOURCE_ID string with the latest versions of Fossil that
include fractional seconds on the date/time stamp.
FossilOrigin-Name: 3513bf6ee090d9be97f60e12a4b39f4361ee17b7
2011-01-11 12:46:05 +00:00
drh
b7787eef7a
Enhance the showdb tool to show overflow page pointers at the end of
...
overflow cells.
FossilOrigin-Name: cda5eab18f48d3836dfd3e1f8c76e5f83b43485f
2011-01-06 15:51:18 +00:00
drh
5240aebdd8
Enhance the showdb tool to show a btree page layout. Add limit checks so that
...
overflow content does not overflow the buffer.
FossilOrigin-Name: 57ffa07e26a26d2f4527c8e6d7a9c1f48f380bf7
2011-01-06 01:26:38 +00:00
drh
b2c062df71
Fix a bug in the showdb utility: the serial types for BLOB and TEXT where
...
reversed.
FossilOrigin-Name: 65a13faf1e3cd18f3459cd410f65d334cfa7c376
2011-01-05 21:46:52 +00:00
drh
100335be77
Enhancements to the "showdb" debugging tool. Add the ability to display
...
the content of a cell.
FossilOrigin-Name: e9023a4e1edd552a81dcb2dcd5a996edfa167709
2011-01-05 21:20:52 +00:00
drh
8a3d62224c
Increment the version number to 3.7.5.
...
FossilOrigin-Name: 9ec3896e2fda5b04e609300463dc5b6e79d6cff1
2011-01-05 13:43:23 +00:00
dan
b9a93d70b8
Reduce the number of calls to sqlite3_realloc() made by fts3 when querying for position information of a term prefix.
...
FossilOrigin-Name: 7088d9450f403f12f67eed558e368573101245d6
2010-12-24 15:49:27 +00:00
drh
df60971765
Cherry-pick the lemon.c updates out of the lemon-update-2010 branch into
...
the trunk.
FossilOrigin-Name: 1541ae3fbd7b3d471e002c0ad14e7846f7ad9415
2010-11-23 20:55:27 +00:00
drh
0ee6862072
Fix a typo in a comment inserted by the amalgamation builder.
...
Typo reported on the mailing list.
FossilOrigin-Name: 6a6bb6ce733b421b42fa251dbda7fb19f72361ff
2010-10-31 22:42:27 +00:00
drh
4c6a4788fb
Update the CLI test script to expect a version number of 3.7.3.
...
FossilOrigin-Name: e55ada89246d4cc5f476891c70572dc7c1c3643e
2010-10-07 13:29:13 +00:00
drh
4f788ec41a
Updates to the showjournal.c utility in order to bring it up to version 3.
...
FossilOrigin-Name: fa97d895463be6fd963c29b4525c2664193e36ec
2010-10-01 13:28:43 +00:00
dan
c223b8f1a8
When generating sqlite3.h, append the contents of sqlite3rtree.h.
...
FossilOrigin-Name: fc4d75370bad9021d01b76dbb1b8dde9ff223d2c
2010-08-30 18:39:49 +00:00
drh
7d105f87fc
Update the "showdb" debug utility to handle 64K page database and with
...
extra options to decode the freelist structure.
FossilOrigin-Name: 1070918e3b68c0ba5bfab11a97214b87c601f93c
2010-08-23 15:26:49 +00:00
shaneh
1b8f78ca57
Updated tests for CLI. Added some basic tests for the .import command.
...
FossilOrigin-Name: d46567e5d75a2b9fe96d2a7a30708b2827a0d490
2010-08-18 17:16:26 +00:00
drh
abc97a7834
Adjust the shell test script "shell4.test" to account for changes in the
...
".stat on" display format from the previous checkin.
FossilOrigin-Name: 2f2fa7dd809ae2a67048643da8c01a4664848ba7
2010-07-28 17:16:41 +00:00
shaneh
642d8b87fe
Modify CLI to optionally display "stats".
...
FossilOrigin-Name: 419ce0ed89d10252492b2926817259899ee74e71
2010-07-28 16:05:34 +00:00
drh
74bec6b93f
Update the CLI test scripts for version 3.7.0.
...
FossilOrigin-Name: 92fe70dadde2eb551518d69ac2eaa6a0151d7dfe
2010-07-19 15:01:43 +00:00
drh
dd7e9dba97
Improvements to the formatting of parse.out file from Lemon. Add the -r option
...
to Lemon to disable the state sorting, making debugging easier.
FossilOrigin-Name: a2eaf8294f6d3fb39548987d632e934bb5d71cc9
2010-07-19 01:52:07 +00:00
drh
f5c4e0f12a
Add the -p option to lemon to cause conflicts resolved by precedence rules
...
to appear in the parse.out file.
FossilOrigin-Name: fb6a59b0a905ddea071948f9a527483a1b1b219f
2010-07-18 11:35:53 +00:00
dan
599e9d21bb
Changes so that the space-analyzer script works with 3.7.0.
...
FossilOrigin-Name: 86159cb3f00a380dc55be3affb01c433618f0683
2010-07-12 08:39:37 +00:00
drh
12c7e1aba3
Add the write-ahead log viewer/debugger tool to the tools/ folder.
...
FossilOrigin-Name: 0e4bd44682a252fb8af0df20f011b2b2364644b5
2010-07-07 20:38:26 +00:00
drh
b28e59bbbb
Bug fix: Only trust the database size number at offset 28 if the change
...
counter at offset 24 matches the version number counter at offset 92.
This prevents corruption in the case of two applications writing to the
database where one is an older version of SQLite and the other is a newer
version.
FossilOrigin-Name: f80c3f922a114e738613955a939db46cf0847038
2010-06-17 02:13:39 +00:00
shaneh
fd06863881
Changes to support SQLITE_OMIT_WAL.
...
FossilOrigin-Name: 32a8501d78714cc390eba5f993f329ef3b499878
2010-05-06 19:20:29 +00:00
drh
29d4beccc0
Merge in recent changes from the trunk
...
FossilOrigin-Name: 7a0ac682c3bffcb345321fe97434563350ac90f9
2010-04-27 01:56:21 +00:00
drh
c6d2b4a365
Identify the SQLite version meta-value entry in the db-header output of
...
showdb.
FossilOrigin-Name: 245d934b72cbc6e897193e7892195b6561995939
2010-04-26 17:30:52 +00:00
drh
7ecc14761e
Further enhancements to the showdb utility: A page number followed by "b"
...
causes a btree decoding to occur on the page.
FossilOrigin-Name: 2ff824e58ce8b8f605c809ac960dcbfc51c30e30
2010-04-26 16:47:12 +00:00
drh
562cedb185
Enhancements to the showdb.c utility program. Automatically detect the
...
page size and adjust the display accordingly. Add the "dbheader" display
option.
FossilOrigin-Name: 23eb408b5d08b89b41aaf245a7be8e235f30af8a
2010-04-26 15:44:07 +00:00
drh
c438efd68a
Change the names of the log.c and log.h source files to wal.c and wal.h.
...
FossilOrigin-Name: 56fe5d7624f840417152bcc63efbe21a5f557920
2010-04-26 00:19:45 +00:00
dan
7c24610e64
Import experimental write-ahead-logging code.
...
FossilOrigin-Name: 409d61baeb0a19d1700c973f16c8acef7b8506cd
2010-04-12 19:00:29 +00:00
drh
735b9cbb96
Move the ctime.c source module near the beginning of the list of files
...
inserted into the amalgamation so that #defines that are overridden in
other modules will not effect the values returned by
sqlite3_compiletime_used().
FossilOrigin-Name: bb591802fff5a99ae504509e812bb34e762eaef0
2010-03-10 23:13:53 +00:00
icculus
7b429aa6a8
Fixed compiler warning on Visual Studio.
...
FossilOrigin-Name: 83495128c820e963c70d11c3196f81d8cf01f867
2010-03-03 17:09:01 +00:00
icculus
d286fa6691
Whoops, that shouldn't have been in the merge. Removed buggy code.
...
FossilOrigin-Name: 643728003218c9841425dffb6fe506763859fd37
2010-03-03 17:06:32 +00:00
icculus
d49c1aa7a9
Use Strsafe() instead of strdup(). Fixes Visual Studio complaining.
...
FossilOrigin-Name: 89d8f98ea6d4d8bf871e08a8d8d1f0d2fd11aec1
2010-03-03 17:00:15 +00:00
icculus
05ac70ee0a
Merged trunk to lemon-update-2010 branch.
...
FossilOrigin-Name: 88b466bae47d006c48eff42ab271f05ff56d5ed1
2010-03-03 16:54:58 +00:00
shaneh
dc97a8cdc1
Refactored compile time option diagnostic support to use strings identifiers instead of bitmask.
...
FossilOrigin-Name: 76a0294ab4208a0858a13bab0858e1bc1448b651
2010-02-23 20:08:35 +00:00
icculus
866bf1e6a2
Repore error if the grammar has multiple %type lines for the same nonterminal.
...
FossilOrigin-Name: 721f33e7221c5fc907e9e293ac3242843f4fcfb7
2010-02-17 20:31:32 +00:00
icculus
d0d97b09c6
Fixed % formatting in some printf-style strings.
...
FossilOrigin-Name: f96add898f096cfc1e435c625ce74093d790b3c7
2010-02-17 20:22:10 +00:00
icculus
10163b7d82
Corrected error message (cut-and-paste bug).
...
FossilOrigin-Name: b3839f2aad00844c578d496c40481a39c018e4f6
2010-02-17 20:19:50 +00:00
icculus
a3191195af
Removed unused variables.
...
FossilOrigin-Name: ca570a02f5c5215098050de4eb551b2dcd11b1fd
2010-02-17 05:40:34 +00:00
icculus
8e15802812
Removed %expect directive, on drh's advice.
...
FossilOrigin-Name: b43ac3309e77dc8ea2952bf62da6eaad5aef6653
2010-02-16 16:09:03 +00:00
icculus
15a2cec1ed
Patched to compile. Accidentally removed va_list declaration.
...
FossilOrigin-Name: 673d470c0c14106da05461d355a0c09e5f62851d
2010-02-16 16:07:28 +00:00
icculus
1c11f74a8a
Removed the 80-char line formatting for ErrorMsg(), on dhr's suggestion.
...
FossilOrigin-Name: 132ea4e5d7f69fc307904f5086a72d8532e5aac6
2010-02-15 00:01:04 +00:00
icculus
9e44cf1a03
Make Lemon able to compile as C++ code.
...
FossilOrigin-Name: 75a1060b29eb4122487152b068e7d1073eb0ccab
2010-02-14 17:14:22 +00:00
icculus
d191282111
Added option to not clip error output.
...
This is useful for IDEs and other tools that benefit from full path
information, so they can jump directly to the error line in the source code.
FossilOrigin-Name: 90602030d18152a934644db119a291aa38fe3fd4
2010-02-14 05:42:46 +00:00
icculus
f5ad824071
Delete output files if this is a failed run.
...
Otherwise, the fail will stop a Makefile from progressing, but if you
immediately run the build again, Make will think the output files are up to
date, since they are newer (albeit incomplete/incorrect).
FossilOrigin-Name: e38c08d9cdeb0476ac1a77cd3f29f547a8205835
2010-02-14 05:34:42 +00:00
icculus
42585cf73a
Added %expect directive, to consider a certain number of conflicts "correct."
...
This has the side effect of changing the process exit code to never overflow.
FossilOrigin-Name: d8bab8cf0bc3fbd4c489c31a65d724dda2944d83
2010-02-14 05:19:56 +00:00
icculus
3e143bdfaf
Added -T option, to specify a template filename on the command line.
...
The default is still "lempar.c", though.
FossilOrigin-Name: e6cbe1e5ee80db282a41951b805b7bd8b13adf28
2010-02-14 00:48:49 +00:00
shaneh
b7977c5539
Fix a problem with the CLI where not all SQL commands were being echoed.
...
Added tests of same to tools/shell2.test. Ticket [eb620916be].
FossilOrigin-Name: 7080ae3bc3828168483ac23d5b8976d67ea5089e
2010-01-18 18:17:10 +00:00
shaneh
0a7905295c
Added option to dump pages.
...
FossilOrigin-Name: 08c545f03082421166a21274b39e07bb348c17e6
2010-01-08 04:50:22 +00:00
shaneh
d61fa23290
Minor tweaks to restore_jrnl.tcl utility script.
...
FossilOrigin-Name: b97aca1200d959a1e7c08dd4e9dbce4724342119
2010-01-07 22:02:34 +00:00
shaneh
ea6800c5c4
Small tool that attempts to repair a journal header.
...
FossilOrigin-Name: 05b18b5f6a38f513ff49656faada725eb44715b7
2010-01-07 21:49:48 +00:00
drh
8dc3e8f3e6
Another attempt at fixing the table generator in lemon. Again, this does
...
not effect the SQLite grammar.
FossilOrigin-Name: e22c090f35b3a2bac64781d33aa1123ed765dbbf
2010-01-07 03:53:03 +00:00
drh
cf3e518506
Fix an issue with lemon generating incorrect grammars. This issue does
...
not effect SQLite.
FossilOrigin-Name: 077a6bee2dd4668a5b13c37aa7d4c052350ec782
2010-01-06 13:07:30 +00:00
dan
4564cedd80
Fix a problem in the shell tool. In some cases sqlite3_errmsg() was being called before sqlite3_finalize(), causing error messages to be more generic than they should be.
...
FossilOrigin-Name: e5d07045fabe0803715cfb291aa9e971235cb08a
2010-01-05 04:59:56 +00:00
drh
0e857739c4
Add a new sqlite3_test_control() verb that facilitates testing that all
...
keywords are shown in the documentation. (Two keywords were found to
be missing while testing the change.)
FossilOrigin-Name: d3cdc4b12be7f1ed2249ad210482200868956d12
2010-01-02 03:21:35 +00:00
shaneh
ca7dfda1d4
Updated and added new test cases for CLI.
...
FossilOrigin-Name: 29e3c8da1bd3971215036e5f5cfa5b25c6caa81f
2009-12-17 21:07:54 +00:00
drh
f7829ad0e9
Make sure the new fts3Int.h header file is added to the amalgamation.
...
FossilOrigin-Name: f25558f333637b83f98a649acbb8a0d5dbada9ba
2009-11-25 22:42:22 +00:00
drh
c7bc4fde3c
Initial check-in of code that inserts tokenizations of the values
...
for bound parameters into the output of sqlite3_trace().
FossilOrigin-Name: 545cfb3b63f482036ae152e6ebcce86d373585a8
2009-11-25 18:03:42 +00:00
dan
16708c4a0d
Fix some fts3 related issues with the autoconf and amalgamation build systems.
...
FossilOrigin-Name: 3b17924754343c0163464dabf01a9c46ffccef28
2009-11-19 15:25:25 +00:00
shaneh
5fc250100e
Modified CLI to raise an error when extra command line options are passed.
...
Added tests to verify correct handling, as well as other basic handling
of command line options. Ticket [f5cb008a65].
FossilOrigin-Name: 09b4f19f100fe82a8321b9ded99e679b7eedc1fa
2009-11-11 04:17:07 +00:00
shaneh
ac81cd71a5
Fix for datbase name being ignored with the -batch option in the CLI. Ticket [aeff892c57].
...
FossilOrigin-Name: 8097c64acfc74c913bc6d7d631bc1423c90df93f
2009-11-10 17:07:30 +00:00
shaneh
e2aa9d7192
Improved shell "dot" command argument handling. Ticket [f12a9eeedc].
...
FossilOrigin-Name: 9fb699193378bf812ef97889adc0b1a98ad56d5b
2009-11-06 17:20:17 +00:00
shaneh
a05e0c4efd
Add some very basic tests for the commands available from the CLI.
...
FossilOrigin-Name: 6bf43338049f956b447139c90df472682e28222a
2009-11-06 03:22:54 +00:00
drh
f16371d650
Enhancements to lemon to generate more compact action tables and to avoid
...
making array bounds tests that can never fail on action table calculations.
FossilOrigin-Name: 27d8e684db4651155c4bcb8bb44bf1c692b8c48b
2009-11-03 19:18:31 +00:00
drh
9a5f4d64f3
Force all qsort() calls in mkkeywordhash.c to be stable so that we get
...
predictable results on different platforms.
FossilOrigin-Name: 3b02df27ab63936226a90098d88535ed19c2b782
2009-11-03 13:08:16 +00:00
drh
e594bc3595
Adjust the lemon implementation so that it always computes the same PDA
...
regardless of qsort() implementation on the host platform. In other words,
make all sorts in lemon stable.
FossilOrigin-Name: d66a0f31ebcc56e6f0f462b3db6aab54f7fab816
2009-11-03 13:02:25 +00:00
drh
539a20fa7c
Do not insert the date and time of generation into the amalgamation.
...
FossilOrigin-Name: 9f6cf13dfbe6f1fe0c05a9c5df557ae20dc08cbd
2009-11-02 18:01:50 +00:00
shane
ea5989276a
For Windows VFS, modified xGetLastError() to call FormatMessage()
...
with the FORMAT_MESSAGE_IGNORE_INSERTS option. Additionally updated
to ensure strings are returned as UTF8. Ticket 39c85e8a4e.
FossilOrigin-Name: 761396f8cb79be34853ba698a65af54874c3c10e
2009-10-21 02:00:47 +00:00
dan
03c7b99988
Add documentation comment for new experimental API sqlite3_reoptimize().
...
FossilOrigin-Name: c48f8ffedc30841aa4994eb925d09c2ee97a864d
2009-10-17 08:26:29 +00:00
drh
fcb9f7ad7a
Fixed warnings with MSVC compile.
...
FossilOrigin-Name: e0aa50c382a56bb02eaa589619b7e670006a26b3
2009-10-13 19:19:23 +00:00
dan
8b6d37d8bc
Fix a problem in the legacy genfkey code to do with column names that require quoting.
...
FossilOrigin-Name: 273ccbf18af5191807678a0a0c09cda82408b29c
2009-10-08 13:42:28 +00:00
dan
b616309f52
Update header file comments describing the sqlite3_changes and sqlite3_total_changes functions to describe how changes made by foreign key actions are handled.
...
FossilOrigin-Name: 4c342c026a84f2608c2b331a1ac016117b80f108
2009-10-07 10:43:26 +00:00
shane
3e82c1d99b
Allow specific exclusion of localtime_s() usage on Windows.
...
FossilOrigin-Name: 216bcda7d2818efda55849d5cb84aa483bc6429b
2009-09-22 13:25:00 +00:00
dan
75cbd984f7
Fix compilation with OMIT_TRIGGER defined. Ticket [1ff6d29030e9757d052af0f394e56bea96b8b59b|1ff6d29030].
...
FossilOrigin-Name: fb6ceed388f6d75bdc2ac2f43e5c98da74e2a448
2009-09-21 16:06:03 +00:00
dan
3be7d6eb75
Add fkey.c to the autoconf and amalgamation build systems.
...
FossilOrigin-Name: aab7a4b3c91e0a149f6499660892d09c17b010e3
2009-09-19 17:59:59 +00:00
dan
1da40a381f
Check in implementation of foreign key constraints.
...
FossilOrigin-Name: d5d399811876391642937edeb9e8434dd9e356f5
2009-09-19 17:00:31 +00:00
dan
65a7cd1631
More fixes and comment updates.
...
FossilOrigin-Name: 38a9327bad1a01e3d7a47fad44ece2f6c7e88643
2009-09-01 12:16:01 +00:00
shane
7c7c311da5
More documentation and comment updates for sqlite3_initialize/shutdown interface changes to handle failures.
...
FossilOrigin-Name: 32509bc7339cd6a46cea4c243e3418546860cb2d
2009-08-17 15:31:23 +00:00
drh
d9c50f7fed
Update the amalgamation builder so that it avoids putting redundant
...
SQLITE_API macros on declarations.
FossilOrigin-Name: 0d5b058717858c9cda8ca120a3d814453a94a0e6
2009-08-14 18:18:03 +00:00
drh
47baebc2a6
Incorporate fossil-scm version information into the build. Add the
...
SQLITE_SOURCE_ID macro to the header. Add the sqlite3_sourceid() interface.
Add the sqlite_source_id() SQL function.
FossilOrigin-Name: 302dabe98f50b472bccd65c58504bc8a330049c4
2009-08-14 16:01:24 +00:00
danielk1977
2d04deb21d
Instead of adding SQLITE_API macros sqlite3.h while creating sqlite3.c, add them as part of generating the sqlite3.h target, while copying from sqlite.h.in to sqlite3.h. This fixes a build problem that was causing multiple SQLITE_API macros to be added to a single line of sqlite3.h, and the problem cited by #4016 . (CVS 6971)
...
FossilOrigin-Name: 7f4810747b0864981f27edbd504bfab2efea1e3c
2009-08-11 05:50:36 +00:00
danielk1977
440637eb46
Modify mksqlite3c.tcl so that it inserts SQLITE_API macros into sqlite3.h. Ticket #3983 . (CVS 6924)
...
FossilOrigin-Name: 803ec79f3b05fdd680f9ab762685bbd50a087b9b
2009-07-22 18:24:53 +00:00
drh
8de5a17e47
Corrections to the comment that is inserted at the top of the amalgamation.
...
Ticket #3981 . (CVS 6909)
FossilOrigin-Name: 7572991bc2232f57d04c972d516a3e8f85f34f14
2009-07-20 12:25:44 +00:00
drh
c53eed1703
Change lemon so that it does not generate yytestcase() macros on destructor
...
cases since destructors are commonly unreachable in a reasonable grammar.
For the reduce-rule switch, gather all no-ops into the "default:" case. (CVS 6757)
FossilOrigin-Name: caebfe82cb1b1215a85ed48fe97360c5422c52e0
2009-06-12 17:46:19 +00:00
drh
7501301e8d
The previous check-in ((6755)) put in more yytestcase() macros than are
...
called for. This check-in addresses that problem. (CVS 6756)
FossilOrigin-Name: a5b182f93b9e57754c8b9507cf491a7bbf0fd127
2009-06-12 15:47:34 +00:00
drh
8a415d3743
The lemon parser generator now inserts yytestcase() macros on reduce action
...
and on each destructor, to verify that all have been executed. yytestcase()
is a no-op by default but can be set to something more useful inside
of %include. (CVS 6755)
FossilOrigin-Name: fe9c9177340a3dc372ffa1b851030d005e0c46db
2009-06-12 13:53:51 +00:00
drh
1441f3e083
In lemon: omit unused entries from the end of the yyFallback array. (CVS 6754)
...
FossilOrigin-Name: 9cfbe2ba68470a2850a7d7a64eb088f7b422a3e5
2009-06-12 12:50:50 +00:00
drh
d3ec02d38e
Modifications to the parser to eliminate unreachable code. (CVS 6749)
...
FossilOrigin-Name: 457e0b245b1833c0d297bc6f4ff9785e6a2cee02
2009-06-12 02:27:14 +00:00
drh
9bb6697ac6
Modify mkkeywordhash.c so that it puts the original text of each token in
...
a comment beside the "testcase()" macros. (CVS 6736)
FossilOrigin-Name: a7d0817c176832a88788cc973c0aae8dcab57364
2009-06-09 14:27:41 +00:00
drh
c54a617e1f
Tweaks to vdbe.c to further reduce stack space requirements. (CVS 6706)
...
FossilOrigin-Name: 6f2aab3f7be12710b703eda22b1d5c0e8f85f814
2009-06-02 16:06:03 +00:00
drh
856c10375d
Add the vdbe-compress.tcl script which automatically refactors the
...
sqlite3VdbeExec() routine to use less stack space. Use this script
when constructing the amalgamation. (CVS 6704)
FossilOrigin-Name: 7f43391831b03e53d967acee6ae02089740aaedb
2009-06-02 15:21:42 +00:00
drh
e255086bb2
Update the showdb.c utility so that it works with databases larger than 4GiB. (CVS 6656)
...
FossilOrigin-Name: 9675b6223645fe01b202cbefae63f3209a50efcc
2009-05-19 03:21:52 +00:00
danielk1977
70d9e9cc02
Dequote the "from" table in a FOREIGN KEY definition (affects the output of "pragma foreign_key_list). Fix for #3800 . (CVS 6547)
...
FossilOrigin-Name: 600482d1619c07690b6517ded9655462bdab7538
2009-04-24 18:06:09 +00:00
drh
1b26c7ccfa
Remove the rowhash object from the code. Rowset now fills its role. (CVS 6535)
...
FossilOrigin-Name: e963bed0fe3ce5fa32f04b930e5ed0956dc2aa47
2009-04-22 02:15:47 +00:00
danielk1977
1d46146b58
Attempt to optimize virtual table queries with 'OR' expressions in the WHERE clause. (CVS 6527)
...
FossilOrigin-Name: f61e4cd93682fd98bea2a71d346f9eaa68454390
2009-04-21 09:02:45 +00:00
drh
02368c983f
Fix a segfault in Lemon that occurs if the input grammar does not define
...
a type for tokens. This does not effect SQLite since the SQLite grammar
does define a type for tokens. (CVS 6451)
FossilOrigin-Name: 4424aee958b2e764a61141b5c66c063e36ed5aae
2009-04-05 15:18:02 +00:00
danielk1977
404ca07578
Add the sqlite3_unlock_notify() API. (CVS 6348)
...
FossilOrigin-Name: b649a6cc5bfefddd6a04b1183647d2923e0a0daa
2009-03-16 13:19:36 +00:00
danielk1977
e632004fdd
Remove genfkey.c. Change genfkey.README to talk about the new shell dot-command, not the old standalone genfkey program. (CVS 6326)
...
FossilOrigin-Name: 36d699660bc328e65170d72be715338e82dbbb50
2009-02-25 15:43:57 +00:00
danielk1977
c8c7069035
Add the 'genfkey' functionality to the sqlite3 shell. Accessed using a new dot-command - ".genfkey". (CVS 6325)
...
FossilOrigin-Name: 0a59fb28b46e5d85c850d1dfa1385a4656e4dda5
2009-02-25 15:22:02 +00:00
drh
40a390de50
Fix the amalgamation builder to mark sqlite3PagerBackupPtr as private.
...
Ticket #3662 . (CVS 6302)
FossilOrigin-Name: fb281950c51ef81797f93d797113d328d66a7cb0
2009-02-18 12:25:28 +00:00
danielk1977
0410302e58
Commit first version of the 'backup' feature. (CVS 6241)
...
FossilOrigin-Name: 663479b417fc06ba1790a544f28694f8797cee57
2009-02-03 16:51:24 +00:00
drh
f158162191
Add a special rule to the amalgamation generator to deal with
...
the sqlite3OsDlSym function. Ticket #3631 . (CVS 6236)
FossilOrigin-Name: 876f874c6e2e6e7763083e6761eedc10a4522ec9
2009-02-03 13:51:17 +00:00
drh
565911e912
Make the TO keyword available even if SQLITE_OMIT_ALTERTABLE is defined.
...
Ticket #3622 . (CVS 6223)
FossilOrigin-Name: 3890985ca6750584876596fd0a124f47ee032075
2009-02-01 00:00:45 +00:00
shane
d87897dfa2
Minor changes to remove a few MSVC compiler warnings at /W3. Ticket #3610 . (CVS 6215)
...
FossilOrigin-Name: c74c78e4eb7f6d674b7564b33387db996fbe5725
2009-01-30 05:40:27 +00:00
drh
bae6f21892
Remove obsolete files from the tools subfolder. (CVS 6204)
...
FossilOrigin-Name: d74560803e16eb2d28fc644b9aedb8c60eb224c6
2009-01-24 15:23:00 +00:00
drh
f3d20c04a2
Avoid surplus bytes at the end of the keyword string table.
...
Add testcase() macros to make sure all keywords are used during
testing. (CVS 6090)
FossilOrigin-Name: 73958060aaf641d93bede3a42851e5b3451f5432
2008-12-31 21:52:40 +00:00
drh
aeba020bea
Fix the FTS3 module with parenthesis syntax so that it will work in
...
the amalgamation. (CVS 6087)
FossilOrigin-Name: c2b9891fc05ec05b270f108f61ab81b2df874e01
2008-12-31 16:01:04 +00:00
danielk1977
fd7f045225
Add the savepoint feature. This feature is largely untested at this point. (CVS 6036)
...
FossilOrigin-Name: 34b56600ec0c5cd7b5faab265750252bc9850e3e
2008-12-17 17:30:26 +00:00
drh
15b024c22a
Initialize the yyzerominor constant generated by lemon. (CVS 6016)
...
FossilOrigin-Name: 76c8f6ba87f333f15444ba5444bc675ec4cfd89e
2008-12-11 02:20:43 +00:00
drh
3abbd39a87
More code obfuscation designed to thwart compiler warning messages. (CVS 6015)
...
FossilOrigin-Name: 0a1888a7e6fb56e56d8078e7792379d908ba7a70
2008-12-10 23:04:13 +00:00
shane
00c586a238
Fixed typo in comment in mkkeywordhash.c. (CVS 6009)
...
FossilOrigin-Name: b7dd05b403e69caca814ccd8824130f176160cd5
2008-12-10 20:11:01 +00:00
shane
5854393cd9
Added option (-l) to lemon parser to have it skip printing line numbers (#line ... ). (CVS 6008)
...
FossilOrigin-Name: ccb9393a7a10f0970419b860af293b0bdad7f894
2008-12-10 20:10:04 +00:00
drh
b27b7f5d3b
More explicit type casting to silence VC++. (CVS 6006)
...
FossilOrigin-Name: 14e6d19c3157ccdce170e769d678c7f472dd3db2
2008-12-10 18:03:45 +00:00
drh
b3190c1501
Some minor name refactoring in where.c. Avoid declaring variables before
...
initializing them in the amalgamation because VC++ doesn't like that. (CVS 5993)
FossilOrigin-Name: 6ed696e7c03351514278338fa986539cf0fac178
2008-12-08 21:37:14 +00:00
drh
1875f7a3db
The amalgamation now compiles cleanly on GCC with options
...
-pedantic-errors -Wno-long-long. (CVS 5991)
FossilOrigin-Name: 73c7302c5f76a2f61ecd75f8bda69bb500d3119c
2008-12-08 18:19:17 +00:00
drh
3d4501e573
Replace the VDBE Fifo object with the new RowSet object. (CVS 5977)
...
FossilOrigin-Name: 39a0750b49cf55e9c0927169ca47db909f5c16ea
2008-12-04 20:40:10 +00:00
drh
4c6517848f
Fix to the lemon parser template when YYSTACKSIZE is 0 (dynamically
...
allocated stack space). (CVS 5919)
FossilOrigin-Name: 00ccc5967f8912961029a3513445c5e2ac713560
2008-11-18 23:25:54 +00:00
danielk1977
032c0c14f9
Add a line to genfkey.README showing how to link against a shared library. Ticket #3502 . (CVS 5907)
...
FossilOrigin-Name: 800274b76945a41ca4ea72c455d220103a6b01dc
2008-11-15 04:54:31 +00:00
danielk1977
d17e71c95c
Update mksqlite3c.tcl to include new file pcache1.c. (CVS 5900)
...
FossilOrigin-Name: 00442e0f57b52808d087154c84ece531bf1cfb62
2008-11-13 14:42:18 +00:00
drh
d1370b6d92
Remove the vestigial mem4 and mem6 memory allocators. Add the
...
SQLITE_ZERO_MALLOC compile-time option and the mem0.c module to
handle memory allocation for that case. (CVS 5848)
FossilOrigin-Name: 4651f590f0b8bf13938b2b15d5082136e763af8d
2008-10-28 18:58:20 +00:00
danielk1977
b3175389c7
Add "pragma journal_mode=memory". Change the way rollback works for in-memory databases so that it reuses the journal_mode=memory code. (CVS 5830)
...
FossilOrigin-Name: 39ebf01addf9d0867daafd06a38719e725128f9c
2008-10-17 18:51:52 +00:00
drh
9965a04a63
Fix the amalgamation generator to recognize indented #include directives.
...
Ticket #3438 . (CVS 5822)
FossilOrigin-Name: 494510d8f25c69f5a5f5937b92f505849def6745
2008-10-14 18:21:11 +00:00
drh
21717ed6f0
Fix the SQLITE_OMIT_DATETIME_FUNCS compile-time option so that it builds
...
successfully. (CVS 5815)
FossilOrigin-Name: c3f91645159511250c9f86c2a97d819f0253d182
2008-10-13 15:35:08 +00:00
danielk1977
30629571f6
Use one less temporary table in genfkey.c. The retired table was being used to workaround the bug fixed by (5812). (CVS 5813)
...
FossilOrigin-Name: 73efca985a05930df761b42886a3ba1c5199f32a
2008-10-13 10:56:48 +00:00
danielk1977
c30bfeee4e
Add the genfkey program to the tool/ directory. (CVS 5796)
...
FossilOrigin-Name: 84e73fe8a6f538c4b1bb4f641a661d6fafb60c76
2008-10-10 17:58:26 +00:00
drh
5eddafeb64
New speed testing tools. (CVS 5786)
...
FossilOrigin-Name: 2d427746d53104ca032c404f7f65c51b41b7a20e
2008-10-09 17:57:33 +00:00
drh
18472fa7b8
Remove the SQLITE_MUTEX_APPDEF compile-time option. The SQLITE_THREADSAFE=0
...
option always removes all mutex code. For application-defined mutexes only,
use SQLITE_THREADSAFE=1 with SQLITE_MUTEX_NOOP=1. Ticket #3421 . (CVS 5779)
FossilOrigin-Name: 02a12eb1cfe9307c66556105a1a99d657cc01ab5
2008-10-07 15:25:48 +00:00
danielk1977
85574e31cb
Allow INDEXED BY and NOT INDEXED clauses in SELECT statements. (CVS 5766)
...
FossilOrigin-Name: 98ca5580f5acd2e7b3ce512520ec0527f221505e
2008-10-06 05:32:18 +00:00
danielk1977
f9449d0e9c
Add file fts3_icu.c to the amalgamation. Because of the way header files are included into sqlite3.c, fts3_icu.c has to appear after all the other fts3 and icu extension files. Ticket #3398 . (CVS 5741)
...
FossilOrigin-Name: 0acca5842f83943228d4225b60dc7e8a42bae577
2008-09-24 09:58:00 +00:00
danielk1977
1c82665040
Add header file sqliteicu.h to the ICU extension. This is analogous to the rtree.h and fts3.h headers used by other extensions to declare their entry points. Fix for ticket #3361 . (CVS 5680)
...
FossilOrigin-Name: 79364b963b348d5433da737b4e21e97952882389
2008-09-08 08:08:09 +00:00
pweilbacher
e7c8a5c75d
fix some tests to take the right branch on OS/2 (hope I got the Tcl syntax right) (CVS 5593)
...
FossilOrigin-Name: 10e62d4700c99faf07140a8204d3cd81481206ac
2008-08-22 13:57:39 +00:00
drh
70a8ca3c1e
Initialize the global built-in function table at start-time
...
instead of at compile-time. This is less prone to malfunction when
compile-time parameters very. (CVS 5583)
FossilOrigin-Name: ef6936e50adb9ebea39c890167403fff01bbb5ed
2008-08-21 18:49:27 +00:00
drh
69556698e0
Patch to mkfunction to try and detect miscompiles. Add an unimportant
...
assert back to pcache.c. (CVS 5577)
FossilOrigin-Name: a2f375fffb49b6f6adbfd59d24e9c6a170fd5ebb
2008-08-21 12:32:11 +00:00
drh
7a4dde7165
Modify the lemon parser template to avoid using zero-initialized constants
...
when compiled with C++. Ticket #3288 . (CVS 5571)
FossilOrigin-Name: 71992f4a3723418df5f16093aec92f1f95f0b604
2008-08-20 17:48:21 +00:00
drh
7d10d5a6e1
Refactor the name resolution procedures in the code generator. (CVS 5569)
...
FossilOrigin-Name: daf730d1defa78fb8b80a78f9108ac35a13e09f6
2008-08-20 16:35:10 +00:00
danielk1977
8c0a791a58
Add the pcache module from the experimental branch. Also change things so that most of the built-in SQL functions are kept in single static hash-table, rather than creating and populating a separate hash table for each open database connection. (CVS 5566)
...
FossilOrigin-Name: cb494e10d71852024647aaa254203579ad438ea9
2008-08-20 14:49:23 +00:00
drh
87cf137735
Explicit casts of the return from strlen() to int in lemon. This has
...
no effect on SQLite. It has no effect on any lemon-generated parser
with a grammar that is less than 2GB in size. Ticket #3293 . (CVS 5564)
FossilOrigin-Name: a519cdb2f46fffe16e666f161479a22463616cb3
2008-08-13 20:09:06 +00:00
drh
639efd0451
Fix token destructors in lemon generated parsers. Does not effect SQLite.
...
Ticket #3299 . (CVS 5563)
FossilOrigin-Name: 4887e8fc4af9e2963b3eff3187dee5b0d6297eb5
2008-08-13 20:04:29 +00:00
danielk1977
0c8a5d0893
Make it easier to build with the icu extension enabled. Include icu.c in the amalgamation source. Ticket #3245 . (CVS 5533)
...
FossilOrigin-Name: e42ff97ba7d9fcda699a63fc8bc609d559498180
2008-08-04 11:49:20 +00:00
danielk1977
de3e41e304
Fix (make test) with SQLITE_OMIT_COMPOUND_SELECT. Ticket #3235 . (CVS 5530)
...
FossilOrigin-Name: 9ca975c8fdeaae7d5af8fe62e097d8d251362cfe
2008-08-04 03:51:24 +00:00
shane
4909760837
Updated omittest.tcl. Updated OMIT list. Updated for Windows. (CVS 5510)
...
FossilOrigin-Name: f94239933e6f93d9780178b6f9a6b14ca791716a
2008-07-31 02:43:34 +00:00
drh
633e6d57d9
Implement the "lookaside" memory allocation cache. Use of this cache makes
...
the speed1.test script run about 15% faster. Added new interfaces to
control the cache. (CVS 5488)
FossilOrigin-Name: e48f9697e9fea339e150ddc32940760027dd07d9
2008-07-28 19:34:53 +00:00
drh
ec424a5be6
Add the capability to track the maximum depth of the LALR(1) parser stack
...
so that critical applications can check to see if they are getting close
to limits. (CVS 5481)
FossilOrigin-Name: ef0250f3dc769a4acd534f31fa06d90922d4145b
2008-07-25 15:39:03 +00:00
danielk1977
31fab4f30b
Updates to mem6.c allocator. (CVS 5473)
...
FossilOrigin-Name: 43a4cae2acea33d1a17c0037516e9c27fb7e8e91
2008-07-25 08:48:59 +00:00
drh
2abcd58f09
Reduce the size of the parser allocation. Add additional instrumentation
...
to mem2. speed1*.test uses scratch malloc. (CVS 5472)
FossilOrigin-Name: 599a9dea8fc97d0e7f09e67c9954de8cc1b8748e
2008-07-24 23:34:07 +00:00
drh
34ff57b12f
Fix additional typos in comments within lemon. Ticket #3215 . (CVS 5405)
...
FossilOrigin-Name: 372147699585ca4bd11100983de924f63c5cfce5
2008-07-14 12:27:51 +00:00
drh
b5bd49e9cb
Fix a bug in the #line generator of lemon. Ticket #3214 . (CVS 5404)
...
FossilOrigin-Name: dc697c26668929c4eed5ab8cde6975125a7e66c7
2008-07-14 12:21:08 +00:00
drh
4dc8ef520a
In lemon: coalesce identical destructors. (CVS 5335)
...
FossilOrigin-Name: 3447086cd3f6e9b89a8cf61afcf4715977bbf4cd
2008-07-01 17:13:57 +00:00
drh
32c4d743bc
In Lemon, if a non-terminal has the same type as a terminal, then reuse the
...
terminal type in the YYMINORTYPE union for the non-terminal. This gives
better table compression. (CVS 5334)
FossilOrigin-Name: 5c9cc22cd8e9bec3d8622d2c354423281f2db0fb
2008-07-01 16:34:49 +00:00
danielk1977
b06a0b67c4
Change the TEMP_STORE preprocessor symbol to SQLITE_TEMP_STORE. (CVS 5312)
...
FossilOrigin-Name: 1e3b8308021107d983d2152663f62b369cca091d
2008-06-26 10:54:12 +00:00
danielk1977
29bafeabcd
Change the OS_XXX pre-processor symbols to SQLITE_OS_XXX. Symbols "OS_UNIX", "OS_WIN", "OS_WINCE", "OS_OS2" and "OS_OTHER" are now "SQLITE_OS_UNIX", "SQLITE_OS_WIN", "SQLITE_OS_WINCE", "SQLITE_OS_OS2" and "SQLITE_OS_OTHER", respectively. (CVS 5311)
...
FossilOrigin-Name: cdd4cf4ce2ab363ddc3f27c5e44896e17269a161
2008-06-26 10:41:19 +00:00
danielk1977
6b39c2e40b
Have mem3.c and mem5.c grab a mutex when required. Include them both in the amalgamation again. (CVS 5306)
...
FossilOrigin-Name: 9e3c95ff4048cd8e4c56acf7a8ebedc49621e9c7
2008-06-25 14:57:53 +00:00
drh
f714199054
Add some test logic to the new memory allocation subsystem. (Lots more needed.)
...
The test suite is currently indicating memory leaks, though it is unclear if
this is a true code problem or just an instrumentation problem. (CVS 5240)
FossilOrigin-Name: cb1f11cd9764cf0275e88e1f6342e366e5536bfd
2008-06-19 00:16:08 +00:00
drh
5f09d3e611
Remove mem3.c and mem5.c from the amalgamation for the time being, since
...
they do not currently work. We will add them back later once they are fixed. (CVS 5229)
FossilOrigin-Name: 39b4e1ff4e3db3278c35eff10bbabdf4d87793a4
2008-06-18 02:01:07 +00:00
drh
40257ffd0a
Progress toward implementation of sqlite3_config() and a rework of the
...
mutex and memory allocation subsystems. This is an incremental check-in. (CVS 5218)
FossilOrigin-Name: a03c5af115889f477e17187a198a7d2d40bc76bf
2008-06-13 18:24:27 +00:00
danielk1977
d186854f3a
Update utility program speedtest8inst1.c. (CVS 5201)
...
FossilOrigin-Name: 98bdc7b44db737d3b77aa76c139995d2b185cd85
2008-06-11 11:00:31 +00:00
shane
9bcbdad298
Consolidated inline assembly versions of "hwtime()" into hwtime.h. Provided MSVC version. Modified code for consistent use of hwtime(). Changed implementation to use sqlite_uint64 and sqlite_int64 instead of unsigned long long int and long long int for MSVC compiler support. (CVS 5178)
...
FossilOrigin-Name: 9883b406ce24eae93942ee5e6aab33fb6b05329f
2008-05-29 20:22:37 +00:00
drh
58f1c8b773
Update the amalgamation builder to incorporate the RTREE extension. (CVS 5160)
...
FossilOrigin-Name: aa8eba3360c31182f5238e96b83a382374f40fab
2008-05-26 20:19:25 +00:00
mlcreech
1e12d43b48
Only look for config.h if the autoconf-based build is being used, and don't inline it into the amalgamation. (CVS 5093)
...
FossilOrigin-Name: 7df9ef2c8216133d50bf4737482f51193e8579b0
2008-05-07 02:42:01 +00:00
drh
e265b08458
Fix harmless compiler warnings. (CVS 5073)
...
FossilOrigin-Name: 227a6f67c21c87a7cf98f84b9d57a6dc9da93ebb
2008-05-01 17:03:49 +00:00
shane
0068b225ff
Improved option handling in speedtest8.c. Added -quiet and -priority options. Added reporting of total user and system time. (CVS 5070)
...
FossilOrigin-Name: aa59974ec15508d69c5b65ab89ec7bc32690018c
2008-04-30 15:55:33 +00:00
drh
a5808f31f0
Allow multiple occurrances of %include in lemon input files.
...
Ticket #3001 . (CVS 5053)
FossilOrigin-Name: f22fa11bde0b77cfc5ff438f2ec6ab95dc87c291
2008-04-27 22:19:44 +00:00
drh
7f7c257b6b
Fix the lemon parser generator so that it works again with the "error"
...
symbol. Ticket #3079 (CVS 5052)
FossilOrigin-Name: 20ed749266d099eb35f40ca479db8baa75186b60
2008-04-27 18:45:10 +00:00
drh
f708cff4c1
Add the -overwrite option to speedtest8.c. (CVS 5022)
...
FossilOrigin-Name: 6765ea52b33270a323c620b060cffd4f59004db1
2008-04-16 23:50:23 +00:00
danielk1977
2551caf381
Modify speedtest8.c so that it can use the logging from test_osinst.c when HAVE_OSINST is defined. (CVS 4997)
...
FossilOrigin-Name: 7622d74ad6088de4d94cb727b60ac4a042c52016
2008-04-12 16:03:37 +00:00
drh
c2a721f73a
Add the speedtest8inst1.c program for running speed tests with an
...
instrumented VFS. (CVS 4993)
FossilOrigin-Name: baa8056c67c03ac78a1ed6da5a46fda793340739
2008-04-11 21:20:48 +00:00
drh
26c9b5eaba
Speed improvements by removing unnecessary memset() operations.
...
Also: do not resize the opcode array of a virtual machine to its
minimum size after code generation completes. The extra resize
merely uses time. (CVS 4987)
FossilOrigin-Name: 2589955507fc1717891c4e07d1d658eb41660b87
2008-04-11 14:56:53 +00:00
drh
75e99a4727
Fix to the previous check-in so that it works on a intel Mac. (CVS 4962)
...
FossilOrigin-Name: 1d67f41c885d052ab10a33892938a85b56882b3d
2008-04-03 20:09:06 +00:00
drh
d543a42248
Use an improved RDTSC access routine. (CVS 4961)
...
FossilOrigin-Name: b4eba9c533f6aac9dde4f2c9796fe02e25158a0f
2008-04-03 19:40:59 +00:00
drh
17afdd238f
Changes speedtest8 and speedtest16 so that the database file can be specified
...
on the command-line. Allows speed testing against a :memory: database. (CVS 4960)
FossilOrigin-Name: 64badc50531668de45d76a3dcd90db17e1fe1ab1
2008-04-03 17:57:24 +00:00
drh
7720d6448a
Add the speedtest8.c and speedtest16.c files to the tools subdirectory. (CVS 4958)
...
FossilOrigin-Name: b8d211a76fa56d812fc1758b58d65eef832494cb
2008-04-03 16:01:27 +00:00
mlcreech
6f10b3c0c9
Replace SQLITE_EXTERN with SQLITE_API in exported variables when generating
...
the amalgamation. Should fix #2982 (CVS 4845)
FossilOrigin-Name: f134c282ea841fe35f322a1f8c326242c6ad7b24
2008-03-09 01:14:41 +00:00
mlcreech
98dc4b1aba
Clean up recent autoconf-related additions, add config.h to the amalgamation (CVS 4833)
...
FossilOrigin-Name: 8044623062e9aa43593c46e3e5d5bc7361ea7418
2008-03-06 16:28:58 +00:00
mlcreech
3a00f907a9
Various renames & cleanups to limit exported symbols on amalgamation build (CVS 4819)
...
FossilOrigin-Name: 9c6694bb61a8ecdbfb2d05e5e05a8cc97b792240
2008-03-04 17:45:01 +00:00
drh
f5e7bb513c
Add the Bitvec object for tracking which pages have been journalled.
...
This reduces memory consumption and runs faster than the bitmap approach
it replaced. (CVS 4794)
FossilOrigin-Name: 7c57bdbcdb84d95419ec7029d2e13c593854a8d8
2008-02-18 14:47:33 +00:00
drh
2d7636e212
The power-of-two first-fit memory allocator is now working. (CVS 4793)
...
FossilOrigin-Name: d134d29cea971eb01a0e0fd94341ab79e2d5b57a
2008-02-16 16:21:45 +00:00
drh
820a90694e
Version number to 3.5.5. Include FTS3 in the amalgamation by default
...
(but disabled unless compiled with -DSQLITE_ENABLE_FTS3). Fix a memory
allocation problem. (CVS 4757)
FossilOrigin-Name: 72411043e60d5358d5a7adf566d662d65d3b3336
2008-01-31 13:35:48 +00:00
rse
d18eef5c57
remove an unused variable (CVS 4751)
...
FossilOrigin-Name: 88846195474e620d0c3029d464d074aea6e82a22
2008-01-27 10:35:56 +00:00
drh
01495b9921
Improvements to test coverage in the lemon-generated parser and in the
...
sqlite3_get_table() interface. (CVS 4745)
FossilOrigin-Name: 9f95d79daeb5e7f6fd62f3c896dae4d332121d1c
2008-01-23 12:52:40 +00:00
drh
4b2f9368cb
Improved test coverage for the tokenizer and sqlite3_complete() interface.
...
Fix bugs in parsing blob literals and SQL variables beginning with $. (CVS 4743)
FossilOrigin-Name: c82033faf8bdb83ce43f0dd1611408e7796d53de
2008-01-22 23:37:09 +00:00
drh
643167ff21
Add the fault injector module in fault.c. Use it as a basis for memory
...
allocation failure testing. (CVS 4742)
FossilOrigin-Name: 1a335e180183b414fcc3510ce28b98b21cd134a6
2008-01-22 21:30:53 +00:00
drh
5517625960
Remove dead code from the lemon-generated parser. Better testing
...
of the sqlite3_file_control() interface, and in particular make sure
the interface works on :memory: databases. (CVS 4738)
FossilOrigin-Name: 83ca4fc7dc18d6deca58fe4181905eb9754e03da
2008-01-22 14:50:16 +00:00
drh
c4dd3fd280
Changes to lemon to generate additional comments in the output file and
...
to remove unreachable code. Additional test cases for improved test
coverage. (CVS 4736)
FossilOrigin-Name: 2a0bc1e186532a0bfe36ca18fda74a5e7a199227
2008-01-22 01:48:05 +00:00
danielk1977
7c9aaa7058
Define SQLITE_CORE=1 at the start of the amalgamation file for the benefit of any extension source code (i.e. fts3) appended to it. Ticket #2858 . (CVS 4649)
...
FossilOrigin-Name: 6dea8c16384443ed4ab59d1e2694534992ec3118
2008-01-01 05:49:07 +00:00
drh
9892c5d1f4
Fix some issues with lemon. Tickets #2852 and #2835 . (CVS 4641)
...
FossilOrigin-Name: 5283e0d1467e0fc0ebbd1be553b5a8762e9c7975
2007-12-21 00:02:11 +00:00
drh
0349688fbc
Fix a bug in the TCL code for sqlite3_analyzer. (CVS 4590)
...
FossilOrigin-Name: 7c2cf4542852a81daf29a930ab103c52bb678326
2007-12-04 13:41:51 +00:00
drh
71674ce9ce
Make sure the _LARGEFILE_SOURCE macro occurs before any system
...
includes. Ticket #2739 . (CVS 4508)
FossilOrigin-Name: 36465aeb1f8f92d336faf16c25608c9a8a6585d3
2007-10-23 15:51:26 +00:00
drh
979aeaa395
Add the new memory allocator to the amalgamation. Improvements to
...
out-of-memory handling. (CVS 4498)
FossilOrigin-Name: b58c2b37a5deb19ce0ef78629989016743a46bb3
2007-10-20 16:36:31 +00:00
drh
b496099751
Changes lemon so that the generated parser does not accept prior to
...
seeing the EOF token. This is a lemon change only and does not
effect SQLite. Ticket #2550 . (CVS 4473)
FossilOrigin-Name: 1c68d93412a608f5164ad984ff290ab3b832bf7a
2007-10-05 16:16:36 +00:00
rse
38514a9fb2
get rid of remaining GCC 4.3 -Wall compiler warnings by initializing two variables and one structure properly (although the code path was already rather safe) (CVS 4439)
...
FossilOrigin-Name: d748694f8d9b14d98b6fe7ceb404754692761705
2007-09-20 11:34:17 +00:00
danielk1977
a15db35304
Minor fixes for the OMIT_INCRBLOB compilation option. (CVS 4430)
...
FossilOrigin-Name: 87e37eabf0ddef252bbc12f6857d33c2b136dcd3
2007-09-14 16:20:00 +00:00
drh
386ef28bc2
Remove the last traces of SQLITE_ENABLE_REDEF_IO. (CVS 4377)
...
FossilOrigin-Name: 38dff76ddf0ec7d2cd0d2e1282f9c36558e5661a
2007-09-03 15:26:20 +00:00
drh
61f6dc608f
Make mutex functions available to loadable extensions. Fix the
...
amalgamation generator to include the latest source files. (CVS 4346)
FossilOrigin-Name: 293a3f837bd6c6a26f694a9210e59ace23abb6bb
2007-08-30 17:15:37 +00:00
drh
428e282662
Make the latest interfaces usable by loadable extensions. (CVS 4343)
...
FossilOrigin-Name: e9b2700b8c30b0255c9e33419ff18bdebb78087a
2007-08-30 16:23:19 +00:00
drh
46c99e0f5d
Work around problem with forward declarations of constants in MSVC
...
in the amalgamation. Ticket #2574 . (CVS 4304)
FossilOrigin-Name: dc80b2e1f4e1d31479aad9f39e651e62f2601fb8
2007-08-27 23:26:59 +00:00
drh
97c8ec325d
Bring the amalgamation builder up to date with the latest changes.
...
Remove some vestigial code. (CVS 4303)
FossilOrigin-Name: 0ae30e5c76d9094307ea086a9993a953631ab9da
2007-08-27 21:49:34 +00:00
drh
aa9f112137
Change names of constants in lemon.c to work around name conflicts
...
on Solaris. Ticket #2583 . (CVS 4274)
FossilOrigin-Name: e4e74cd0f9343448ea38e57f08bb4f0616825f31
2007-08-23 02:50:56 +00:00
drh
73be501329
More tweaking of linkage. Ticket #2554 . (CVS 4200)
...
FossilOrigin-Name: 3759a38fe8e8a873dc3aae8dc99ca1010551b50b
2007-08-08 12:11:21 +00:00
drh
f7083bf6d2
Additional refinements on the amalgamation: Give a couple of constants
...
file scope and add the SQLITE_API prefix to some interfaces that need it.
Ticket #2554 . (CVS 4199)
FossilOrigin-Name: c09ec102c4f62e492dd3676ef0aa1a183d6ce3b3
2007-08-08 01:04:52 +00:00
drh
0a0e131c7e
Revise the amalgamation so that all symbols have file scope except those
...
that begin with "sqlite3_". Ticket #2554 . (CVS 4197)
FossilOrigin-Name: 73db545289a1a99bd48b22895d2a3ee86540f107
2007-08-07 17:04:59 +00:00
rse
8f30448a30
"extern" declarations inside function bodies are not every compiler's
...
favorite, so move to global scope. Additionally, at least under Unix
environment use <unistd.h> to get the proper prototype instead of using
a K&R-style own declaration. (CVS 4190)
FossilOrigin-Name: 5955a77d6c902dc65897ba19d6e06db3e10bd3ee
2007-07-30 18:31:53 +00:00
rse
43e47c8ec1
Get rid of the following compile-time warnings:
...
tool/mkkeywordhash.c:353: warning: array subscript has type 'char'
tool/mkkeywordhash.c:354: warning: array subscript has type 'char' (CVS 4189)
FossilOrigin-Name: c01d7944799d8a96a29f8d4f6d2bb7c4bb0e14bb
2007-07-30 18:26:19 +00:00
drh
e927818455
Additional diagnostics added to the "out" file generated by lemon. (CVS 4160)
...
FossilOrigin-Name: 7ef2aaf72a8a953df7a763dd94657bb4ff05294f
2007-07-18 18:16:29 +00:00
drh
26b0fc0bc5
Modify the amalgamation generator to identify every API using the
...
SQLITE_API macro which is normally defined to nothing but which can
be overridden on the compiler command-line to be "static" if desired.
Ticket #2453 . (CVS 4125)
FossilOrigin-Name: 474a52347d454ad499d7a78c88eb995c9d3254d1
2007-06-26 00:52:39 +00:00
drh
b6a9eceab2
Change the name of sqlite3_atoi64 back to sqlite3Atoi64 so that it is clearly
...
and internal API. Modify the amalgamation to use a macro SQLITE_PRIVATE
instead of the keyword "static" so the macro can be overridden to by nothing. (CVS 4124)
FossilOrigin-Name: 96190cf13dd7219f483308fea92d703328aac4c7
2007-06-26 00:37:27 +00:00
drh
c551dd804a
Change the name of the "limits.h" source file to "sqliteLimit.h".
...
Ticket #2428 . (CVS 4091)
FossilOrigin-Name: 64bcc41f12e902fd025c9ba36c09dd6e4cf25923
2007-06-19 15:23:48 +00:00
drh
b3905ab5e1
Add another scenario to the soak1.tcl script. (CVS 4081)
...
FossilOrigin-Name: 10e6822d4f1e0a94d5033b7b9efc1d8ed1e957d1
2007-06-16 14:19:36 +00:00
drh
2df37c0390
Add a script for "soak" testing. (CVS 4074)
...
FossilOrigin-Name: d4ea1287a8b013a97fcb55bb7f7feba427222bab
2007-06-15 18:43:37 +00:00
drh
b36d20d4ae
Add a --nostatic option to mksqlite3c.tcl. With this option turned on,
...
the extra "static" storage class markers are not inserted into the
amalgamation. (CVS 4013)
FossilOrigin-Name: 57e17c7cda23a3b3e1d0a691af07c35c1c644dcc
2007-05-16 13:55:26 +00:00
drh
ee85813c94
Fix the amalgamation generator so that all non-API functions have file scope. (CVS 3958)
...
FossilOrigin-Name: e9f56ead0514f3eac75807ea710c1f035b8add4f
2007-05-08 20:37:38 +00:00
drh
84708bc93b
Update the amalgamation builder for the latest changes. (CVS 3955)
...
FossilOrigin-Name: becd64d3615fc5738da4c70610d8849e0a70bed8
2007-05-08 17:59:42 +00:00
drh
a315289571
Refactoring. Split btreeInt.h off from btree.c. Split malloc.c off from
...
util.c. Expect much more to follow. (CVS 3925)
FossilOrigin-Name: 16041116aaaa2d52a289aa02a24bef579ba60896
2007-05-05 11:48:52 +00:00
drh
ca5557f91d
Change incremental vacuum to be triggered by a pragma rather than a command.
...
We have a lot to learn about this yet and we do not want to paint ourselves
into a corner by commiting to specific syntax too early. (CVS 3921)
FossilOrigin-Name: b13e497a326697ab42b429993a1eee7df3c0c3eb
2007-05-04 18:30:40 +00:00
drh
744f2f4658
Tighter compression of the keyword hash table. (CVS 3920)
...
FossilOrigin-Name: 681216767d7fabfccb0b12f6a81b18b6d1c252bf
2007-05-04 17:07:52 +00:00
drh
3f75584a30
Get the amalgamation builder working with incremental I/O. (CVS 3908)
...
FossilOrigin-Name: 92b53601657be3f1be70873b2960cd97b97f72a1
2007-05-03 16:55:32 +00:00
danielk1977
dddbcdcc68
Add largely untested code for the incremental vacuum function. (CVS 3876)
...
FossilOrigin-Name: f6a6d2b8872c05089810b1e095f39011f3035408
2007-04-26 14:42:34 +00:00
drh
bb5f18d2ca
Additional coverage testing. (CVS 3823)
...
FossilOrigin-Name: 26b2e1aede3f776134b2d6e941d17a907843e650
2007-04-06 18:23:17 +00:00
drh
60218d2a0e
The FOR EACH STATEMENT clause in a trigger is now a syntax error. It used
...
to be silently ignored. STATEMENT is no longer a keyword. (CVS 3821)
FossilOrigin-Name: 8e2559b4da6329d7c21925d0850f7f91a3731975
2007-04-06 11:26:00 +00:00
drh
bd08af4871
Fix the amalgamation so that it works with -DSQLITE_ENABLE_REDEF_IO. Change
...
tclsqlite.c so that it can be appended to the amalgamation. Create a new
amalgamation of header files for use by projects that want to redefine their
own I/O interface using -DSQLITE_ENABLE_REDEF_IO. (CVS 3817)
FossilOrigin-Name: f2caff870c81c08ec85aae72986c231ee986b251
2007-04-05 21:58:33 +00:00
drh
a55ca9e109
In the amalgamation, put date.c before os.c so that the time_t typedef
...
can be correctly resolved by windows compilers. (CVS 3793)
FossilOrigin-Name: 9c5697c70fa850ea700e8cc0c918791a1628ab10
2007-04-02 12:22:44 +00:00
drh
19df335841
Fix typos in the amalgamation builder script. (CVS 3786)
...
FossilOrigin-Name: a5070a2d11b4dad550a889d5fc005302208b6d75
2007-04-01 01:57:41 +00:00
drh
98495b4a91
Add the amalgamation generator to the makefile. (CVS 3783)
...
FossilOrigin-Name: a0f3c960fa3e958e12bc488451ee2d637562909b
2007-03-31 22:29:05 +00:00
drh
970f72478a
Fix the amalgamation so that it can be compiled with REDEF_IO enabled. (CVS 3782)
...
FossilOrigin-Name: 6a3d6142d8be18bf2a9913f0329bcce48867304b
2007-03-31 16:29:06 +00:00
drh
b601861cc3
Make yypMinor available to the stack overflow callbacks in lemon
...
generated parsers. This does not effect SQLite. (CVS 3761)
FossilOrigin-Name: 70c8c7e2ce5213778e63c200a6637849920deea6
2007-03-30 13:35:05 +00:00
drh
19c9e5694c
Fix to token destructors in Lemon. This does not impact SQLite. Ticket #2175 . (CVS 3753)
...
FossilOrigin-Name: 6195af49828bf04b61d24f116339780d3eb926a1
2007-03-29 20:13:53 +00:00
drh
b7bac72350
Get LEMON working again when YYSTACKDEPTH is greater than zero. (CVS 3739)
...
FossilOrigin-Name: e72c81dbb309709462e49c4e3e90c3e16ead1265
2007-03-29 02:26:45 +00:00
drh
b19fd012b0
Lemon change: compile the resulting parser with -DYYSTACKDEPTH=0 or set
...
the "%stack_size" parameter to 0 in the grammar and the parser stack
will be dynamically allocated using realloc() and free(). The default
behavior is to have a finite depth stack. (CVS 3738)
FossilOrigin-Name: 06719b741ab1a2df0371f6d587563cc81eb8880a
2007-03-29 01:44:45 +00:00
drh
fdbcdee5ff
The -DSQLITE_OMIT_ATTACH=1 option now omits both the ATTACH and VACUUM
...
commands. Ticket #2268 .
The regression test suite depends on both of these commands
and will not run if compiled with this option. (CVS 3727)
FossilOrigin-Name: cbebfb89603044e48b3a87b79d1eefbbc5b4c8a5
2007-03-27 14:44:50 +00:00
drh
91c58e23b2
Get the -DSQLITE_OMIT_XFER_OPT option working. Run speed tests on a full
...
regression. Add the script for generating sqlite3.c. (CVS 3723)
FossilOrigin-Name: 42c038518c4ba0ef827a5717d450f95165b3c729
2007-03-27 12:04:04 +00:00
drh
ca44b5a3d9
Make the depth of the pushdown automaton stack generated by lemon
...
changable at compile-time using -DYYSTACKDEPTH=<number>. (CVS 3654)
FossilOrigin-Name: d8845ac1fbf8c3f483d47c35f908817ea37128ec
2007-02-22 23:06:58 +00:00
drh
0d5359b9d8
Add comments to the top of keywordhash.h. (CVS 3651)
...
FossilOrigin-Name: 0aa9ed5bbfb756967a6f761c5fc2f274a5466e2d
2007-02-21 16:44:33 +00:00
drh
fc6e0c985a
Explanation of the "fragmentation" line is added to the help message at
...
the end of the output of sqlite3_analyzer. (CVS 3636)
FossilOrigin-Name: 31e5073c58f43b84d26218d70e6f6558c406803e
2007-02-13 01:41:52 +00:00
drh
0a0b77b0d2
Additional fixes to the new fragmentation feature of sqlite3_analyzer. (CVS 3635)
...
FossilOrigin-Name: 82aed271a4a69e3dad6013b83cc7d492b7fed164
2007-02-13 01:38:31 +00:00
drh
50c6706305
Changes to support fragmentation analysis in sqlite3_analyzer. (CVS 3634)
...
FossilOrigin-Name: bd6bc3b8f06919000fb082087dff7bbd335d07e9
2007-02-10 19:22:35 +00:00
drh
cb6c565eab
Additional memory initialization in lemon - bug reported from wireshark.
...
Ticket #2172 . Note this problem only comes up with certain grammars,
and does not impact SQLite. On the other hand, it might cause SQLite
to run slower. So we might want to revisit this change at some point. (CVS 3594)
FossilOrigin-Name: d537aa5edecb5c7b84d8eb876453f385f6f3d91a
2007-01-16 18:19:12 +00:00
drh
61e339a60d
Make sure the parser generated by lemon always calls destructors on
...
unused symbols, even if there is no action following the rule.
Ticket #2171 . (CVS 3593)
FossilOrigin-Name: 0c5c1b931dfdc163f300f458e4b305c9f50e17f8
2007-01-16 03:09:02 +00:00
drh
e047921c78
Fix a bug in lemon. The code in which the error appears might well be
...
unreachable. The changes does not effect the code that is generated for
the SQLite parser. Ticket #2164 . (CVS 3591)
FossilOrigin-Name: f4ee5d83e177e7ed9f180454c01d46a395a5715d
2007-01-12 23:09:23 +00:00
drh
f0fa1c1b9f
Fix a bug in lemon that leads to an assertion fault given an invalid
...
grammar. The bug and this fix do not effect on SQLite. Ticket #2107 . (CVS 3528)
FossilOrigin-Name: f2ad230f6dce98d664370d77845b5f585de20f08
2006-12-14 01:06:22 +00:00
drh
5048962a0f
Avoid expanding %d contained in the action of a lemon parser rule.
...
Ticket #1063 . This is a fix for lemon only. It does not effect SQLite. (CVS 3476)
FossilOrigin-Name: 81daedcf48372949b9df009ce6121a514ecf6f2e
2006-10-13 12:25:29 +00:00