Remove the vfslog.c extension from the testfixture target in main.mk, as
that extension has no TCL bindings and is inaccessible.
file: [23d3660f]
check-in: [d71f8bbc]
user: drh
branch: trunk,
size: 36364

Eliminate the tool/addopcodes.tcl script. The purpose of that script was to
keep the number of parser codes below 256 in order to save parser table space.
But we have long since blown through that ceiling so the addopcodes.tcl script
was just needless complexity. There is no longer any reason to keep it around.
file: [5df91c21]
check-in: [d2728192]
user: drh
branch: trunk,
size: 36393

Add the "dbtotxt" utility program and the ability to read "dbtotxt" output
as a deserialized input database in the CLI, using the --hexdb option to
the ".open" command.
file: [cca1ecdd]
check-in: [e3bf1d3e]
user: drh
branch: trunk,
size: 35756

Enable sqlite3_deserialize() in the CLI. The --deserialize option associated
with opening a new database cause the database file to be read into memory
and accessed using the sqlite3_deserialize() API. This simplifies running
tests on a database without risk of modifying the file on disk.
file: [261a2292]
check-in: [5e0129ee]
user: drh
branch: trunk,
size: 35179

Add the new "explain" virtual table in ext/misc. Use this virtual table
for additional test cases for the optimization that avoids updating indexes
on expressions when none of the columns changed by the UPDATE are in the
expression.
file: [ff82d381]
check-in: [2404304c]
user: drh
branch: trunk,
size: 35138

Add the "atrc" test program to the Makefiles. Fix a typo in the instructions
in the header comment of the atrc program.
file: [bbd82ed4]
check-in: [2130a407]
user: drh
branch: alter-table-rename-column,
size: 35046

Add the ability to use bind parameters in the CLI. The new ".set KEY=VALUE"
dot-command works to set bindings. Or use the "-Dkey=value" command-line
option. Or use the built-in shell_bindings(k,v) virtual table to set,
delete, or changing bindings.
file: [fb46a40f]
check-in: [1f2944d1]
user: drh
branch: shell-bindings,
size: 34831

Add the sessionfuzz test program and data obtained from a week of running
AFL. Automatically run this test program on any "make test" on unix.
file: [63668484]
check-in: [ecaedfe5]
user: drh
branch: trunk,
size: 34761

Optimize calls to sqlite3_mprintf("%z...") so that they attempt to append
text onto the end of the existing memory allocation rather than reallocating
and copying.
file: [04969462]
check-in: [4bc8a48e]
user: drh
branch: trunk,
size: 34246

Fix main.mk so that testfixture can be built either from the amalgamation or
from individual source files. No changes to code.
file: [4d19895c]
check-in: [a8aea925]
user: dan
branch: trunk,
size: 34160

Modify the sqltclsh startup script to look for a properly formatted
SQLAR at the end of the executable. Fix the CLI so that it automatically
links against appendvfs and so that the --append command-line option works.
file: [7965d014]
check-in: [67c4a8c6]
user: drh
branch: trunk,
size: 34099

Add support for the "memdb" VFS and the sqlite3_memdb_ptr() and
sqlite3_memdb_config() interfaces, to enable an SQLite database to be
manipulated as an in-memory object.
file: [da996649]
check-in: [fb2ac2d2]
user: drh
branch: memdb,
size: 33666

Do not use the compress() and uncompress() functions in ext/misc/compress.c -
they are not quite compatible with the spec. Instead use new functions in
ext/misc/sqlar.c.
file: [f5f8e5e6]
check-in: [7652b3c2]
user: dan
branch: sqlar-shell-support,
size: 33087

Improved ability to generate stand-alone program using TCL and SQLite by
compiling with -DTCLSH_INIT_PROC=name to cause the TCL interpreter to be
initialized using procedure name(). Both sqlite3_analyzer and testfixture
are now built this way.
file: [a39528d9]
check-in: [d65d1f29]
user: drh
branch: trunk,
size: 31835

When compiling with SQLITE_TEST, extra options are available on the
"DB version" command for controlling the internal state of the SqliteDb
object, for testing purposes.
file: [9311f1d8]
check-in: [bf86478d]
user: drh
branch: tclsqlite-cleanup,
size: 31961

