| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- Index: Makefile.in
- --- Makefile.in.orig 2008-08-05 21:58:48 +0200
- +++ Makefile.in 2008-08-07 09:09:15 +0200
- @@ -178,6 +178,30 @@
- LIBOBJ = $(OBJS$(USE_AMALGAMATION))
-
-
- +# FTS1 support
- +ifdef FTS1
- +TCC += -DSQLITE_ENABLE_FTS1 -I$(TOP)/ext/fts1
- +LIBOBJ += fts1.lo fts1_hash.lo fts1_porter.lo fts1_tokenizer1.lo
- +endif
- +
- +# FTS2 support
- +ifdef FTS2
- +TCC += -DSQLITE_ENABLE_FTS2 -I$(TOP)/ext/fts2
- +LIBOBJ += fts2.lo fts2_hash.lo fts2_porter.lo fts2_tokenizer1.lo
- +endif
- +
- +# FTS3 support
- +ifdef FTS3
- +TCC += -DSQLITE_ENABLE_FTS3 -I$(TOP)/ext/fts3
- +LIBOBJ += fts3.lo fts3_hash.lo fts3_porter.lo fts3_icu.lo fts3_tokenizer1.lo fts3_tokenizer.lo
- +endif
- +
- +# RTREE support
- +ifdef RTREE
- +TCC += -DSQLITE_ENABLE_RTREE -I$(TOP)/ext/rtree
- +LIBOBJ += rtree.lo
- +endif
- +
- # All of the source code files.
- #
- SRC = \
- @@ -764,3 +788,38 @@
- sqlite3.dll: $(REAL_LIBOBJ) sqlite3.def
- $(TCC) -shared -o $@ sqlite3.def \
- -Wl,"--strip-all" $(REAL_LIBOBJ)
- +
- +fts1.lo: $(TOP)/ext/fts1/fts1.c $(HDR)
- + $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1.c
- +fts1_hash.lo: $(TOP)/ext/fts1/fts1_hash.c $(HDR)
- + $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1_hash.c
- +fts1_porter.lo: $(TOP)/ext/fts1/fts1_porter.c $(HDR)
- + $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1_porter.c
- +fts1_tokenizer1.lo: $(TOP)/ext/fts1/fts1_tokenizer1.c $(HDR)
- + $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1_tokenizer1.c
- +
- +fts2.lo: $(TOP)/ext/fts2/fts2.c $(HDR)
- + $(LTCOMPILE) -c $(TOP)/ext/fts2/fts2.c
- +fts2_hash.lo: $(TOP)/ext/fts2/fts2_hash.c $(HDR)
- + $(LTCOMPILE) -c $(TOP)/ext/fts2/fts2_hash.c
- +fts2_porter.lo: $(TOP)/ext/fts2/fts2_porter.c $(HDR)
- + $(LTCOMPILE) -c $(TOP)/ext/fts2/fts2_porter.c
- +fts2_tokenizer1.lo: $(TOP)/ext/fts2/fts2_tokenizer1.c $(HDR)
- + $(LTCOMPILE) -c $(TOP)/ext/fts2/fts2_tokenizer1.c
- +
- +fts3.lo: $(TOP)/ext/fts3/fts3.c $(HDR)
- + $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3.c
- +fts3_hash.lo: $(TOP)/ext/fts3/fts3_hash.c $(HDR)
- + $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3_hash.c
- +fts3_icu.lo: $(TOP)/ext/fts3/fts3_icu.c $(HDR)
- + $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3_icu.c
- +fts3_porter.lo: $(TOP)/ext/fts3/fts3_porter.c $(HDR)
- + $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3_porter.c
- +fts3_tokenizer.lo: $(TOP)/ext/fts3/fts3_tokenizer.c $(HDR)
- + $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3_tokenizer.c
- +fts3_tokenizer1.lo: $(TOP)/ext/fts3/fts3_tokenizer1.c $(HDR)
- + $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3_tokenizer1.c
- +
- +rtree.lo: $(TOP)/ext/rtree/rtree.c $(HDR)
- + $(LTCOMPILE) -c $(TOP)/ext/rtree/rtree.c
- +
- Index: sqlite3.pc.in
- --- sqlite3.pc.in.orig 2008-07-16 17:50:43 +0200
- +++ sqlite3.pc.in 2008-08-07 09:09:15 +0200
- @@ -8,6 +8,5 @@
- Name: SQLite
- Description: SQL database engine
- Version: @VERSION@
- -Libs: -L${libdir} -lsqlite3
- -Libs.private: @LIBS@
- +Libs: -L${libdir} -lsqlite3 @LIBS@
- Cflags: -I${includedir}
- -----------------------------------------------------------------------------
- Upstream Vendor CVS Patches (can be removed with SQLite 3.6.2)
- Index: src/build.c
- --- src/build.c 2008/08/04 04:39:49 1.493
- +++ src/build.c 2008/08/06 13:47:41 1.494
- @@ -2136,6 +2136,7 @@
- ExprList *pToCol, /* Columns in the other table */
- int flags /* Conflict resolution algorithms. */
- ){
- + sqlite3 *db = pParse->db;
- #ifndef SQLITE_OMIT_FOREIGN_KEY
- FKey *pFKey = 0;
- Table *p = pParse->pNewTable;
- @@ -2143,10 +2144,8 @@
- int i;
- int nCol;
- char *z;
- - sqlite3 *db;
-
- assert( pTo!=0 );
- - db = pParse->db;
- if( p==0 || pParse->nErr || IN_DECLARE_VTAB ) goto fk_end;
- if( pFromCol==0 ){
- int iCol = p->nCol-1;
|