-C First\scut\sat\sa\sREINDEX\scommand.\s\sBasic\stesting\sonly.\s\sNo\sdocumentation.\s(CVS\s2072)
-D 2004-11-05T23:46:15
+C Compile\sand\spass\sthe\squick\sregression\stests\swith\sautovacuum\sdisabled.\s(CVS\s2073)
+D 2004-11-06T00:02:48
F Makefile.in c4d2416860f472a1e3393714d0372074197565df
F Makefile.linux-gcc a9e5a0d309fa7c38e7c14d3ecf7690879d3a5457
F README a01693e454a00cc117967e3f9fdab2d4d52e9bc1
F sqlite3.pc.in 985b9bf34192a549d7d370e0f0b6b34a4f61369a
F src/attach.c e49d09dad9f5f9fb10b4b0c1be5a70ae4c45e689
F src/auth.c 3b81f2a42f48a62c2c9c9b0eda31a157c681edea
-F src/btree.c bf0d3d59ec076f0a37378f8ac6090d157d925c24
+F src/btree.c 32b5c8d45744d8710475ae99744a0ca9a402d2a0
F src/btree.h 861e40b759a195ba63819740e484390012cf81ab
-F src/build.c 154e7a666a7b36da04c739a6af87d5e9bdcd0cda
+F src/build.c fba59507d36d27effbeba59bdd2a720071b7673a
F src/date.c 34bdb0082db7ec2a83ef00063f7b44e61ee19dad
F src/delete.c f0af21a1ede15524a5edd59fe10ef486283a1ee9
F src/expr.c be18081d2959a2cc53846d0fbedfec40fbfa1d6e
F www/vdbe.tcl 59288db1ac5c0616296b26dce071c36cb611dfe9
F www/version3.tcl 092a01f5ef430d2c4acc0ae558d74c4bb89638a0
F www/whentouse.tcl fdacb0ba2d39831e8a6240d05a490026ad4c4e4c
-P 0f81aa5b057eab908b46b70ea9e9a42bc2ee8c21
-R 877c89049e39a4d803a0375d417e1d42
+P 11dba47e61279bdf3be6f64a6259b877f3bf6155
+R 8f5f401812cf89b0176d6494be1ddd1b
U drh
-Z 82c5d66bdd823220be3997a2e30a2b5d
+Z 7c63afdfe773d316c41b855a4f0f6dac
-11dba47e61279bdf3be6f64a6259b877f3bf6155
\ No newline at end of file
+89b9026a5371f1c5589f04e3b69171ec1f605b7b
\ No newline at end of file
** May you share freely, never taking more than you give.
**
*************************************************************************
-** $Id: btree.c,v 1.211 2004/11/05 16:37:03 danielk1977 Exp $
+** $Id: btree.c,v 1.212 2004/11/06 00:02:48 drh Exp $
**
** This file implements a external (disk-based) database using BTrees.
** For a detailed discussion of BTrees, refer to
pBt->maxEmbedFrac = 64; /* 25% */
pBt->minEmbedFrac = 32; /* 12.5% */
pBt->minLeafFrac = 32; /* 12.5% */
+#ifndef SQLITE_OMIT_AUTOVACUUM
if( zFilename && strcmp(zFilename,":memory:") ){
pBt->autoVacuum = SQLITE_DEFAULT_AUTOVACUUM;
}
+#endif
nReserve = 0;
}else{
nReserve = zDbHeader[20];
*/
int sqlite3BtreeSetAutoVacuum(Btree *pBt, int autoVacuum){
#ifdef SQLITE_OMIT_AUTOVACUUM
- return SQLITE_READONLY
+ return SQLITE_READONLY;
#else
if( pBt->pageSizeFixed ){
return SQLITE_READONLY;
** COMMIT
** ROLLBACK
**
-** $Id: build.c,v 1.271 2004/11/05 23:46:15 drh Exp $
+** $Id: build.c,v 1.272 2004/11/06 00:02:48 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
*/
static void destroyTable(Parse *pParse, Table *pTab){
#ifdef SQLITE_OMIT_AUTOVACUUM
+ Index *pIdx;
destroyRootPage(pParse, pTab->tnum, pTab->iDb);
for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){
destroyRootPage(pParse, pIdx->tnum, pIdx->iDb);
#endif
/*
-** Generate code for a REINDEX command. If the argument is present it
-** is the name of a collating sequence and all indices that use that
-** collating sequence should be reindexed. If no argument is present,
-** then rebuild all indices
+** Generate code for the REINDEX command.
+**
+** REINDEX -- 1
+** REINDEX <collation> -- 2
+** REINDEX ?<database>.?<tablename> -- 3
+** REINDEX ?<database>.?<indexname> -- 4
+**
+** Form 1 causes all indices in all attached databases to be rebuilt.
+** Form 2 rebuilds all indices in all databases that use the named
+** collating function. Forms 3 and 4 rebuild the named index or all
+** indices associated with the named table.
*/
#ifndef SQLITE_OMIT_REINDEX
void sqlite3Reindex(Parse *pParse, Token *pName1, Token *pName2){