371ac44d1c
When constructing records and index keys, use static string space rather than
...
mallocing (when possible) for a small speed improvement. (CVS 817)
FossilOrigin-Name: 657c9fb5133aef93e4edd433912e6942ad9674ec
2003-01-07 13:43:45 +00:00
caec2f12a9
More optimizations. (CVS 816)
...
FossilOrigin-Name: a362981b20fd33254ad498619eedf75b576682e3
2003-01-07 02:47:47 +00:00
32eb7b47ca
Optimizations to the tokenizer. (CVS 815)
...
FossilOrigin-Name: 032b3daa1d3cf3e00a4a6ba0b09624f1aba6445c
2003-01-07 01:44:37 +00:00
3e87c7abeb
Remove unnecessary code from the VDBE. (CVS 814)
...
FossilOrigin-Name: b96ec281ff29aad8af340b30c6ff4e129ffeeefb
2003-01-06 23:54:05 +00:00
8178a75a11
More optimizations. (CVS 813)
...
FossilOrigin-Name: 5809132f5bf40bae2331f887e87fe5baecc15c46
2003-01-05 21:41:40 +00:00
c3b7057705
Parameterize the number of adjacent pages that participate in the balancing
...
algorithm in the BTree. But leave the setting at the current value of 3. (CVS 812)
FossilOrigin-Name: 6c304024bbd21a1886a57ada795531349aa627d7
2003-01-04 19:44:07 +00:00
bb49aba82a
Another optimization to the btree logic. (CVS 811)
...
FossilOrigin-Name: 03d20673616cae0dca524fd04557798a98fb7069
2003-01-04 18:53:27 +00:00
428ae8cb41
Optimizations to the BTree module for a modest speed improvement. (CVS 810)
...
FossilOrigin-Name: 39902a70417475225956704a037493515e9b08b9
2003-01-04 16:48:09 +00:00
2c79995565
Allow the rollback journal to be empty except for its header.
...
Ticket #212 . (CVS 809)
FossilOrigin-Name: 1ba41bc2afab18cc295d9a45845296b46bfa57e5
2003-01-03 02:04:27 +00:00
8c1238aebd
Code optimizations to help the library run faster. (CVS 808)
...
FossilOrigin-Name: db745e87dc26cf1a35cdcec18f4b659742e14120
2003-01-02 14:43:55 +00:00
7b39686749
If compiled with the -DVDBE_PROFILE=1 option, special code is inserted that
...
uses the pentium RDTSC instruction to compute very precise runtimes on all
VDBE opcodes. (This only works on i586 processors, of course.) The results
are written into the vdbe_profile.out file for analysis. Hopefully, this
new feature will reveal hot spots that can be optimized to make the VDBE run
faster. (CVS 807)
FossilOrigin-Name: a1c071ea18766932c90275c704e078134c67be68
2003-01-01 23:06:20 +00:00
80eb79055e
Fix an uninitialized variable in the pager. Tickets #208 and #206 .
...
Bug introduced by check-in (795). (CVS 804)
FossilOrigin-Name: f3dc686e0258a9588e1433a89ac46795f76beeae
2002-12-28 01:06:30 +00:00
f1337bb5ff
If the "fake_big_file" command fails, be sure to close the file before
...
returning. (CVS 801)
FossilOrigin-Name: fa1b5e2119617b111c6b463bbf641ddcb9972cae
2002-12-17 14:19:49 +00:00
e7e8bc7739
Take care not to modify the sqlite* pointer to sqlite_exec() if we suspect
...
that the pointer is stale - that it has previously been passed to
sqlite_close(). Possible fix for ticket #202 . Prior to this fix, test
misuse-5.3 was causing a change to a buffer that had been previously free()-ed. (CVS 799)
FossilOrigin-Name: f04547edfa1643ce52925d317915badfc676bd8b
2002-12-17 13:05:25 +00:00
3e7a609667
Save the full pathname of the database file so that journalling still works
...
even if the user changes working directories after opening the databae.
Ticket #200 . (CVS 798)
FossilOrigin-Name: 1c58b4fc032c5975dcce9b8ae844c0e516254a17
2002-12-07 21:45:14 +00:00
1a844c380b
Fix a bug in the reverse scan logic that comes up when the table being
...
scanned is empty. Add additional tests for the reverse scan. (CVS 797)
FossilOrigin-Name: 0051c87d5e8d07fae09da2eb7b0d8cbd1bbd3c8e
2002-12-04 22:29:28 +00:00
dd4852c3d1
Fixes to the logic that decides if the ORDER BY can be ignored due to the
...
use of an index. Tests updated. (CVS 796)
FossilOrigin-Name: bfb9a2aa939ecffc5dc2c7c23bddd57d357bdf13
2002-12-04 21:50:16 +00:00
c045ec51be
Scan the table backwards if there is an ORDER BY ... DESC clause that can
...
be satisfied by an index. (CVS 795)
FossilOrigin-Name: c7a3487981de0ed5b43ea3ff4d46ab4437068dca
2002-12-04 20:01:06 +00:00
2dcc9aa2a8
Add the sqliteBtreePrevious() routine to the BTree module API. This is
...
in anticipation of implementing reverse order searching of a table. (CVS 794)
FossilOrigin-Name: 0ad1d93879bee0d34b122591c025192a51b8490f
2002-12-04 13:40:25 +00:00
c66c5a266b
Allow an aggregate function in the HAVING clause even if no aggregates appear
...
in the result set. Ticket #187 . (CVS 793)
FossilOrigin-Name: 33c6fd6b3dc271fa1f2d4500b4f76c736accefce
2002-12-03 02:34:49 +00:00
174b619591
Honor ORDER BY clauses in VIEWs. Ticket #193 . (CVS 792)
...
FossilOrigin-Name: dbf7893234a6c5d6bb2d931e52080bb05784c0c9
2002-12-03 02:22:52 +00:00
da47d7748f
Change to the pager to avoid opening journal files unnecessarily. This can
...
sometimes results in a significant speed improvement. (CVS 791)
FossilOrigin-Name: fa5c042585c601449ede7319d0c5993cd8ba75a4
2002-12-02 04:25:19 +00:00
d0d006e29c
Fixed large file support under Linux. I'm unable to test under Windows.
...
Ticket #191 . (CVS 790)
FossilOrigin-Name: 9864a1265b5a37c12b0dd8446d81b84c5a3acc43
2002-12-01 02:00:57 +00:00
86bc1c8273
Add the "space_used.tcl" script to the tools directory. This script is used
...
to measure how much disk space is used by each table and index of a database. (CVS 789)
FossilOrigin-Name: 83b2c27a568cd67cd5162d513766b23ff9fc2227
2002-11-24 14:52:27 +00:00
58f391b36f
Automatically determine if pointers are 4 or 8 bytes in size during the
...
compilation process. Ticket #190 . (CVS 788)
FossilOrigin-Name: dd5396a73a782b6abe9da3de43a5ee11e0dddbb2
2002-11-20 11:55:18 +00:00
7cdbd32c8e
Get the new large file code working with the Borland compiler. Ticket #195 . (CVS 787)
...
FossilOrigin-Name: da4a79e2891aa81e2e6d96689f99b3924f940dd5
2002-11-20 11:07:59 +00:00
7d686b2d57
Remove extra </TD> from HTML output. Ticket #189 . (CVS 786)
...
FossilOrigin-Name: dc5d9c129c566bf57d108b824ba486cfe070dda6
2002-11-11 13:56:47 +00:00
4d9ef4c4ef
Back out the changes in the pager that sorted pages prior to writing them
...
to the database. Additional measurements showed no performance gains. (CVS 785)
FossilOrigin-Name: 745d66395daf5cb8463305bbc9e4219534d2b7cf
2002-11-11 01:04:47 +00:00
32c05e993f
Replace the atoi() library routine with a faster home-grown version in the
...
VDBE. This gives a dramatic speed improvement for some kinds of queries. (CVS 784)
FossilOrigin-Name: 263a8ca40f7ff66fbdcb43bf9032391d5b1e68bd
2002-11-11 00:05:42 +00:00
03eb96a7b2
Two optimizations to the pager: (1) Write dirty pages back to the database
...
file in order and (2) Keep a separate list of in-memory pages that are in
the checkpoint journal in order to speed a checkpoint commit. (CVS 783)
FossilOrigin-Name: a6ef6657a4377684dc2fce7be2bbf009fd2d2f37
2002-11-10 23:32:56 +00:00
8766c34348
Try to better detect when the library is compiled for large file support (LFS)
...
but the support is not available in the host OS kernel. (CVS 782)
FossilOrigin-Name: a29d60ecc5ee3f535142a81f56eecbef7875ef22
2002-11-09 00:33:15 +00:00
829e802992
Add large file support to Windows. Change large file support for Unix so
...
that it compiles automatically - without requiring special options on the
compiler command line. (CVS 781)
FossilOrigin-Name: 2008b56fe11e49d52e28f47d14ccd70504e6c094
2002-11-06 14:08:11 +00:00
20e9ab16d8
Changes to include files so that the >2GB file patch will compile under BSD. (CVS 780)
...
FossilOrigin-Name: 81bb1aed5e9094a9655bd03614bb111d79896928
2002-11-06 00:59:44 +00:00
28be87c7c4
Add support for databases larger than 2GB under Unix. Must be compiled
...
with -D_FILE_OFFSET_BITS=64 and -D_LARGEFILE_SOURCE in order to work with
larger databases. (CVS 778)
FossilOrigin-Name: a3f67fe9121ca4655510094fe775b8603a87800e
2002-11-05 23:03:02 +00:00
647cb0e159
Add the sqlite_version() SQL function as a built-in. (CVS 777)
...
FossilOrigin-Name: 7c8c0e7633dca00bde7bc7c22075f688c034c200
2002-11-04 19:32:25 +00:00
7bc09d3111
Improvements in threadtest.c (for Unix) and some minor bug fixes that result
...
from the better testing. (CVS 776)
FossilOrigin-Name: 326e0983c34b584a3c4a2300399bff0a8281b9f8
2002-11-01 01:55:36 +00:00
1f3e905cd0
Fix an assert that might fail if malloc() fails. (CVS 774)
...
FossilOrigin-Name: 8ad018944c3aa8f58e1c68b1fa634ef922d6476f
2002-10-31 00:09:39 +00:00
38dd0b4ff0
In the VDBE, check to make sure a set has been initialized before using it.
...
Ticket #185 . (CVS 772)
FossilOrigin-Name: 8c4cbdd05517e91879a0f2c4559d0f0518d2385b
2002-10-30 22:42:58 +00:00
1f16230b5c
Minimal support for oracle8 outer join syntax. (CVS 771)
...
FossilOrigin-Name: 31df3690d0fe4bd4a293cbe8ca9a26c98c3ed3ce
2002-10-27 19:35:33 +00:00
6977fea801
Correctly handle column names and string constants in parentheses.
...
Fix for ticket #179 . (CVS 770)
FossilOrigin-Name: 3b68aa25c451b7c09ece457ac2b70a9a5d93508a
2002-10-22 23:38:04 +00:00
e958bb4aef
Take care to track ephemeral strings in the VDBE and make copies of ephemeral
...
strings that need to be preserved. Ticket #177 . (CVS 769)
FossilOrigin-Name: 562da534bbb605a8ce15824135b012ef2d86bbeb
2002-10-22 15:04:34 +00:00
edbbbdf8f7
Rework the changes for ticket #176 (check-ins (760) and (761)) to be
...
more consistent with the rest of the source code. (CVS 768)
FossilOrigin-Name: f50a177b4239bc7a83563ac9361e830ec04e81fb
2002-10-20 18:19:45 +00:00
3c2007a546
The "table_info" pragma reports unspecified column types as "numeric" instead
...
of "text". Fix for ticket #174 . (CVS 767)
FossilOrigin-Name: 395ab5fac201a37d6eca833ffd6f58ac8a0121a2
2002-10-20 16:00:27 +00:00
315555ca50
Work around a bug in the Borland C compiler. Ticket #172 . (CVS 765)
...
FossilOrigin-Name: 3ef2925650bfbeb4ee5dbd0aaf8e606fc4cd2be1
2002-10-20 15:53:03 +00:00
2678058853
Make sure malloc(0) always returns NULL. Fix for ticket #171 . (CVS 764)
...
FossilOrigin-Name: 4622b7ce8f4727a6405ddf4f0af701db86da86bf
2002-10-20 15:46:22 +00:00
32fbe342db
Speed improvement by avoiding a call to sqliteBtreeLast() when inserting a
...
new row into a table. (CVS 763)
FossilOrigin-Name: d0af59fe6b9d5d026786e7cce1c49c208a0335cc
2002-10-19 20:16:37 +00:00
16aaf451b7
Minor coding fix in getting the windows platform version, when multithreading (CVS 761)
...
FossilOrigin-Name: b53ab71d074ada47ce22bd161f6aee24587302af
2002-10-17 09:01:31 +00:00
710dcfbde5
fix for locking in Windows (CVS 760)
...
FossilOrigin-Name: 83add34f64895a4b465881213eba82f3b1f5c964
2002-10-17 00:38:54 +00:00
f1f0fa0769
Remove the call to srand() and add better comments to the sqliteOsRandomSeed()
...
routine. Ticket #163 . (CVS 759)
FossilOrigin-Name: d87a886d8f63f54466848151e2b0e8565b338593
2002-10-12 13:43:59 +00:00
c8f8b632c3
Fix a bug in the left outer join logic. (CVS 758)
...
FossilOrigin-Name: 6c0f44bd6374010f7a4a091e585eb36e0665f96f
2002-09-30 12:36:26 +00:00