The src/shell.c file is now generated from src/shell.c.in, so remove shell.c
from version control and update the makefiles to build it automatically.
file: [3e671408]
check-in: [36acc0a9]
user: drh
branch: trunk,
size: 31708

Merge in all the trunk enhancements of the previous 7 months. The LIKE
optimization has stopped working when there is an ESCAPE - that problem will
be addressed in a subsequent check-in.
file: [018c64f8]
check-in: [8d2a1cca]
user: drh
branch: est_count_pragma,
size: 31627

Add the "mksourceid" program to the build process. That program changes
the SQLITE_SOURCE_ID if the source tree has been modified in any way.
file: [da75a052]
check-in: [d4c05e04]
user: drh
branch: mksourceid,
size: 31424

Build the "stmts" virtual table into the amalgamation. It is active only
when compiled using SQLITE_ENABLE_STMTSVTAB. That option is supplied to the
command-line shell.
file: [f92791b3]
check-in: [0ff057d8]
user: drh
branch: stmts-vtab,
size: 31223

Infrastructure for an extension C-library to implement sqlite3_db_dump() and
a corresponding "dbdump" command-line utility - both of which do the same
work as the ".dump" command of the CLI.
file: [9abb506e]
check-in: [74c5ace4]
user: drh
branch: dbdump,
size: 31053

Fix an error in the SQLITE_MAX_MEMORY implementation resulting from a bad
merge. Update the OSSFuzz interface so that it times out after running
the byte-code engine for 10 seconds.
file: [0ec10b60]
check-in: [f8560c60]
user: drh
branch: trunk,
size: 30896

Remove the test/dbselftest.c program. In its place, add the ".selftest"
command to the CLI. The new CLI version is .selftest is slightly different
in that it uses SHA3 hashing instead of SHA1, so the new is subtly
incompatible with the old.
file: [98f9e673]
check-in: [f4fcd46f]
user: drh
branch: trunk,
size: 30850

Fix the ossfuzz.c test module so that it does not segfault after a
"PRAGMA empty_result_callbacks=1;". Add the ossshell.c program for
simple command-line testing of ossfuzz.c.
file: [ec15a475]
check-in: [6f2d43ec]
user: drh
branch: trunk,
size: 30277

Add the experimental SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option.
When enabled, the "unknown function" error is suppressed for EXPLAIN and
a no-op function named "unknown()" is substituted. This facilitiates using
the command-line shell to analyze queries from applications that contain
many application-defined functions that are not normally available to the
shell.
file: [1883ecab]
check-in: [b7f30a9f]
user: drh
branch: trunk,
size: 29900

Change the name of the intarray() extension to carray() and give it an
optional third parameter that specifies the datatype as one of 'int32',
'int64', 'double', or 'char*'. 'int32' is the default.
file: [e9d66f1b]
check-in: [a204ba99]
user: drh
branch: prototype-int-array,
size: 29804

Add the CSV extension to the test fixture. Fix a memory leak in the CSV
extension. Add test cases for the CSV extension, including one that uses
a WITHOUT ROWID virtual table participating in the OR optimization.
file: [2b90646c]
check-in: [95f483e8]
user: drh
branch: without-rowid-vtab,
size: 29598

Enhance mptester so that it takes great care to delete its test database
prior to start-up, including checking the return code from unlink() and
retrying after a delay if unlink() fails. Hopefully this will clear
intermittant startup problems on Windows.
file: [791597b8]
check-in: [6ea84ec1]
user: drh
branch: trunk,
size: 28628

Add the new "snapshot-tarball" target to the unix makefiles, for building
a tarball similar to "amalgamation-tarball" but named by the SHA1 hash of
the current check-out rather than by the version number.
file: [aecd0ce0]
check-in: [4f360b2a]
user: drh
branch: trunk,
size: 28643

Add a utility program that looks for assert(), NEVER(), ALWAYS(), and
testcase() macros that have side-effects, and reports errors when they are
found. Also fix a bug that this utility detected as it was being tested.
file: [f51c0652]
check-in: [b0b4624f]
user: drh
branch: trunk,
size: 28334

Add a rule to main.mk to build the schemalint.tcl script into an executable. Similar to the way the sqlite3_analyzer executable is built.
file: [0aec7410]
check-in: [b8251065]
user: dan
branch: schemalint,
size: 28648

