diff options
author | drh <drh@noemail.net> | 2013-06-27 23:54:02 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-06-27 23:54:02 +0000 |
commit | 4f7d3a5f069202a12a78f17d960120a6018cd37a (patch) | |
tree | 29c792378cfb46f33e38c1f1b7d377afa0cdbeb6 /src/vdbeapi.c | |
parent | c0c3c2628dd07946a3240a07ee0b31a5491f994d (diff) | |
download | sqlite-4f7d3a5f069202a12a78f17d960120a6018cd37a.tar.gz sqlite-4f7d3a5f069202a12a78f17d960120a6018cd37a.zip |
Refactor names of fields in the sqlite3 object: "activeVdbeCnt" becomes
"nVdbeActive". Related fields becomes "nVdbeRead", "nVdbeWrite", and
"nVdbeExec".
FossilOrigin-Name: 14f796963474350e7aee8d3757acd3315fe78e4f
Diffstat (limited to 'src/vdbeapi.c')
-rw-r--r-- | src/vdbeapi.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/vdbeapi.c b/src/vdbeapi.c index 0f3df2e0d..9c64584ce 100644 --- a/src/vdbeapi.c +++ b/src/vdbeapi.c @@ -382,11 +382,11 @@ static int sqlite3Step(Vdbe *p){ ** reset the interrupt flag. This prevents a call to sqlite3_interrupt ** from interrupting a statement that has not yet started. */ - if( db->activeVdbeCnt==0 ){ + if( db->nVdbeActive==0 ){ db->u1.isInterrupted = 0; } - assert( db->writeVdbeCnt>0 || db->autoCommit==0 || db->nDeferredCons==0 ); + assert( db->nVdbeWrite>0 || db->autoCommit==0 || db->nDeferredCons==0 ); #ifndef SQLITE_OMIT_TRACE if( db->xProfile && !db->init.busy ){ @@ -394,9 +394,9 @@ static int sqlite3Step(Vdbe *p){ } #endif - db->activeVdbeCnt++; - if( p->readOnly==0 ) db->writeVdbeCnt++; - if( p->noIO ) db->noIOVdbeCnt++; + db->nVdbeActive++; + if( p->readOnly==0 ) db->nVdbeWrite++; + if( p->noIO==0 ) db->nVdbeRead++; p->pc = 0; } #ifndef SQLITE_OMIT_EXPLAIN @@ -405,9 +405,9 @@ static int sqlite3Step(Vdbe *p){ }else #endif /* SQLITE_OMIT_EXPLAIN */ { - db->vdbeExecCnt++; + db->nVdbeExec++; rc = sqlite3VdbeExec(p); - db->vdbeExecCnt--; + db->nVdbeExec--; } #ifndef SQLITE_OMIT_TRACE |