1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Additional simplifications in support of structural testing.

FossilOrigin-Name: 4ab8c841f818326b0b04b95e3edd828c77f109d9
This commit is contained in:
drh
2009-09-08 13:40:16 +00:00
parent b7f1d9a747
commit 345ba7db59
4 changed files with 20 additions and 15 deletions

View File

@@ -230,8 +230,10 @@ void sqlite3AutoincrementBegin(Parse *pParse){
int addr; /* A VDBE address */
Vdbe *v = pParse->pVdbe; /* VDBE under construction */
/* If currently generating a trigger program, this call is a no-op */
if( pParse->pTriggerTab ) return;
/* This routine is never called during trigger-generation. It is
** only called from the top-level */
assert( pParse->pTriggerTab==0 );
assert( pParse==sqlite3ParseToplevel(pParse) );
assert( v ); /* We failed long ago if this is not so */
for(p = pParse->pAinc; p; p = p->pNext){