Change the parser to use the standard "lempar.c" template over in the tool/
folder rather than the customized "lempar.c" found in src/.
file: [ae99be5e]
check-in: [0a72991f]
user: drh
branch: parser-enhancements,
size: 28018

The top of an index equality loop normally starts with OP_SeekGE and OP_IdxGT.
This check-in adds a flag to OP_SeekGE such that it fails immediately if
the key is not equal, then jumps over the OP_IdxGT, saving a call to the key
comparison functions. Consider this check-in a proof-of-concept. It needs
improvement before going on trunk. Some tests fail, but only because they
new use fewer key comparisons than expected (which is a good thing!).
file: [9bc37f24]
check-in: [32e31b9b]
user: drh
branch: seekeq-experiment,
size: 27998

Update makefiles to remove all uses of "awk" - to make building SQLite easier
on Windows systems. The only requirements now are tclsh, a C compiler, and
common file utilities.
file: [47b879ad]
check-in: [4bd0d43d]
user: drh
branch: trunk,
size: 28002

Convert the tool/tostr.awk script into tool/tostr.tcl. Remove two obsolete
Makefiles. Purge NAWK from the configure script and from unix makefiles.
There are still two uses of NAWK in Makefile.msc.
file: [fdc70f6d]
check-in: [5b677521]
user: drh
branch: omit-awk,
size: 27827

Merge in all the trunk changes from the previous year. This breaks the
cursor-hint mechanism, but provides a baseline for trouble-shooting.
file: [38932924]
check-in: [82a7a61b]
user: drh
branch: cursor-hints,
size: 27532

New makefile target "fastfuzztest" runs the same tests as "fuzztest" but
with a 100M memory size limit. This more than doubles the speed. The
original unlimited "fuzztest" is still run on a "fulltest".
file: [538244d1]
check-in: [cfeb1b1c]
user: drh
branch: trunk,
size: 27464

Merge all changes in the latest 3.8.11 beta into the sessions branch.
Changes include the rename of OTA to RBU, the WITHOUT-ROWID-OR-Skipscan fix,
and improvements to pcache1.
file: [7e9671e3]
check-in: [7f0ee770]
user: drh
branch: sessions,
size: 28076

Copy fts5.h into the build directory as part of building fts5.c. Also remove code to edit fts5parse.c from various Makefiles and add it to mkfts5c.tcl.
file: [a5b0c90e]
check-in: [4d8f03dc]
user: dan
branch: trunk,
size: 27305

"test" targets on all makefiles use --verbose=file --output=test-out.txt.
Add the new "quicktest" target to all makefiles - designed to run in under
three minutes. The --quick option on releasetest.tcl now uses quicktest.
file: [68f86c21]
check-in: [6ddef2ad]
user: drh
branch: trunk,
size: 26261

Split out the bulk of the actual VDBE code generation logic from where.c
into a new file, leaving behind the analysis logic. This makes the original
where.c smaller and hopefully easier to edit.
file: [b9e0c806]
check-in: [faa0e420]
user: drh
branch: view-optimization,
size: 25591

Fix some problems with OTA and empty target databases, or target databases with the wrong set of tables. Also add SQLITE_FCNTL_VFSNAME support to the OTA VFS.
file: [584d60a5]
check-in: [46119e8d]
user: dan
branch: ota-update,
size: 23454

Changes so that the amalgamation and the command-line shell build without
modifications on VxWorks 7. Still gives a few compiler warnings, and still
mostly untested on that platform.
file: [04c49c49]
check-in: [7d92f1f1]
user: drh
branch: trunk,
size: 23117

Makefile enhancements: (1) Rename autoconf/tea/configure.in to
autoconf/tea/configure.ac so that it works with the latest versions of
autoconf. (2) Add the "amalgamation-tarball" targets to Makefile.in and
main.mk (renamed from "dist" in the latter case). (3) Update the
README.first file in autoconf/ (4) The TOP macro
in Makefile.in is now an absolute rather than a relative path.
file: [e392561f]
check-in: [3bafeec9]
user: drh
branch: trunk,
size: 23017

Add a command line program that uses the extension. This serves as example code and is also useful for performance testing.
file: [ed2e37f6]
check-in: [ffa1524e]
user: dan
branch: ota-update,
size: 22591

