1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Table 1 of a database (the sqlite_master table) defaults to use B+trees. (CVS 1378)

FossilOrigin-Name: 45b60de5c7deb83d10ab54759434e32847f0c2ef
This commit is contained in:
drh
2004-05-14 12:17:46 +00:00
parent 940762585e
commit e6c438166f
4 changed files with 13 additions and 12 deletions

View File

@@ -9,7 +9,7 @@
** May you share freely, never taking more than you give.
**
*************************************************************************
** $Id: btree.c,v 1.134 2004/05/14 01:58:13 drh Exp $
** $Id: btree.c,v 1.135 2004/05/14 12:17:46 drh Exp $
**
** This file implements a external (disk-based) database using BTrees.
** For a detailed discussion of BTrees, refer to
@@ -1134,7 +1134,7 @@ static int newDatabase(Btree *pBt){
data[22] = pBt->minEmbedFrac;
data[23] = pBt->minLeafFrac;
memset(&data[24], 0, 100-24);
zeroPage(pP1, PTF_INTKEY|PTF_LEAF );
zeroPage(pP1, PTF_INTKEY|PTF_LEAF|PTF_LEAFDATA );
return SQLITE_OK;
}