drh
547caad4c4
Fix a performance regression (relative to version 3.6.23.1) caused by the
...
query planner taking into account non-indexable WHERE clause terms to select
the outermost join loops when it should be selecting tables for the outermost
loop that do not benefit from being in an inner loop.
FossilOrigin-Name: ece641eb8951c6314cedbdb3243f91cb199c3239
2010-10-04 23:55:50 +00:00
dan
b4eb82f6cf
Fix a couple of test script problems.
...
FossilOrigin-Name: dd106901407a4d98644dd614e16e9fdc10cd7423
2010-10-04 16:06:11 +00:00
dan
072734ec6c
Fix memsubsys1.test so that it works with TEMP_STORE>=2.
...
FossilOrigin-Name: 8ad88ee0c1145eb9f92267c31d7d787739718716
2010-10-04 15:47:30 +00:00
shaneh
4b03f21e4f
Warning cleanup from MSVC.
...
FossilOrigin-Name: cde62657d6f410a3d6899cd7b4000d276fe3c813
2010-10-04 14:11:54 +00:00
dan
55f1da093c
Fix broken evidence marks in e_expr.test.
...
FossilOrigin-Name: 37ff94cec8a50d42c18f2253541bbcb0a6dfd0c3
2010-10-04 11:01:17 +00:00
dan
7b755196eb
Add tests for table-constraints to e_createtable.test.
...
FossilOrigin-Name: 70f511872e938e096537fb0ca097ccdd3b33becc
2010-10-04 10:45:32 +00:00
dan
57f7f4b815
Add tests for CHECK and UNIQUE constraints to e_createtable.test.
...
FossilOrigin-Name: fb8db5581d884e5eb380480bc08d2106bfb6a9fc
2010-10-01 19:04:37 +00:00
drh
aa1cf5abc0
Add #ifndef USE_SYSTEM_SQLITE...#endif around the bundled SQLite library
...
for the TCL bindings.
FossilOrigin-Name: 8d85584a4e0761afa0ff1e9e69036f1a66ab22dc
2010-10-01 17:23:46 +00:00
drh
4f788ec41a
Updates to the showjournal.c utility in order to bring it up to version 3.
...
FossilOrigin-Name: fa97d895463be6fd963c29b4525c2664193e36ec
2010-10-01 13:28:43 +00:00
drh
d66ff0aeaa
Merge experimental into trunk: Refactor the text-to-numeric conversion
...
routines to work without zero-terminators and in UTF16 as well as UTF8.
Avoid invalidating strings with doing affinity conversions.
FossilOrigin-Name: 07ee080ec4527fd2191f41231208da66b3f6b955
2010-09-30 20:33:40 +00:00
shaneh
a03a0563c1
Fix some matching issues in enc4.test affected by TCL versions.
...
FossilOrigin-Name: dd6d61a967e3c0d98b78987f6f7bb9bdf090174e
2010-09-30 20:11:24 +00:00
dan
a3f5108c1f
Add further tests to e_createtable.test.
...
FossilOrigin-Name: 0a4528d629018eae0b0f3e173ebda666c2e2d502
2010-09-30 18:43:14 +00:00
shaneh
0246dced24
Fix memory leak in enc4.test script.
...
FossilOrigin-Name: bfc294ae437e02984c08d47bed7b7fb49b71a1c2
2010-09-30 18:30:17 +00:00
shaneh
9fc47111f0
Additional encoding tests.
...
FossilOrigin-Name: c7f9363617a66ee43a87816ad42aaf2b75f13ea2
2010-09-30 18:19:44 +00:00
drh
6b87056570
Remove unnecessary calls to memAboutToChange() in vdbe.c. An affinity
...
change no longer invalidates shallow copies.
FossilOrigin-Name: afb0fd0b0421c42630c5e6e5e8811aca634bc9d0
2010-09-30 18:12:01 +00:00
drh
025586a259
Do correct affinity transformations on floating point values which have
...
a decimal point at the beginning or end of the mantissa.
Ticket [3998683a16a7076e08f5].
FossilOrigin-Name: ca154f97a590745539b2cbfd77eb319fd7392a40
2010-09-30 17:33:11 +00:00
shaneh
5f1d6b616e
Changes to remove sqlite3FitsIn64Bits().
...
FossilOrigin-Name: 43fef1cab6315f837782ea601d5a2aeb9843ab3c
2010-09-30 16:51:25 +00:00
drh
9351862b6d
Fix the handling of default values for ALTER TABLE ADD COLUMN columns so
...
that is able to deal with negative numbers, including large negative numbers.
Ticket [8454a207b9fd2243c4]
FossilOrigin-Name: ce6cc16e3a151a0c67855abde1411422dfcc8828
2010-09-30 14:48:06 +00:00
drh
9339da1f22
Rework the text to numeric conversion routines so that they work with either
...
UTF8 or UTF16 and do not require a NULL terminator. This allowed text to
numeric conversion without reallocating the string.
FossilOrigin-Name: 14eed3a0e0a45c6f2904a3a134aa27c159916f7b
2010-09-30 00:50:49 +00:00
dan
fac2bd452a
Add test cases to e_createtable.test.
...
FossilOrigin-Name: f34dc54d46d05adf1f52db51442195b3285a26b9
2010-09-29 18:26:24 +00:00
dan
8f1a8afd16
Add tests for "CREATE TABLE ... AS SELECT ..." statements to e_createtable.test.
...
FossilOrigin-Name: 1ef0dc9328f47506cb2dcd142150e96cb4755216
2010-09-29 23:09:23 +00:00
drh
65bafa6570
Updates to sqlite3_finalize() documentation.
...
FossilOrigin-Name: 8c5994cf8e5ae0c1cb8f655ac83e52e668e75c86
2010-09-29 01:54:00 +00:00
drh
8a8a0d1d60
Simplify the test that determines if the name of a new table collides with
...
a prior index name.
FossilOrigin-Name: 3f30f00a384d23582f3fe5e68add7fb7d7834926
2010-09-28 20:26:44 +00:00
dan
39f1bcb1df
Fix some problems that can occur if a trigger has the same name as another database object.
...
FossilOrigin-Name: 655991ec8a781d67d69fc353853403b9a811acf2
2010-09-29 07:16:46 +00:00
drh
c98a4c6db7
Merge accidental fork.
...
FossilOrigin-Name: 33c8b9c710db6a1a987c11ab6f3a6bc120257ce9
2010-09-28 17:37:44 +00:00
dan
a16d106037
Add tests to e_createtable.test. Allow a table to be created if there is an index of the same name in a different attached database.
...
FossilOrigin-Name: 6251e587403eed822b9011ed25a3a807e8fa2a6f
2010-09-28 17:37:28 +00:00
drh
f39d29c0bd
Get ANALYZE working again with -DSQLITE_ENABLE_STAT2 and virtual tables.
...
FossilOrigin-Name: b7a26427afc43c9bbdf365b775379eb57187bc97
2010-09-28 17:34:46 +00:00
dan
72c5ea3279
Disallow statements of the form "CREATE TEMP TABLE main.t1 ...".
...
FossilOrigin-Name: dd1b34bab7edaaedd985882f6e16b16940a46d38
2010-09-28 15:55:47 +00:00
drh
0f0b13ade9
Updates to e_vacuum.test so that it works when SQLITE_DEFAULT_AUTOVACUUM=1 is
...
set.
FossilOrigin-Name: 890816c52d688f01be9a8abd8b4c9375eed4de7e
2010-09-28 15:25:20 +00:00
drh
6ac78a0d9f
Fix several harmless compiler warnings.
...
FossilOrigin-Name: 7be03ecc04235420e54fed8a88742243278de160
2010-09-28 14:26:36 +00:00
dan
e2248da1d0
Fix an incompatibility with OMIT_VIRTUALTABLE in e_vacuum.test.
...
FossilOrigin-Name: 7d0b881a6294b7f13069b2e4b69c0c0d46606505
2010-09-28 14:11:25 +00:00
drh
3063d9ab1d
Updates to the sqlite3_get_table() documentation.
...
FossilOrigin-Name: c7aa238c3797d8f735739a182d18aeada089def2
2010-09-28 13:12:50 +00:00
drh
a63f6a9de7
Update the version number to 3.7.3 in preparation for the next release.
...
FossilOrigin-Name: 88108fff672b6012ffe87ba4b1efe6d5a07037d1
2010-09-28 07:24:49 +00:00
drh
f78f18e4e5
Merge fixes for ticket [b351d95f9cd5ef17e9d9dbae18f5ca8611190001] into
...
the trunk.
FossilOrigin-Name: 1f7ef0af8d9e41cd41f9046d198132eabd89ab18
2010-09-28 07:14:03 +00:00
drh
d81a142bfa
Replace some unreachable branch instructions with assert() statements.
...
FossilOrigin-Name: 88b84bf18a4b27626f8a0a2d313706ddd4f13749
2010-09-28 07:11:24 +00:00
drh
746fd9cc58
Tweaks to help facilitate structural test coverage.
...
FossilOrigin-Name: ff49a5f00b3aa83bdacc95a32d60527c740a6c09
2010-09-28 06:00:47 +00:00
drh
8b1db07f4e
Test case and fix for the specific failure of ticket [b351d95f9cd5ef17e9d9dbae].
...
FossilOrigin-Name: 57789cfe674dbbd4d5e4663774d1e7c541f7bdc4
2010-09-28 04:14:03 +00:00
drh
7153d1fb6e
Use OP_Copy rather than OP_SCopy at one point in aggregate processing where
...
it is needed to avoid shallow-copy misuse.
FossilOrigin-Name: a5eefd5239bf5b4f9d0bdfb312f5b33c0a196178
2010-09-28 03:55:02 +00:00
drh
ebc16717fa
Continuing work toward detecting and fixing shallow-copy misuse.
...
FossilOrigin-Name: d0342f4bb9d25dd1dba3957778faa993fb9cc81c
2010-09-28 00:25:58 +00:00
drh
2b4ded993b
Add assert() statements that fail when a shallow copy is accessed after the
...
original has been modified. These assert() statements should detect the kinds
of subtle SCopy bugs such as caused the fault
in ticket [b351d95f9cd5ef17e9d9dbae18f].
FossilOrigin-Name: 8b8e1732e8410efd5f8e308c43abe521584e87a0
2010-09-27 21:09:31 +00:00
drh
7445ffe2da
Simplifications to the expression code generator. Remove about 80 lines of
...
older and obsolete code.
FossilOrigin-Name: 53f5cfe11516d0496c7760378b6305c3088d479f
2010-09-27 18:14:12 +00:00
drh
155640552b
Enhance the ANALYZE command so that it gathers statistics in the sqlite_stat1
...
table even for tables that are empty or have no indices.
FossilOrigin-Name: a7645d293801da64a7579737d0a8b48117af2e2c
2010-09-25 22:32:56 +00:00
dan
42825cd215
Add new file e_createtable.test.
...
FossilOrigin-Name: 20e16fef55c355a1d7e97d0c390769b941e83fdb
2010-09-25 17:29:57 +00:00
drh
e8b0c9b4ee
Do not call gethostuuid() on MacOS 10.4 and earlier, since it is not
...
supported there.
FossilOrigin-Name: 44deaaefeeb95827daeaf84aa5e205b456e75b40
2010-09-25 14:13:17 +00:00
dan
56f0571ff7
Add tests to file e_reindex.test.
...
FossilOrigin-Name: eec7dc9192c635335a4a9acc3669afd4b26f02d3
2010-09-25 07:51:58 +00:00
dan
e4c2d05429
Modify some evidence tags to match updated gifs.
...
FossilOrigin-Name: f44de500be5130d5ad800759acb76377eaa92367
2010-09-24 19:14:42 +00:00
dan
52c3dcd397
Merge experimental branch back into trunk.
...
FossilOrigin-Name: 83ecec5d158c48e2fb93b0111ade62f039613540
2010-09-24 18:08:01 +00:00
dan
5f90f52adb
Add new file e_vacuum.test. Move part of e_select.test into e_select2.test.
...
FossilOrigin-Name: 30801892c6036b8de2e26fc178389479c04b5dfa
2010-09-24 18:04:22 +00:00
dan
099d14707a
Add experimental branch disallowing VACUUM when there are one or more active SQL statements.
...
FossilOrigin-Name: c1ebcacd9b31239aee065c64c4b4596d56dc397f
2010-09-24 09:32:45 +00:00
dan
cc9352e9f2
Modify testable statement ids in a few test files to account for recent docsrc changes.
...
FossilOrigin-Name: 7893e525953da6c97eaea23fe94d26e1e635edea
2010-09-24 08:00:10 +00:00
dan
af7626f5fb
Add tests to e_delete.test.
...
FossilOrigin-Name: fab3b383bb2c4764a56811f22ff4c783441918e8
2010-09-23 18:47:36 +00:00
dan
b51d2fa88d
Further tests and changes to make the r-tree module more robust.
...
FossilOrigin-Name: 7ff3574b9c581b5e1f2b6f98028106c638e59bb7
2010-09-22 19:06:02 +00:00
dan
bd188afd4c
Add new file rtreeA.test, to test that the r-tree extension doesn't crash if it encounters a corrupt or inconsistent database.
...
FossilOrigin-Name: 68a305fd5ac917317fee2ef6670ac389a120e502
2010-09-22 14:19:53 +00:00
dan
90b1b3a346
Add new file e_delete.test.
...
FossilOrigin-Name: 14e8659e576258b64d67cb3f1222f173089d5127
2010-09-21 19:00:46 +00:00
dan
b04757adaf
Add tests to e_update.test.
...
FossilOrigin-Name: 528f71e29c5422af778dbae2c1dce3b0ee289750
2010-09-21 16:59:16 +00:00
dan
af1dcab2b7
Add test file e_update.test.
...
FossilOrigin-Name: 03985ed4a0677b1c37696c0725d26d241665bf4e
2010-09-20 19:17:53 +00:00
dan
d2db09068b
Changes to test scripts to work with SQLITE_TEMP_STORE=2.
...
FossilOrigin-Name: ba8ca9c9e29e022dec0048dd655c35d54d5ef129
2010-09-20 14:55:33 +00:00
dan
b59422ae01
Add further tests to e_insert.test.
...
FossilOrigin-Name: eb3d0d8bb78aa7132f842480bc88621b1573f19c
2010-09-20 14:05:51 +00:00
dan
a3680a7a61
Add a test case to verify that bug [313723c356] has been fixed.
...
FossilOrigin-Name: 4ea134a84c264b55cdb6f6f8e740b252278ce792
2010-09-20 08:47:01 +00:00
drh
92683f5462
Make sure the pager cache is cleared if there is any difficulty starting
...
a new read transaction in WAL mode. Ticket [313723c356483eff2a4c4bdd2c].
FossilOrigin-Name: e14ef0e8b4a27dbd58338214242eb3928404b176
2010-09-18 19:36:40 +00:00
dan
51f0698d6d
Add new test file e_insert.test.
...
FossilOrigin-Name: 8023a3091b32d304eaf7be41bb1d0bd33517e5f6
2010-09-18 19:00:12 +00:00
dan
96916f5680
Fix a couple of stale evidence marks in e_select.test.
...
FossilOrigin-Name: 14227724a81c31c6bb9381b210f8fabf4b1154fd
2010-09-18 15:15:02 +00:00
dan
1b89d5d9a4
Add tests to e_select.test.
...
FossilOrigin-Name: 0ee9e755719c45e6047f9f004030716029b886ca
2010-09-18 15:03:35 +00:00
drh
ff1290fc19
Clarifications to the sqlite3_auto_extension() documentation.
...
FossilOrigin-Name: ca96e0df29cad4a9c7395a0acf623d8a19cb4725
2010-09-17 22:39:07 +00:00
drh
17cbfae98c
Updates to the documentation for sqlite3_create_collation().
...
FossilOrigin-Name: 3df7715a7736867db34195aa8d98ba2e6f2f0b19
2010-09-17 19:45:20 +00:00
dan
f41627abbf
Add tests for some syntax diagrams in lang_select.html.
...
FossilOrigin-Name: 2254e93bd5f70af5d3b2021983e4b826e601ee8f
2010-09-17 19:04:18 +00:00
drh
9fe5b85d36
Remove additional occurrences of <ctype.h> from FTS2.
...
FossilOrigin-Name: ee52589c80a6d37dc8c7a86a0e3b531ec4dd8d45
2010-09-17 17:10:31 +00:00
dan
97f267e034
Add new test file fts3shared.test to test the previous change.
...
FossilOrigin-Name: a207f74408acb043aafd96b8e03807d8ae5d7f01
2010-09-17 16:01:09 +00:00
dan
8786f7f589
Have all FTS3 queries obtain a read or write table-lock at the shared-cache level before doing anything else.
...
FossilOrigin-Name: 018e82c775d0fb8c0d90cddf7a87c20c8c8172a9
2010-09-17 15:28:41 +00:00
drh
f2fcd0750b
Completely remove all trace of ctype.h from FTS2.
...
FossilOrigin-Name: 876845661a944ec1c841d1e2486d070efb76e5cd
2010-09-17 01:07:53 +00:00
drh
2fcc7bdb05
Fix a comment typo in memjournal.c
...
FossilOrigin-Name: 9b272ed46fc704cb818b71d18ae8ee73a752a881
2010-09-16 23:18:57 +00:00
drh
6c5cecb63a
Updates to the requirements on the sqlite3_create_function() family of
...
interfaces.
FossilOrigin-Name: f03c608993d1c37b45ba8e0a6a4e941bdcb57ffa
2010-09-16 19:49:22 +00:00
dan
201ed8a479
Add tests for ORDER BY, LIMIT and OFFSET clauses to e_select.test.
...
FossilOrigin-Name: 7c989db55cbe87dfb8659dcf534f72cdc2df3bc5
2010-09-16 18:51:09 +00:00
dan
782f51bf3f
Further tweaks related to deleting files from malloc_common.tcl.
...
FossilOrigin-Name: 3e649f80e2a1b2e098f6ca32994ba40157271e69
2010-09-16 16:16:07 +00:00
dan
5ac9a18ced
Fix a problem with the previous change to malloc_common.tcl.
...
FossilOrigin-Name: e07a33ea0fd50d56f2d00965c754e652c48f32fb
2010-09-16 15:58:12 +00:00
dan
d78fe8e380
Change code in malloc_common.tcl (test code) to retry a "file delete -force" if
...
it fails.
FossilOrigin-Name: ebfb04f00c839601d92d33b9c2305fc4ce869bbc
2010-09-16 15:23:07 +00:00
drh
ddbb6b48c9
Updates to the sqlite3_progress_handler() documentation.
...
FossilOrigin-Name: 78f659ee9bb60df3503998301b554fe81fa6bdd3
2010-09-15 23:41:24 +00:00
dan
eea831fa25
Add tests for ORDER BY clauses to e_select.test.
...
FossilOrigin-Name: 14f156632729d1a44ef234f39ff9df32db6b308a
2010-09-15 19:02:15 +00:00
drh
f82ccf6437
Added the sqlite3_soft_heap_limit64() interface. Deprecate the older
...
sqlite3_soft_heap_limit() interface.
FossilOrigin-Name: 82268a2c3d75431cd40de6ad09d398729de32a29
2010-09-15 17:54:31 +00:00
dan
2969a58790
Add trivial test case to make sure shared-cache mode does not automatically turn on exclusive-locking mode.
...
FossilOrigin-Name: a0ab3902f1431c962a5d034647ef3c6876dc0e75
2010-09-15 11:42:04 +00:00
dan
23fb1330ab
Further tests for compound SELECT statements.
...
FossilOrigin-Name: a0f01ebab9bd42fca9ce5d97f8cbf44afd803f4e
2010-09-14 18:56:52 +00:00
drh
a704400714
Clarify the documentation to better explain when an automatic re-prepare can
...
be induced by rebinding parameters. Add evidence marks to the automatic
re-prepare logic.
FossilOrigin-Name: 3e11f5155c5625ddf4300a9ef7e8bc20a190a752
2010-09-14 18:22:59 +00:00
dan
fa2a477226
Fix some test failures found running releasetest.tcl.
...
FossilOrigin-Name: 56a9ce7774a6f163a62684dd8d5357ce16a07de1
2010-09-14 10:53:45 +00:00
dan
4565682f75
Fix walmode.test so that all tests pass with SQLITE_TEMP_STORE=3.
...
FossilOrigin-Name: 6ba6e59a9d528fb1bdc530d48ab96a2de6e190d6
2010-09-13 19:03:38 +00:00
dan
135aae8ab5
Add tests for compound SELECT statements to e_select.test.
...
FossilOrigin-Name: 8b0b009f292e0b52bffb08662aef67d9465e5a0a
2010-09-13 18:58:33 +00:00
dan
1fab01ac8a
Fix a couple of test files so that they work with DEFAULT_AUTOVACUUM.
...
FossilOrigin-Name: 8cb39306f4bd9104c9d15d5ee98ec1252e798997
2010-09-13 14:38:19 +00:00
dan
d38bc1b4fa
Run the multi-threaded tests in test/threadtest3.c as part of releasetest.tcl. Remove the OMIT_BUILTIN_TEST symbol from the "Device-Two" configuration.
...
FossilOrigin-Name: 3f5406e3231fbe84659712c9383b3e04cc6c11a8
2010-09-13 12:15:36 +00:00
dan
1c22a1862e
Alter some configurations in releasetest.tcl. Print out the wall-clock time taken for each test after it is executed.
...
FossilOrigin-Name: a91c5af3b033e326b868c3e6782650f6fe055b49
2010-09-13 11:29:02 +00:00
dan
7c7a766a32
Add tests for "DISTINCT" and "ALL" to e_select.test.
...
FossilOrigin-Name: 43a99d9a88b1c3a6978e79ca21d49de6be2c9def
2010-09-11 17:37:52 +00:00
drh
39f67bebdd
Fix a couple of incorrect evidence marks on malloc().
...
FossilOrigin-Name: f9b5c5cb135f3d0bb2b64b4d3f8d77bbd8d2ae98
2010-09-11 16:25:42 +00:00
drh
71a1a0f485
Additional evidence marks on the malloc() implementation. Update the
...
documentation to explain that mallocs are not necessarily 8-byte aligned
if the SQLITE_4_BYTE_ALIGNED_MALLOC compile-time option is used.
FossilOrigin-Name: 42b4bf9e72501cf228b4086437c7660443933f74
2010-09-11 16:15:55 +00:00
drh
1567acf96a
Add assert() statements to demonstrate that memory allocations are always
...
aligned to an 8-byte boundary (unless SQLITE_4_BYTE_ALIGNED_MALLOC is defined).
FossilOrigin-Name: 305cc4e6c1164b1ede0c3177e3c0f9b8644df0f6
2010-09-11 15:54:53 +00:00
dan
d9e430e953
When building from the amalgamation with ENABLE_RTREE defined, do not try to include sqlite3rtree.h.
...
FossilOrigin-Name: 5b63e981f1bef26eae0da3144a08bdc54dc36709
2010-09-11 05:15:37 +00:00
drh
29f5fbda16
A further correction to the sqlite3_create_function() interface documentation.
...
FossilOrigin-Name: c65583dbc7203132010d223cce205f007a50c9ee
2010-09-10 20:23:10 +00:00
dan
e6a3838be1
Add tests to e_select.test.
...
FossilOrigin-Name: 3a051a76f7f116f9ba25fe4e41418b9f0c1401be
2010-09-10 19:18:00 +00:00
drh
c20207374d
Updates to the documentation on the sqlite3_create_function() family of
...
interfaces.
FossilOrigin-Name: 9d277e0b82ff8759369b43ee5f2e5628724a84bd
2010-09-10 16:38:30 +00:00
drh
ce2198c237
Make sure SQLite is running with MEMSTATUS enabled at the beginning of
...
every test script.
FossilOrigin-Name: 699953140511c14cbba499fad086187977476660
2010-09-10 13:22:59 +00:00
drh
9a1fb3569f
Make sure MEMSTATUS is enabled at the beginning of the memsubsys2.test script.
...
FossilOrigin-Name: c23b97219df43a870c6cb2aac84e54aaa5db4f3a
2010-09-09 23:42:34 +00:00
dan
59d29658e6
Add test cases to e_select.test.
...
FossilOrigin-Name: 5e73f7b2b77ba5e0670c512d9ef9eeb9bb654c27
2010-09-09 19:02:55 +00:00
drh
f759bb83d4
Further updates to the sqlite3_pcache_methods documentation, plus the addition
...
of a few evidence marks related to pcache.
FossilOrigin-Name: 34edb54bb03ad4e54f2e4de12d767e6fa8822ba4
2010-09-09 18:25:34 +00:00