Commit Graph

279 Commits

Author SHA1 Message Date
shaneh 84aab39782 Update configure scripts for WAL support.
FossilOrigin-Name: 2edc5129f216abec9b13a0ad9b6640606caa9f72
2010-05-06 15:35:59 +00:00
drh c438efd68a Change the names of the log.c and log.h source files to wal.c and wal.h.
FossilOrigin-Name: 56fe5d7624f840417152bcc63efbe21a5f557920
2010-04-26 00:19:45 +00:00
drh 380083ce18 Merge the compile-time option introspection interfaces into the trunk.
FossilOrigin-Name: 9f429434c0404f03a3e5c6741b769afe98a5c6c9
2010-02-23 20:32:15 +00:00
shaneh dc97a8cdc1 Refactored compile time option diagnostic support to use strings identifiers instead of bitmask.
FossilOrigin-Name: 76a0294ab4208a0858a13bab0858e1bc1448b651
2010-02-23 20:08:35 +00:00
drh c7bc4fde3c Initial check-in of code that inserts tokenizations of the values
for bound parameters into the output of sqlite3_trace().

FossilOrigin-Name: 545cfb3b63f482036ae152e6ebcce86d373585a8
2009-11-25 18:03:42 +00:00
dan 16708c4a0d Fix some fts3 related issues with the autoconf and amalgamation build systems.
FossilOrigin-Name: 3b17924754343c0163464dabf01a9c46ffccef28
2009-11-19 15:25:25 +00:00
drh 522efc62b0 Initial implementation and test cases for the "intarray" virtual table.
FossilOrigin-Name: 0e7d29253f093d4125ede3cfc478e4bf09aef987
2009-11-10 17:24:37 +00:00
drh c81c11f62c Remove the obsolete "$Id:$" RCS identifier strings from the source code.
FossilOrigin-Name: f6c045f649036958078cb15cd9d5453680c82b0c
2009-11-10 01:30:52 +00:00
drh 57a0227f8b 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.

FossilOrigin-Name: a024c0a85b6f2288c455a7192f6ca7a8493b621a
2009-10-22 20:52:05 +00:00
dan 3be7d6eb75 Add fkey.c to the autoconf and amalgamation build systems.
FossilOrigin-Name: aab7a4b3c91e0a149f6499660892d09c17b010e3
2009-09-19 17:59:59 +00:00
dan cca2de4be7 Define SQLITE_TEST when compiling mem5.c for testfixture.
FossilOrigin-Name: 6b16f3c9073e44a2d720a396078f0d71bda66df1
2009-09-10 18:17:10 +00:00
shane 8e283794b6 Updates for test_init.c for configure and other consistency changes.
FossilOrigin-Name: 3ba316e9a32de406a4390fb3f52fccb48da4da30
2009-08-21 02:07:09 +00:00
drh 47baebc2a6 Incorporate fossil-scm version information into the build. Add the
SQLITE_SOURCE_ID macro to the header.  Add the sqlite3_sourceid() interface.
Add the sqlite_source_id() SQL function.

FossilOrigin-Name: 302dabe98f50b472bccd65c58504bc8a330049c4
2009-08-14 16:01:24 +00:00
danielk1977 2d04deb21d 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)
FossilOrigin-Name: 7f4810747b0864981f27edbd504bfab2efea1e3c
2009-08-11 05:50:36 +00:00
drh 53bc21b911 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)

FossilOrigin-Name: d426cc64f6014e2c2b9bcde0f5440396aec2fa18
2009-07-03 17:09:28 +00:00
drh 856c10375d Add the vdbe-compress.tcl script which automatically refactors the
sqlite3VdbeExec() routine to use less stack space.  Use this script
when constructing the amalgamation. (CVS 6704)

