1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-19 21:43:15 +03:00

Bug fix: When multiple SQL statements were passed into a single sqlite_exec() call, execution speed would decrease for each statement executed because VDBE cursors were not being reused. Now the cursors are reused and execution time is linear. (CVS 754)

FossilOrigin-Name: b0d27a377a9f6134f81108fe45c8c868ab4d4411
This commit is contained in:
drh
2002-09-25 19:04:07 +00:00
parent df68f6b768
commit a226d05408
3 changed files with 12 additions and 8 deletions

View File

@@ -25,7 +25,7 @@
** ROLLBACK
** PRAGMA
**
** $Id: build.c,v 1.113 2002/09/21 15:57:57 drh Exp $
** $Id: build.c,v 1.114 2002/09/25 19:04:07 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -81,6 +81,10 @@ void sqliteExec(Parse *pParse){
pParse->rc = rc;
pParse->schemaVerified = 0;
}
pParse->nTab = 0;
pParse->nMem = 0;
pParse->nSet = 0;
pParse->nAgg = 0;
}
/*