aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2008-03-20 11:04:21 +0000
committerdanielk1977 <danielk1977@noemail.net>2008-03-20 11:04:21 +0000
commitf653d78282b61b9ea5940453d0065cbdbdd6ffb2 (patch)
tree530d6026b9061dde71e524aa694d93850edb1fba /src/main.c
parentf219f196f8ece632a514d8f0aa3053c1812e9e23 (diff)
downloadsqlite-f653d78282b61b9ea5940453d0065cbdbdd6ffb2.tar.gz
sqlite-f653d78282b61b9ea5940453d0065cbdbdd6ffb2.zip
Allow a VACUUM operation to change the page-size in the same way as it can be used to change a database between auto-vacuum and normal mode. (CVS 4896)
FossilOrigin-Name: 871df0e7c36a88f175cfc63797745e52a1b1796b
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index dd9999e53..4fef038b2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -14,7 +14,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
-** $Id: main.c,v 1.424 2008/03/19 16:08:54 drh Exp $
+** $Id: main.c,v 1.425 2008/03/20 11:04:21 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -971,6 +971,7 @@ static int openDatabase(
db->aDb = db->aDbStatic;
db->autoCommit = 1;
db->nextAutovac = -1;
+ db->nextPagesize = 0;
db->flags |= SQLITE_ShortColNames
#if SQLITE_DEFAULT_FILE_FORMAT<4
| SQLITE_LegacyFileFmt