Begin adding commands to the command-line interface for interacting with
the sessions extension. This is the first check-in of a work-in-progress.
file: [eb6742eb]
check-in: [c2fcf0b9]
user: drh
branch: sessions_from_cli,
size: 22867

Initial attempt to merge in all trunk changes over the previous 1.5 years.
This check-in compiles but there are compiler warnings and "make test"
segfaults after only running a few test modules.
file: [8400550f]
check-in: [9411d7dc]
user: drh
branch: apple-osx,
size: 20658

Add the new interfaces to rtree, though they do not yet work. Add the
"show_speedtest1_rtree.tcl" script for showing the test data used for the
R-Tree tests of speedtest1. Change speedtest1 to generate better R-Tree
test data.
file: [82b154dd]
check-in: [0b702759]
user: drh
branch: rtree-enhancements,
size: 21238

Do not run the tool/vdbe-compress.tcl script that generates the
vdbeExecUnion object that reduces the size of the sqlite3VdbeExec()
stack frame unless the SQLITE_SMALL_STACK compile-time option is
specified as on of the OPTS in the makefile. The vdbeExecUnion object
gets in the way of C-compiler optimizer and results in slightly slower code.
file: [9f091ea7]
check-in: [4d078147]
user: drh
branch: trunk,
size: 20813

In main.mk, always recompile vdbe.o and parse.o first, since changes to either
parse.y or vdbe.c will cause all files to be recompiled and if there are
syntax errors in vdbe.c or parse.y we want to hit them early in the compile
process.
file: [a10f1925]
check-in: [a94a66d1]
user: drh
branch: trunk,
size: 20214

Added the nextchar.c extension. Minor changes to the spellfix.c extension
so that it can be appended to an amalgamation and compiled without duplicating
symbols.
file: [1b25be82]
check-in: [56b9a417]
user: drh
branch: trunk,
size: 19929

Enhancements to the query planner to exploit transitive relationships in the
WHERE clause, and other minor changes to bring the sessions branch into
alignment with the trunk.
file: [787401c5]
check-in: [82d3d1ae]
user: drh
branch: sessions,
size: 19378

Update the sessions branch to include the SQLLOG enhancement, the
SQLITE_IOERR_DELETE_NOENT fix, and a fix for the number-of-documents
bug in FTS4.
file: [d87518f0]
check-in: [ba8d08b6]
user: drh
branch: sessions,
size: 19324

Add an internal interface that allows the code to take advantage of multiple
cores by pushing subcomputations off into separate threads. The interface
is not currently used.
file: [dd63e2de]
check-in: [0e4d977a]
user: drh
branch: threads,
size: 19105

Add an experimental tokenizer to fts4 - "unicode". This tokenizer works in the same way except that it understands unicode "simple case folding" and recognizes all characters not classified as "Letters" or "Numbers" by unicode as token separators.
file: [84ed9c32]
check-in: [0c13570e]
user: dan
branch: fts4-unicode,
size: 19166

On Windows, make sure the current directory value used by the test suite is 'normalized' to what the parent command shell sees. Also, clean the test directories used by the quota2.test file.
file: [a80771d4]
check-in: [82bcd7ec]
user: mistachkin
branch: trunk,
size: 18813

Change the build process so that it does not require the unix "sort"
command. This avoids confusion between ms-sort and mingw-sort on
windows systems.
file: [8744cb76]
check-in: [f1bd5bba]
user: drh
branch: trunk,
size: 18415

Add a target to main.mk that will fail if the amalgamation contains any exported symbols that do not begin with "sqlite3_". Run this target from within releasetest.tcl. Add "static" to a couple of private functions in mem3.c.
file: [d81d86f0]
check-in: [a68b6580]
user: dan
branch: trunk,
size: 17982

Provide an alternative and experimental pcache implementation that avoids
the use of mutexes at the expense of using more memory.
file: [a26d01f2]
check-in: [2ea5bd12]
user: drh
branch: mutex-free-pcache,
size: 17484

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.
file: [fb18cac1]
check-in: [3f5406e3]
user: dan
branch: trunk,
size: 17244

Merge the MD5 checksum logic into the TCL interface. This facilitates building
a tclsh that contains both SQLite and MD5. The plan is to use this
augmented tclsh to help build the documentation.
file: [d588eab5]
check-in: [a024c0a8]
user: drh
branch: trunk,
size: 16406

