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