drh
1590d10bc9
Add btree-page decoding logic to showwal.c. Commands of the form:
...
"showwal $FILE 123bmc" show the content of the btree page in frame
123. "b" means decode the btree. "c" means show cell content.
"m" means give a map of the btree page.
FossilOrigin-Name: 93b159da5d2570946fdcd7da120bf7eb82b840f3
2013-01-25 15:59:55 +00:00
drh
03c41c0bc9
Further improvements to showwal.c: Reset the checksum after each frame so that
...
only individual checksum failures are shown. And only show failures, not
correct checksums.
FossilOrigin-Name: 4e2bf57549a8d50fc0993386c724eb4a2b35c9fe
2013-01-25 15:31:44 +00:00
drh
d63ce044d1
Enhance the "showwal" utility program to show checksum failures on frames.
...
FossilOrigin-Name: a7f6d19816cbfc50060a9d1c0c402cdd23bd16de
2013-01-25 15:09:41 +00:00
drh
bc46f02c5d
Improved parsing of the arguments to the ".backup" command in the
...
command-line shell.
FossilOrigin-Name: f1127e87b90c7ba049404ec68cb4e99009c22185
2013-01-23 18:53:23 +00:00
drh
25fe97ae88
Fix a double-free() call that can occur
...
when SQLITE_ENABLE_TREE_EXPLAIN is defined.
FossilOrigin-Name: 5bfb5967d70433bf41d39b57506b7ec167a1b6a0
2013-01-23 18:44:22 +00:00
drh
afe1dd84af
Fix a typo in a comment in the test_regexp.c test file.
...
FossilOrigin-Name: 68346af70bc43baf791227a381e54f9aca802c72
2013-01-20 00:18:49 +00:00
drh
b064dc33bc
The \xXX escape in the test_regexp.c must be followed by exactly two hex
...
digits.
FossilOrigin-Name: 82957495aa0729468a020c2a0a45ed60019b6e07
2013-01-18 03:35:14 +00:00
drh
f218ee2dd4
Enhance the query planner to exploit transitivity of join constraints.
...
FossilOrigin-Name: 38852f158ab20bb4d7b264af987ec1538052bec3
2013-01-17 17:20:49 +00:00
drh
28fc473ce6
Improved error messages on the RTREE virtual table. Make the "fs" virtual
...
table used for testing available on windows.
FossilOrigin-Name: c0b90d75a86b01f7fafec755cbe046c14d725341
2013-01-17 17:05:28 +00:00
drh
eb5bc9261c
Add the ability to disable transitive constraints using the
...
sqlite3_test_control(SQLITE_TESTCTRL_OPTIMIZATIONS) interface.
FossilOrigin-Name: 593d67c8b0908daf7a70b2a310ed85515d384cbf
2013-01-17 16:43:33 +00:00
drh
63db0392ae
Avoid unnecessary collating sequence and affinity restrictions on the use
...
of transitivity. Add test cases to show that the restrictions are not
needed.
FossilOrigin-Name: 56549f45666b53876012df5c2bdf813474e10925
2013-01-17 16:18:55 +00:00
drh
738fc79dcf
Make more aggressive use of transitivity in optimizing queries. Add a test
...
case.
FossilOrigin-Name: d96762841a461e192fb2f317d684d000376350dd
2013-01-17 15:05:17 +00:00
mistachkin
806c00666f
Enhance RTree virtual table creation error messages that involve the getNodeSize() function.
...
FossilOrigin-Name: 652233d646236d3fbca629813b20d075f00f3ed6
2013-01-17 03:18:38 +00:00
mistachkin
413c63ba81
Make the 'fs' virtual table module portable to Windows.
...
FossilOrigin-Name: dd473cae5b6ea02b73168b30365f0af5556ee24d
2013-01-17 03:18:14 +00:00
drh
58eb1c0af1
Improved comments explaining the operation of the findTerm() utility routine
...
in where.c. Increase the maximum number of levels of transitivity from 4
to 11.
FossilOrigin-Name: fe152f8b048c9a18f99fa6096ff0e68dd630c318
2013-01-17 00:08:42 +00:00
drh
7fe18b4105
Fix the activate_extensions pragma so that it is a no-op when the required
...
argument is omitted.
FossilOrigin-Name: 6195ebd83323eaad92a0aa095cce1094bf8e2ba6
2013-01-16 20:33:02 +00:00
drh
7a5bcc0f08
Enhance the query planner to exploit transitivity of join constraints in
...
a multi-way join.
FossilOrigin-Name: 13171eb5dc19733276fbfd5515d75b70a9f5f5d7
2013-01-16 17:08:58 +00:00
drh
3bd5ab8638
Improvements to query planning for joins: Avoid unnecessary calls to
...
"optimal scan" checks in cases where table reordering is not possible.
Make sure optimal scan checks are carried out for CROSS JOINs and LEFT
JOINs.
FossilOrigin-Name: d5ebb7877885839e93eee3b322624d4c4215c1c4
2013-01-16 00:46:09 +00:00
drh
ea84a65e4e
Fix a missing word in a comment. Enhance the "wheretrace" debugging output
...
to show the estimated cost of each table option while planning the join order.
FossilOrigin-Name: ac4e119a87497f2e422ff1cb711112ed8594bfa9
2013-01-15 18:49:07 +00:00
drh
5d5cf01ee0
Clarification to a comment in where.c. No code changes.
...
FossilOrigin-Name: 04507c176330a06b09dcafa35ec0ca7498f5ace7
2013-01-15 16:15:28 +00:00
dan
9f5ff37120
Add another test for the fts4 content= option.
...
FossilOrigin-Name: 7e6007a0002f6989bd489abeba8db52acb4a6854
2013-01-11 09:58:54 +00:00
dan
9fe27de651
Check in an extra test for the fts4 "content=" option. No code changes.
...
FossilOrigin-Name: 0d0e5ab8f16c890629ec1120c78168ef6be9e419
2013-01-09 15:44:23 +00:00
drh
29a8bf8e94
Fix an over-aggressive optimization of ORDER BY on a three-way join where the
...
second table is UNIQUE and the ORDER BY occurs on the third table.
Ticket [598f5f7596b0557].
FossilOrigin-Name: 5774f2175ce621dfc4b6b93f7ee13fd66f3ec2b9
2013-01-09 11:31:17 +00:00
drh
97a3e09f4e
Fix the date on the new orderby3.test test case.
...
FossilOrigin-Name: 7249bfc2ca57624d73f2be0197a9807c58463c48
2013-01-09 11:27:48 +00:00
drh
be93ca3561
Add a test case that demonstrates ticket [956e4d7f8958e7065f].
...
FossilOrigin-Name: 598f5f7596b0557b22f31e6643a59ff9096fd023
2013-01-09 11:25:27 +00:00
drh
ddd1fc7283
Do not raise an error if an unknown SQL function is found in a CHECK
...
constraint while parsing the schema of an existing database.
FossilOrigin-Name: cda790280a52d65f98a45bacb9123367b159ac7c
2013-01-08 12:48:10 +00:00
drh
aa5df79d32
More bug fixes to the test_regexp.c module. Bring test_regexp.c into alignment
...
with the regexp.c file in the Fossil sources.
FossilOrigin-Name: 7695b88fe0d73fd0a36fb7d8f95350b80615a89e
2013-01-05 17:17:21 +00:00
mistachkin
a8e97da9ae
Remove superfluous text from a comment.
...
FossilOrigin-Name: e9ac5339603766c120c775bda8ae816d0ccb1503
2013-01-04 22:26:47 +00:00
drh
e1186ab260
Do not use umask() since it change the umask for the entire process, not just
...
the thread using SQLite. Make whatever permission changes are needed using
fchmod() after the file is created, instead.
FossilOrigin-Name: 6c4c2b7dbadedac384d380efd54f12f6ccbf4ca9
2013-01-04 20:45:13 +00:00
drh
e454f3d6f8
Fix an out-of-order local variable declaration in test_regexp.c.
...
FossilOrigin-Name: 8285b15a058811a9a8b452837f52e6a065868115
2013-01-04 19:22:33 +00:00
drh
6578dd67fa
Fix the zInit[] optimization of test_regexp.c when the initial string
...
contains 3-byte UTF8 characters.
FossilOrigin-Name: 357231ec970adb5dfcdaf9665499141004cb1198
2013-01-04 14:06:24 +00:00
drh
26de1e9956
Bring back test_regexp changes that were made when porting to Fossil. Also
...
fix some bugs that were introduced by the Fossil port.
FossilOrigin-Name: 45c158b1a015e0295244982e7a61ecc55cca8436
2013-01-03 19:34:46 +00:00
drh
953bf725b4
Improvements to column name resolution in queries with parenthesized FROM
...
clauses. Also includes a fix for ticket [beba9cae6345a3].
FossilOrigin-Name: 99127a669c49f82918853091c9c5b7db5ad73cba
2013-01-03 18:07:37 +00:00
drh
38b384a032
Further corner-case fixes to the name resolution logic.
...
FossilOrigin-Name: 20730bad7082b559a65e8cfedb31b6afca50df58
2013-01-03 17:34:28 +00:00
drh
c75e09c761
Remove an incorrect assert() statement (ticket [beba9cae6345a]). Fix other
...
minor problems in the name resolution logic.
FossilOrigin-Name: afe96a118c8a9627819ba5960aa83a607e734087
2013-01-03 16:54:20 +00:00
drh
3e3f1a5b49
Now supports result sets of the form "TABLE.*" with nested FROM clauses.
...
FossilOrigin-Name: 4cf5ed7ea198abc32f8118e79490e77f847f08c1
2013-01-03 00:45:56 +00:00
drh
fb7773276b
When resolving result-set name collisions, make them x:1, x:2, x:3, etc.
...
instead of x:1, x:1:1, x:1;1;1.
FossilOrigin-Name: ef01e30456670e6b1bc67fe41ec27e52c182efaf
2013-01-02 14:57:32 +00:00
drh
d530ee64ca
Merge all the latest trunk changes into the name-resolution enhancement branch.
...
FossilOrigin-Name: a5f4d2b641f7fafb6f1a312efeffb10f213d2d0a
2013-01-02 12:29:05 +00:00
drh
b376daeb67
Reduce the size of the Index object (by 8 bytes on x64).
...
FossilOrigin-Name: 5a2ac944839ec0c5b9147a035c6cbf0935f3d202
2013-01-01 14:01:28 +00:00
drh
384b7fe221
Enhance the table_info pragma so that the pk column shows the order of the
...
columns in a multi-column primary key.
FossilOrigin-Name: 3076a89015071e9b40e728bd55160e3a6ed98820
2013-01-01 13:55:31 +00:00
drh
25846af3be
More test cases for the REGEXP operator. Fix minor bugs uncovered by these
...
test cases.
FossilOrigin-Name: a611c75061c8e821cb266fcb09759100d4a646b0
2012-12-31 20:16:35 +00:00
drh
14172743a2
Add the test_regexp.c module containing a cross-platform implementation
...
of the REGEXP operator.
FossilOrigin-Name: 46c8c01b751c1ea7fc02cc35e3b5bb99dbe46c4b
2012-12-31 19:18:38 +00:00
dan
5cc3bea44a
Ensure the database size field in the db header of a backup database is set correctly. Fix for [0cfd98ee201].
...
FossilOrigin-Name: ff6857b6ed6a46671006b75157d8cf853a816ef9
2012-12-21 16:15:35 +00:00
drh
b2bb176b70
Add PRAGMA foreign_key_check. Name the child and parent tables as part of
...
a "foreign key mismatch" error.
FossilOrigin-Name: e408dc9080594dc464b8763dece6b365772c6105
2012-12-20 01:15:20 +00:00
drh
83e0dba311
Remove an unreachable branch operation from the foreign_key_check pragma.
...
FossilOrigin-Name: b5a8f3160b5dc1397312add3c5410e7e0a12b75e
2012-12-20 00:32:49 +00:00
drh
b290294c46
Fix the segfault problem of ticket [a7b7803e8d1e869] which involved
...
the use of "AS" named result columns as logical terms of the WHERE clause.
FossilOrigin-Name: b3c9e8f81275fe07272c01f66b16c16417f034af
2012-12-19 16:58:02 +00:00
drh
0e8578fc9e
A couple more test cases.
...
FossilOrigin-Name: 0ae142178d5ff874a4df58d699adad3a41e3d8d2
2012-12-19 16:32:33 +00:00
drh
11c6387d38
Additional test cases involving the use of a result column specified by its
...
"AS" name as a logical term of the WHERE clause.
Ticket [a7b7803e8d1e8699cd].
FossilOrigin-Name: d7cc364e87870746c231b97b648658bf343945fa
2012-12-19 16:25:55 +00:00
drh
7ee751d241
Proposed fix for ticket [a7b7803e8d1e8699cd8a].
...
FossilOrigin-Name: 3d0e00c731c39af91bad74c6d74853375bac356e
2012-12-19 15:53:51 +00:00
drh
0dde4739f3
Add commentary to the ExprList object to explain how zSpan is overloaded.
...
Add test cases for the new name resolution functionality.
FossilOrigin-Name: 3e7d84db7861911c9b2c7dcdabe0b213bf483d79
2012-12-19 13:41:03 +00:00