Instead of adding SQLITE_API macros sqlite3.h while creating sqlite3.c, add them as part of generating the sqlite3.h target, while copying from sqlite.h.in to sqlite3.h. This fixes a build problem that was causing multiple SQLITE_API macros to be added to a single line of sqlite3.h, and the problem cited by #4016. (CVS 6971)
file: [dd83a99a]
check-in: [7f481074]
user: danielk1977
branch: trunk,
size: 16307

Add a version of the Lemon parser template "lempar.c" to the src/ subfolder.
This new parser template contains a couple of NEVER() macros that disable
tests that are needed for general grammars but not for the specific grammar
used by SQLite. SQLite builds with the modified lempar.c. (CVS 6842)
file: [c43b27aa]
check-in: [d426cc64]
user: drh
branch: trunk,
size: 16425

Modify fts3 to support a more complex expression syntax that allows parenthesis. The new syntax is not entirely backwards compatible, so is disabled by default. Use -DSQLITE_ENABLE_FTS3_PARENTHESIS to enable it. (CVS 6034)
file: [f6eb58a6]
check-in: [7389b9ec]
user: danielk1977
branch: trunk,
size: 16000

Add the pcache module from the experimental branch. Also change things so that most of the built-in SQL functions are kept in single static hash-table, rather than creating and populating a separate hash table for each open database connection. (CVS 5566)
file: [ec8a5d47]
check-in: [cb494e10]
user: danielk1977
branch: trunk,
size: 15664

Change the makefiles so that "make test" now runs the veryquick.test script instead of quick.test. Also modify veryquick.test to reuse the code in quick.test. veryquick.test is now the same as quick.test except that it omits all testing related to malloc and IO error simulation. (CVS 5308)
file: [4b4961d1]
check-in: [8c65146e]
user: danielk1977
branch: trunk,
size: 15405

Add some test logic to the new memory allocation subsystem. (Lots more needed.)
The test suite is currently indicating memory leaks, though it is unclear if
this is a true code problem or just an instrumentation problem. (CVS 5240)
file: [f7be21bc]
check-in: [cb1f11cd]
user: drh
branch: trunk,
size: 15382

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)
file: [e6715c0a]
check-in: [e90c4cc8]
user: drh
branch: trunk,
size: 15017

When SQLITE_MAX_SQL_LENGTH is 0, disable the limit. Make the default 0.
Once again build the sqlite3 CLI from individual source files so that
it can be built on systems that lack tclsh. Tickets #2845 and #2846. (CVS 4636)
file: [90104c59]
check-in: [07aeca3b]
user: drh
branch: trunk,
size: 14739

Begin implementing a new system of upper bounds on the capabilities
of SQLite. By clearly defining the upper bounds, we make those
upper bounds explicitly testable. This check-in is just infrastructure.
The upper bounds are not yet enforced. (CVS 3941)
file: [4e3bc2b9]
check-in: [93b623b2]
user: drh
branch: trunk,
size: 18084

Change sqlite3_snprintf() so that it does not write a zero-terminator if
the buffer size argument is less than 1. Ticket #2341. Added documentation
about the sqlite3_snprintf() function. (CVS 3935)
file: [09c19ae0]
check-in: [f3ae4ac5]
user: drh
branch: trunk,
size: 18030

Fix the amalgamation so that it works with -DSQLITE_ENABLE_REDEF_IO. Change
tclsqlite.c so that it can be appended to the amalgamation. Create a new
amalgamation of header files for use by projects that want to redefine their
own I/O interface using -DSQLITE_ENABLE_REDEF_IO. (CVS 3817)
file: [2c20b350]
check-in: [f2caff87]
user: drh
branch: trunk,
size: 17627

