mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Change to using packed-memory-arrays instead of b-trees when performing an offline merge-sort for CREATE INDEX. This makes it easier to control the number of disc seeks required when merging.
FossilOrigin-Name: a4770d079c1b236eb54751e75a44cccc997c6b93
This commit is contained in:
@@ -3155,8 +3155,7 @@ case OP_OpenEphemeral: {
|
||||
SQLITE_OPEN_DELETEONCLOSE |
|
||||
SQLITE_OPEN_TRANSIENT_DB;
|
||||
|
||||
int btflags = BTREE_OMIT_JOURNAL | pOp->p5;
|
||||
if( pOp->opcode!=OP_OpenSorter ) btflags |= BTREE_SINGLE;
|
||||
int btflags = BTREE_OMIT_JOURNAL | BTREE_SINGLE | pOp->p5;
|
||||
|
||||
assert( pOp->p1>=0 );
|
||||
pCx = allocateCursor(p, pOp->p1, pOp->p2, -1, 1);
|
||||
|
Reference in New Issue
Block a user