Commit Graph

262 Commits

Author SHA1 Message Date
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
shane
c6f66c5349 Added test_mutex.c (for testfixture) to input file for configure script. (CVS 5377)
FossilOrigin-Name: bfca089dbfa742c5ba3a530f61b5e979935d127f
2008-07-08 22:15:49 +00:00
danielk1977
b06a0b67c4 Change the TEMP_STORE preprocessor symbol to SQLITE_TEMP_STORE. (CVS 5312)
FossilOrigin-Name: 1e3b8308021107d983d2152663f62b369cca091d
2008-06-26 10:54:12 +00:00
danielk1977
ff3c898d13 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)
FossilOrigin-Name: 8c65146ea0e77e8e31fffc467806b1edf91fb4db
2008-06-25 17:54:53 +00:00
drh
f714199054 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)

FossilOrigin-Name: cb1f11cd9764cf0275e88e1f6342e366e5536bfd
2008-06-19 00:16:08 +00:00
drh
40257ffd0a Progress toward implementation of sqlite3_config() and a rework of the
mutex and memory allocation subsystems.  This is an incremental check-in. (CVS 5218)

FossilOrigin-Name: a03c5af115889f477e17187a198a7d2d40bc76bf
2008-06-13 18:24:27 +00:00
shane
9bcbdad298 Consolidated inline assembly versions of "hwtime()" into hwtime.h. Provided MSVC version. Modified code for consistent use of hwtime(). Changed implementation to use sqlite_uint64 and sqlite_int64 instead of unsigned long long int and long long int for MSVC compiler support. (CVS 5178)
FossilOrigin-Name: 9883b406ce24eae93942ee5e6aab33fb6b05329f
2008-05-29 20:22:37 +00:00
shane
ca57b87efe Update makefile.in so that makefiles generated by configure correctly copy in rtree source files to tsrc. (CVS 5169)
FossilOrigin-Name: e015fa44586b2444c78da413af50787e2690046e
2008-05-28 17:31:17 +00:00
drh
866108f802 Update the autoconf makefile so that it includes -lpthread. (CVS 5126)
FossilOrigin-Name: bd654ebdbe752b44f801726eea16f40aa27df920
2008-05-13 00:57:21 +00:00
mlcreech
1e12d43b48 Only look for config.h if the autoconf-based build is being used, and don't inline it into the amalgamation. (CVS 5093)
FossilOrigin-Name: 7df9ef2c8216133d50bf4737482f51193e8579b0
2008-05-07 02:42:01 +00:00
mlcreech
ede2627695 Fix build errors in test_osinst (CVS 4998)
FossilOrigin-Name: f047399799798e693ef75c472144f30a0175b662
2008-04-13 23:13:39 +00:00
mlcreech
aac7b93ea4 Add a configure option for using gcov (makes things easier for versions of
GCC that fail to build otherwise) (CVS 4947)

FossilOrigin-Name: 7d1e79716246b0dd4a64d7c9575b2300e0f6123e
2008-04-01 02:45:22 +00:00
mlcreech
2379706c79 Make out-of-tree builds work as expected when using configure script (CVS 4893)
FossilOrigin-Name: e2d05ea3c3e4a11bc1c0cc4c4403a445b9c2b64d
2008-03-20 02:25:35 +00:00
mlcreech
88ef0908b5 Don't wrongly look for the amalgamation in $(TOP) (CVS 4890)
FossilOrigin-Name: 41d6ca31acbc0bd8555e5487ba3b695db5c9a81a
2008-03-19 23:15:37 +00:00
drh
984bfaa4c7 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)

FossilOrigin-Name: e90c4cc8a89838161f218739bc821126e247498c
2008-03-19 16:08:53 +00:00
mlcreech
969b2cd74a Allow the testfixture to be built even when using the amalgamation (CVS 4860)
FossilOrigin-Name: 8a726e3731cd19cc52c6dab16d032d7237b7450b
2008-03-14 04:11:03 +00:00
mlcreech
1428b37486 Apply patch for #2915 to add target extension for executables (CVS 4858)
FossilOrigin-Name: 63fc7b72078b1e12de39893dc8374a7e24703d2e
2008-03-13 23:28:22 +00:00
mlcreech
289234ce12 Specify installation lib in 'rpath' options for sqlite3 executable (CVS 4857)
FossilOrigin-Name: 5076d480337145f2e4b36798c6c13b9810f62721
2008-03-13 19:55:20 +00:00