drh
f47ce56c49
In the sqlite3_limit() interface, take out the feature where zero means
...
use the hard upper bound. If an application wants the hard upper bound,
it can set the limit to 0x7fffffff and the bound will be automatically
truncated. (CVS 4900)
FossilOrigin-Name: d6be1f495ec57158f7bcca3e32145a9a8fde723a
2008-03-20 18:00:49 +00:00
drh
b1a6c3c1cc
Reinstate test cases for the limit tests. The sqlite3_limit() API is now
...
tested and working. (CVS 4899)
FossilOrigin-Name: 4c4be4c3c8aae97f1d85442b25afba9f0b02c8b3
2008-03-20 16:30:17 +00:00
danielk1977
81a392f7d7
Do not run crash7.test as part of a quick test. (CVS 4898)
...
FossilOrigin-Name: 53b4a09040341a981b2f33399a1ddcee952ba3ef
2008-03-20 16:26:48 +00:00
drh
bb4957f858
Initial implementation of per-connection limits and the sqlite3_limit() API.
...
The sqllimits1.test script crashes. SQLITE_LIMIT_PAGE_COUNT and
SQLITE_LIMIT_VDBE_OP are currently ignored. (CVS 4897)
FossilOrigin-Name: 60c77882b2de9f6a45f8bd87c9c6a0cc613f8373
2008-03-20 14:03:29 +00:00
danielk1977
f653d78282
Allow a VACUUM operation to change the page-size in the same way as it can be used to change a database between auto-vacuum and normal mode. (CVS 4896)
...
FossilOrigin-Name: 871df0e7c36a88f175cfc63797745e52a1b1796b
2008-03-20 11:04:21 +00:00
vapier
f219f196f8
stick everything that sqlite links against into Libs.private (CVS 4895)
...
FossilOrigin-Name: 8b198617f572d35f04d119ba688e0f5c67f81144
2008-03-20 10:44:42 +00:00
danielk1977
67c007bf4b
Write the page-size into the first journal-header of each journal file. (CVS 4894)
...
FossilOrigin-Name: 79f573cc7be89b3dd5540c45ef132b5cedc98e9b
2008-03-20 04:45:49 +00:00
mlcreech
2379706c79
Make out-of-tree builds work as expected when using configure script (CVS 4893)
...
FossilOrigin-Name: e2d05ea3c3e4a11bc1c0cc4c4403a445b9c2b64d
2008-03-20 02:25:35 +00:00
drh
caa639f401
Fix the load-extension mechanism so that tests build with or without it.
...
This check-in also includes prototypes for the new sqlite3_limit()
interface, but no implementation. (CVS 4892)
FossilOrigin-Name: bee38c2dda50592fef5fedab01311d5486240b95
2008-03-20 00:32:20 +00:00
mlcreech
9323f76141
Fix build whether compiling with or without auto-extension enabled (CVS 4891)
...
FossilOrigin-Name: 7b9682c65f545b09d410173cf282f7c4f4438097
2008-03-19 23:52:34 +00:00
mlcreech
88ef0908b5
Don't wrongly look for the amalgamation in $(TOP) (CVS 4890)
...
FossilOrigin-Name: 41d6ca31acbc0bd8555e5487ba3b695db5c9a81a
2008-03-19 23:15:37 +00:00
drh
fa4a4b9159
Add a new interface, sqlite3_context_db_handle(), that returns the database
...
connection pointer for an application-defined function. (CVS 4889)
FossilOrigin-Name: 54c55cae556af5a16c0ce8be1a96d2932db80ad8
2008-03-19 21:45:51 +00:00
drh
f39d958829
Undefine the "isView" macro when compiling with SQLITE_OMIT_VIEW so that
...
the macro does not interfer with subsequent modules in the amalgamation. (CVS 4888)
FossilOrigin-Name: a42caa8f83ce19af1e569c4545ea8b2449152430
2008-03-19 20:42:13 +00:00
drh
8257f0c1da
Use the xCurrentTime method of the default VFS instead of stdlib time() to
...
get the current time when compiling with SQLITE_OMIT_DATETIME_FUNCS. (CVS 4887)
FossilOrigin-Name: 73fbac7cf7b61b23831f62b996fbdd358695b473
2008-03-19 20:18:27 +00:00
drh
e5dd20a6ac
Update the loadable extension module to include recently added interfaces. (CVS 4886)
...
FossilOrigin-Name: bf1cecede88d2a21eb4891a343f3c19bb5416263
2008-03-19 19:55:55 +00:00
drh
81cc3548c3
Initialize the MD5 SQL functions from test_func.c instead of using
...
conditional compilation in tclsqlite.c. (CVS 4885)
FossilOrigin-Name: 801a0e3c9972c1fc9f55a9c55cd0ff19fd79fa37
2008-03-19 19:01:21 +00:00
drh
da84ca8de9
Create the test_destructor16() test SQL function to enhance test coverage.
...
Prior to check-in (4883), the test_destructor() function was sufficient,
but we now need separate functions since the implementation is restricted
to using the published API. (CVS 4884)
FossilOrigin-Name: bb7218657f3b06d810ad710fe64e5c9984aa518c
2008-03-19 16:35:24 +00:00
drh
984bfaa4c7
Move SQL functions used for testing only out of func.c and into a new
...
test file named test_func.c. Use sqlite3_auto_extension() to make sure
the test functions appear in every database connection. (CVS 4883)
FossilOrigin-Name: e90c4cc8a89838161f218739bc821126e247498c
2008-03-19 16:08:53 +00:00
drh
2fa1868fb6
Add a new api sqlite3_randomness() for providing access to SQLite's
...
internal PRNG. Add sqlite3_test_control() verbs for controlling the PRNG. (CVS 4882)
FossilOrigin-Name: 15110ea02768bfe977a57eccd6b941a36ebd6b32
2008-03-19 14:15:34 +00:00
drh
345331507f
When a parse of the sqlite_master table fails, include the name of the
...
object being parsed as part of the error message. (CVS 4881)
FossilOrigin-Name: 57805b588f6b6d070918102a0ff096ade674279a
2008-03-19 13:03:33 +00:00
drh
bb8a279e11
Remove the dependency on the direct btree interface from as many test
...
scripts as is practical. Fix a bug in the output limiter of the
integrity_check pragma that came up while making this change. (CVS 4880)
FossilOrigin-Name: 24e769972eb6052b82dc94d20444c186a213e104
2008-03-19 00:21:30 +00:00
drh
aa28e1478a
Update the documentation to distinguish between protected and unprotected
...
sqlite3_value objects. (CVS 4879)
FossilOrigin-Name: 074ee55ffd1f0b7bb120a440d8bcf19e249ada96
2008-03-18 13:47:20 +00:00
drh
d19744f353
Test script changes that go with the coverage enhancements of the
...
previous check-in. (CVS 4878)
FossilOrigin-Name: f87ddf83a5d1340652f222972a7d75f4fdbe776b
2008-03-18 13:46:53 +00:00
drh
77db4c05ec
Minor test coverage enhancements. (CVS 4877)
...
FossilOrigin-Name: edd207b9a9df5d73ec34474a4e90fcb592f06cf1
2008-03-18 13:01:38 +00:00
drh
874c5d6a43
Fix a memory leak introduced by the previous bug fix. (CVS 4876)
...
FossilOrigin-Name: b9c5dce34985f7e6d1b6314ae8674f07d0bf518b
2008-03-18 00:54:22 +00:00
drh
5efaf07099
Add the ability to simulate out-of-memory errors when using the default
...
memory allocator, mem1.c. Fix a bug that this enhancement revealed. (CVS 4875)
FossilOrigin-Name: d55a5e1c11ef90534abd2e5f18d06dd4739ade70
2008-03-18 00:07:10 +00:00
drh
0e8ebe5168
Version 3.5.7 (CVS 4874)
...
FossilOrigin-Name: 9a6583d375a1b922e88eed888e54e51cbc85f400
2008-03-17 19:03:03 +00:00
drh
6c44ea48b8
Fix an uninitialized variable in the Prev and Next opcodes. (CVS 4873)
...
FossilOrigin-Name: fcf3d0a3d5d3a71155ab0aa5f533da72063d54f0
2008-03-17 17:18:37 +00:00
drh
a53b914086
Abandon the OR optimization following a memory allocation failure,
...
to avoid referencing uninitialized memory. (CVS 4872)
FossilOrigin-Name: 9d2afbb543e1493e1d9c2eb4329143bcb1ceca19
2008-03-17 17:08:33 +00:00
drh
280396906f
Detect the failure to zero-terminate a result string due to a malloc
...
failure. (CVS 4871)
FossilOrigin-Name: 57db14067ff7d519291bebe695dcf991a9462372
2008-03-17 16:54:01 +00:00
drh
7b12a521b9
Label test case bindxfer-1.9 as a misuse test case, since it is one. (CVS 4870)
...
FossilOrigin-Name: 7b99122632f467cd0c34ad1a91e18fee8833980b
2008-03-17 16:23:26 +00:00
drh
2a3c8ff815
Modify the tableapi.test script so that it works under windows. (CVS 4869)
...
FossilOrigin-Name: 89e06b4e083e7fd2c053c1cefc0063a5b772d7f8
2008-03-17 15:09:47 +00:00
drh
99b90c3fa9
Put the statement journal in the temp-file directory since that
...
directory is often on optimized storage such as RAM disk and because
unlike the main journal, the statement journal does not need to
be colocated with the database file. (CVS 4868)
FossilOrigin-Name: 72c40726932695a2cf5c593707d098c8fb6e8875
2008-03-17 13:50:58 +00:00
danielk1977
39359dc020
Return an error when an xBestIndex() method indicates that it intends to use the value of an unusable constraint. Related to #2998 . (CVS 4867)
...
FossilOrigin-Name: ffd470279540b1b8e3fdce6eb14001bae489b16d
2008-03-17 09:36:44 +00:00
drh
17fe6c1d32
Skip tests that require setting detailed unix permissions on files when
...
running on filesystems such as AFP that do not support that capability. (CVS 4866)
FossilOrigin-Name: 5589b9d395fb8267a124d56dd5d7987e57505e3d
2008-03-15 14:53:04 +00:00
drh
175cd71bab
Add tests to make sure the busy handler resets. (CVS 4865)
...
FossilOrigin-Name: 5e4df441815ed7d02e9ad8ee2e1c2f937ee675d7
2008-03-15 02:09:21 +00:00
drh
befdf83f58
Reset the busy callback iteration counter at the beginning of each
...
lock test loop. (CVS 4864)
FossilOrigin-Name: 66777f048195e4242905c40f790ed7360af7028b
2008-03-14 19:33:05 +00:00
drh
3099e1acab
Change an instance of intptr_t to sqlite3_intptr_t. (CVS 4863)
...
FossilOrigin-Name: 6db7186c304ed5e06afb207ce11ebc2a47e491b0
2008-03-14 19:17:54 +00:00
mlcreech
dda5b68cb3
Revise Bitvec struct sizing to prevent assertion failure on 64-bit systems (CVS 4862)
...
FossilOrigin-Name: a3c12dbe95c8fb93f5b9006bf5d2c5b933fc5e87
2008-03-14 13:02:08 +00:00
danielk1977
d5fe8d6c43
Fix a second race condition in lock4.test. (CVS 4861)
...
FossilOrigin-Name: e62858b9b8a12ecbad8037868d03469d27418377
2008-03-14 08:57:41 +00:00
mlcreech
969b2cd74a
Allow the testfixture to be built even when using the amalgamation (CVS 4860)
...
FossilOrigin-Name: 8a726e3731cd19cc52c6dab16d032d7237b7450b
2008-03-14 04:11:03 +00:00
mlcreech
17d0fa4986
One additional intptr_t conversion (in the same vein as check-in 4824) (CVS 4859)
...
FossilOrigin-Name: 2777ca788204c37ae5607f7acabe78f414255fa2
2008-03-13 23:34:38 +00:00
mlcreech
1428b37486
Apply patch for #2915 to add target extension for executables (CVS 4858)
...
FossilOrigin-Name: 63fc7b72078b1e12de39893dc8374a7e24703d2e
2008-03-13 23:28:22 +00:00
mlcreech
289234ce12
Specify installation lib in 'rpath' options for sqlite3 executable (CVS 4857)
...
FossilOrigin-Name: 5076d480337145f2e4b36798c6c13b9810f62721
2008-03-13 19:55:20 +00:00
mlcreech
eb6dc140d6
Add/move files in Makefile.in to bring it more in line with main.mk (CVS 4856)
...
FossilOrigin-Name: b57fc81c3d5f6c7091bdd37f8164887f990a5128
2008-03-13 18:28:03 +00:00
danielk1977
4ffb7b9a1d
Eliminate a race condition from lock4.test. (CVS 4855)
...
FossilOrigin-Name: 85585f11049c4c3278dc2732676b0caa44cf1e9d
2008-03-13 04:53:52 +00:00
danielk1977
b2b95d41a1
Do not segfault after a parse error in a sub-select in a statement of the form "DELETE WHERE ... IN(sub-select)". Ticket #2991 . (CVS 4854)
...
FossilOrigin-Name: 3f9f81e908aad6cdc0a16ec52f4ec46d89fd78bc
2008-03-12 10:39:00 +00:00
mlcreech
f3868117f9
If tclsh is not found, don't default to building the amalgamation (CVS 4853)
...
FossilOrigin-Name: cbc0167556bd0abd16eb24d1c840ecbc530fd854
2008-03-11 18:03:30 +00:00
drh
ce2da1f048
Increase the version number to 3.5.7 in anticipation of the next release. (CVS 4852)
...
FossilOrigin-Name: c85e97e4f0f02219b567e1ab2d4602c5680e7331
2008-03-11 15:41:14 +00:00
drh
747eff8a6f
Remove the #includes of stdlib.h and sys/types.h from sqliteInt.h since
...
they are never used and because they broke the build. (CVS 4851)
FossilOrigin-Name: 2668000fc8e23a98fb3e104474032d6c70eeee38
2008-03-10 16:17:59 +00:00