Commit Graph

4429 Commits

Author SHA1 Message Date
danielk1977
191fadcf23 Fix an error message in the tcl interface. (CVS 4503)
FossilOrigin-Name: 2449e08069ef830f119203c4a3737d6756e73c63
2007-10-23 08:17:48 +00:00
danielk1977
1c1764ae66 Add the NEAR operator to fts3. (CVS 4502)
FossilOrigin-Name: aef7720e0bb49d52332ddebe6f698feb926ef7d7
2007-10-22 18:02:20 +00:00
pweilbacher
0663dd2f75 We need an extra define to activate OS/2 semaphores for compiling/linking. (CVS 4501)
FossilOrigin-Name: 0604dace0e22297bafcf90f4485d3c07383f876e
2007-10-21 22:59:12 +00:00
pweilbacher
b36dc73cbc Finally bring OS/2 to the 3.5 level. This at least is a first draft version that survives very basic tests. It still contains a lot of debugging stuff... (CVS 4500)
FossilOrigin-Name: 46b2d1034b3d25ded71085c901301ad64b5aaba2
2007-10-21 22:47:03 +00:00
drh
a21a929e81 Use the 2-argument version of substr() in the SQL contained in the
VACUUM and ALTER TABLE commands.  Ticket #2737. (CVS 4499)

FossilOrigin-Name: 82b08a3dc2366007bcac4d9e451ef61c8c018fa5
2007-10-20 20:58:57 +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
c0ad3e8df6 Bug fix in the realloc algorithm of the static memory allocator. (CVS 4497)
FossilOrigin-Name: 50db16be5025f6d5efc51e3354615059da7e8611
2007-10-20 16:11:39 +00:00
drh
a4e5d58f02 Simplify the mem3.c memory allocator. Have it call sqlite3_release_memory()
automatically, without having to specify the soft heap limit. (CVS 4496)

FossilOrigin-Name: ca51b2f54076fcf73a8857aecf4b45d66ef0c7b6
2007-10-20 15:41:57 +00:00
drh
1e3af33436 Go back to allocating each page and its header with a single memory
allocation.  This undoes the change of (4409). (CVS 4495)

FossilOrigin-Name: f56c9884be796dee3f267aca6021eb1846d8527c
2007-10-20 13:17:54 +00:00
drh
80ca2d0935 Fix a mutex leak in the new malloc-free memory allocator. (CVS 4494)
FossilOrigin-Name: 30f014d3d0231a668c40508ff4a6b90ce622c857
2007-10-20 12:34:00 +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
f1bfe9a8bd Reorder some tests at the beginning of sqlite3_step() to work around
misuse by python.  Ticket #2732. (CVS 4492)

FossilOrigin-Name: e8d591e8c369794921a4acbba5b17fddca730ee7
2007-10-17 01:44:20 +00:00
drh
51f015eb9c A cosmetic changes to btree.c which (we are told) works around a bug
in MSVC++. (CVS 4491)

FossilOrigin-Name: 329dd014b0d851f21ff6690b6149e9d73c92302d
2007-10-16 19:45:29 +00:00
drh
d2bb3278e0 Add a malloc size histogram to the debugging malloc implementation
in mem2.c. (CVS 4490)

FossilOrigin-Name: 3e51696cb878063e4ebfdcc2a61ba94c9bebdfe3
2007-10-15 19:34:32 +00:00
danielk1977
db2d286b59 Fix for OMIT_AUTHORIZATION builds. (CVS 4489)
FossilOrigin-Name: 260711a14d5ab2d7c9888c7c46c33a28a3da0415
2007-10-15 07:08:44 +00:00
drh
a6d0ffc359 Do not invoke the authorizer when reparsing the schema after a schema
change or when trying to figure out the result set of a view. (CVS 4488)

FossilOrigin-Name: e756bc9b74ef357c088b3044527c41e6834ba1a2
2007-10-12 20:42:28 +00:00
drh
7d97efbe57 Convert a K&R style function to ANSI style. Ticket #2548. (CVS 4487)
FossilOrigin-Name: e1b2e7c24ce0f838687a503dc98188a0e67c79de
2007-10-12 19:35:48 +00:00
drh
64f31519b7 Make the 3rd parameter of the SUBSTR() function optional. Ticket #2579. (CVS 4486)
FossilOrigin-Name: 4a807d48ea9923c1e3df4a5ad503710e62ae29f8
2007-10-12 19:11:55 +00:00
drh
0a99ded1ba Add an explicit type conversion in an AWK script to work around
bugs in cygwin.  Ticket #2713. (CVS 4485)

