drh
a611040eea
Test cases and tuning of the new optimizer code. (CVS 2567)
...
FossilOrigin-Name: 4b02703dec71aa78e5f8d8cab5b950966a4c6abc
2005-07-28 20:51:19 +00:00
drh
3adc9cedb0
The new optimizer now passes all regression tests. (CVS 2566)
...
FossilOrigin-Name: a21212843359fb9fdbd60799ae50ad3566f4399a
2005-07-28 16:51:51 +00:00
drh
28c4cf42da
More work on the new optimizer. Fewer tests fail now. (CVS 2565)
...
FossilOrigin-Name: ee3a08e353f563c36e904479393fcb56f96ee975
2005-07-27 20:41:43 +00:00
drh
51147baa6d
A new optimizer that breaks a lot of tests. But none of them critically, I
...
think. Nevertheless, there is a lot of work ahead to stabilize the code. (CVS 2564)
FossilOrigin-Name: 86ce56ccea8297b1fba2b9ee53b5f1a3f228662f
2005-07-23 22:59:55 +00:00
drh
17a18f2f36
Store the total number of rows as part of the ANALYZE statistics. (CVS 2563)
...
FossilOrigin-Name: 868279c78e056d27b2d1bea81127fe689b2ce478
2005-07-23 14:52:12 +00:00
drh
497e446d76
The results of ANALYZE are now loaded into internal data structures where
...
they can be used. But they are not actually used yet. (CVS 2562)
FossilOrigin-Name: 1996bacfb97180965304e2a6d6784b6ecbbf8575
2005-07-23 03:18:40 +00:00
drh
e6e049694d
Full-coverage testing and documentation for the ANALYZE command. The
...
results of analysis are still not loaded or used, however. (CVS 2561)
FossilOrigin-Name: bd7583a5d63412785a9c5de54d25b509da241605
2005-07-23 02:17:03 +00:00
drh
ff2d5ea408
First code for the ANALYZE command. Mostly untested. The analysis is
...
not loaded into the symbol tables and is not used by the optimizer. (CVS 2560)
FossilOrigin-Name: a4886b114d2ccb3841d3d219f6b97f67745b13c2
2005-07-23 00:41:48 +00:00
drh
d00ada9a00
Clarify the meaning of the TEMP keyword on CREATE TABLE. (CVS 2559)
...
FossilOrigin-Name: 1a573619f558d1d67775d17aabb9d704f82ad1a8
2005-07-22 23:56:49 +00:00
drh
ed90e26313
Correct the documentation to show that sqlite3_column_text() returns
...
a NULL pointer (not an empty string) when the column value is NULL.
The same goes for sqlite3_column_blob(). Ticket #1334 . (CVS 2558)
FossilOrigin-Name: fd1e013a14710ed2ecabddedc0d110562cfdbfc2
2005-07-22 22:53:15 +00:00
drh
e23399fc9c
Begin adding code to support multiple IN constraints on the same index. (CVS 2557)
...
FossilOrigin-Name: 103f8ccb9013689a480766ebffbf570d4aa8bac5
2005-07-22 00:31:39 +00:00
drh
29dda4ae65
Split the OP_Integer opcode into OP_Integer and OP_Int64. This allows
...
comments to be added to OP_Integer. Cleanup in the optimizer. Allow
terms of the FROM clause to be reordered automatically. (CVS 2556)
FossilOrigin-Name: e2f822ac82d0a5a59de0b63cce65d4fd6c178ff1
2005-07-21 18:23:20 +00:00
drh
7ec764a29e
Add comments to test cases. Improvements to the query plan test variable. (CVS 2555)
...
FossilOrigin-Name: ef3a157f469d72cbd2f713f997598ddf47f340d2
2005-07-21 03:48:20 +00:00
drh
fe05af87f8
In where.c, split out the code that selects an index into a separate
...
subroutine. (CVS 2554)
FossilOrigin-Name: c30cbba9ead1b4d07f225b1e8a65d5d5230ea45d
2005-07-21 03:14:59 +00:00
drh
013972052e
Extra memory usage instrumentation added. (CVS 2553)
...
FossilOrigin-Name: ac669f56c0759a7e3eaa6f0018c8fb9d614e7d69
2005-07-20 14:31:53 +00:00
drh
e8b9727835
More refactoring in where.c. (CVS 2552)
...
FossilOrigin-Name: a35bd50af8961133adc66e40c38402e81a02bb56
2005-07-19 22:22:12 +00:00
drh
0fcef5e110
Refactoring of the query optimizer in advance of adding better optimization. (CVS 2551)
...
FossilOrigin-Name: 57c6bd3760163c174be4a2ece58f414e82b55938
2005-07-19 17:38:22 +00:00
drh
0aa74edd72
Allow an unlimited number of terms in the WHERE clause. The old limit was 100. (CVS 2550)
...
FossilOrigin-Name: ca69f36832d57775e73ac5cdbe0a32d7b759432b
2005-07-16 13:33:20 +00:00
drh
9042f395cc
Fix bugs in the new query plan instrumention logic. (CVS 2549)
...
FossilOrigin-Name: 578490c91331a386f84652db0b3bfd74c82046e1
2005-07-15 23:24:23 +00:00
drh
84bfda41db
Add test instrumentation that will be needed during the development of
...
forthcoming optimizer enhancements. (CVS 2548)
FossilOrigin-Name: dfd5fd77b0764853f847eeee3c1fe047d60fee7e
2005-07-15 13:05:21 +00:00
drh
4cfb644e5f
Add remark in the changelog that mentions 64-bit alignment fixes in 3.2.2. (CVS 2547)
...
FossilOrigin-Name: ead583cfad7c6ea84c3685d89f40104f4d33bc81
2005-07-09 23:11:22 +00:00
drh
c0f2a01926
Fix a comment error. No changes to code. Ticket #1320 . (CVS 2546)
...
FossilOrigin-Name: e050af70adcdac8f9c9d8cffd1658f7fb2ebd362
2005-07-09 02:39:40 +00:00
drh
e866fcb923
Use the internal sqlite3_snprintf function instead of sprintf to avoid
...
cross-platform incompatibilities. Ticket #1316 . (CVS 2545)
FossilOrigin-Name: 431999da7bf0079e0d514483b3bfd9f8471cba7d
2005-07-09 02:38:06 +00:00
drh
df3816974c
Patch to Makefile.in so that it works with OS X. Ticket #1292 . (CVS 2544)
...
FossilOrigin-Name: 0dfabca641371690027634213632c914ad6f2b8b
2005-07-09 02:23:24 +00:00
drh
a4afb65cb7
Make sure there is only one busy counter. Ticket #1315 . (CVS 2543)
...
FossilOrigin-Name: af2a0ba4a38abf208db1ff6f018cf756de2afd5b
2005-07-09 02:16:02 +00:00
drh
57dbd7b324
Allow the IN operator to take a list of arbitrary expressions on its
...
right-hand side. The expressions no longer need to be constant. The
current implementation seems to work but needs more testing and optimization. (CVS 2542)
FossilOrigin-Name: ba56478dd8bc2135749966ff55831fd497883781
2005-07-08 18:25:26 +00:00
drh
9170dd7e1c
Change the name of the OpenTemp opcode to OpenVirtual which is more
...
descriptive of what it does. (CVS 2541)
FossilOrigin-Name: 3bb9ce5f20d0a6bc19df31df9b8e82044c3e6004
2005-07-08 17:13:46 +00:00
drh
392e597c8a
Add the EP_OptOnly flag on expressions for WHERE clause
...
terms that are added by the optimizer but should not be coded. (CVS 2540)
FossilOrigin-Name: f4a66ed04dfd8714746b766b4859682ea18e328f
2005-07-08 14:14:22 +00:00
drh
70031fa396
Add the SQLITE_CASE_SENSITIVE_LIKE compile-time option. (CVS 2539)
...
FossilOrigin-Name: b72bff81f9937378417a0af0610d8558279b67a7
2005-07-08 13:53:21 +00:00
drh
a01f79df49
Replace OP_List with OP_Fifo. This is the first step toward allowing
...
recursive delete triggers and later foreign keys with cascading deletes. (CVS 2538)
FossilOrigin-Name: 94c120bb782fed53142317d1755e70c858930486
2005-07-08 13:07:59 +00:00
drh
9f18e8a0c4
Add infrastructure for the ANALYZE command. Does not yet actually
...
do anything. (CVS 2537)
FossilOrigin-Name: 05b6ac9a76fd5765c50e81588f8e71c59fe35ce4
2005-07-08 12:13:04 +00:00
drh
26d0e2a6da
Fix a quoting problem in the configure script. (CVS 2536)
...
FossilOrigin-Name: b34647a2ebec6f915f9914034e9370459873215e
2005-07-06 13:51:27 +00:00
drh
7bac700686
Fix typos in comments. No changes to code. (CVS 2535)
...
FossilOrigin-Name: d3b03495a46e79a9d82525a61bad99eef9469ad1
2005-07-01 11:38:44 +00:00
drh
eb55bd2fe9
Allow the DEFAULT value of a column to be obtained by calling a
...
function that has constant arguments, such as julianday('now'). (CVS 2534)
FossilOrigin-Name: d273766ef2442eb87971b07f9ecf5682c88298ee
2005-06-30 17:04:21 +00:00
drh
67ce73b466
Check for zero-byte allocations in sqlite3MallocRaw. (CVS 2533)
...
FossilOrigin-Name: 78cb8a9a17a29bb8d9ffb6298b25cc43f9cbfed9
2005-06-29 17:24:23 +00:00
drh
ba336867c4
Make sqlite3Malloc always return NULL when the number of bytes to allocate
...
is 0. (CVS 2532)
FossilOrigin-Name: 657d74ebc1d91c99e8ac6cd68fdac3864ebd8d71
2005-06-29 15:33:00 +00:00
drh
54f080e82c
Update SQL syntax documentation to describe the new CAST expressions. (CVS 2531)
...
FossilOrigin-Name: d5392866bfd6e06c6d072f649356050b82273a23
2005-06-26 20:00:46 +00:00
drh
d1e4733d07
Tcl interface uses Tcl_Objs to implement user-defined functions, thus allowing
...
BLOB values to be transferred correctly. Ticket #1304 . (CVS 2530)
FossilOrigin-Name: 514aaab3f99637ebb8b6e352f4e29738102579b4
2005-06-26 17:55:33 +00:00
drh
8a15132904
Documentation fixes. Ticket #1306 . (CVS 2529)
...
FossilOrigin-Name: 3dcdb7942ea9a9e5d708a198ba5183103d5075d9
2005-06-25 19:42:37 +00:00
drh
df0bddaef3
The TCL interface binds variables as BLOB only if they have a bytearray
...
representation but no text representation. Ticket #1287 . (CVS 2528)
FossilOrigin-Name: 8c99dca60aebee0ec5de9ed11350de864bc76584
2005-06-25 19:31:48 +00:00
drh
487e262f44
Remove the blob(), text() and numeric() functions added in (2524) and
...
replace them with the standard CAST operator.
Ticket #1287 . (CVS 2527)
FossilOrigin-Name: 17631785f9ee8ab280c82677eb53886912e085bc
2005-06-25 18:42:14 +00:00
drh
7f057c9166
NULL values in a row of a unique index cause the row to be distinct.
...
Ticket #1301 . More testing and optimization needs to be done on this
before closing the ticket. (CVS 2526)
FossilOrigin-Name: 06a71b162b032fc5b56d18919a784d4ee94dde7c
2005-06-24 03:53:06 +00:00
drh
2f47149691
Make sure the String8 opcode always has a non-null P3 argument in
...
the foreign_key_list pragma. Ticket #1297 . (CVS 2525)
FossilOrigin-Name: bcf62dc7a1e8e7a3180138cf9b8944eb8fbd5490
2005-06-23 03:15:07 +00:00
drh
5708d2deac
Add built-in functions numeric(), text(), and blob() that coerce types.
...
Ticket #1287 . (CVS 2524)
FossilOrigin-Name: affb0fa2e8c5ff497838ba3c2994cdb1f6f50c68
2005-06-22 10:53:59 +00:00
drh
288d37f1b4
Allow parameters to be introduced by characters ':', '$' and '#'. This
...
is an experimental change. (CVS 2523)
FossilOrigin-Name: f3427a139c3bd4faf9134ec6290b3eb829c0a19f
2005-06-22 08:48:06 +00:00
drh
edef8fcd73
Fix a bug in an assert found while investigating ticket #1287 but otherwise
...
unrelated to that problem. (CVS 2522)
FossilOrigin-Name: 60f752ed1817e6710c13c2ce393c3bf51dae76ad
2005-06-22 02:36:37 +00:00
drh
13aebc66f2
Change the documentation to explain that a database handle can only be
...
used in the same thread in which it was created. Ticket #1272 . (CVS 2521)
FossilOrigin-Name: 59c95731f70ed9b9e135584f62d0a2b0f1a3bb96
2005-06-16 19:48:39 +00:00
drh
cf5f58fa3e
Fix the THREADSAFE macro in Makefile.in. We really need to rework the
...
whole autoconf build system.... (CVS 2520)
FossilOrigin-Name: 98a4de76e0593ef1d1d3e8b785d420cd554a08e8
2005-06-16 18:47:38 +00:00
drh
bf8f1b3460
Change to Makefile.in to fix a problem with the Borland linker.
...
Ticket #1291 . (CVS 2519)
FossilOrigin-Name: bc25397735c1485e3533507bed507250ea07534a
2005-06-16 16:51:15 +00:00
drh
6eb8577cae
Fix to the "make doc" makefile target. Ticket #1289 . (CVS 2518)
...
FossilOrigin-Name: 4713b1e1040f2e0645fa593638e392df44b5bfc1
2005-06-15 18:07:39 +00:00