mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 385591 - Update db/sqlite3/README.MOZILLA for SQLite 3.3.17. r=sspitzer
This commit is contained in:
parent
758d5d3392
commit
ca0105f2bb
@ -1,33 +1,23 @@
|
||||
|
||||
This is sqlite 3.3.4
|
||||
This is sqlite 3.3.17
|
||||
|
||||
See http://www.sqlite.org/ for more info.
|
||||
|
||||
We have a mozilla-specific Makefile.in in src/ (normally no
|
||||
Makefile.in there) that we use to build.
|
||||
|
||||
We only imported the bits that we actually need for the build --
|
||||
basically, the contents of the src directory, plus autogenerated files
|
||||
(see below). Note that we don't use all the files in the src dir;
|
||||
we just bring in *.c *.h (including a full sqlite3.h).
|
||||
|
||||
To move to a new version:
|
||||
|
||||
Update opcodes.c, opcodes.h, parse.c, parse.h, and sqlite3.h, all of which are
|
||||
normally generated as part of the sqlite build. Pull these out of the
|
||||
sqlite3 windows source .zip, or autoconfiscate and build a tarball and
|
||||
copy them out. Yes, this sucks, but it's better than having to build
|
||||
the parser and all that goop as part of our build.
|
||||
|
||||
If you do a configure, you may want to --disable-tcl because the tcl
|
||||
part may not work on all systems.
|
||||
Simply copy the sqlite3.h and sqlite3.c files from the amalgamation of sqlite.
|
||||
|
||||
They you need to update sqlite3file.h, which pulls out random bits of the
|
||||
internal files that we need to export. If any of these internal structures
|
||||
change, they need to be changed in sqlite3file.h as well.
|
||||
change, they need to be changed in sqlite3file.h as well. This may involve
|
||||
downloading the whole souce (not the amalgamation) to check.
|
||||
|
||||
-- Vlad Vukicevic <vladimir@pobox.com> 02/2006
|
||||
-- Shawn Wilsher <me@shawnwilsher.com> 06/2007
|
||||
|
||||
XXX: This is temporarily obsolete (See Bug 385066)
|
||||
You also need to apply preload-cache.patch. This patch provides the preload
|
||||
functionality used by mozIStorageConnection.preload to fill the cache with
|
||||
pages from the disk.
|
||||
|
Loading…
Reference in New Issue
Block a user