Commit Graph

3683 Commits

Author SHA1 Message Date
drh
39fa3e3c48 Enhance the documentation to clarify that SQLite is not reentrant through
the authorization callback function.  Ticket #2242. (CVS 3650)

FossilOrigin-Name: b18a758a8fbd4b286ae3475af26f290d8cd583f0
2007-02-20 15:21:05 +00:00
vapier
224b8948c8 merge the second portion of the cross-compile cleanup (CVS 3649)
FossilOrigin-Name: 309f2de62f34160fa24a5e1a3de0d653aabfb52b
2007-02-17 14:59:17 +00:00
vapier
7f19c02faa regenerate (CVS 3648)
FossilOrigin-Name: 20ac0f364059feba5ad95dbe82db30a9aa86be78
2007-02-17 14:46:31 +00:00
vapier
c8a15308a1 punt custom handling of cross-compile logic and move towards the standard autotool way of things (CVS 3647)
FossilOrigin-Name: 9817b433da36c78513ca278ae28e8ca8ce1cf00b
2007-02-17 14:31:55 +00:00
vapier
4c10a8a006 make the readline checks more flexible and handle cross-compiling logic (CVS 3646)
FossilOrigin-Name: 4626c84bae1a11d3cdad4901b19caf44406bd62a
2007-02-17 14:28:26 +00:00
drh
920769d3a6 In the corrupt2.test script,
change uses of (open ... a) to (open ... RDWR) to work around
inconsistencies in behavior across various platforms. (CVS 3645)

FossilOrigin-Name: 50e86b0368ae0268e7f07e44a746e13ad86a3b8b
2007-02-14 12:32:13 +00:00
danielk1977
0817d0dfc2 Use OP_VColumn instead of OP_Column when querying virtual tables for values to save in aggregate context records. #2230. (CVS 3644)
FossilOrigin-Name: cb78f7cb0f0bf0c799a929fd6ea30f25e2a7b5d0
2007-02-14 09:19:36 +00:00
drh
9d9cf22971 Add a new algorithm for handling INSERT which reduces fragmentation on
a VACUUM.  Ticket #2075.  More testing needed. (CVS 3643)

FossilOrigin-Name: 9f56a878cbbc715262b3a48ee696148dbd7bf1d2
2007-02-13 15:01:11 +00:00
drh
1f9a746277 Changes to the script that generates download.html so that it recognizes
FTS2 modules. (CVS 3642)

FossilOrigin-Name: 06c22de25472eba439d7f05879eb13756c4e34a8
2007-02-13 14:11:46 +00:00
drh
56cdc6e0c4 Version 3.3.13 (CVS 3641)
FossilOrigin-Name: 286c4eb30dfe1e8ef110cd2a214d71612a78b8cc
2007-02-13 13:04:54 +00:00
drh
e68fbe7978 Expand the cursor index in SrcList_item to 32-bits to accomodate really
huge VDBE programs resulting from deeply nested triggers.  This is an
interim fix until we rework triggers to use subroutines. (CVS 3640)

FossilOrigin-Name: 22769e2d37f4912ad388d2ed79f93571d0279fb8
2007-02-13 12:49:24 +00:00
drh
8e79d2577b Changed my mind. Convert "GUID" back to "UUID". (CVS 3639)
FossilOrigin-Name: c258840515de6ab16725d98dab6ae654d50bcc3c
2007-02-13 02:12:02 +00:00
drh
19971720af Change "UUID" to "GUID" in the documentation. (CVS 3638)
FossilOrigin-Name: dddd31f4e09f1b83d9c8fb9280cdc5aff13855ca
2007-02-13 02:07:37 +00:00
drh
60589cfcfe Changes in preparation for version 3.3.13. (CVS 3637)
FossilOrigin-Name: 7799a0b63dd4ab6f422f138e5b423d6fb00529fb
2007-02-13 02:03:23 +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
ec41ddac37 Explicit collations always override implicit collations. This is
backwards compatible since SQLite has not previously supported
explicit collations. Need to add tests of this new behavior. (CVS 3633)

FossilOrigin-Name: 3638823a629164e4158f76d03ff2cea1eab34e9d
2007-02-07 13:09:45 +00:00
drh
53a677749f Change the coding of PRAGMA count_changes so that it uses memory cells
of the VM rather than the stack, to avoid problems with leftovers on the
stack interfering with other operations.  Ticket #2217. (CVS 3632)