FossilOrigin-Name: 043cee2fd9319f24bb5c70d6619bfe8f8e2e3b91
2007-10-12 18:36:26 +00:00
drh
4145f83275 Update documentation to talk about the SQLITE_UTF16_ALIGNED option
for sqlite3_create_collation(). Ticket #2722 (CVS 4484)

FossilOrigin-Name: a7292c14ded6cfca65850ef8169799d2d5f35a61
2007-10-12 18:30:12 +00:00
drh
36bc402ee2 Fix to the main.mk makefile. (CVS 4483)
FossilOrigin-Name: e4527dd6ed81f5cb7862b76305be7d7b6d31016d
2007-10-12 00:23:44 +00:00
drh
fc3afb6a98 Still more tweaks to the wince interface. Ticket #2711. (CVS 4482)
FossilOrigin-Name: b2bdb476858c6e4b8977ea06be68b2331d1d84df
2007-10-09 15:36:10 +00:00
drh
e825609ac0 Fix a typo in the wince driver. Ticket #2710. See also ticket #2702. (CVS 4481)
FossilOrigin-Name: beb91af7061a3950636064bf60946132a884cd7b
2007-10-09 15:20:39 +00:00
danielk1977
5a8f9374ab Fixes to the test suite (no code changes) so that quick.test runs with OMIT_ATTACH builds. #2706. (CVS 4480)
FossilOrigin-Name: 07c00fffe50e8380748f7ae02328531a75d64610
2007-10-09 08:29:32 +00:00
drh
0cd1ea5e44 More untested changes for wince contributed by users. Ticket #2702. (CVS 4479)
FossilOrigin-Name: ccd709e1791b1c1091a61139633b972b378c1816
2007-10-08 15:06:03 +00:00
drh
7229ed434f Reverting check-in (3836) at the request of winCE users. We no ability
to test this change.  Presumably this is a fix for tickets #2698, #2533,
and #2598.  It is unclear if this causes #2294 to be reopened or not. (CVS 4478)

FossilOrigin-Name: 27346fa55ed9b5c20016d07a37268fbd42dc097f
2007-10-08 12:29:17 +00:00
drh
aab2e6d271 Fix a bug in code for winCE. Ticket #2700. (CVS 4477)
FossilOrigin-Name: a36fca4cdef162c87ce47a50ededdea19a8865f9
2007-10-08 12:22:57 +00:00
drh
496936c881 In windows, always open files using FILE_FLAG_RANDOM_ACCESS. Ticket #2699. (CVS 4476)
FossilOrigin-Name: 5cdbc0972fe94c13dffee1f908a77f903e580449
2007-10-08 12:21:10 +00:00
drh
e31de778e1 Fix a memory leak in the sqlite3_realloc() implementation of the
non-debugging memory allocator. (CVS 4475)

FossilOrigin-Name: 7e9b886dabf10557bc1aa80caad411809ce5a39f
2007-10-06 01:40:35 +00:00
drh
d560305d84 Remove #include <math.h> from all source files. It is no longer needed but
causes compile problems when -DSQLITE_OMIT_FLOATING_POINT is defined.
Ticket #2696. (CVS 4474)

FossilOrigin-Name: 4424357d17f615fab922780616eac6773535923a
2007-10-05 16:23:55 +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
danielk1977
382e28fa0c Changes to a couple of test scripts to handle the tcl 8.5 version of (file attributes -readonly) on mac. (CVS 4472)
FossilOrigin-Name: a51946e66badab37cd54982265631bbc5e414f8e
2007-10-05 15:53:29 +00:00
drh
865050681a Do not attempt to use TryEnterCriticalSection() under win32. It causes
too many compiler problems.  Ticket #2685. (CVS 4471)