Clarify the documentation on how comparisons occur in an IN operator.
Fix the comparison operators when both sides of an IN operator are
expressions (ticket #2248).
Changes to main.mk for adding FTS2 into the standard build also
got mixed in with this check-in by mistake. (CVS 3656)
file: [cdb182b8]
check-in: [da81725c]
user: drh
branch: trunk,
size: 17351

Add vdbeaux.c to the list of files that must be compiled with -DSQLITE_TEST=1
in order to generate testfixture. Do not require sqlit3OsDelete() to
succeed on a multi-database commit. (Ticket #1917) (CVS 3351)
file: [bfa218fe]
check-in: [dfc833ac]
user: drh
branch: trunk,
size: 16440

Off by 1 error in check-in (3314). Note that this change is a likely
fix for ticket #1875. But I have not tested it for that purpose yet. (CVS 3315)
file: [e7535902]
check-in: [c7477459]
user: drh
branch: trunk,
size: 16415

Use the -k option to sort. This allows the build to run on newer unix
systems, but will likely break the build on older ones. Please address
your complaints to the posix committee members that thought this would
be a good idea. (CVS 3314)
file: [43cc6505]
check-in: [5d7e6bbd]
user: drh
branch: trunk,
size: 16415

Make the OsFile structure opaque with its internal structure known only to
the appropriate os_*.c implementation. Omit the os_unix.h and os_win.h
include files. The crash tests are broken by this patch. (CVS 2791)
file: [76d9e7bc]
check-in: [058f3175]
user: drh
branch: trunk,
size: 15216

Modify the OS layer so that I/O routines are called through a virtual function
table. The os_test.c module has been replaced by test6.c. The crash tests
are busted now and need to be fixed. (CVS 2785)
file: [1cf8c00e]
check-in: [1f69aec2]
user: drh
branch: trunk,
size: 15267

Reduce the number of distinct token symbols in the parser so that the parser
can store tokens in a single byte and thus be smaller in size. (CVS 2776)
file: [c2c2f377]
check-in: [2dfc9863]
user: drh
branch: trunk,
size: 15520

Split the sqlite3_complete() API out into a separate source file so that
in static links where it is not used it will not take up space in the
resulting binary. (CVS 2594)
file: [bf8b4a9d]
check-in: [62b87751]
user: drh
branch: trunk,
size: 15372

Drop support for MAC OS9. SQLite 3 has never worked for that OS because
the developers do not have access to a machine running it and nobody from
the community has stepped forward to provide a port. By moving the
os_mac.c file into the attic, we make the lack of support official. (CVS 2220)
file: [839f7bc1]
check-in: [de9ad673]
user: drh
branch: trunk,
size: 14993

Add initial infrastructure for cursors. In where.c, optimize out clauses
of the form "ORDER BY rowid" if a table scan is being performed. Do a
reverse table scan if "ORDER BY rowid DESC" is present. (CVS 2141)
file: [cdbb576b]
check-in: [fc8c1393]
user: drh
branch: trunk,
size: 15142

Save about 800 bytes of code space by aligning TK_ and OP_ constants so that
we do not have to translate between them. (CVS 1998)
file: [cabfd4a3]
check-in: [4c817e3f]
user: drh
branch: trunk,
size: 14746

Change the name of the include file to "sqlite3.h". The names of the shell
command and static library become "sqlite3" and "libsqlite3.a". (CVS 1510)
file: [63b5680a]
check-in: [4c37b6d2]
user: drh
branch: trunk,
size: 13560

Get triggers working on tables with INTEGER PRIMARY KEYs. Ticket #291.
This may also fix #159. Still need to add tests so both bugs remain open
for the time being. (CVS 908)
file: [65302cd3]
check-in: [0b996959]
user: drh
branch: trunk,
size: 11366

Add the "space_used.tcl" script to the tools directory. This script is used
to measure how much disk space is used by each table and index of a database. (CVS 789)
file: [9d13839b]
check-in: [83b2c27a]
user: drh
branch: trunk,
size: 10858

Fix for ticket #147: Honor the ORDER BY and LIMIT clauses in a SELECT even
if the destination of that SELECT is a subroutine call. (CVS 747)
file: [d7a9dfc0]
check-in: [23fe36c7]
user: drh
branch: trunk,
size: 10278

Modify the build process so that the VDBE opcode numbers and the table
that contains the opcode names are both automatically generated. This makes
it much easier to create new VDBE opcodes. (CVS 746)
file: [e9c6f552]
check-in: [eb54d455]
user: drh
branch: trunk,
size: 10259

Change the way token memory is allocated in an effort to fix ticket #136.
There is now a memory leak when using views of views. (CVS 725)
file: [8e341344]
check-in: [22d8726e]
user: drh
branch: trunk,
size: 9592