Commit Graph

4454 Commits

Author SHA1 Message Date
danielk1977
7eb42c8204 Reset the writer-thread halt criteria after halting the thread. (CVS 4528)
FossilOrigin-Name: ecbff972a1f5c7d846c322c435fa73584655b7f0
2007-11-05 17:01:08 +00:00
danielk1977
662278e4de Fix some minor problems with malloc failure and in-memory databases. (CVS 4527)
FossilOrigin-Name: b752906e708e1c8c76084152f5829e16e8988ef2
2007-11-05 15:30:12 +00:00
drh
0152123730 Fix a bug in the misc1 test script. (CVS 4526)
FossilOrigin-Name: fa16996d99cdce9f652508e3a70b7e5747810823
2007-11-05 14:58:23 +00:00
drh
f54cc03585 Make sure the default page size never exceeds the maximum page size. (CVS 4525)
FossilOrigin-Name: 9c2731f143d52f8bf27f309612c38a1be22e3019
2007-11-05 14:30:22 +00:00
danielk1977
d949fd3b34 Use malloc to obtain space for sqlite3_aggregate_context(). Ticket #2751. (CVS 4524)
FossilOrigin-Name: bf75058f5777ce4b03f2287406805236470f70d0
2007-11-05 12:46:04 +00:00
danielk1977
6d64307b03 Handle "IS NULL" constraints on virtual table scans. IS NULL constraints are not passed to the virtual table layer. Ticket #2759. (CVS 4523)
FossilOrigin-Name: 7027368c15b3270a139bea5612d7c03c2288dcc4
2007-11-05 05:12:53 +00:00
drh
3b1a9881e7 Add the ".timer" command to the CLI. (CVS 4522)
FossilOrigin-Name: 56680360d3b14a66a077ebb735f4594ed524a4bb
2007-11-02 12:53:03 +00:00
drh
7b12d46146 Fix building of sqlite3_analyzer on Mac. (CVS 4521)
FossilOrigin-Name: a616b6cb646a35a68bebc7d013c13185a9a6f47d
2007-11-02 12:52:39 +00:00
danielk1977
fa166726a4 Add some assert() statements to the asychronous backend demo to enforce the strategy used to avoid deadlock. Also a minor change to avoid a potential deadlock. (CVS 4520)
FossilOrigin-Name: 6340ca5eee3d398a9ef4f37a442efad37c9bf547
2007-11-02 09:07:57 +00:00
drh
b0689696f2 Add a prototype "group_concat()" aggregate function to func.c.
Disabled by default.  No documentation nor test cases.  No effort
to make it efficient. (CVS 4519)

FossilOrigin-Name: 61987a89d1c4af59c745d1c5f17bab3301588b6c
2007-11-01 17:38:30 +00:00
danielk1977
7c055b9b7c Avoid leaking a file descriptor after a malloc failure on unix. (CVS 4518)
FossilOrigin-Name: c249d5da721b32f6fe409a5b55a5d49a58994fec
2007-10-30 17:28:51 +00:00
danielk1977
5f0f253315 Remove a debugging assert() that went in by accident with the previous commit. (CVS 4517)
FossilOrigin-Name: 4ad60bdba0f1aa068dcc42fb58b80d7912e36b1b
2007-10-30 15:38:12 +00:00
danielk1977
5be7d5d139 Fix a race condtion in test_async.c. (CVS 4516)
FossilOrigin-Name: 5e3f7c3dec3e8d92b28a74293387b390fe6fc1fa
2007-10-30 15:29:42 +00:00
drh
dc1d9f1bd4 Clarify the behavior of sqlite3_last_insert_rowid() when using
INSERT OR IGNORE. (CVS 4515)

FossilOrigin-Name: c0fa0c8ba80f4cd60bd06da7a032c6424ffd16f8
2007-10-27 16:25:16 +00:00
shess
adafd5747f Be a bit more susicious of invalid results from the tokenizer. (CVS 4514)
FossilOrigin-Name: deb8f56d3adea0025d28b8effabec7c7b7fe3026
2007-10-24 23:24:22 +00:00
pweilbacher
71be8e692b Fix os2CurrentTime() to give correct results for negative timezones. (CVS 4513)
FossilOrigin-Name: a3b82548cb51431569aafacf38e3391a8a1b697b
2007-10-24 23:04:32 +00:00
pweilbacher
99295b4933 Fix os2GetTempname() to actually work: DosScanEnv() wants an empty PSZ as argument and we obviously don't need to test for file existence any more. (CVS 4512)
FossilOrigin-Name: 8a233845f61080cca24da3672444f3e5b985da67
2007-10-24 23:03:25 +00:00
shess
b6d78dc7bb fts3.c buildTerms() passes -1 for nInput. (CVS 4511)
FossilOrigin-Name: e87c883a1235ac47ee340a31051dcd5deb369d4e
2007-10-24 21:52:37 +00:00
drh
0cf19ed817 Add comments, assertions, and test cases to demonstrate that the
problem described in ticket #2742 is not a real problem. (CVS 4510)

FossilOrigin-Name: c085d6dfc0f5849113986cb2a25e64d0c95b3dfb
2007-10-23 18:55:48 +00:00
drh
9e0ebbfa41 Add comments to the code warning that _XOPEN_SOURCE might need to be
defined manually if using USE_PREAD or USE_PREAD64. (CVS 4509)

FossilOrigin-Name: d7ed7cd077fe5f9ffba2bca48b84b231ccfd85b0
2007-10-23 15:59:18 +00:00
drh
71674ce9ce Make sure the _LARGEFILE_SOURCE macro occurs before any system
includes.  Ticket #2739. (CVS 4508)

FossilOrigin-Name: 36465aeb1f8f92d336faf16c25608c9a8a6585d3
2007-10-23 15:51:26 +00:00
drh
598f134020 Floating point and 64-bit integer constants store in the virtual
machine opcodes in binary, not as text.  Performance improvement.
Ticket #2733. (CVS 4507)

FossilOrigin-Name: 7e30fd6a09899842c922b044714dc66796e545d4
2007-10-23 15:39:45 +00:00
drh
55bfeb10cb Fix limit assertions in vdbe.c. Ticket #2740. (CVS 4506)
FossilOrigin-Name: 27f846d089ebe9e4970a2499ad4e2e98773d2e78
2007-10-23 14:55:06 +00:00
drh
9bc5449f9d Make sure the sqlite3_vfs_register() and sqlite3_vfs_unregister() APIs
work right even if not VFS is currently registered.  Ticket #2738. (CVS 4505)

FossilOrigin-Name: c36500871e85b55cb0804d5c9e88fa6861a507a9
2007-10-23 14:49:59 +00:00
danielk1977
0d6e7a00d6 Add speed4.test, with some speed tests for triggers, sub-selects, views and joins. (CVS 4504)
FossilOrigin-Name: 3e3475b9e0f996841aa40419693c7c3eaa6c71aa
2007-10-23 10:25:30 +00:00
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