aboutsummaryrefslogtreecommitdiff
path: root/src/build.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2004-06-19 16:06:10 +0000
committerdrh <drh@noemail.net>2004-06-19 16:06:10 +0000
commit124b27e65463e8897de17b067ce4a7b11b5602f5 (patch)
tree3d380d9062765447adf9b7bad7963a16f9823ce2 /src/build.c
parentf92c7ff74a2fa6c9fb110321430f25e4b3179b23 (diff)
downloadsqlite-124b27e65463e8897de17b067ce4a7b11b5602f5.tar.gz
sqlite-124b27e65463e8897de17b067ce4a7b11b5602f5.zip
Omit the DB_Locked and DB_Cookie flags. Other minor cleanup. (CVS 1642)
FossilOrigin-Name: 01f74b420c3f24918c066172e09cebbb22568faf
Diffstat (limited to 'src/build.c')
-rw-r--r--src/build.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/build.c b/src/build.c
index f24130263..c2aac44c9 100644
--- a/src/build.c
+++ b/src/build.c
@@ -23,7 +23,7 @@
** ROLLBACK
** PRAGMA
**
-** $Id: build.c,v 1.225 2004/06/19 14:49:12 drh Exp $
+** $Id: build.c,v 1.226 2004/06/19 16:06:12 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -35,24 +35,7 @@
** If it does, then read it.
*/
void sqlite3BeginParse(Parse *pParse, int explainFlag){
- sqlite *db = pParse->db;
- int i;
pParse->explain = explainFlag;
-#if 0
- if((db->flags & SQLITE_Initialized)==0 && db->init.busy==0 ){
- int rc = sqlite3Init(db, &pParse->zErrMsg);
- if( rc!=SQLITE_OK ){
- pParse->rc = rc;
- pParse->nErr++;
- }
- }
-#endif
- for(i=0; i<db->nDb; i++){
- DbClearProperty(db, i, DB_Locked);
- if( !db->aDb[i].inTrans ){
- DbClearProperty(db, i, DB_Cookie);
- }
- }
pParse->nVar = 0;
}