FossilOrigin-Name: 2bd4b62a20219f939ac2ac22440dc7fc0449f766
2007-02-07 01:06:52 +00:00
shess
3438ea3b9e http://www.sqlite.org/cvstrac/tktview?tn=2219
When creating fts tables in an attached database, the backing tables
are created in database 'main'.  This change propagates the
appropriate database name to the routines which build sql statements.

Note that I propagate the database name and table name separately.  I
briefly considered just making the table name be "db.table", but it
didn't fit so well in the model used to store the table name and other
information, and having the db name passed separately seemed a bit
more transparent. (CVS 3631)

FossilOrigin-Name: 283385d20724f0144f38de89bd179715ee5e738b
2007-02-07 01:01:17 +00:00
drh
32ffdb7393 Additional tests to give full coverage testing to ticket #2211. (CVS 3630)
FossilOrigin-Name: ecb1f2fd7b96797459287eaab95693ae17ec2079
2007-02-06 23:41:34 +00:00
drh
7b4fc6a8cb When optimizing out an ORDER BY clause due to uniqueness constraints, make
sure unused terms to the right in the ORDER BY clause to not reference other
tables in a join.  Ticket #2211.  Additional test cases needed before
closing this ticket. (CVS 3629)

FossilOrigin-Name: 912faf18d86416b1a36660851f8a4554e6746875
2007-02-06 13:26:32 +00:00
drh
8ebf6707cf Check the return value of lseek() in os_unix.c to make sure it really worked. (CVS 3628)
FossilOrigin-Name: e4408dd1fd32e6c5057cce0fdfa70eb2d9bd2531
2007-02-06 11:11:08 +00:00
danielk1977
d7263927f7 Set the MEM_Term flag when an internal string has a nul-terminator appended to it. Fix for #2213. (CVS 3627)
FossilOrigin-Name: fc969ad991e5114c3612f4796e342a6db2d79cd5
2007-02-05 14:21:47 +00:00
drh
a34001c9a3 Minor tweaks to collating sequences. We'll hold of making major changes
until 3.4.0, since we'll likely end up with some minor technical
imcompatibilities. (CVS 3626)

FossilOrigin-Name: 9740aa95a3f848fc663c88263a911fbc76ada243
2007-02-02 12:44:37 +00:00
drh
bba63d8bc2 Fix typos in the pragma documentation. Ticket #2210. (CVS 3625)
FossilOrigin-Name: f0c66ad8e9bc303e3173438a56e47802c8fdde05
2007-02-02 12:33:16 +00:00
drh
8b4c40d8ac First cut at adding the COLLATE operator. Regression tests pass (or at least
the quick set does) and a few new tests have been added.  But many more
tests are needed.  Rules for combining collations need to be worked out. (CVS 3624)

FossilOrigin-Name: 85cca7cd252d46ba71d302a89bc67c56146ec552
2007-02-01 23:02:45 +00:00
drh
3e701a187e Fix a bug in the copy method of the TCL interface. Ticket #2201. (CVS 3623)
FossilOrigin-Name: 936263966ea70792e8abb712730f78cafa1fdbad
2007-02-01 01:53:44 +00:00
drh
ca83ac51b3 Allow up to 64 tables in a join (the number of bits in a long long int).
The old limit was 32 tables. (CVS 3622)

FossilOrigin-Name: 505dce8f4e8717341e04f49f6f382719c3c704f1
2007-02-01 01:40:44 +00:00
aswift
ae0943b445 Fixed incorrect typecast for flock structure ptr in fcntl() call in sqlite3TestLockingStyle()
Restored previous fullfsync behavior, try fsync() if fcntl(fd, F_FULLFSYNC, 0) returns an error. (CVS 3621)

FossilOrigin-Name: f044c5f49f116ede8ab2d5ab43caa5ca9dd54ffe
2007-01-31 23:37:07 +00:00
drh
137c728f5a Replace the randomHex() function with separate functions
randomBlob() and hex(). (CVS 3620)

