The VDBE aggregate functions use an in-memory btree instead of a disk-based
btree for improved performance. (CVS 1579) FossilOrigin-Name: 8029f1e465b900215acdff48c8eefb53c71341a8
This commit is contained in:
parent
4774b13029
commit
e1632b271d
12
manifest
12
manifest
@ -1,5 +1,5 @@
|
||||
C Speed\sup\sin\sthe\shandling\sof\sVDBE\scursors.\s(CVS\s1578)
|
||||
D 2004-06-12T20:12:51
|
||||
C The\sVDBE\saggregate\sfunctions\suse\san\sin-memory\sbtree\sinstead\sof\sa\sdisk-based\nbtree\sfor\simproved\sperformance.\s(CVS\s1579)
|
||||
D 2004-06-12T20:42:30
|
||||
F Makefile.in ab7b0d5118e2da97bac66be8684a1034e3500f5a
|
||||
F Makefile.linux-gcc a9e5a0d309fa7c38e7c14d3ecf7690879d3a5457
|
||||
F README f1de682fbbd94899d50aca13d387d1b3fd3be2dd
|
||||
@ -75,7 +75,7 @@ F src/vdbe.c c71e47262d3d3539a20a489a03b9cde15ef3acb7
|
||||
F src/vdbe.h 46f74444a213129bc4b5ce40124dd8ed613b0cde
|
||||
F src/vdbeInt.h ffc7b8ed911c5bf804796a768fdb6f0568010fa2
|
||||
F src/vdbeapi.c ee350b552fc4c1c695b760f914f69e9c5556e829
|
||||
F src/vdbeaux.c ff7c66b704dc2c35805657f2cb10ad1b00c8ecd2
|
||||
F src/vdbeaux.c f5fc39d6437d82f8a178159f079a4c3abacdbbfe
|
||||
F src/vdbemem.c 34f59988831ea032b7f526c2c73175f9f4c0f3ad
|
||||
F src/where.c dda77afaa593cd54e5955ec433076de18faf62f6
|
||||
F test/all.test 569a92a8ee88f5300c057cc4a8f50fbbc69a3242
|
||||
@ -223,7 +223,7 @@ F www/support.tcl 1801397edd271cc39a2aadd54e701184b5181248
|
||||
F www/tclsqlite.tcl 19191cf2a1010eaeff74c51d83fd5f5a4d899075
|
||||
F www/vdbe.tcl 59288db1ac5c0616296b26dce071c36cb611dfe9
|
||||
F www/whentouse.tcl a8335bce47cc2fddb07f19052cb0cb4d9129a8e4
|
||||
P f687977a28eda5ce0aa1cba2fdfb0152443032bc
|
||||
R 088c58f79c616faca7f8012c3563c5db
|
||||
P e42316f5708de6f639b7b54e08d4be73b45367e9
|
||||
R 9f1d93376dedf808e4c658f32dc84e20
|
||||
U drh
|
||||
Z 661048d261d615dd2ffa1c2c62f56278
|
||||
Z 2c45278e0a9f61b73b24c4008e2c8da4
|
||||
|
@ -1 +1 @@
|
||||
e42316f5708de6f639b7b54e08d4be73b45367e9
|
||||
8029f1e465b900215acdff48c8eefb53c71341a8
|
@ -780,7 +780,7 @@ int sqlite3VdbeAggReset(sqlite *db, Agg *pAgg, KeyInfo *pKeyInfo){
|
||||
if( db ){
|
||||
if( !pAgg->pBtree ){
|
||||
assert( pAgg->nTab==0 );
|
||||
rc = sqlite3BtreeFactory(db, 0, 0, TEMP_PAGES, &pAgg->pBtree);
|
||||
rc = sqlite3BtreeFactory(db, ":memory:", 0, TEMP_PAGES, &pAgg->pBtree);
|
||||
if( rc!=SQLITE_OK ) return rc;
|
||||
sqlite3BtreeBeginTrans(pAgg->pBtree, 1, 0);
|
||||
rc = sqlite3BtreeCreateTable(pAgg->pBtree, &pAgg->nTab, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user