drh
cf9b1752cf
Add the SQLITE_HAVE_ISNAN compile-time option which, if present, causes
...
SQLite to use the math library isnan() function rather than its own homebrew
implementation of isnan(). (CVS 6517)
FossilOrigin-Name: 54d23521c37938b9d98f41f5547975c469c0c8f0
2009-04-17 11:57:22 +00:00
drh
382ffd9e65
Check-in (6514) did not completely remove the obsolete test, resulting in a
...
segfault. This check-in finishes the job. Ticket #3802 . (CVS 6516)
FossilOrigin-Name: c29b37ea36fe6a360807e66dffc467c66be00d38
2009-04-17 11:56:27 +00:00
drh
05800a1d17
Add NEVER and ALWAYS tags to conditionals in analyze.c that always false or
...
true. (CVS 6515)
FossilOrigin-Name: fbbc80eaf3bb3726b053d1050104b4ec602eb0c1
2009-04-16 17:45:47 +00:00
drh
e52204b4ce
Remove obsolete test from bindxfer.tcl. Ticket #3802 . (CVS 6514)
...
FossilOrigin-Name: b1b096171812f77082b0b63e7ab0908c82d1d8bb
2009-04-16 16:32:20 +00:00
drh
56d56f7aa7
Changes to alter.c to enable full branch coverage testing. (CVS 6513)
...
FossilOrigin-Name: 6a91ab08a55eacc77f69190e1126326f4da220af
2009-04-16 16:30:17 +00:00
drh
7fee360d09
Make sure the 'unixepoch' converter in the date and time functions rounds
...
to the nearest millisecond rather than truncating downward to the next
smaller millisecond. Ticket #3808 . (CVS 6512)
FossilOrigin-Name: e6e036b345b130c207716c4b81719b5b7c884a11
2009-04-16 12:58:03 +00:00
drh
10c081adf8
In a 3-fold compound SELECT make sure early code generation of the SELECTs
...
to the right do not dereference non-existant columns in SELECTs on the left. (CVS 6511)
FossilOrigin-Name: 414f340809c487901fa913026a342b19a2956c0a
2009-04-16 00:24:23 +00:00
drh
8dc09a0616
Fix the group_concat() function so that it inserts the separator string
...
even if the initial content strings are empty. Ticket #3806 . (CVS 6510)
FossilOrigin-Name: b83fbf15a3920755ed77dc9c91b4f00a86ddb9ac
2009-04-15 15:16:53 +00:00
shane
7a8537b4a5
Fix access violation on WinCE platforms. Ticket #3804 . (CVS 6509)
...
FossilOrigin-Name: e203ad400dd61431b3e6b8219eb5357b6ca06561
2009-04-15 14:36:25 +00:00
drh
d3264c7cdf
Mark an branch in alter.c as always false. Only run the assert() on
...
the sqlite3_aggregate_count() function in func.c if the
SQLITE_OMIT_DEPRECATED compile-time option is off. (CVS 6508)
FossilOrigin-Name: c0bba77ae619e709f3fb068526073a4a83cf33b6
2009-04-15 13:39:47 +00:00
drh
b818008784
Disable the temptrigger.test test script when shared cache is disabled.
...
Ticket #3801 . (CVS 6507)
FossilOrigin-Name: feedbce8f149820d082ecde4437109cc6b6ea0e3
2009-04-15 13:07:19 +00:00
aswift
685cd6f663
nMax can be zero and subtracting 1 from an unsigned zero produces undesirable results (CVS 6506)
...
FossilOrigin-Name: a117d82dad82bc372bc1e3f1adb9540c1accf851
2009-04-14 18:44:38 +00:00
drh
ac80db7845
Change the sqlite3_bind_value() implementation to use a default branch on
...
the type switch so that there are no untested jumps in the switch. (CVS 6505)
FossilOrigin-Name: d0a8bd6a53c5da0ac6b88818f82c7f7d330b527a
2009-04-14 12:58:20 +00:00
drh
29def56019
Reimplement the sqlite3_bind_value() interface so that it works when the
...
value being bound comes from a different database connection. (CVS 6504)
FossilOrigin-Name: 3db0c7980668cf38165add13f833863cd00a0cfe
2009-04-14 12:43:33 +00:00
drh
9cff9dc6ae
Enhancements to virtual table documentation. Comment changes only. No changes to
...
code. (CVS 6503)
FossilOrigin-Name: b0b2b2831cc84d57e90bf587ebed600fa72926e9
2009-04-13 14:43:40 +00:00
drh
226dba63ed
Version 3.6.13 (CVS 6502)
...
FossilOrigin-Name: 982cc7f4e7e2d8abfc2025dfbec7c1ce8f95383b
2009-04-13 09:29:04 +00:00
drh
934c5444ed
Rerun autoconf in preparation for 3.6.13. (CVS 6501)
...
FossilOrigin-Name: f683e222112339d1f7980276e403efda76a18ebf
2009-04-13 09:09:24 +00:00
chw
6de061ae67
updated Makefile.vxwSH4 and renamed it to Makefile.vxworks,
...
should now be able to support SH4 and PPC targets. (CVS 6500)
FossilOrigin-Name: e4a370c72dd3204be099a6706128507d5c06170c
2009-04-13 08:14:03 +00:00
drh
1180936671
Fix malloc5.test so it work on both 64-bit and 32-bit systems. The
...
::tcl_platform(wordSize) variable has to be used to adjust some memory
sizes. (CVS 6499)
FossilOrigin-Name: ea20f78edb50778c40ed7f03f894ab898f58d67c
2009-04-11 19:09:53 +00:00
drh
66fd216045
Fix an obscure problem with recovery from I/O errors while rolling back. (CVS 6498)
...
FossilOrigin-Name: 24ff486125b9ad62dd92314b62299093b55fe82b
2009-04-11 16:27:49 +00:00
drh
63842415bd
Add a comments and an assert() to the virtual table implementation.
...
No functional changes. (CVS 6497)
FossilOrigin-Name: ac5d0c0aa1de687bde972fbf0db8f04508825205
2009-04-11 16:27:19 +00:00
danielk1977
e589a67f6c
Fix a case where a corrupt database could cause an assert() to fail. (CVS 6496)
...
FossilOrigin-Name: 2c560e057e1da8a603efc36deea036f2392a4ab9
2009-04-11 16:06:15 +00:00
drh
457e621e6e
Allocate a little extra scratch space for the memsubsys1 tests. The
...
extra space is needed in some configurations. (CVS 6495)
FossilOrigin-Name: 5484419294356b704c2c9064f36ed254875ca8c0
2009-04-11 14:46:43 +00:00
drh
1a0cc28e84
Increase the hard upper bound on the number of pcache pages in test_pcache
...
when the test harness is compiled for in-memory temp tables. Some of the
test cases need to extra memory to avoid unplanned out of memory errors. (CVS 6494)
FossilOrigin-Name: 7f2d6a0bd510801e011eb075f494194d9ebf568b
2009-04-11 11:38:53 +00:00
danielk1977
1c50179332
Replace invocation of (really_finish_test) from async.test with (finish_test). Otherwise a tcl exception may be thrown when running permutations. (CVS 6493)
...
FossilOrigin-Name: e6465e9da3d754833c21e0fb76c16a4efd047b91
2009-04-11 10:25:03 +00:00
danielk1977
be20e8eccb
In sqlite3PagerMovepage(), avoid holding a reference to page number X when calling sqlite3PcacheRekey() to move another page to page number X. (CVS 6492)
...
FossilOrigin-Name: 4447c94f45b8abd833eb82b67233029088fd1a54
2009-04-11 09:51:55 +00:00
drh
7950acd424
Remove more unused branches from vdbeapi.c. (CVS 6491)
...
FossilOrigin-Name: 447e959594970a225a9b189e7e420ba9c3eedbdb
2009-04-10 23:11:31 +00:00
drh
3e078c7afc
In the async test, make sure procedures do not get renamed over top of one
...
another. (CVS 6490)
FossilOrigin-Name: b6430cc4297c426f89e68f180a2c50b9b1ecd8e3
2009-04-10 20:55:13 +00:00
drh
9b4ea4a53e
Remove unused branches from the vdbeapi.c module. (CVS 6489)
...
FossilOrigin-Name: 7ae0fc7ea55dc5b5fbeef20f476a00f619bd3c5c
2009-04-10 20:32:00 +00:00
danielk1977
07a108934d
Increase the error tolerance when verifying the approximate size of a pseudo-random database in backup_ioerr.test. Otherwise the test could fail depending on the PRNG seed. (CVS 6488)
...
FossilOrigin-Name: deda5ab35e7663ba5f30c08b16ef3393d7146816
2009-04-10 18:41:01 +00:00
danielk1977
cb25790250
Do not run io.test as part of the inmemory_journal permutation. io.test uses the tcl API to test for journal files in the file-system (which of course never exist when running with in-memory journals). (CVS 6487)
...
FossilOrigin-Name: 493f03bd73a15de994f69f23e9df8bb3ee4d20dc
2009-04-10 18:32:29 +00:00
drh
fe53f2e3f5
Re-enable the alt_pcache tests in permutations.test so that they run
...
automatically during a full regression. Fix async.test so that it
works with the permutation.test pcacheNN test modules. (CVS 6486)
FossilOrigin-Name: 310192cc0fb56f8ffaa8e742f5600f16956212e7
2009-04-10 18:21:29 +00:00
shane
80167bf080
Fix MSVC compiler warning in vdbeaux.c. (CVS 6485)
...
FossilOrigin-Name: d619465e31c2366b389fea6ee2ce6b1806738a0f
2009-04-10 15:42:36 +00:00
drh
01e61eecb3
Disable the select1-15 tests when locking_mode is EXCLUSIVE. Ticket #3771 . (CVS 6484)
...
FossilOrigin-Name: 88cefbb4a12ab7037f025141ddbe041ea82a6c61
2009-04-10 15:38:42 +00:00
danielk1977
d0f1958682
Changes to jrnlmode.test to account for in-memory temp databases. (CVS 6483)
...
FossilOrigin-Name: c31d4359ae056dca9e9de61ef8ceb683b92850e7
2009-04-10 15:02:43 +00:00
drh
73d34e92f4
Simplifications and additional comments on the sqlite3_get_table()
...
implementation. Changes to facilitate full branch test coverage. (CVS 6482)
FossilOrigin-Name: 57e3e6b3cb54e6626bee41a084c927ee264b6d03
2009-04-10 14:27:59 +00:00
danielk1977
f7590db099
Changes to ensure that when running in shared-cache mode with a non-threadsafe build, the correct busy-handler callback is always invoked. (CVS 6481)
...
FossilOrigin-Name: 683e4bd74783e6e3f6cf75f9582008c7b7e02a01
2009-04-10 12:55:16 +00:00
danielk1977
2a50ff0309
Always set BtShared.db when entering the BtShared mutex. Ticket #3793 . (CVS 6480)
...
FossilOrigin-Name: ed6620ba589ddbb6ca86f42a7652e3b019195647
2009-04-10 09:47:06 +00:00
drh
8c5d152b53
Force 8-byte alignment of sqlite3_value objects in the
...
sqlite3VdbeUnpackRecord() primitive. Ticket #3777 . (CVS 6479)
FossilOrigin-Name: 2cc68272b1f70701268075cfa82fa64bb2a8179d
2009-04-10 00:56:28 +00:00
drh
3c3cb6be73
Increase the version number to 3.6.13 in preparation for the next release. (CVS 6478)
...
FossilOrigin-Name: 9a09a47495d498a3372ead0eef5e3642a3ff30c2
2009-04-09 21:02:29 +00:00
chw
a5dc7f73f9
Provide dummy DWORD arguments to output parameters of GetDiskFreeSpace(A|W),
...
NULL causes access violations on Windows NT 4.0 (CVS 6477)
FossilOrigin-Name: 5350a6586cd6504a0724631e4ef46245832435f9
2009-04-09 14:27:06 +00:00
drh
0f5ea0b34c
Remove misuse detection from the deprecated sqlite3_transfer_bindings()
...
interface. The code was hard to test and was simply taking up space. (CVS 6476)
FossilOrigin-Name: 4cd829107cc9e94b092490aa821574492292b425
2009-04-09 14:02:44 +00:00
drh
bb77b753c5
Enhance sqlite3_shutdown() so that it automatically invokes
...
sqlite3_reset_auto_extension(). This is a harmless no-op if applications
are already calling sqlite3_reset_auto_extension() prior to sqlite3_shutdown().
And it prevents possible memory corruption if they do not. So it works
either way. Most of the changes are to the test cases. (CVS 6475)
FossilOrigin-Name: 0c41f7cff4f6ffb9321f6f6b6ef3e431b750d41a
2009-04-09 01:23:49 +00:00
drh
c6c7fd51c5
Simplify the implementation of the columnName() function in vdbeapi.c.
...
This is a code cleanup only - no behavior changes. (CVS 6474)
FossilOrigin-Name: 0628f5864f8cc035b41bbe644bd8ec8fb43c70ce
2009-04-08 23:05:28 +00:00
drh
2e79c3d51c
Add an assert() to the implementation of count(*) that checks the
...
correct operation of the sqlite3_aggregate_count() function. (CVS 6473)
FossilOrigin-Name: f322be3833c4a938ee7d9e4bcfd5decaca57db0b
2009-04-08 23:04:14 +00:00
drh
874ba04c73
Reconfigure the default case for the printf switch in order to improve
...
branch coverage. (CVS 6472)
FossilOrigin-Name: 3cc79162dbdbce9d08bb28942128780277101e0d
2009-04-08 16:10:04 +00:00
drh
bc6160b0d6
Remove a pair unnecessary conditions from printf.c. The "db" parameter is
...
now required for sqlite3MPrintf(). (CVS 6471)
FossilOrigin-Name: 6fe8b5d70247d9c6b70dd482db3990986be97e69
2009-04-08 15:45:31 +00:00
drh
12ffee8cb9
Minor refactoring of the expression-compaction logic for clarity of
...
presentation. New comments added. The EXPRDUP_DISTINCTSPAN flag is
removed as obsolete. (CVS 6470)
FossilOrigin-Name: 44ded2ea67374f187a111df69c3f51f866735400
2009-04-08 13:51:51 +00:00
drh
0a9aa2253c
Do not attempt to walk a TokenOnly or SpanOnly expression tree node.
...
Ticket #3791 . (CVS 6469)
FossilOrigin-Name: 8362d883248f00a8ec7294bf027fd19758aec5f2
2009-04-08 12:21:30 +00:00
drh
7e3ff5d84e
Add a comment to printf.c - no changes to code. (CVS 6468)
...
FossilOrigin-Name: ee5a4a0e595a7b916db7d55d30ddfda0a8d40d90
2009-04-08 11:49:42 +00:00