Commit Graph

12 Commits

Author SHA1 Message Date
drh 083310dfcc Change the weighting of binary searches on tables to 1/10th the cost of a
search on an index.  Change the assumed reduction in search space from a
indexed range constraint from 1/3rd to 1/4th.  Do not let the estimated 
number of rows drop below 1.

FossilOrigin-Name: 4847c6cb71423248b186ab7842b97c83e2f5fefd
2011-01-28 01:57:41 +00:00
dan 4bc39fa188 Change the EXPLAIN QUERY PLAN output to use "USING INDEX" instead of "BY INDEX", and to use "SEARCH" instead of "SCAN" for loops that are not full-table scans.
FossilOrigin-Name: 6611b76b0296875fb9903b25dfaa783a9c12eaa1
2010-11-13 16:42:27 +00:00
dan acf1987d18 Fix a bug in the EXPLAIN QUERY PLAN code.
FossilOrigin-Name: 7ae068952fba4395b4aa437613a5ed2bd9ddf941
2010-11-11 11:43:01 +00:00
dan 47eb16d4ce Modifications to test cases to account for new EXPLAIN QUERY PLAN output.
FossilOrigin-Name: 30904ef8412348464e893e9e1551ef22cad24a3e
2010-11-11 10:36:25 +00:00
dan a975b59f94 Add tests to e_createtable.test.
FossilOrigin-Name: 38bec827f1a0603ad36d1dc1bc83430ae370df38
2010-10-08 16:09:43 +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
dan a3f5108c1f Add further tests to e_createtable.test.
FossilOrigin-Name: 0a4528d629018eae0b0f3e173ebda666c2e2d502
2010-09-30 18:43:14 +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
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
dan 42825cd215 Add new file e_createtable.test.
FossilOrigin-Name: 20e16fef55c355a1d7e97d0c390769b941e83fdb
2010-09-25 17:29:57 +00:00