FossilOrigin-Name: 7f43391831b03e53d967acee6ae02089740aaedb
2009-06-02 15:21:42 +00:00
drh 1b26c7ccfa Remove the rowhash object from the code. Rowset now fills its role. (CVS 6535)
FossilOrigin-Name: e963bed0fe3ce5fa32f04b930e5ed0956dc2aa47
2009-04-22 02:15:47 +00:00
danielk1977 1d46146b58 Attempt to optimize virtual table queries with 'OR' expressions in the WHERE clause. (CVS 6527)
FossilOrigin-Name: f61e4cd93682fd98bea2a71d346f9eaa68454390
2009-04-21 09:02:45 +00:00
danielk1977 d52acb3b5b Modify quick.test to support the QUICKTEST_INCLUDE environment variable, which can be used to override the built-in EXCLUDE list. (CVS 6350)
FossilOrigin-Name: fdfe22f0a568b5e8a5a2ad302d7c06b2696809b0
2009-03-16 14:48:18 +00:00
rse 973402e511 unbreak Autoconf-based build procedure by added missing backup.lo to the list of library objects (CVS 6311)
FossilOrigin-Name: 94945801973c0e659de3f429c98a7d95a8c693f6
2009-02-20 22:27:41 +00:00
vapier afea974870 break libsqlite3.la install step out so the tcl install step can depend on it as well (CVS 6300)
FossilOrigin-Name: 0998c55467a777783e4d451b3c82d769bef84d0b
2009-02-18 04:33:59 +00:00
danielk1977 0410302e58 Commit first version of the 'backup' feature. (CVS 6241)
FossilOrigin-Name: 663479b417fc06ba1790a544f28694f8797cee57
2009-02-03 16:51:24 +00:00
vapier 6d120f39aa unify TCLLIBDIR handling with libtclsqlite3.so and use libtool to install it rather than custom tclinstaller.tcl ... this integrates better with autotools and avoids relinking issues (RPATH pointing to builddir) (CVS 6210)
FossilOrigin-Name: 3a049ca761f36d0fdb3b5b5f254c00210b373e9e
2009-01-28 04:46:14 +00:00
vapier 2574da5fd5 (#3583) add a rule for sqlite3.pc in case the .in file is updated (CVS 6205)
FossilOrigin-Name: 4d03b69317acde5c29f38ae88276c15abf05266a
2009-01-26 20:59:02 +00:00
drh 8b72747db0 Fix the --enable-tempstore option on the configure script. Ticket #3599 (CVS 6194)
FossilOrigin-Name: c2eabb99fe852142e54f35f423f766411d7ba6c0
2009-01-19 18:18:40 +00:00
drh 07108f5626 Back out the Makefile.in changes from check-in (6181) because of reports
(ticket #3594) that they do not work on NetBSD.  Separately, documentation
is updated to make clear that configure and Makefile.in are unsupported. (CVS 6191)

FossilOrigin-Name: 2d79aaab134c8a09722cb0466d45e04002bce54f
2009-01-17 15:53:31 +00:00
drh a81c64a2da Make some changes requested by Fedora. (CVS 6181)
FossilOrigin-Name: 7bc08bc719c2e9ca6d92d4709c0478e15fdfb131
2009-01-14 23:38:02 +00:00
shane 5df7c0f96b Add fts_expr.* files to Makefile.in. (CVS 6100)
FossilOrigin-Name: 524c8634dfa5926f38fac8bac1da6a14178c7764
2009-01-02 15:47:01 +00:00
danielk1977 f3107512f7 Add a case to permutations.test to run tests with the test_journal.c backend installed. Also many fixes to test_journal.c and one quite obscure fix to pager.c. (CVS 6052)
FossilOrigin-Name: bb177e3072ab61d0af7af91660ebe4dafa487b42
2008-12-22 10:58:46 +00:00
drh 3d4501e573 Replace the VDBE Fifo object with the new RowSet object. (CVS 5977)
FossilOrigin-Name: 39a0750b49cf55e9c0927169ca47db909f5c16ea
2008-12-04 20:40:10 +00:00
drh b232c23297 Add an alternative application-defined pcache implementation and add test
cases to permutations.test to invoke it.  Added the SQLITE_CONFIG_GETPCACHE
method to sqlite3_config(). (CVS 5920)

FossilOrigin-Name: 16f1e6ec2ad92f68c0079a0c2b5ca08a3b4af816
2008-11-19 01:20:26 +00:00
danielk1977 bc2ca9eb39 Add an API to support custom page cache implementations. (CVS 5899)
FossilOrigin-Name: 47866d6708e9b69e367937fd85f93580fd025447
2008-11-13 14:28:28 +00:00
shane 7b607a081f Should be 'memjournal.lo' instead of 'memjournal.o'. Ticket #3480. (CVS 5863)
FossilOrigin-Name: 8b868604217571cf2f60cdf46adb9721ca071bf9
2008-11-04 21:51:03 +00:00
drh d1370b6d92 Remove the vestigial mem4 and mem6 memory allocators. Add the
SQLITE_ZERO_MALLOC compile-time option and the mem0.c module to
handle memory allocation for that case. (CVS 5848)

FossilOrigin-Name: 4651f590f0b8bf13938b2b15d5082136e763af8d
2008-10-28 18:58:20 +00:00
shane b1cd7308dc Updated configure/makefiles to handle SQLITE_ENABLE* compile options. Made sure makefile passes command line options (OPTS=-Dfoo) to the compiler. Add -DSQLITE_COVERAGE_TEST=1 if gcov being used. (CVS 5838)
FossilOrigin-Name: acb106e51f8bb7449a0e214075c559cc66497277
2008-10-22 18:27:31 +00:00
danielk1977 6553c5c81a Update the autoconf build system to include memjournal.c. (CVS 5833)
FossilOrigin-Name: a3c810f0c80e3e9dfe60a0ffd8688d7c76a30d50
2008-10-21 04:30:31 +00:00
shane b0650c26a5 Add gcov compile options to link line when GCOV option enabled. (CVS 5809)
FossilOrigin-Name: 3ddda111867f64d9dfd729c50c4d0555cac1499d
2008-10-12 01:49:41 +00:00
drh 18472fa7b8 Remove the SQLITE_MUTEX_APPDEF compile-time option. The SQLITE_THREADSAFE=0
option always removes all mutex code.  For application-defined mutexes only,
use SQLITE_THREADSAFE=1 with SQLITE_MUTEX_NOOP=1.  Ticket #3421. (CVS 5779)

FossilOrigin-Name: 02a12eb1cfe9307c66556105a1a99d657cc01ab5
2008-10-07 15:25:48 +00:00
drh 3e59c01255 Fix the TCL installer so that it omits the release number. Ticket #3396.
Use strcmp() instead of sqlite3StrICmp() in the "copy" method of the SQLite
object in the TCL interface. (CVS 5735)

FossilOrigin-Name: a88606245760eaf8054d67773db7d8b795e8ca25
2008-09-23 10:12:13 +00:00
danielk1977 1c82665040 Add header file sqliteicu.h to the ICU extension. This is analogous to the rtree.h and fts3.h headers used by other extensions to declare their entry points. Fix for ticket #3361. (CVS 5680)
FossilOrigin-Name: 79364b963b348d5433da737b4e21e97952882389
2008-09-08 08:08:09 +00:00
pweilbacher 87a03282b1 add legacy.lo back (in alphabetical order) (CVS 5600)
FossilOrigin-Name: a861aa73c4913c468315e6b5c5a2706150082280
2008-08-22 17:28:45 +00:00
drh 70a8ca3c1e Initialize the global built-in function table at start-time
instead of at compile-time.  This is less prone to malfunction when
compile-time parameters very. (CVS 5583)

FossilOrigin-Name: ef6936e50adb9ebea39c890167403fff01bbb5ed
2008-08-21 18:49:27 +00:00
danielk1977 2da91a33cc Fix a problem in Makefile.in causing the static function hash-table to be constructed incorrectly (segfault). (CVS 5570)
FossilOrigin-Name: aef5b909e960c31527c795bc09a1de846f8afcbb
2008-08-20 17:19:09 +00:00
drh 7d10d5a6e1 Refactor the name resolution procedures in the code generator. (CVS 5569)
FossilOrigin-Name: daf730d1defa78fb8b80a78f9108ac35a13e09f6
2008-08-20 16:35:10 +00:00
danielk1977 8c0a791a58 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)
FossilOrigin-Name: cb494e10d71852024647aaa254203579ad438ea9
2008-08-20 14:49:23 +00:00
danielk1977 94bdf89440 Add the pkgconfigdir variable to Makefile.in. Ticket #3242. (CVS 5531)
FossilOrigin-Name: 540c9d4c0daf9ddf07c95bb3eb9f294a2dd0285d
2008-08-04 04:28:18 +00:00
danielk1977 78bd9ca86f Add mem6.c to Makefile.in. Ticket #3253. (CVS 5487)
FossilOrigin-Name: 51be2e4463ca32f290feb610f59553b55bc67a5c
2008-07-28 05:26:32 +00:00
drh 0fcf237a8f Make the libtclsqlite3.la shared library depend on a separate
libsqlite3.la shared library.  I think this flies in the face of the
whole SQLite philosophy of minimal dependencies, but on the other hand,
few people use that shared library and the capability has been requested
from the SuSE team. (CVS 5477)

FossilOrigin-Name: 83484b42bf353535567e245a92f40096b63b342f
2008-07-25 12:49:44 +00:00
drh a17378c3ac Fix a build problem on tclsqlite in Makefile.in. (CVS 5476)
FossilOrigin-Name: e7a604807f9f3f92920b2bac403d2dd368dfa102
2008-07-25 12:39:23 +00:00
shane fbededef48 "configure" support updated. Removed unused features. Added parsing of CFLAGS and CPPFLAGS to extract OMIT options to pass to lemon and mkkeywordhash. (CVS 5446)
FossilOrigin-Name: c67aa5057deda6419e1f205118bf09957d599c15
2008-07-22 05:05:01 +00:00