FossilOrigin-Name: f795431c725d88bd4011f20cf63cac630de842f1
2007-10-05 15:08:01 +00:00
danielk1977
20e987a140 Fix problem building testfixture on mac. Ticket #2689. (CVS 4470)
FossilOrigin-Name: fe067d706b40d9756433eac9896660514d1c8216
2007-10-05 15:04:12 +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
drh
ee8683e1a8 Use FormatMessageA() instead of FormatMessage() in the w32 VFS.
Ticket #2687. (CVS 4468)

FossilOrigin-Name: 38674fd287e0ca67e27c46a3ad0db4dcc8ed1e0c
2007-10-05 14:49:45 +00:00
drh
7795207b1f Correct the name on the new test script for ticket #2686. (CVS 4467)
FossilOrigin-Name: d261e2c731ef97d86fa9dc3caa1ce31ee9ce78ae
2007-10-04 18:52:15 +00:00
danielk1977
b5258c3db3 Fixes for OMIT_AUTHORIZATION builds. #2691. (CVS 4466)
FossilOrigin-Name: 755fcaf7e355042d88fed6b9b49669300b010695
2007-10-04 18:11:15 +00:00
drh
8954d4ca45 Version 3.5.1 (CVS 4465)
FossilOrigin-Name: 81cf518646b277b08e04079c67053450a259542b
2007-10-04 00:30:53 +00:00
drh
8a65057eda Updates to the documentation index page. (CVS 4464)
FossilOrigin-Name: 837fc86166bfc789a53de1853043044f5e8ae3ac
2007-10-04 00:29:28 +00:00
drh
c2ded2afe0 Get io.test to work even if auto_vacuum is on by default and we are
running with a reduced maximum page size. (CVS 4463)

FossilOrigin-Name: 0d05f3fbaad44a0d3723cd543b865326acddf883
2007-10-03 21:18:19 +00:00
drh
e0ea9bf4a4 Fix a syntax error that comes up when memory debugging is disabled. (CVS 4462)
FossilOrigin-Name: 96dd3c336b5bbf9da6ba9ace85dbe7c4b1ff2bcb
2007-10-03 21:10:58 +00:00
drh
acb6dd7e50 Update documentation in preparation for the release of 3.5.1. (CVS 4461)
FossilOrigin-Name: a57b25a2e4127bb3d9dc83031db117664c10d4ea
2007-10-03 20:32:17 +00:00
drh
7c3472a37b Update documentation to talk about the response to errors
within an explicit transaction. (CVS 4460)

FossilOrigin-Name: 84616a13af633700635ad2f91e92c2f7271e96d1
2007-10-03 20:15:28 +00:00
drh
d181704ec5 Simplify the vdbeHalt logic slightly. (CVS 4459)
FossilOrigin-Name: b59f7bcbabcccde9d2519e10e65e121343f2af7a
2007-10-03 18:45:04 +00:00
drh
71b890a3f6 Rollback the transaction if an SQLITE_FULL error is encountered.
This is a preliminary fix for ticket #2686.  More testing and
analysis is needed before we close the ticket. (CVS 4458)

FossilOrigin-Name: 0fb6d5a5773c282882e7283e6f8f8c009e238ff4
2007-10-03 15:30:52 +00:00
danielk1977
c4f6f62900 Fix a memory leak that could occur during error-state recovery. (CVS 4457)
FossilOrigin-Name: 3d1d13d1eb5817c22956e6e7792783116a828962
2007-10-03 15:22:25 +00:00
danielk1977
2a180ff9c5 Add a test case to malloc.test. (CVS 4456)
FossilOrigin-Name: 7d3f0b149bd2b9c7c12aabb93d022c0ea26f0d74
2007-10-03 15:02:40 +00:00
danielk1977
8da6021be9 Fix a problem in test script malloc5.test. (CVS 4455)
FossilOrigin-Name: 028ec36c71d6ac43c8f1cda77578d844c6955f68
2007-10-03 09:43:54 +00:00
danielk1977
ae72d98252 Add automatic recovery from the pager "error-state". Also add a new error code - SQLITE_IOERR_NOMEM. (CVS 4454)
FossilOrigin-Name: 12eca32a6a3d68d5b20eed03afdffe7599e66014
2007-10-03 08:46:44 +00:00