FossilOrigin-Name: f5ad74a9bc57e83c11beb3cf46bb6cd8c9de3f86
2007-01-29 17:58:28 +00:00
drh
63cf66f02e Add the randomhex() function as a built-in. (CVS 3619)
FossilOrigin-Name: a6001589ab1349f7a6b4af941e9e0fd73d13c1c0
2007-01-29 15:50:05 +00:00
pweilbacher
5fecee1557 Implement the platform specific part of the shared library interface on OS/2 (CVS 3618)
FossilOrigin-Name: 027251a6fc9971b337172436137fabdafec1d264
2007-01-28 21:42:08 +00:00
pweilbacher
4a53cdbc34 Adapt returns of the os2Read() function to those of other platforms using checkin (3549) to prevent possible corruption (CVS 3617)
FossilOrigin-Name: ba76107cd1fc1898f5357b20b339727e2e034e23
2007-01-28 21:12:13 +00:00
drh
800c50efd9 Version 3.3.12 (CVS 3616)
FossilOrigin-Name: fc66070393b48f8022500c45e063068e801c05d7
2007-01-27 14:30:14 +00:00
drh
e3d559ad37 Adjustments to the pragma test for OS-X. (CVS 3615)
FossilOrigin-Name: 4d0d2063df2191155b290dc426b502bc7e1959c7
2007-01-27 14:26:07 +00:00
drh
05a6f4ac56 More adjustments to the pragma test for windows. (CVS 3614)
FossilOrigin-Name: 79a65436d1cd10ed6318edfaa7d76e2b99c7c879
2007-01-27 14:11:41 +00:00
drh
90ddb12399 Adjustment to tests for PRAGMA integrity_check so that they run under windows. (CVS 3613)
FossilOrigin-Name: a79914ccbc9e33a1dbc9be3de805f99ab3b61c78
2007-01-27 14:04:13 +00:00
drh
b9afc56355 Increment the version number in preparation for the 3.3.12 release. (CVS 3612)
FossilOrigin-Name: 24e465af92505589ecde1747fb29d4f449c1a12c
2007-01-27 13:38:25 +00:00
drh
795ab9bbd8 Fix a documentation comment in vdbe.c. Ticket #2188. (CVS 3611)
FossilOrigin-Name: 3eec703beb91be44ded629335001c238052480e7
2007-01-27 13:37:22 +00:00
drh
a3eb4b44c4 Parser changes to allow parenthesized numerical arguments to pragmas,
in support of the integrity_check enhancement of check-in (3609)
and ticket #2176. (CVS 3610)

FossilOrigin-Name: ab6322bf9398c2989b648b24c1ebdf09493accdf
2007-01-27 02:38:29 +00:00
drh
1dcdbc0639 Limit the number of errors returned by PRAGMA integrity_check to 100 by
default.  Specify an alternative limit using an argument to the pragma.
Ticket #2176. (CVS 3609)

FossilOrigin-Name: d564a039f27be2bb2c3973e79dc99b25869139da
2007-01-27 02:24:54 +00:00
drh
4e78be693c Make sure the vdbeInt.h file is not #included multiple times. Ticket #2194. (CVS 3608)
FossilOrigin-Name: 93edd3b0565d08383b3034c57f221073fde6de4b
2007-01-26 21:08:04 +00:00
drh
23a4d14e79 Fix prototypes for the parser. Syntactic change only - no effect on
object code.  Ticket #2193. (CVS 3607)

FossilOrigin-Name: 02990fabd1c68fb51afc91a1b720802ef86bfec6
2007-01-26 19:31:00 +00:00
drh
485f00391b Add code to select.c for printing the contents of parse-tree structures.
The code is normally omitted.  You must compile with -DSQLITE_TEST
or -DSQLITE_DEBUG to enable it. (CVS 3606)

FossilOrigin-Name: 1b26d6875612a0ed25d6e293f005ea4966692759
2007-01-26 19:23:33 +00:00
drh
0ee5a1e763 Fix a (harmless) assertion fault on nested views where the inner views
are compound selects.  Ticket #2192. (CVS 3605)

FossilOrigin-Name: 942e7193bbf1ffe9a703891d175e016631e2ad5c
2007-01-26 19:04:00 +00:00
drh
e31a1fb018 Make sure the loadext.c module works even if all SQLITE_OMIT macros are
defined.  Tickets #2184 and #2069. (CVS 3604)

FossilOrigin-Name: e1fae43c89253fe5ca85bd149cd7697234f9aa91
2007-01-26 13:08:24 +00:00
drh
6c9121a7dd Work around issues with certain C++ compilers by adding a typedef
to sqlite3.h.  Ticket #2191. (CVS 3603)

FossilOrigin-Name: 31e8cf7f30afe14f0866ea71eebbda9755ddedf8
2007-01-26 00:51:43 +00:00
drh
f2d315d0c2 Fix an additional problem with the IS NULL optimization on LEFT JOINs.
Ticket #2189.  See also ticket #2177. (CVS 3602)

FossilOrigin-Name: 358dd82d3a921228155e2cf9e22aedd2b651ca9c
2007-01-25 16:56:06 +00:00
drh
4e653855ab Do not run the fts2i.test unless the FTS2 module is available. (CVS 3601)
FossilOrigin-Name: 310f68585188ae49b603af9bdef4ee7738ae37c0
2007-01-24 03:46:35 +00:00