1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Use B+trees for tables (CVS 1377)

FossilOrigin-Name: c6604a94d25d148fbb42b47ae9a8195e4697c681
This commit is contained in:
danielk1977
2004-05-14 12:16:11 +00:00
parent 13dadd2798
commit 940762585e
3 changed files with 10 additions and 9 deletions

View File

@@ -43,7 +43,7 @@
** in this file for details. If in doubt, do not deviate from existing
** commenting and indentation practices when changing or adding code.
**
** $Id: vdbe.c,v 1.289 2004/05/14 11:16:56 danielk1977 Exp $
** $Id: vdbe.c,v 1.290 2004/05/14 12:16:11 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -3881,7 +3881,8 @@ case OP_CreateTable: {
assert( pOp->p2>=0 && pOp->p2<db->nDb );
assert( db->aDb[pOp->p2].pBt!=0 );
if( pOp->opcode==OP_CreateTable ){
flags = BTREE_INTKEY;
/* flags = BTREE_INTKEY; */
flags = BTREE_LEAFDATA|BTREE_INTKEY;
}else{
flags = BTREE_ZERODATA;
}