drh
30a6837c35
In main.mk, always recompile vdbe.o and parse.o first, since changes to either
...
parse.y or vdbe.c will cause all files to be recompiled and if there are
syntax errors in vdbe.c or parse.y we want to hit them early in the compile
process.
FossilOrigin-Name: a94a66d10f160ee79fffa8527655c2cc4a0c7103
2013-07-29 13:51:54 +00:00
drh
fd64cedc4b
Bring the sessions branch up-to-date with all the latest trunk changes.
...
FossilOrigin-Name: 086a127236ee99d67513490fb7b5549e8b752c44
2013-06-26 13:31:50 +00:00
drh
93ec45d560
Simplifications to the NGQP. Add the queryplantest makefile target. Add
...
testcase() macros in the NGQP.
FossilOrigin-Name: eaf1f1b405ec2c498092527fae00e5dbe9e176c1
2013-06-17 18:20:48 +00:00
drh
def3367e50
Add the percentile() SQL function as a loadable
...
extension in the ext/misc directory.
FossilOrigin-Name: a64d760d9290b1be78cdda7ae66d4f02c3b3fa53
2013-05-28 20:25:54 +00:00
dan
555c939dc7
Add the "dist" target to main.mk. For building the amalgamation autoconf package.
...
FossilOrigin-Name: 3fdc8b56493350fc4854fb1eaefe29ac87784f91
2013-05-27 18:37:33 +00:00
drh
ad1818d9ed
Update the sessions branch with the latest trunk changes.
...
FossilOrigin-Name: d09355050a74344c1cb6d303af9f601cd41e2368
2013-05-15 18:45:14 +00:00
dan
f2614145ec
Add main.c to the list of files compiled with SQLITE_TEST defined when building testfixture.
...
FossilOrigin-Name: a58af81483a5facb09d2a80385fc8815b259a10d
2013-05-15 16:16:25 +00:00
drh
ec7ecb8c9a
Merge all recent trunk changes into the sessions branch.
...
FossilOrigin-Name: 3879ab1b532828fcc12a50a95b6730faebcb69e9
2013-05-03 18:29:22 +00:00
drh
ea41dc44c5
Added the nextchar.c extension. Minor changes to the spellfix.c extension
...
so that it can be appended to an amalgamation and compiled without duplicating
symbols.
FossilOrigin-Name: 56b9a417f5451631f11c5206d625f11472ee65f9
2013-04-25 19:31:33 +00:00
drh
8416fc7fc7
Added the transitive_closure, ieee754, and amatch extensions.
...
FossilOrigin-Name: 84018099c8715b982cd24ce9221f93c7379e8c08
2013-04-25 16:42:55 +00:00
drh
b7045ab2ed
Move the test_spellfix.c module to ext/misc/spellfix.c.
...
FossilOrigin-Name: de556add10150140981a2e34b3712e96a7c262e3
2013-04-25 14:59:01 +00:00
drh
e50db1c5d2
Convert the fuzzer virtual table into a loadable extension and move it
...
to the ext/misc/fuzzer.c file.
FossilOrigin-Name: c8c69307f60c1d07ac666ae3797b7e3f286fd491
2013-04-25 14:31:46 +00:00
drh
24b6422dcb
Make test_wholenumber.c into a loadable extension and move it to
...
ext/misc/wholenumber.c.
FossilOrigin-Name: efcc9dd012b5f193324dfc2ee9c2410c16fc1b3b
2013-04-25 11:58:36 +00:00
drh
248f2be91a
Make "test_regexp.c" into a loadable extension and move it over to
...
ext/misc/regexp.c. Add the "load_static_extension" command for testing
purposes.
FossilOrigin-Name: 860fc393bff27045e0593c3c51bf5577accd0b79
2013-04-23 20:10:13 +00:00
drh
16fb176814
Merge the latest trunk changes into the sessions branch.
...
FossilOrigin-Name: 6994826c0784280f2e9728dfa4185848846d03df
2013-04-22 23:59:06 +00:00
dan
d7a959c694
Add virtual table module 'fts3tokenize' to fts3. fts3tokenize provides SQL access to FTS tokenizer implementations.
...
FossilOrigin-Name: c5a4b21a15bd8a184380817ff41657acbccb866d
2013-04-22 15:30:37 +00:00
mistachkin
21c9b6bdc9
Fix typo in name of mptest executable files in clean targets.
...
FossilOrigin-Name: 4c7d9e1ed8722e0c75b5fdbeffb9030ccef0bd64
2013-04-10 03:06:43 +00:00
drh
bc94dbb661
Add the "mptester" target to the makefiles. Make mptester run with
...
synchronous off by default.
FossilOrigin-Name: 1397830bfead3699a7e6b1858ae67ae15259b89e
2013-04-08 14:28:33 +00:00
mistachkin
fde3b1c715
For the clean target, tidy up a couple more generated (or copied) source files.
...
FossilOrigin-Name: 5687e5ee7bafa00d2b353c3eda1e5dfb219cb185
2013-03-29 19:52:04 +00:00
drh
339d6c6d17
Bring makefiles and build scripts into alignment with the sessions branch.
...
No changes to code.
FossilOrigin-Name: d1f41089aba075eef45fd696599e5d3a74c84d0c
2013-03-19 16:12:40 +00:00
drh
e191e2c6d0
Include the sqlite3session.h header file in with sqlite3.h. Make sure
...
the session APIs are all public.
FossilOrigin-Name: ec490336bc6629d3910667ece1bbc4685a199546
2013-03-19 15:23:18 +00:00
drh
8ce2b0956a
Fix main.mk so that it builds the amalgamation correctly.
...
FossilOrigin-Name: 0b84e277245f10f928c010ea5958923681c6d582
2013-03-13 12:20:15 +00:00
drh
3dbfbcf43e
Enhancements to the query planner to exploit transitive relationships in the
...
WHERE clause, and other minor changes to bring the sessions branch into
alignment with the trunk.
FossilOrigin-Name: 82d3d1ae824e1fbc7958657be79231590ec17ace
2013-01-25 02:10:06 +00:00
dan
9f5ff37120
Add another test for the fts4 content= option.
...
FossilOrigin-Name: 7e6007a0002f6989bd489abeba8db52acb4a6854
2013-01-11 09:58:54 +00:00
drh
89ded43b36
Merge recent trunk changes into the sessions branch.
...
FossilOrigin-Name: 7e068e39b3b31364271664e0afb1cd95a235c26f
2013-01-03 22:22:55 +00:00
drh
14172743a2
Add the test_regexp.c module containing a cross-platform implementation
...
of the REGEXP operator.
FossilOrigin-Name: 46c8c01b751c1ea7fc02cc35e3b5bb99dbe46c4b
2012-12-31 19:18:38 +00:00
drh
26cd614dad
Update the sessions branch to include the SQLLOG enhancement, the
...
SQLITE_IOERR_DELETE_NOENT fix, and a fix for the number-of-documents
bug in FTS4.
FossilOrigin-Name: ba8d08b67021a32fda069c18b7eb93523e6f0d1f
2012-11-27 21:56:28 +00:00
dan
ac45593931
Add an option to register global hooks used for logging all SQL executed by an application.
...
FossilOrigin-Name: cd501bbccf3e62b002317592cc331770b32c129a
2012-11-26 19:50:41 +00:00
drh
3dc2b9032f
Pull all the latest trunk enhancements into the sessions branch.
...
FossilOrigin-Name: fce667f2d93a4ba65ccf1e748469576a3cd7ffcc
2012-10-30 21:03:48 +00:00
mistachkin
29b75bd0d1
Modify clean target to handle all VSIX package flavors.
...
FossilOrigin-Name: 023217ea9eea4fea5d3be7707599c6980d4b76f7
2012-10-20 09:35:57 +00:00
drh
2f10fb3f07
Put auxiliary libraries after libsqlite3.a in the testfixture target of the
...
"main.mk" makefile.
FossilOrigin-Name: 8fc8548f52ab8fcfb53f88db68422e09c9b98da1
2012-10-18 20:49:26 +00:00
drh
c4645dacfb
Merge the latest trunk changes (especially "PRAGMA busy_timeout" and the
...
ORDER BY query planner optimizations) into the sessions branch.
FossilOrigin-Name: 6ca8eae1f89d19ee23cbc3a869d85b57d29b4a7d
2012-09-28 13:05:48 +00:00
mistachkin
c60941f814
Allow SQLite to work on Win32 with SQLITE_OS_WINNT=0 as long as WAL is disabled.
...
FossilOrigin-Name: c1a8557008e56aa9bcb4565e4178fc57295c563d
2012-09-13 01:51:02 +00:00
drh
e22724ee54
Update the threads branch to include all the latest trunk changes.
...
FossilOrigin-Name: f4125771e21f1ca29d5442b5441dacfc06b8032b
2012-08-16 11:24:22 +00:00
drh
16de7f4d32
Merge all the latest trunk changes into the sessions branch.
...
FossilOrigin-Name: fc07a4795e027108674d1d41eb4350df629ddc8b
2012-08-15 16:21:55 +00:00
mistachkin
f2bc4380b2
For the clean makefile targets, delete the generated VSIX file as well.
...
FossilOrigin-Name: d575d9619abd03322b73f89882d6da7c0820f285
2012-07-27 08:33:10 +00:00
drh
f51446a38c
Add an internal interface that allows the code to take advantage of multiple
...
cores by pushing subcomputations off into separate threads. The interface
is not currently used.
FossilOrigin-Name: 0e4d977a4a07d6de50acbf022c7dd947998b8d96
2012-07-21 19:40:42 +00:00
drh
83905c905c
Remove support for OS/2 from the source tree.
...
FossilOrigin-Name: ff828c67e5d3c1afa5bc3a304b9c6fcc7b3ea5fa
2012-06-21 13:00:37 +00:00
drh
14bcd7d25e
Merge the unicode61 tokenizer and the shared-cache-memory database changes
...
into the sessions branch.
FossilOrigin-Name: df817e70afc3f41e680d8f84dfa5772d5b3ae4d9
2012-05-28 18:22:41 +00:00
dan
3d403c71a8
Add an experimental tokenizer to fts4 - "unicode". This tokenizer works in the same way except that it understands unicode "simple case folding" and recognizes all characters not classified as "Letters" or "Numbers" by unicode as token separators.
...
FossilOrigin-Name: 0c13570ec78c6887103dc99b81b470829fa28385
2012-05-25 17:50:19 +00:00
dan
6d972c1b98
Merge the latest trunk changes into the sessions branch.
...
FossilOrigin-Name: 2277c70b6f14e2f8043112a5c49a8bc18b7504f3
2012-03-19 11:17:17 +00:00
mistachkin
f8a784645c
On Windows, make sure the current directory value used by the test suite is 'normalized' to what the parent command shell sees. Also, clean the test directories used by the quota2.test file.
...
FossilOrigin-Name: 82bcd7ec1531f6d71c079578434c58d3ce46a1de
2012-03-08 20:00:36 +00:00
drh
efb1ca3738
Merge the latest trunk enhancements into the sessions branch.
...
FossilOrigin-Name: 8baef58170ff851d0c4387a6888f59b487b4f33c
2011-10-21 17:08:23 +00:00
drh
60bdeb2aa9
Enhancements to the omittest.tcl script used to verify that the
...
SQLITE_OMIT compile-time options are working.
FossilOrigin-Name: 4344483f7d7f64dffadde0053e6c745948db9486
2011-10-20 00:55:54 +00:00
drh
0edb7acd3c
Change the makefile to delete both plain and ".exe" variants of build tools.
...
Ticket [92bd6eaf04e117]
FossilOrigin-Name: 19536a382815c2ff4cb23625984b4ca92e5e17ee
2011-10-13 18:08:04 +00:00
drh
29c21c77af
Merge all the latest trunk changes into the sessions branch - especially
...
the SQLITE_ENABLE_STAT3 enhancements.
FossilOrigin-Name: 403431cac6b039b0693915c5422f08dc60dae230
2011-10-11 12:58:38 +00:00
mistachkin
9a55e31f4d
Integrate build changes for sqlite3_analyzer into the MSVC makefile. Also, more cleanup of build files, including sqlite3_analyzer, for all makefiles.
...
FossilOrigin-Name: af1c5718292c0326b785416b7109eafefaeb59a7
2011-09-22 00:06:44 +00:00
drh
8d43aa10cb
Remove unnecessary dependencies from the sqlite3_analyzer targets in
...
makefiles.
FossilOrigin-Name: 0bd8fd352d290637d8c4d4fb76e8dd28f0149fa0
2011-09-21 18:29:49 +00:00
dan
0ae479dff2
Change the way the sqlite3_analyzer executable is built.
...
FossilOrigin-Name: 05e3cced8a884e8bca6f208d2f09e335d3929eac
2011-09-21 16:43:07 +00:00
dan
93bca69578
Merge latest changes from the trunk into the sessions branch.
...
FossilOrigin-Name: c00e45ede7cbf71a3a6d1ccad0b9275010ca8493
2011-09-14 19:41:44 +00:00
drh
307ff30b54
Change the build process so that it does not require the unix "sort"
...
command. This avoids confusion between ms-sort and mingw-sort on
windows systems.
FossilOrigin-Name: f1bd5bbae505068d24bfd9cc6bab6a8b8940bad6
2011-08-30 01:29:04 +00:00
drh
7cca2e6259
Merge the latest trunk changes into the sessions branch.
...
FossilOrigin-Name: eb036d6f81e15bac013316bf5b1b2ba3e0bd4605
2011-08-26 19:20:47 +00:00
drh
88caeac774
Fix some harmless compiler warnings.
...
FossilOrigin-Name: 46f5a68bfa4199a4bd398030bf88bfbb4df3d5ca
2011-08-24 15:12:08 +00:00
drh
96e5088cda
New makefile target "sqlite3-debug.c" builds an amalgamation that include
...
appropriate "#line" macros relating the code back to the original source
files.
FossilOrigin-Name: 26f2da24b080bf89e3574bd1a162eb1fead51456
2011-08-15 15:27:20 +00:00
dan
15bf39034a
Merge latest trunk changes into experimental branch.
...
FossilOrigin-Name: 7e515055f219b01dd72df4e27bdcabfa2f9be5c2
2011-08-12 16:30:30 +00:00
drh
8a3bb3fddd
Merge the latest trunk changes into the sessions branch.
...
FossilOrigin-Name: 110cfd6920cf3011aeaf7e586f8db867bfc69fbb
2011-07-22 12:49:27 +00:00
drh
07516dd5df
Add makefile targets sqlite3-all.c.
...
FossilOrigin-Name: 71f7be586f5a18493cd516f89c4ecc460bb24462
2011-07-22 11:16:39 +00:00
dan
a20fde64eb
Experimental support for speeding up CREATE INDEX commands using an offline merge sort.
...
FossilOrigin-Name: 30dbf0feab0323250404e0741ac2716bcb6b0cbe
2011-07-12 14:28:05 +00:00
dan
e7152dc76b
Add a target to main.mk that will fail if the amalgamation contains any exported symbols that do not begin with "sqlite3_". Run this target from within releasetest.tcl. Add "static" to a couple of private functions in mem3.c.
...
FossilOrigin-Name: a68b6580c7d436c896a644a475cdba33c2c8d6e6
2011-07-07 08:19:16 +00:00
dan
53ae686bfb
Update sessions branch with latest trunk changes.
...
FossilOrigin-Name: 48d5cab3ac08b25ec94d6ecfd25779320558110f
2011-06-22 12:01:08 +00:00
dan
188829b491
Fix main.mk so that the "amalgamation-testfixture" target works again.
...
FossilOrigin-Name: 22265323f7785ec5e2afc14a989d53dcbbd36250
2011-06-21 15:24:30 +00:00
drh
3dcf39afa0
Add a new AWK script in the tool/ folder for converting text files into
...
C string literals. Use it for building sqlite3_analyzer.
FossilOrigin-Name: dcb46d3f68e219a84c67c7ffef26fd2076a0ba28
2011-06-21 03:36:06 +00:00
drh
8863f35f5c
Merge the latest trunk changes into the sessions branch.
...
FossilOrigin-Name: 4c5e276c902e0b93cfc05bf2e1db966ecdac0ed0
2011-06-20 10:44:10 +00:00
dan
99ebad90e3
Fix a bug exposed by combining matchinfo(), NEAR and "ORDER BY rowid DESC".
...
FossilOrigin-Name: 5f6b87f420f21749aa7c72e020c50aca74890086
2011-06-13 09:11:01 +00:00
drh
4ec233f12a
Merge all the latest trunk changes into the sessions branch, especially
...
the disappearing WAL transaction fix.
FossilOrigin-Name: 5b1b536cf828850d0e8ac2ab08e8696082715877
2011-05-19 02:48:46 +00:00
dan
807d0fcaba
Avoid including fts3_term.c in the amalgamation, as it contains test code only.
...
FossilOrigin-Name: f392b7ae0266b4c694836583cb91b10f2b6c0752
2011-05-17 14:41:36 +00:00
drh
79d0e1c0a7
Also add fts3_term.c to main.mk.
...
FossilOrigin-Name: 966f2d2c1f01b6345eab5df87a40d337ced1c087
2011-05-13 17:11:20 +00:00
drh
0576a30dad
Merge the latest trunk changes into the sessions branch.
...
FossilOrigin-Name: 6883580e6c8973010a42d1d2c5bde04c6b2f4eb7
2011-05-05 15:46:16 +00:00
dan
a311b80392
Extra tests for fts3. And fixes for conflict-handling related problems in fts3.
...
FossilOrigin-Name: fb4a355871d9482ccb28b6ba03b842b3cc87b696
2011-04-26 19:21:34 +00:00
drh
b92fce1eae
Merge the latest changes of trunk into the session branch.
...
FossilOrigin-Name: 95d53c44320b9639f2623aa9cc88d0d3e1a3be8f
2011-04-04 13:19:36 +00:00
drh
70586beb3d
Add the "wholenumber" virtual table module to the test suite - useful in
...
populating tables with many rows of content prior to a test.
FossilOrigin-Name: 975dff155bd9db42f2b6855b24c861852bb7a201
2011-04-01 23:49:44 +00:00
drh
f5a8a917ee
Merge the word-fuzzer branch into trunk.
...
FossilOrigin-Name: f77609d44194ee8871b3fb281ea6b90a9182f69f
2011-04-01 20:47:27 +00:00
drh
5847b5f9c3
Merge in all the latest changes from trunk.
...
FossilOrigin-Name: b11d941e92897663da46160185e6e305d4e28fe6
2011-03-30 02:03:12 +00:00
dan
213ca0a8cf
Add test infrastructure (and some tests) to inject faults into os_unix.c using the new xSetSystemCall interface.
...
FossilOrigin-Name: 0e1d20dfaeea5ab285d16aa4b8f02b61b1d2bc10
2011-03-28 19:10:06 +00:00
drh
326a67d0e8
Skeleton code for the word-fuzzer virtual table.
...
FossilOrigin-Name: ea3a4ee136ff6699c3099178f0efaa8bb517715f
2011-03-26 15:05:27 +00:00
dan
4fccf43aae
Add start of sessions feature.
...
FossilOrigin-Name: 269a81a37d7dbdcdec3c2322074916af0fbac91c
2011-03-08 19:22:50 +00:00
drh
87fa53ee8d
Merge in the blocking-checkpoint enhancement, including the new
...
sqlite3_wal_checkpoint_v2() interface and the
PRAGMA wal_checkpoint(full) statement.
FossilOrigin-Name: bac7342c368a7c4f5f2878e08d9581dcbf57dd58
2011-02-02 16:34:08 +00:00
dan
a240fd01b6
Add virtual table module "fts4aux", used to inspect the full-text index of an fts4 table directly. Also add the "compress" and "uncompress" fts4 options.
...
FossilOrigin-Name: b010ddcc52889160af2183a33c5f483bb0ae91b9
2011-02-01 16:34:32 +00:00
drh
27f9aba18c
Merge the checkpoint_fullfsync pragma and the superlock demonstration into
...
the checkpoint-v2 experimental branch.
FossilOrigin-Name: ebf74015f09fe241c1c6902dc8954f2b59ab41ec
2010-11-19 18:51:31 +00:00
dan
e336b0017d
Add file test_superlock.c with example code for obtaining an exclusive lock on either rollback or wal mode databases.
...
FossilOrigin-Name: 1a3e7417a2184188fe21c3284e58720da9ca11cf
2010-11-19 18:20:09 +00:00
dan
24cd616ed8
Add file test/tt3_checkpoint.c that adds a multi-threaded test for blocking checkpoints to threadtest3.
...
FossilOrigin-Name: 648dd157ef3b7b790764698fd4dd7107c25212c9
2010-11-19 09:58:11 +00:00
drh
5a092e98fa
Fix the main.mk makefile to include test_multiplex.c for testfixture.
...
FossilOrigin-Name: c27c51180e88744939ba5af099b6e510968ed2c3
2010-11-04 21:03:47 +00:00
drh
aa1cf5abc0
Add #ifndef USE_SYSTEM_SQLITE...#endif around the bundled SQLite library
...
for the TCL bindings.
FossilOrigin-Name: 8d85584a4e0761afa0ff1e9e69036f1a66ab22dc
2010-10-01 17:23:46 +00:00
dan
d38bc1b4fa
Run the multi-threaded tests in test/threadtest3.c as part of releasetest.tcl. Remove the OMIT_BUILTIN_TEST symbol from the "Device-Two" configuration.
...
FossilOrigin-Name: 3f5406e3231fbe84659712c9383b3e04cc6c11a8
2010-09-13 12:15:36 +00:00
dan
8cf35eb449
Add file test_quota.c, demonstrating how file-system quotas may be implemented as a VFS wrapper.
...
FossilOrigin-Name: 383eb87bbf560b20682dd5be0e18ddadf762f415
2010-09-01 11:40:05 +00:00
dan
9508daa929
Add code to allow user-defined searches of r-tree tables. Still largely untested.
...
FossilOrigin-Name: 782ca3b716ee1ecb0dfb5ab6f21dfd73d41758e4
2010-08-28 18:58:00 +00:00
drh
3a0f13ff83
Fix makefiles so that they build sqlite3_analyzer again. Tweaks to comments
...
in test_stat.c. Fix tclsqlite.c to build the sqlite3_analyzer again.
FossilOrigin-Name: e6cd15451d8c47bfc86d07565655920134b494fe
2010-07-12 16:47:48 +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
shaneh
186070588c
Minor changes to Makefile.in to bring it more inline with main.mk.
...
FossilOrigin-Name: 5621862b0e2fc945ded51f5926a6b4c9f07d0ab7
2010-07-06 20:37:09 +00:00
dan
0626dfc3dc
Changes to the way tcl test scripts work. No changes to production code.
...
FossilOrigin-Name: 2c5e48a4855e2ec4572697c8fcfe4433e302ef33
2010-06-15 06:56:37 +00:00
dan
c7991bdf29
Test the handling of errors returned by the xShmXXX() APIs.
...
FossilOrigin-Name: 72663123d6be2b194cad7a6057d0f20dd0d9fe05
2010-05-05 19:04:59 +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
dan
0a7a9155a4
Add file test_demovfs.c, containing a simple VFS implementation that demonstrates how writes to the journal file may be safely buffered by the VFS layer to improve performance on some embedded systems.
...
FossilOrigin-Name: af3b72d94a1b6513f02402af3ada5fb5dd390151
2010-04-07 07:57:38 +00:00
drh
380083ce18
Merge the compile-time option introspection interfaces into the trunk.
...
FossilOrigin-Name: 9f429434c0404f03a3e5c6741b769afe98a5c6c9
2010-02-23 20:32:15 +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
dan
601cd9aa24
Change the fts3 test interface used to configure the advisory node size paraemeter.
...
FossilOrigin-Name: 87fc0ce151c89beb5a43b65c0b1706f340c0c173
2009-12-11 16:03:45 +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
dan
09977bb9f0
Start reworking fts3 code to match the rest of SQLite (code conventions, malloc-failure handling etc.).
...
FossilOrigin-Name: 30a92f1132801c7582007ee625c577ea2ac31cdf
2009-11-13 10:36:20 +00:00
drh
522efc62b0
Initial implementation and test cases for the "intarray" virtual table.
...
FossilOrigin-Name: 0e7d29253f093d4125ede3cfc478e4bf09aef987
2009-11-10 17:24:37 +00:00
drh
57a0227f8b
Merge the MD5 checksum logic into the TCL interface. This facilitates building
...
a tclsh that contains both SQLite and MD5. The plan is to use this
augmented tclsh to help build the documentation.
FossilOrigin-Name: a024c0a85b6f2288c455a7192f6ca7a8493b621a
2009-10-22 20:52:05 +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
cca2de4be7
Define SQLITE_TEST when compiling mem5.c for testfixture.
...
FossilOrigin-Name: 6b16f3c9073e44a2d720a396078f0d71bda66df1
2009-09-10 18:17:10 +00:00
shane
8e283794b6
Updates for test_init.c for configure and other consistency changes.
...
FossilOrigin-Name: 3ba316e9a32de406a4390fb3f52fccb48da4da30
2009-08-21 02:07:09 +00:00
dan
e1ab219309
Add tests to check that sqlite recovers from an error in sqlite3_initialize() correctly.
...
FossilOrigin-Name: 904a371c6c9d3f20332b37767b06161fa0a78113
2009-08-17 15:16:19 +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
drh
53bc21b911
Add a version of the Lemon parser template "lempar.c" to the src/ subfolder.
...
This new parser template contains a couple of NEVER() macros that disable
tests that are needed for general grammars but not for the specific grammar
used by SQLite. SQLite builds with the modified lempar.c. (CVS 6842)
FossilOrigin-Name: d426cc64f6014e2c2b9bcde0f5440396aec2fa18
2009-07-03 17:09:28 +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
danielk1977
a3f065980e
Move the asynchronous IO code from src/test_async.c to ext/async/. Refactor it to be a standalone module and to support windows. (CVS 6539)
...
FossilOrigin-Name: e71fb0fb8d83b4453c3c1e84606bf58d04926809
2009-04-23 14:58:39 +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
danielk1977
404ca07578
Add the sqlite3_unlock_notify() API. (CVS 6348)
...
FossilOrigin-Name: b649a6cc5bfefddd6a04b1183647d2923e0a0daa
2009-03-16 13:19:36 +00:00
danielk1977
0410302e58
Commit first version of the 'backup' feature. (CVS 6241)
...
FossilOrigin-Name: 663479b417fc06ba1790a544f28694f8797cee57
2009-02-03 16:51:24 +00:00
danielk1977
a0fc72967e
Add a vfs backend that detects problems like the one addressed by (6043) and (6047). (CVS 6049)
...
FossilOrigin-Name: 49172e487610268662c39fc4038032779a41c47f
2008-12-20 18:33:59 +00:00
danielk1977
33e8903540
Modify fts3 to support a more complex expression syntax that allows parenthesis. The new syntax is not entirely backwards compatible, so is disabled by default. Use -DSQLITE_ENABLE_FTS3_PARENTHESIS to enable it. (CVS 6034)
...
FossilOrigin-Name: 7389b9ecb80294569845c40a23e0c832d07f7a45
2008-12-17 15:18: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
b232c23297
Add an alternative application-defined pcache implementation and add test
...
cases to permutations.test to invoke it. Added the SQLITE_CONFIG_GETPCACHE
method to sqlite3_config(). (CVS 5920)
FossilOrigin-Name: 16f1e6ec2ad92f68c0079a0c2b5ca08a3b4af816
2008-11-19 01:20:26 +00:00
danielk1977
bc2ca9eb39
Add an API to support custom page cache implementations. (CVS 5899)
...
FossilOrigin-Name: 47866d6708e9b69e367937fd85f93580fd025447
2008-11-13 14:28:28 +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
danielk1977
a0042db80f
Update main.mk so that a couple of fts3 files are compiled with SQLITE_TEST when building testfixture. (CVS 5819)
...
FossilOrigin-Name: 8eb315ee5c2a15919171b7d495ac4f1c851b2da9
2008-10-14 14:56:01 +00:00
danielk1977
376687518e
Modifications to main.mk so that -DSQLITE_ENABLE_FTS3 works. (CVS 5818)
...
FossilOrigin-Name: a06d226dee0df0df1aedb9c17353332c6a6e712f
2008-10-14 14:28:35 +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
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
danielk1977
075c23af26
Begin adding support for the SQLITE_OMIT_WSD macro. Some (many) WSD variables still need wrappers added to them. (CVS 5652)
...
FossilOrigin-Name: 573d92abb9adb1c321ebc2fcadcf14374213b093
2008-09-01 18:34:20 +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
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
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
2d34081de9
Add mem6.c, a new allocator. More to come. (CVS 5467)
...
FossilOrigin-Name: 192bc192185a7b475ef9331e2a4a0dc68083ec03
2008-07-24 08:20:40 +00:00
danielk1977
ff3c898d13
Change the makefiles so that "make test" now runs the veryquick.test script instead of quick.test. Also modify veryquick.test to reuse the code in quick.test. veryquick.test is now the same as quick.test except that it omits all testing related to malloc and IO error simulation. (CVS 5308)
...
FossilOrigin-Name: 8c65146ea0e77e8e31fffc467806b1edf91fb4db
2008-06-25 17:54:53 +00:00
danielk1977
b13dee9900
Run (a subset of) the rtree tests from quick.test. (CVS 5282)
...
FossilOrigin-Name: e872c78c72eb5976e72123485692a76409bd857f
2008-06-23 15:55:52 +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
danielk1977
1a9ed0b27a
Add some test infrastructure and cases for the new mutex api. (CVS 5230)
...
FossilOrigin-Name: 262baee9952b28afe5dc77eb7365ebb11a480906
2008-06-18 09:45:56 +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
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
danielk1977
ebaecc148f
Import 'rtree' extension. (CVS 5159)
...
FossilOrigin-Name: b104dcd6adadbd3fe15a348fe9d4d290119e139e
2008-05-26 18:41:54 +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
danielk1977
5d1f5aa6ef
Add source file test_osinst.c. A wrapper vfs with instrumentation capabilities. (CVS 4977)
...
FossilOrigin-Name: d9a6b653d3cb608610f13d2492fe9b3887acb3b9
2008-04-10 14:51:00 +00:00
mlcreech
2379706c79
Make out-of-tree builds work as expected when using configure script (CVS 4893)
...
FossilOrigin-Name: e2d05ea3c3e4a11bc1c0cc4c4403a445b9c2b64d
2008-03-20 02:25:35 +00:00
drh
984bfaa4c7
Move SQL functions used for testing only out of func.c and into a new
...
test file named test_func.c. Use sqlite3_auto_extension() to make sure
the test functions appear in every database connection. (CVS 4883)
FossilOrigin-Name: e90c4cc8a89838161f218739bc821126e247498c
2008-03-19 16:08:53 +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
a9e852b667
Handle non-autoconf build correctly with new changes (CVS 4832)
...
FossilOrigin-Name: e2a9f5f1054f077e4773dd3d2c8f2ce5be118a01
2008-03-06 09:58:50 +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
0d18020b80
Add the experimental mem5.c memory allocator. Allocate the content part
...
of cache pages separately from the header. (See check-ins (4495) and (4409)). (CVS 4789)
FossilOrigin-Name: 669ece8c82bfa69add852589dd1211751cb26fb2
2008-02-14 23:26:56 +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
danielk1977
bf2609781b
Move the test (sqlite3_simulate_device) functionality out of the main code and into a test vfs. (CVS 4737)
...
FossilOrigin-Name: 17e7bd6c3f507ffc6b56f54ae8c70730e8246f39
2008-01-22 11:50:13 +00:00
drh
93aed5a177
Get all tests running without memory leaks. (CVS 4714)
...
FossilOrigin-Name: 5807921f5a6e2e08f2c9e79aa91d8c587d64de74
2008-01-16 17:46:38 +00:00
danielk1977
315e6697f8
Fix for typo in main.mk: the output of target sqlite3 was testcli. (CVS 4637)
...
FossilOrigin-Name: 15675dc518dbcf2ce2daa0bbcaf8daf3329ead75
2007-12-18 11:19:35 +00:00
drh
cbd2da9ce9
When SQLITE_MAX_SQL_LENGTH is 0, disable the limit. Make the default 0.
...
Once again build the sqlite3 CLI from individual source files so that
it can be built on systems that lack tclsh. Tickets #2845 and #2846 . (CVS 4636)
FossilOrigin-Name: 07aeca3b9c51e538ba7939950a970f62e51bd3ea
2007-12-17 16:20:06 +00:00
drh
c9a67a8c0f
Add new makefile target for "testcli" that builds a CLI using individual
...
source files instead of the amalgamation. Ticket #2838 . (CVS 4625)
FossilOrigin-Name: b6f04e5b93bb65287bfb697f2f059dd34c13102a
2007-12-13 18:20:46 +00:00
drh
d919fe17e0
Build the CLI using the amalgamation. Relax the limit on SQL statement
...
length when building the CLI. (CVS 4609)
FossilOrigin-Name: a5d81cd371913dff4b1337a9586645f967371ab9
2007-12-11 19:34:44 +00:00
drh
ace03d1b3a
Add the optional (and experimental) mmap() memory allocator in the
...
mem4.c module. (CVS 4581)
FossilOrigin-Name: cfd683ac80fd043343e0f0af90805058daa3818d
2007-11-29 18:36:49 +00:00
drh
613a0fe455
Changes fts3 to use only sqlite3_malloc() and not system malloc.
...
Ticket #2762 . (CVS 4554)
FossilOrigin-Name: 460af6bb668094c99a1d4dc1540b44b6d1d036b6
2007-11-23 17:31:17 +00:00
drh
22db44b00d
Remove most documentation from the source code repository.
...
Documentation configuration management is now handled by a
separate repository at http://www.sqlite.org/docsrc . (CVS 4553)
FossilOrigin-Name: b20f3a6fed1027fc8faf886c8998dcb5dc0917c6
2007-11-23 15:12:44 +00:00
chw
65d3c13cad
Various changes to enable compilation of SQLite library and command
...
line shell with the Windows CE cross compiler from cegcc.sourceforge.net (CVS 4541)
FossilOrigin-Name: 8ad0ab8cb374bd34e47af9e71b2aad9dd9af0d1b
2007-11-12 21:09:10 +00:00
drh
7b12d46146
Fix building of sqlite3_analyzer on Mac. (CVS 4521)
...
FossilOrigin-Name: a616b6cb646a35a68bebc7d013c13185a9a6f47d
2007-11-02 12:52:39 +00:00
drh
9c7a60dfb2
Added an experimental malloc-free memory allocation subsystem, intended
...
for use on embedded systems. Runs 7% faster than when using system
malloc() on Linux. (CVS 4493)
FossilOrigin-Name: 8487ca82fade60b9fa63abf74e10f6ebcb48b98e
2007-10-19 17:47:24 +00:00
drh
36bc402ee2
Fix to the main.mk makefile. (CVS 4483)
...
FossilOrigin-Name: e4527dd6ed81f5cb7862b76305be7d7b6d31016d
2007-10-12 00:23:44 +00:00
drh
8f685dc8b7
The sqlite3internal.h file obsolete as of version 3.5.0. Remove
...
legacy procedures and makefile targets for building this file.
Tickets #2693 and #2694 . (CVS 4469)
FossilOrigin-Name: e65842a9d4c779d24207e8a7934fe3bf35ff228b
2007-10-05 14:54:08 +00:00
danielk1977
b61c16d987
Add demo code for a vfs that operates on a single pre-allocated file. (CVS 4429)
...
FossilOrigin-Name: 15680ca4821ec0652dfbe863199b4c3f2afad4ba
2007-09-14 16:19:27 +00:00
danielk1977
44918fa036
Add the beginning of the thread-safety tests. There are more to come. (CVS 4413)
...
FossilOrigin-Name: 753908e8411024abd5c3da1b8c62f70e35f8734d
2007-09-07 11:29:25 +00:00
drh
3285db26e4
Fix btree.c so that it works with -DSQLITE_THREADSAFE=0 and -DSQLITE_DEBUG=1 (CVS 4387)
...
FossilOrigin-Name: fee2d7c0e6d34dd19ff5f7631c1743879068c8ce
2007-09-03 22:00:39 +00:00
danielk1977
95c8a54c7d
Fix for registration of non-default vfs objects. (CVS 4360)
...
FossilOrigin-Name: 5f48fb95c26a713b3259ee49fd444108030376dc
2007-09-01 06:51:27 +00:00
drh
0e3c083088
Get make doc working again. (CVS 4356)
...
FossilOrigin-Name: 8f73ebc6e30467d2c594701e0aa45b53147ef2ef
2007-08-31 18:50:31 +00:00
danielk1977
e6a58a4e2a
Allow sqllimits1.test to be run from a regular build of testfixture. Add the 'amalgamation-testfixture' target to main.mk - to build testfixture via sqlite3.c. (CVS 4354)
...
FossilOrigin-Name: d119427314d27f291b605073d34826cdb89746c1
2007-08-31 17:42:48 +00:00
drh
437b901371
Break up the mutex implementation into separate source files, one
...
each for unix, w32, and os2. (CVS 4312)
FossilOrigin-Name: fc5cd71aef5ac194f51d73350d773d532020967e
2007-08-28 16:34:42 +00:00
drh
900b31ef49
Work toward correct btree locking in a multithreaded environment. (CVS 4307)
...
FossilOrigin-Name: b8cc493b47e618648f645ab73eb0253739e03fcd
2007-08-28 02:27:51 +00:00
drh
50d3f9064b
Added the 34to35.html document describing the changes between 3.4.2 and
...
3.5.0. Minor interface cleanups. (CVS 4302)
FossilOrigin-Name: 0791f917bb18d7305b805b9cbcb308bdd7b3a1f5
2007-08-27 21:10:36 +00:00
danielk1977
c7b6017c8a
Add code for the atomic-write optimisation. Disabled by default. (CVS 4268)
...
FossilOrigin-Name: 581fadfe31757e3fb97b12f93c1e3c085e4b6009
2007-08-22 11:22:03 +00:00
drh
d677b3d688
Work toward multithreading support. Currently crashes quickly on a test. (CVS 4253)
...
FossilOrigin-Name: 1315bd8e125602275fb718780f9b2730bd37f6ab
2007-08-20 22:48:41 +00:00
shess
69c4ae2413
Add support for building with fts3. (CVS 4250)
...
FossilOrigin-Name: 95ef963232ab1f15a7c42229819d33d3571a753e
2007-08-20 17:37:47 +00:00
danielk1977
1e5369531e
More work on refactoring of malloc() interfaces. There are still many errors. (CVS 4233)
...
FossilOrigin-Name: 77b1671351fe94b0ebc126a63140643deae2aa64
2007-08-16 10:09:01 +00:00
drh
2f999a6758
Test infrastructure for the new memory subsystem. (CVS 4229)
...
FossilOrigin-Name: 9e506656720fb3a3205b8cc398152272ce56f6f3
2007-08-15 19:16:43 +00:00
drh
4c3645c601
Add a debugging memory allocator. (CVS 4227)
...
FossilOrigin-Name: 8d2d1c4ff9dca61f75e3048107ee9712d346a28c
2007-08-15 17:07:57 +00:00
drh
90f6a5beff
Add initial implementations of mutex and memory subsystem modules. (CVS 4226)
...
FossilOrigin-Name: c0fa3769790af199a4c8715c80bb8ff900730520
2007-08-15 13:04:54 +00:00
drh
d6e78a2e4f
Updates to build scripts. Added scripts for building FTS2 shared libraries. (CVS 4171)
...
FossilOrigin-Name: e269f6e9f6273210259a488c356f4996d75c6436
2007-07-20 13:42:26 +00:00
shess
d8c1648301
Fix annoying emacs warning about suspicious line. The change removes
...
a leading space (emacs wants Makefiles to use leading tabs there). (CVS 4159)
FossilOrigin-Name: 4daadf659afe6b2524e1b37347247f233a211950
2007-07-17 17:22:03 +00:00
danielk1977
08ada518ff
Remove the unused EXTSRC variable from the non-configure makefile. (CVS 4129)
...
FossilOrigin-Name: bbdcf372c6f2144a62fba742b3f4bd6b2fe58593
2007-06-26 10:56:40 +00:00
danielk1977
576d3db541
Modify the non-configure build system to make it easier to build the library with the fts2 or icu extensions linked in. (CVS 4121)
...
FossilOrigin-Name: 02b23c4394da7efb82e9318146f10818b0f68b1f
2007-06-25 14:28:48 +00:00
danielk1977
832a58a68c
Extend fts2 so that user defined tokenizers may be added. Add a tokenizer that uses the ICU library if available. Documentation and tests to come. (CVS 4108)
...
FossilOrigin-Name: 68677e420c744b39ea9d7399819e0f376748886d
2007-06-22 15:21:15 +00:00
danielk1977
77b03a2ff1
Change main.mk to make it easier to build testfixture and sqlite3 with the icu or fts2 extensions linked in. (CVS 4096)
...
FossilOrigin-Name: 91719cc8eaf62f64099ff9eb2b48cef6c9c688f7
2007-06-20 08:49:05 +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
44548eccb9
Documentation updates prior to release 3.4.0. Enhanced support for
...
soak testing in the test scripts. (CVS 4084)
FossilOrigin-Name: eec387103869940697487ec5226eaed0b51ede7a
2007-06-18 12:22:43 +00:00
drh
6ed48bf6d7
The C-api reference documentation is now generated directly from
...
comments in the sqlite3.h header file. (CVS 4062)
FossilOrigin-Name: d93c41e9a97882bf90217d60744d62dece6d10d3
2007-06-14 20:57:18 +00:00
drh
b0e64f33da
Documentation updates, in particular in the new limits.html file is added. (CVS 4053)
...
FossilOrigin-Name: 4ca6cdae94f6d0a2c95755d4a250f9f3bc7a0d7b
2007-06-09 09:53:51 +00:00
drh
c797d4dccd
Begin implementing a new system of upper bounds on the capabilities
...
of SQLite. By clearly defining the upper bounds, we make those
upper bounds explicitly testable. This check-in is just infrastructure.
The upper bounds are not yet enforced. (CVS 3941)
FossilOrigin-Name: 93b623b232a43f78d2c90bfa2389dd5b28ad7280
2007-05-08 01:08:49 +00:00
drh
6885390791
Change sqlite3_snprintf() so that it does not write a zero-terminator if
...
the buffer size argument is less than 1. Ticket #2341 . Added documentation
about the sqlite3_snprintf() function. (CVS 3935)
FossilOrigin-Name: f3ae4ac5fe0bfa2f91e76a6def86c444e51fe80b
2007-05-07 11:24:30 +00:00
danielk1977
83852acc44
Add the start of the ICU extension. (CVS 3931)
...
FossilOrigin-Name: f473e8526770b6a332dfde3e1fd1ddf8df493e9a
2007-05-06 16:04:11 +00:00
drh
16a9b8363d
Factor out btree test logic into a separate test_btree.c file. (CVS 3928)
...
FossilOrigin-Name: d51274f1cc3a75f6a03e90259ce829ac1dacf78f
2007-05-05 18:39:25 +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
danielk1977
b4e9af9ff9
First approximation of incremental blob IO API. (CVS 3892)
...
FossilOrigin-Name: c444836e7b690c16dd6acff571c613a23beb42dc
2007-05-01 17:49:49 +00:00
drh
15926590ed
Binary file I/O infrastructure added and used to increase test coverage
...
for detection of corrupt database files. (CVS 3822)
FossilOrigin-Name: 479b3d965b19c3ec4cb72542718751debf8ff75c
2007-04-06 15:02:13 +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
98495b4a91
Add the amalgamation generator to the makefile. (CVS 3783)
...
FossilOrigin-Name: a0f3c960fa3e958e12bc488451ee2d637562909b
2007-03-31 22:29:05 +00:00
danielk1977
a713f2c331
Explicitly test some error cases that up until now have not been checked. (CVS 3742)
...
FossilOrigin-Name: f26b014109b1b20367044c5d3fcb347af73d07aa
2007-03-29 12:19:11 +00:00
drh
4f0c587819
Modify sources to that they can be combined into a single sqlite3.c source
...
file. Eliminate all type-pruned pointer warnings. (CVS 3722)
FossilOrigin-Name: 0b832e218ec12b0eb559e407d80aba6709e2ea85
2007-03-26 22:05:01 +00:00
danielk1977
b4622b6075
Minor fixes so that testfixture builds without IO tracing enabled. (CVS 3668)
...
FossilOrigin-Name: 8d3829cdb35f41bc7a2e6f945e9aa83987513104
2007-03-02 06:24:19 +00:00
drh
de087bd5ed
Clarify the documentation on how comparisons occur in an IN operator.
...
Fix the comparison operators when both sides of an IN operator are
expressions (ticket #2248 ).
Changes to main.mk for adding FTS2 into the standard build also
got mixed in with this check-in by mistake. (CVS 3656)
FossilOrigin-Name: da81725ca1cd894b3f2d734767e10cc0dc329566
2007-02-23 03:00:44 +00:00
drh
0c97940da6
Modify the makefile(s) to know about the FTS1 module - however FTS1 is
...
turned off by default. Bump the version number to 3.3.8. (CVS 3461)
FossilOrigin-Name: 288ff63783725a5d8f86b6171473bb4ae3c4e37b
2006-10-03 19:12:32 +00:00
drh
f80ad49f72
Fix bugs in test scripts so that fulltest will pass. (CVS 3390)
...
FossilOrigin-Name: 367bd8376f323beb3148eab86ada1a3cb379ba3b
2006-09-02 22:14:59 +00:00
drh
3957781b1f
Automatically compute the sqlite3.def and tclsqlite3.def files when
...
building windows DLLs. This will (hopefully) keep the .def files in
perfect synchronization with the DLLs. Ticket #1951 . (CVS 3381)
FossilOrigin-Name: 1f6d79266a7f8d0e909e47d9858557e3f95407db
2006-09-01 17:06:20 +00:00
drh
1409be69aa
Add the new experimental sqlite3_auto_extension() API. (CVS 3362)
...
FossilOrigin-Name: a85fc877eb8c92bbb79ac9b7fa91fb362f37cdf7
2006-08-23 20:07:20 +00:00
drh
29a0138c2c
Add vdbeaux.c to the list of files that must be compiled with -DSQLITE_TEST=1
...
in order to generate testfixture. Do not require sqlit3OsDelete() to
succeed on a multi-database commit. (Ticket #1917 ) (CVS 3351)
FossilOrigin-Name: dfc833ac79cb255902b20700d6d8949a66af093f
2006-08-13 19:04:18 +00:00
drh
0c07fb9aa1
Off by 1 error in check-in (3314). Note that this change is a likely
...
fix for ticket #1875 . But I have not tested it for that purpose yet. (CVS 3315)
FossilOrigin-Name: c7477459e92209ad792f0e11e4a4dd8abf0f2f11
2006-06-27 20:05:23 +00:00
drh
94f63ab842
Use the -k option to sort. This allows the build to run on newer unix
...
systems, but will likely break the build on older ones. Please address
your complaints to the posix committee members that thought this would
be a good idea. (CVS 3314)
FossilOrigin-Name: 5d7e6bbddb522de2283474eb6d30cc376daf66f0
2006-06-27 18:55:09 +00:00
danielk1977
954ce99c62
Add test_schema.c, containing a module for viewing the database schema via a virtual table. (CVS 3257)
...
FossilOrigin-Name: de8d32ac71a6e113e83b952813424cb3fb5a2e59
2006-06-15 15:59:19 +00:00
danielk1977
69e777f330
Add some tests for sqlite3_load_extension(). (CVS 3239)
...
FossilOrigin-Name: 402a77c43d4e4dcd2e1197cfaaa2ed51249a1b8f
2006-06-14 10:38:02 +00:00
drh
4be8b51ee1
The echo module test is now running. Added the tclvar module test but have
...
not yet done anything with it. (CVS 3234)
FossilOrigin-Name: 29199eeea4c46168ccaa7535d4941bd740479dee
2006-06-13 23:51:34 +00:00
drh
b9bb7c187e
Progress toward CREATE VIRTUAL TABLE. Still not even close to working... (CVS 3211)
...
FossilOrigin-Name: 898ec36b4102aaa03979f8f5c510936e57e2ae48
2006-06-11 23:41:55 +00:00
drh
1e397f8fb4
New shell command ".load" and the sqlite3_load_extension() API allow
...
new SQL functions and collating sequences to be loaded at run-time from
a DLL or shared library. (CVS 3207)
FossilOrigin-Name: 4ca932d3ae9bb97b819b5baf6fd3e1cebda9e0e2
2006-06-08 15:28:43 +00:00
drh
60a1e4b6ce
Added support for OS/2. Ticket #1817 (CVS 3198)
...
FossilOrigin-Name: 373246c2d1edaec1ce248ff875db48ce51d896f9
2006-06-03 18:02:15 +00:00
drh
2d02a67db3
Rename files using for testing only so that their name begins with "test". (CVS 3028)
...
FossilOrigin-Name: e4e6a205e4f7c14aae31f26f42a143fce143db1c
2006-01-25 15:55:37 +00:00
danielk1977
161fb79619
General test coverage improvements. (CVS 3022)
...
FossilOrigin-Name: 153940af5af4f775fa3b1784931d3fd1e41764c5
2006-01-24 10:58:21 +00:00
drh
f1878b4ada
Makefile changes so that builds work on Solaris. Ticket #1604 . (CVS 3009)
...
FossilOrigin-Name: 7addf70445d46cab148496ba2f27ab3764b70f66
2006-01-23 18:06:52 +00:00
drh
29c636bc12
Added database server example code (untested). Fixed serveral bugs including
...
the autovacuum compile problem described by ticket #1593 . (CVS 2897)
FossilOrigin-Name: ec332d8822d1ac9673581a26ab2a2fce5f2554a3
2006-01-09 23:40:25 +00:00
drh
2366940d8f
Reinstate the asynchronous I/O demonstration code and tests with minor
...
changes. (CVS 2896)
FossilOrigin-Name: eeebc640aaeeb0ab7f730d854069f159aa41968b
2006-01-09 17:29:52 +00:00
drh
66560adab3
Change the OS interface layer to use traditional direct function call
...
implementations instead of the more complicated virtual function table.
Omit the asynchronous I/O demo. (CVS 2870)
FossilOrigin-Name: 2529c2e11fa1d345ec61f647e4f6fae20a7133d6
2006-01-06 14:32:19 +00:00
drh
824d7c1893
Back out the addition of the new header file - bad idea. (CVS 2868)
...
FossilOrigin-Name: 0c4c45c36fe1c3c2980155ef5126a2ad53100d65
2006-01-06 12:03:19 +00:00
drh
e19d594067
Enable async testing. Modify the OS layer interface. Add the sqlite3_aux.h include file. Add tests for boolean value representation in file format 4. (CVS 2866)
...
FossilOrigin-Name: b8332aa8b83142898779972b3dff13cbe3c78623
2006-01-06 03:29:56 +00:00
danielk1977
da18423620
Add the shared schema/pager modifications. Very few tests so far. (CVS 2859)
...
FossilOrigin-Name: deeda0dc06c1595aedd8d06a0c4e88a8abf78cf7
2006-01-05 11:34:32 +00:00
danielk1977
71fd80bf5c
Add the sqlite3_rollback_hook() API. Still requires further testing. (CVS 2823)
...
FossilOrigin-Name: 3baa3ff32435b64e7ae7646b17a98fef9296aaa0
2005-12-16 06:54:01 +00:00
danielk1977
13a68c3f61
Add the sqlite3_os_routine_set()/get() functions. (CVS 2818)
...
FossilOrigin-Name: c1ed79f594fb85009c2e9e5e281cbe66a9d2fa17
2005-12-15 10:11:30 +00:00
drh
054889ec6d
Restructure the OS interface yet again. This time make the OsFile object
...
a virtual base class which is subclassed for unix, windows, and the crash
test simulator. Add the new file "os.c" for common os layer code. Move
all OS-specific routines into the sqlite3Os structure. (CVS 2795)
FossilOrigin-Name: bd8740d1aecba69e1b5d64d43db07e8ad8841f07
2005-11-30 03:20:31 +00:00
drh
9cbe635219
Make the OsFile structure opaque with its internal structure known only to
...
the appropriate os_*.c implementation. Omit the os_unix.h and os_win.h
include files. The crash tests are broken by this patch. (CVS 2791)
FossilOrigin-Name: 058f31753871b16b40fe4048e3adcee411e0f87d
2005-11-29 03:13:21 +00:00
drh
9c06c95309
Modify the OS layer so that I/O routines are called through a virtual function
...
table. The os_test.c module has been replaced by test6.c. The crash tests
are busted now and need to be fixed. (CVS 2785)
FossilOrigin-Name: 1f69aec285dd8e26bd739d5e44bb50fe03a9682a
2005-11-26 00:25:00 +00:00
drh
fa3b19ef3d
Reduce the number of distinct token symbols in the parser so that the parser
...
can store tokens in a single byte and thus be smaller in size. (CVS 2776)
FossilOrigin-Name: 2dfc9863919c9eb1fd1064ab2817d752dd7f9293
2005-11-24 22:22:29 +00:00
drh
f6ac657f27
Adding the first cut of the optimizer overview document. (CVS 2647)
...
FossilOrigin-Name: 4c8d0a4c26e44088ffb9f21aa7641a5ebd0058be
2005-08-31 01:49:59 +00:00
drh
8897f6fa3f
Adjust the makefile for new optimizer documentation. (CVS 2646)
...
FossilOrigin-Name: 14668c85b87f7c9b83efd592ddc693522c764969
2005-08-30 22:44:29 +00:00
drh
5eba8c09df
Increased test coverage on trigger.c and printf.c. (CVS 2601)
...
FossilOrigin-Name: 842a80bd8f18d6fd046604f9a057bcd738234f1f
2005-08-19 02:26:27 +00:00
drh
a2b902d66d
Split the sqlite3_complete() API out into a separate source file so that
...
in static links where it is not used it will not take up space in the
resulting binary. (CVS 2594)
FossilOrigin-Name: 62b87751dea56c565bcc2aca88a2edda7dfc2a57
2005-08-14 17:53:20 +00:00
drh
e6e049694d
Full-coverage testing and documentation for the ANALYZE command. The
...
results of analysis are still not loaded or used, however. (CVS 2561)
FossilOrigin-Name: bd7583a5d63412785a9c5de54d25b509da241605
2005-07-23 02:17:03 +00:00
drh
a01f79df49
Replace OP_List with OP_Fifo. This is the first step toward allowing
...
recursive delete triggers and later foreign keys with cascading deletes. (CVS 2538)
FossilOrigin-Name: 94c120bb782fed53142317d1755e70c858930486
2005-07-08 13:07:59 +00:00
drh
9f18e8a0c4
Add infrastructure for the ANALYZE command. Does not yet actually
...
do anything. (CVS 2537)
FossilOrigin-Name: 05b6ac9a76fd5765c50e81588f8e71c59fe35ce4
2005-07-08 12:13:04 +00:00
drh
6eb8577cae
Fix to the "make doc" makefile target. Ticket #1289 . (CVS 2518)
...
FossilOrigin-Name: 4713b1e1040f2e0645fa593638e392df44b5bfc1
2005-06-15 18:07:39 +00:00
danielk1977
fa256a3306
Split main.c into two files to make building without the parser easier. (CVS 2481)
...
FossilOrigin-Name: d50915fafbde6859a5c2c3fc5cc9b99553b54e21
2005-05-25 04:11:56 +00:00
drh
97903fef77
Remove the config.h file from the build. Ticket #1224 . (CVS 2480)
...
FossilOrigin-Name: 3e64f1ab417f371e9875915303b898c5b45f0807
2005-05-24 20:19:57 +00:00
danielk1977
fd9a0a45a7
Move a few things around to make building without the parser easier. (CVS 2479)
...
FossilOrigin-Name: 5fadb464eb77b4b998d8555f83401769960ea904
2005-05-24 12:01:00 +00:00
drh
9179fd93ff
Documentation updates. Added the "distinctive features" page. (CVS 2383)
...
FossilOrigin-Name: 33a0191638a4d6b33422f62487bfb9a0089d3cff
2005-03-12 15:55:10 +00:00
drh
d0e4a6c11d
Split the logic for the ALTER TABLE command off into a separate source
...
code file. (CVS 2342)
FossilOrigin-Name: 90d6573c2631fac92b9e572e9e21698ae2480c9d
2005-02-15 20:47:57 +00:00
danielk1977
99ba19ea08
Add a numeric version number. Ticket #1097 . (CVS 2315)
...
FossilOrigin-Name: a9c33a804d572dd9df15be2029637b10e5a65cc4
2005-02-05 07:33:34 +00:00
danielk1977
6a67fe8edf
Remove code for SQL cursors. (CVS 2312)
...
FossilOrigin-Name: 2eb90870556c90b8d85da3d5eb7554f74ec922c2
2005-02-04 04:07:16 +00:00
drh
e425464be5
Documentation updates prior to 3.1.0. (CVS 2259)
...
FossilOrigin-Name: fc4f1f13d053f861b6be0ceba29bd9e62554252f
2005-01-21 18:19:27 +00:00
drh
73b211abed
Refinements to the name resolution logic. Change the name of the
...
keywordhash.c file to keywordhash.h. (CVS 2229)
FossilOrigin-Name: 0142ae6f0004bf18a1c2d8e49c09d2a9a27d6369
2005-01-18 04:00:42 +00:00
drh
0d477437ac
Drop support for MAC OS9. SQLite 3 has never worked for that OS because
...
the developers do not have access to a machine running it and nobody from
the community has stepped forward to provide a port. By moving the
os_mac.c file into the attic, we make the lack of support official. (CVS 2220)
FossilOrigin-Name: de9ad673d037f7bfca3a2d439259a63c9ed954db
2005-01-16 20:47:40 +00:00